sdapy.snerun.snobject.bb_colors

snobject.bb_colors(xpred=None, index=0, returnv=False, **kwargs)

Match or interpolate multiple band LCs, for blackbody (BB) construction.

Parameters
xpredlist

colour phases, if None will use observing epochs of the sed_bands

sed_bandslist

multiple bands of the BB

sed_ref_bandslist

reference filters been used to provide epochs as for bolometric LCs, e.g. give a list [‘g’,’r’], will create bolometric LCs with g and r epochs, or None on all epochs that had ever been observed.

sed_color_interpstr

estimate flux with data epoch less than than tdbin, or interpolation from GP/fits

tdbinfloat

threshold for binning

corr_mkwbool

if correct milky way extinction

corr_hostbool

if host galaxy extinction

indexint

if multiple models available, which of them to be used

quantilelist

use 50 percentile as mean, and 1 sigma (68%% -> 16%% - 84%%) as errors

clobberbool

Redo analysis

zpfloat

zeropoint to convert magnitude to flux. zp = 23.9 for micro Jansky to AB mag zp = 48.6 for ergs/s/cm2/Hz to AB mag e.g. mab = -2.5 * log10(fv[Jy]/3631) = -2.5 * log10(fv[mJy]) + 2.5*log10(3631*1e6)

snrtfloat

SNR threshold to distinguish detection/limit

returnvbool

if return the SED, or store them in the class