Package pysls :: Module li :: Class line
[frames] | no frames]

Class line

source code

Represents an absorption or emission line. It is defined by its name, a wavelength, a typical width and its amplitude

Instance Methods
 
__init__(self, name, restangst, restwidth=25.0, height=50.0, strength=0, plotlinewidth=1.0) source code
 
setz(self, z)
sets the redshift of the line (changes its wavelength and its width)
source code
 
flux_gauss(self, l)
give me a wavelength l, I return the corresponding flux for a gaussian profile
source code