The fix for NIRSpec MOS and FS extraction aperture centering by assumed source location in JP-3244 and JP-3245 does not work for BOTS data, since the necessary transform from slit frame to detector pixels is added in resampling, and BOTS data is not resampled.
For BOTS, the use_source_posn parameter is off by default. If it is manually set to True, the aperture centering is attempted, but it always fails due to the missing transform, and defaults to placing the aperture at the center of the slit.
This option is not critical for BOTS mode, since extraction usually has to be manually managed anyway, but it would be nice to have the option to automatically center the aperture.
We've thought of several options for fixing this:
fall back to target RA/Dec if assumed source position is not available
use automated centering from a fit to a spatial profile, as proposed in JP-3244, but applicable to unrectified data
turn on resampling for BOTS data for quicklook extractions
add the transform from slit frame to detector pixels for unrectified data
These options all have drawbacks, so this issue will need more discussion.
Issue JP-3432 was created on JIRA by Melanie Clarke:
The fix for NIRSpec MOS and FS extraction aperture centering by assumed source location in JP-3244 and JP-3245 does not work for BOTS data, since the necessary transform from slit frame to detector pixels is added in resampling, and BOTS data is not resampled.
For BOTS, the use_source_posn parameter is off by default. If it is manually set to True, the aperture centering is attempted, but it always fails due to the missing transform, and defaults to placing the aperture at the center of the slit.
This option is not critical for BOTS mode, since extraction usually has to be manually managed anyway, but it would be nice to have the option to automatically center the aperture.
We've thought of several options for fixing this:
These options all have drawbacks, so this issue will need more discussion.