webbpsf icon indicating copy to clipboard operation
webbpsf copied to clipboard

User feedback on supersampled PSFs

Open mperrin opened this issue 7 years ago • 1 comments

Issue by josePhoenix Thursday Apr 20, 2017 at 18:57 GMT Originally opened as https://github.com/mperrin/webbpsf/issues/163


@AndreaBellini would like us to improve the documentation on obtaining supersampled PSFs. Here's the current section: http://pythonhosted.org/webbpsf/webbpsf.html#pixel-scales-sampling-and-oversampling

I understand that Andrea wanted a PSF sampled at a different pixel scale than the detector pixels, and was frustrated by the fact that options['parity'] = 'odd' determines the parity of the final down-sampled array and not the OVERSAMP extension. The answer ended up being to change the pixelscale attribute and supply an odd number of pixels to fov_pixels=.

Could you suggest how we should improve this section, @AndreaBellini?

mperrin avatar Aug 28 '18 15:08 mperrin

Hi,

can the options['parity’] be linked to the final down sampling instead? Alternatively, can another option do that without having to relying on tricks? Most people measuring stars would prefer a PSF centered on the center of a pixel and not on the corner. Can that be made as the default option?

Cheers,

Andrea

On Aug 28, 2018, at 17:57, Marshall Perrin <[email protected]mailto:[email protected]> wrote:

[https://avatars3.githubusercontent.com/u/172886?v=4]https://github.com/josePhoenix Issue by josePhoenixhttps://github.com/josePhoenix Thursday Apr 20, 2017 at 18:57 GMT Originally opened as mperrin/webbpsf#163https://github.com/mperrin/webbpsf/issues/163


@AndreaBellinihttps://github.com/AndreaBellini would like us to improve the documentation on obtaining supersampled PSFs. Here's the current section: http://pythonhosted.org/webbpsf/webbpsf.html#pixel-scales-sampling-and-oversampling

I understand that Andrea wanted a PSF sampled at a different pixel scale than the detector pixels, and was frustrated by the fact that options['parity'] = 'odd' determines the parity of the final down-sampled array and not the OVERSAMP extension. The answer ended up being to change the pixelscale attribute and supply an odd number of pixels to fov_pixels=.

Could you suggest how we should improve this section, @AndreaBellinihttps://github.com/AndreaBellini?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/spacetelescope/webbpsf/issues/163, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ATf3QteXRwHtsjklCFHfdxTgqMf2NmKDks5uVWhpgaJpZM4WP6J8.

-- Dr. Andrea Bellini Space Telescope Science Institute 3700 San Martin Drive Baltimore, MD, 21218, USA Office: +1 (410) 338-4431

AndreaBellini avatar Aug 28 '18 16:08 AndreaBellini