Skip to content

Commit

Permalink
Modified the NaN condition for spectrograph observations.
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Nov 2, 2024
1 parent 166c603 commit f94fb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iris/sg/_spectrograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def from_fits(
t.format = "isot"
self.inputs.time.ndarray = t

where_invalid = self.outputs < -10 * u.DN
where_invalid = self.outputs == -200 * u.DN
self.outputs[where_invalid] = np.nan

return self
Expand Down

0 comments on commit f94fb98

Please sign in to comment.