StellarCartography / pydis

DEPRECATED: Check out PyKOSMOS!
https://github.com/jradavenport/pykosmos
MIT License
43 stars 27 forks source link

Impose wavelength solution monotonically increasing #37

Closed jradavenport closed 9 years ago

jradavenport commented 9 years ago

I think IRAF has this problem too...

Perhaps best thing to do is just a brute-force check after each fit, sweep through all wavelengths and make sure they increase. If not, throw a warning

jradavenport commented 9 years ago

have implemented a check for this. Going to be good enough for now I think.

still no solution to impose this as a condition, but could force it to be so in the updated automatic wavelength solution method (which will hopefully be the default user experience)!