get_emlines
- mpdaf.sdetect.get_emlines(iden=None, z=0, vac=True, lbrange=None, margin=25, sel=None, ltype=None, doublet=False, restframe=False, table=False, family=None, exlbrange=None)[source]
Return list of emission lines
- Parameters:
- iden
str
orlist
ofstr
identifiers, eg ‘LYALPHA’, [‘OII3727’,’OII3729’] default None
- z
float
redshift (0)
- vacbool
if False return wavelength in air
- lbrangearray_like
wavelength range ex [4750,9350] default None
- margin
float
margin in A to select a line (25)
- sel
int
select line which has sel value (1=major,0=minor)
- ltype
str
select line with the given type (‘em’, ‘is’)
- doubletbool
if true return only doublet
- restframebool
if true the wavelength are not reshifted but the selection with lbrange take into account the redshift
- tablebool
if True return an astropy table
- family
int
select line with the given family (0=abs, 1=Balmer, 2=Forbidden, 3=Resonant).
- exlbrangearray_like
wavelength range to exclude in observed frame (ex for AO spectra)
- iden