ZOH_M13

edge_pydb.conversion.ZOH_M13(fluxtab, ext='', method='o3n2', name='ZOH', err=True)[source]

Adds gas-phase metallicity from Marino+13 calibration to flux_elines table. This function should be run after bpt_type since it requires spaxel to be star-forming in the BPT diagram. Both O3N2 and N2 methods are supported.

Parameters:
fluxtabastropy.Table

flux_elines table extracted from Pipe3D output

extstring

suffix for selected column names, e.g. ‘_rg’ or ‘_sm’

methodstring

choose ‘o3n2’ (default) or ‘o3n2_pp04’ or ‘n2’

errboolean

True to calculate uncertainty as an additional column

Returns:
if err==False:

astropy.table.Column ZOH

if err==True:

two astropy.table.Column [ZOH, e_ZOH]