PyNeb
1.1.2
PyNeb Reference Manua
|
Inherits object.
Public Member Functions | |
def | __init__ |
def | correctIntens |
def | addObs |
def | printLine (self) |
def | __repr__ (self) |
Public Attributes | |
log_ | |
calling | |
corrected | |
elem | |
Symbol of the element. More... | |
spec | |
atom | |
wave | |
blend | |
label | |
is_valid | |
to_eval | |
obsIntens | |
corrIntens | |
obsError | |
corrError | |
Define the emission line object, which is defined by the line parameters and the intensity parameters. The line parameters define the emitting ion, the wavelength or the transition, the label in PyNeb format, and a flag defining whether the line is a blend or a single transition. The intensity parameters describe the observed intensity, the observed uncertainty and the corrected uncertainty Usage: line = pn.EmissionLine('O', 3, 5007, obsIntens=[1.4, 1.3]) line = pn.EmissionLine(label = 'O3_5007A', obsIntens=320, corrected = True) Parameters: - elem symbol of the selected element - spec ionization stage in spectroscopic notation (I = 1, II = 2, etc.) - wave wavelength of the line - blend blend flag (boolean) - to_eval algebraic expression describing the emission line in terms of single transitions - label line label in the standard PyNeb format - obsIntens observed intensity - obsError uncertainty on the observed intensity
def __init__ | ( | self, | |
elem = None , |
|||
spec = None , |
|||
wave = None , |
|||
blend = False , |
|||
to_eval = None , |
|||
label = None , |
|||
obsIntens = None , |
|||
obsError = None , |
|||
corrected = False , |
|||
_unit = None |
|||
) |
def __repr__ | ( | self | ) |
def addObs | ( | self, | |
newObsIntens, | |||
newObsError = None |
|||
) |
Add observed values to an existing line. Parameters: - newObsIntens observed intensity of the line - newObsError error on the observed intensity (optional)
def correctIntens | ( | self, | |
RC, | |||
normWave = None |
|||
) |
Correct from extinction. The corrIntens and corrError values of the line are updated according to the RedCorr object Parameters: - RC an instantiation of the pn.RedCorr class - normWave a wavelength for the normalisation of the correction, e.g. 4861.
def printLine | ( | self | ) |
Provide information on the line: atom, label, to_eval, as well as the intensities and errors Usage: line.printLine()
atom |
blend |
calling |
corrected |
corrError |
corrIntens |
elem |
Symbol of the element.
is_valid |
label |
log_ |
obsError |
obsIntens |
spec |
to_eval |
wave |