webbpsf
webbpsf copied to clipboard
Add "nrcalong"/"nrcblong" to detector_list
I was about to create an issue asking to add nrcalong/nrcblong to the valid detectors... but on a lark I tried nircam.detector = 'nrcalong' and was surprised it worked! The reason I was surprised is that nircam.detector_list() yields:
['NRCA1',
'NRCA2',
'NRCA3',
'NRCA4',
'NRCA5',
'NRCB1',
'NRCB2',
'NRCB3',
'NRCB4',
'NRCB5']
And it took me quite a while to realize 5 = long. Given the JWST data products use the *long naming scheme, I suggest either 1) addint nrcalong/nrcblongto the list, or just change the "real" name fromnrc?5tonrc?long`.