Skip to content

Commit

Permalink
switching model data to use FM90_B3
Browse files Browse the repository at this point in the history
  • Loading branch information
karllark committed Nov 24, 2024
1 parent 14d38b4 commit 0fe416a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions measure_extinction/modeldata.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def dust_extinguished_sed(self, params, sed, fit_range="all", velocity=0.0):
Parameters
----------
params : float array
dust extinction parameters [Av, Rv, c2, c3, c4, gamma, x0]
dust extinction parameters [Av, Rv, c2, b3, c4, gamma, x0]
sed : dict
fluxes for each spectral piece
Expand Down Expand Up @@ -259,14 +259,15 @@ def dust_extinguished_sed(self, params, sed, fit_range="all", velocity=0.0):
Rv,
C1,
params[2], # C2
params[3], # C3
params[3], # B3
params[4], # C4
xo=params[5], # xo
gamma=params[6], # gamma
optnir_axav_x=optnir_axav_x.value,
optnir_axav_y=optnir_axav_y,
valid_x_range=[0.033, 11.0],
model_name="FM90_G23_measure_extinction",
fm90_version="B3",
)

ext_sed[cspec] = sed[cspec] * (10 ** (-0.4 * axav * params[0]))
Expand Down

0 comments on commit 0fe416a

Please sign in to comment.