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

Feature- calibration polynomials in the wavelength domain #79

Open
gully opened this issue May 10, 2017 · 1 comment
Open

Feature- calibration polynomials in the wavelength domain #79

gully opened this issue May 10, 2017 · 1 comment

Comments

@gully
Copy link
Collaborator

gully commented May 10, 2017

Starfish currently supports calibration polynomials in the flux domain, parameterized as Chebyshev polynomials (c.f. Czekala et al. 2015). In principle there could be calibration uncertainties attributable to wavelength-domain instrumental artifacts-- basically bad wavelength solution in your data reduction pipeline. The v_z term takes up the zeroth order instrumental artifact, a wavelength shift (of course, in perfectly or near-perfectly calibrated spectra, v_z has astrophysical significance!). However linear or higher-order distortions of your wavelength solutions are possible. In fact, they're not only possible, they're omni-present, but just at a level that may be negligible for most applications.

In any case, if for some reason you are stuck with spectra with poor wavelength calibration, one could straightforwardly implement wavelength-domain calibration polynomials. Such a feature would need to modify the over-sampled wavelength axis in the update_theta() step. This change would add negligibly to the computation time-- the FFT would proceed as normal.

To be clear this is a feature idea enabled by this powerful spectral inference framework, not some inadequacy as might be misconstrued by the GitHub label "Issue", which takes on multiple meanings.

@mveyette
Copy link

You're bringing up some great points today, Gully. I've thought about this too and have implemented Chebyshev polynomials before to correct for bad wavelength calibration. I didn't care about RVs when I did it, but for people who might care about the v_z parameter from Starfish, the zeroth order component is no longer going to be the v_z of the star. Just something to think about.

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

3 participants