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

Detect spectrum wavelength input units #30

Open
mchalela opened this issue Jun 16, 2021 · 1 comment
Open

Detect spectrum wavelength input units #30

mchalela opened this issue Jun 16, 2021 · 1 comment

Comments

@mchalela
Copy link
Collaborator

Provide a way to allow the wavelength to be in different units, like micrometers, angstrom, nanometers, etc. Maybe automatically detect the units in "read_spectrum" according to the order of magnitude of the spectral axis.

@mchalela mchalela changed the title Spectrum wavelength input units Detect spectrum wavelength input units Jun 16, 2021
@Gaiana
Copy link
Owner

Gaiana commented Jun 23, 2021

Also must include some estimation of the order of magnitude of the wavelength elements and compare it to an expected order of magnitude. Include a Raise error if the orders of magnitude do not match.

Also, include a warning when the dispersion is not linear. For this there must be some calculation of the differences between pixels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants