roman-corgi / corgidrp

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

Flat field should handle time variability of planets #186

Open semaphoreP opened 2 months ago

semaphoreP commented 2 months ago

Is your feature request related to a problem? Please describe. The current version of the code doesn't always work if we need to create multiple "matched filter" templates of the planet (Neptune or Uranus). This needs to be done only if the planet is rotating/has storms that causes its spatial pattern to vary. The current version of the code requires the number of dithers to be exactly divisible by the number of matched filter templates. We may not necessary want to set such observational constraints.

Describe the solution you'd like We should group images by time (e.g., every 30 minutes of observation correspond to one matched filter) or group images by dither pattern (e.g., one matched filter per dither "row"). This is a bit open ended.

Additional context Note that for TTR5, we only need 4-5 dithers of the planet, so there is no expectation we need more than one matched filter template. Even for the wider FOV, we may be able to neglect the time variability. Thus, this is just nice to have in the future.