Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
byrdie committed Nov 6, 2024
1 parent eaa4e6d commit aba9e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iris/sg/background/_background.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def subtract_spectral_line(

where_crop = np.isfinite(obs.outputs).mean(obs.axis_wavelength) > 0.7

velocity = obs.inputs.wavelength.cell_centers(axis_wavelength)
velocity = obs.inputs.wavelength.cell_centers()
velocity = velocity[where_crop]

where = np.abs(velocity) < 150 * u.km / u.s
Expand Down

0 comments on commit aba9e71

Please sign in to comment.