mperrin / webbpsf

James Webb Space Telescope PSF simulation tool - NOTE THIS VERSION OF REPO IS SUPERCEDED BY spacetelescope/webbpsf
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

NIRCam class doesn't auto-select channel based on detector attribute #217

Open mperrin opened 6 years ago

mperrin commented 6 years ago

The docs suggest it does, but actually this doesn't work like it should:

In [3]:nc = webbpsf.NIRCam()
In [4]: nc.detector = 'NRCA5'
In [5]: nc.pixelscale
Out[5]: 0.0311          # UNEXPECTED - this is still the SW pixel scale. :-(

Discovered in the course of checking my suggested fix options for #216