sdapy.snerun.snobject.est_hostebv_with_colours¶
- snobject.est_hostebv_with_colours(index=0, returnv=False, **kwargs)¶
Estimate host ebv with color comparison approach.
- Parameters
- hostebv_bandslist
two bands of the colour
- hostebv_interpstr
which interpolation to calculate colour for host ebv estimation
- tdbinfloat
threshold for binning
- 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
- verbosebool
show process
- 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 ebv, or store them in the class
See also
Notes
For IIb/Ib/Ic, we compared colours at 10d post peak to templates from Stritzinger et al 2018, table 2,
at https://github.com/saberyoung/HAFFET/blob/master/sdapy/data/c10_template.txt.
For SLSNe, we compared colours at the peak phases to Chen at al 2022:
At the peak phases, the median observed color is close to zero.