makeTransitions(self,
molecule,
telescope=None,
offset=0.0,
n_quad=100,
fraction_tau_step=0.01,
min_tau_step=0.0001,
write_intensities=0,
tau_max=12.0,
tau_min=-6.0,
check_tau_step=0.01)
| source code
|
Make a list of transitions from the line list that was read.
Default transitions parameters are the same as those used in
Transition.Transition.__init__().
Requires a Molecule() object to be passed to the method call.
- Parameters:
molecule (Molecule()) - The molecule for these transitions
telescope (string) - The telescope that observed given line
(default: None)
offset (float) - The offset from center pixel of observed transition
(default: None)
n_quad (int) - The number of grid points in the formal integration when
calculating the line profile in sphinx.
(default: 100)
fraction_tau_step (float) - tau_total*fraction_tau_step gives min. delta_tau in strahl.f. If
too low, min_tau_step will be used.
(default: 1e-2)
min_tau_step (float) - minimum of delta_tau in strahl.f
(default: 1e-4)
write_intensities (bool) - set to 1 to write the intensities of first 50 impact-parameters
at the end of sphinx
(default: 0)
tau_max (float) - maximum optical depth used for the calculation of the formal
integral
(default: 12.)
tau_min (float) - maximum optical depth used for the calculation of the formal
integral
(default: -6.)
check_tau_step (float) - check.par.in sphinx if step in tau not too large
(default: 0.01)
- Returns: list[Transition]
- The transitions
|