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)[source]

Return list of emission lines

Parameters:
iden : str or list of str

identifiers, eg ‘LYALPHA’, [‘OII3727’,’OII3729’] default None

z : float

redshift (0)

vac : bool

if False return wavelength in air

lbrange : array_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’)

doublet : bool

if true return only doublet

restframe : bool

if true the wavelength are not reshifted but the selection with lbrange take into account the redshift

table : bool

if True return an astropy table

family : int

select line with the given family (0=abs, 1=Balmer, 2=Forbidden, 3=Resonant).