Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjust default psf wavelength solution if arcs fail #2006

Open
sbailey opened this issue Feb 10, 2023 · 0 comments
Open

adjust default psf wavelength solution if arcs fail #2006

sbailey opened this issue Feb 10, 2023 · 0 comments

Comments

@sbailey
Copy link
Contributor

sbailey commented Feb 10, 2023

Currently in the pipeline if we can't fit PSFs for at least 3 exposures on a night, we fall back to using the default PSF which has a potentially different wavelength solution. However, sometimes the nightly data isn't good enough to fit the full PSF shape but it is still good enough to fit the wavelength solution, which is still better than using the default PSFs as-is. Even if we don't have any arcs on that night, we could still adjust the default PSF wavelength solution using the first science exposure of the night, before proceeding with processing the flats (if we have flats).

This requires some delicate bookkeeping, so make sure to cover all cases of completely missing arcs, having arcs for some exposures but not enough, having arcs for some cameras but not others, missing arcs but having flats, missing both arcs and flats, etc.

The main point is that by adjusting the wavelength solution of the default PSF by using data from the current night, we can do better than either

  • using both the default PSF and default flats
  • using a non-wavelength adjusted default PSF to extract nightly flats
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant