Skip to content

Commit

Permalink
Add atomic_data argument when initialising lineshape in SOLPSLineEmit…
Browse files Browse the repository at this point in the history
…ter.
  • Loading branch information
vsnever committed Aug 28, 2024
1 parent ef318b1 commit 7a14543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cherab/solps/models/line_emitter.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ cdef class SOLPSLineEmitter(PlasmaModel):
self._wavelength = self._atomic_data.wavelength(self._line.element, self._line.charge, self._line.transition)

# instance line shape renderer
self._lineshape = self._lineshape_class(self._line, self._wavelength, self._target_species, self._plasma,
self._lineshape = self._lineshape_class(self._line, self._wavelength, self._target_species, self._plasma, self._atomic_data,
*self._lineshape_args, **self._lineshape_kwargs)

def _change(self):
Expand Down

0 comments on commit 7a14543

Please sign in to comment.