Skip to content

Commit

Permalink
Merge pull request #107 from pllim/bp-allow-ned
Browse files Browse the repository at this point in the history
Keep negative throughput in bandpass
  • Loading branch information
pllim authored Sep 13, 2016
2 parents dab69d0 + 5e1be75 commit 91a445f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synphot/spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ def from_file(cls, filename, **kwargs):

header, wavelengths, throughput = specio.read_spec(filename, **kwargs)
return cls(Empirical1D, points=wavelengths, lookup_table=throughput,
meta={'header': header})
keep_neg=True, meta={'header': header})

@classmethod
def from_filter(cls, filtername, **kwargs):
Expand Down

0 comments on commit 91a445f

Please # to comment.