get_Alambda

edge_pydb.conversion.get_Alambda(fluxtab, colnames, A_Ha, A_Ha_valid=[0, 6])[source]

Corrects a set of columns in a table for extinction.

Parameters:
fluxtabastropy.Table

flux_elines table extracted from Pipe3D output

colnameslist of str

List of column names with the flux values to correct

A_Haastropy.table.Column

The H-alpha extinction values (from Balmer decrement)

A_Ha_validtuple of float

Range of acceptable H-alpha extinctions. Negative extinctions are set to zero, large extinctions are blanked.

Returns:
input astropy.Table with additional columns giving extinction corrected fluxes