roman-corgi / corgidrp

Data Reduction Pipeline for the Roman Coronagraph Instrument
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Need a step function to crop data #261

Open ell-bogat opened 5 days ago

ell-bogat commented 5 days ago

Is your feature request related to a problem? Please describe. We need to crop the science data before PSF subtraction so we're not wasting computation/memory. This would be best done as a separate step function.

Describe the solution you'd like This step should crop the data (and error/dq arrays) to the new desired shape and update the pixel locations of the array center, mask location, star location (if computed), etc in the header.

Additional context