Skip to content

Commit

Permalink
Merge pull request #142 from migueldvb/test_filt_str
Browse files Browse the repository at this point in the history
Fix value of spectral flux density in remote test
  • Loading branch information
mommermi authored May 1, 2019
2 parents 79bd9b3 + 73d24d4 commit 74562ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbpy/spectroscopy/tests/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def test_filt_str(self):
f = u.Quantity(np.ones(len(w)), 'W/(m2 um)')
s = Star.from_array(w, f)
fluxd = s.filt('johnson_v', unit='W/(m2 um)')[1]
assert np.isclose(fluxd.value, 1)
assert np.isclose(fluxd.value, 0.1)

def test_filt_vegamag(self):
w = u.Quantity(np.linspace(0.3, 1.0), 'um')
Expand Down

0 comments on commit 74562ba

Please sign in to comment.