Skip to content

Commit

Permalink
Update specutils/tests/test_region_extract.py
Browse files Browse the repository at this point in the history
Co-authored-by: P. L. Lim <[email protected]>
  • Loading branch information
rosteen and pllim authored Oct 15, 2024
1 parent 6231a8b commit d3f4a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specutils/tests/test_region_extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def test_region_simple(simulated_spectra):

spectrum = simulated_spectra.s1_um_mJy_e1
uncertainty = StdDevUncertainty(0.1*np.ones(len(spectrum.flux))*u.mJy)
uncertainty = StdDevUncertainty(np.full(spectrum.flux.shape, 0.1) * u.mJy)
spectrum.uncertainty = uncertainty

region = SpectralRegion(0.6*u.um, 0.8*u.um)
Expand Down

0 comments on commit d3f4a1d

Please sign in to comment.