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)[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 (20)
- sel:
select line which has sel value (1,0)
- ltype:
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