Keck-DataReductionPipelines / MosfireDRP

http://keck-datareductionpipelines.github.io/MosfireDRP
10 stars 13 forks source link

Top edge of slit can’t be past detector #113

Closed joshwalawender closed 6 years ago

joshwalawender commented 6 years ago

Possible fix for #111

The polynomial fit to the top edge of the slit is not restricted anywhere to be on the detector, so under some conditions it leads to the top pixel being off the detector causing an indexing error. I've added a simple min function to try to prevent that.

joshwalawender commented 6 years ago

Merged in to dev via command line.