Skip to content

Commit

Permalink
removed hardcoded Av=0
Browse files Browse the repository at this point in the history
  • Loading branch information
danxhuber authored May 9, 2017
1 parent ebdf5de commit 3e93bfc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion direct/classify_direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ def stparas(input,dnumodel=0,bcmodel=0,dustmodel=0,dnucor=0,useav=0,plot=0):
lat_deg=gal.lat*180./np.pi

avs = 3.1*dustmodel(lon_deg,lat_deg,dsamp/1000.)
avs = np.zeros(len(dsamp))+useav
# NB the next line means that useav is not actually working yet
# avs = np.zeros(len(dsamp))+useav
ext=avs*extfactors.ak
ext=0. # already in BC

Expand Down

0 comments on commit 3e93bfc

Please sign in to comment.