get_AHa

edge_pydb.conversion.get_AHa(flux_ha, flux_hb, log10)[source]

Returns Halpha extinction in magnitudes given flux_ha and flux_hb.

Parameters:
flux_haastropy.table.Column

The H-alpha flux values

flux_hbastropy.table.Column

The H-beta flux values

log10function

The log10 function, normally np.log10 but use unumpy.log10 for error propagation.

Returns:
numpy.ndarray representing AHa in magnitudes