Skip to content

Commit

Permalink
agn eline indices.
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-j committed Dec 6, 2023
1 parent ae0d85b commit c9ed995
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prospect/models/sedmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,8 @@ def init_aline_info(self):
afluxes = np.array([2.96, 0.06, 0.1 , 1. , 0.2 , 0.25, 0.48, 0.13, 1.,
2.87, 8.53, 0.07, 0.02, 0.1 , 0.33, 0.09, 0.79, 2.86,
2.13, 0.03, 0.77, 0.65, 0.19])
self._aline_lum = np.zeros(len(self.eline_info))
self._aline_lum = np.zeros(len(self.emline_info))
assert np.abs(self.emline_info["wavelength"][59] - 4868) < 2
self._aline_lum[ainds] = afluxes

def predict_spec(self, obs, sigma_spec=None, **extras):
Expand Down

0 comments on commit c9ed995

Please sign in to comment.