Skip to content

Commit

Permalink
changed filter weighting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlouden committed Oct 23, 2017
1 parent b3a1dfe commit 795b078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spiderman/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def get_filter(response):
filter_wvls += [wvl]
# dividing by the factor of wvl makes the response proportional
# to units of energy density instead of photon number
filter_responses += [float(l[1]) * wvl]
filter_responses += [float(l[1]) / wvl]
filter_wvls = np.array(filter_wvls)
filter_responses = np.array(filter_responses)
filter = [filter_wvls,filter_responses]
Expand Down

0 comments on commit 795b078

Please sign in to comment.