get_lines

pyplatefit.get_lines(iden=None, orig=False, z=0, vac=True, restframe=False, main=None, doublet=None, family=None, resonant=None, absline=None, emiline=None, lbrange=None, exlbrange=None, user_linetable=None, margin=0)

Return a table of lines

Parameters:
idenstr or list of str

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

origbool

if true return the original lines table

zfloat

redshift (None)

vacbool

if False return wavelength in air

restframebool

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

mainbool or None

if True select only major lines, if False only minor

doubletbool or None

if true return only doublet, if false only singlet

familystr or None

select family (ism, balmer, forbidden)

resonantbool or None

if True select resonant line, if False non resonant

abslinebool or None

if True select absorption lines, False non absorption lines

emilinebool or None

if True select emission lines, False non emission lines

lbrangearray_like

wavelength range ex [4750,9350] default None

exlbrangearray_like

wavelength ranges to exclude in observed frame (ex for AO spectra), ex [5800,6000] or [[5000,5200],[6000,6500]]

user_linetableastropy Table

user lines table, if None the default table is used

marginfloat

margin in A to select a line (25)