Skip to content

Commit

Permalink
final F20 refs removed
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Dec 5, 2019
1 parent e8407a6 commit 35cfe36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/dust_extinction/extinguish.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ Extinguish a Blackbody
import astropy.units as u
from astropy.modeling.blackbody import blackbody_lambda

from dust_extinction.parameter_averages import F20
from dust_extinction.parameter_averages import F19

# generate wavelengths between 0.12 and 3 microns
# within the valid range for the F20 R(V) dependent relationship
# within the valid range for the F19 R(V) dependent relationship
lam = np.logspace(np.log10(0.12), np.log10(3.0), num=1000)

# setup the inputs for the blackbody function
Expand All @@ -37,7 +37,7 @@ Extinguish a Blackbody
flux = blackbody_lambda(wavelengths, temperature)

# initialize the model
ext = F20(Rv=3.1)
ext = F19(Rv=3.1)

# get the extinguished blackbody flux for different amounts of dust
flux_ext_av05 = flux*ext.extinguish(wavelengths, Av=0.5)
Expand Down

0 comments on commit 35cfe36

Please sign in to comment.