sdapy.snerun.snobject._ax4

snobject._ax4(xpred=None, index=0, show_title=False, show_legend=False, ylabel_2right=False, show_data=True, show_fits=True, show_fit_error=True, show_texp=True, color=None, marker=None, markersize=None, label=None, ls=None, fillstyle=None, fontsize=None, **kwargs)

luminosity LCs plot

Parameters
make_bollist

how to make bolometric lcs: [lyman] with BC defined by Lyman approach, [bb] blackbody fits on multiband spectra, or [spec] integration on blackbody of absolute calibrated spectra

jd_x0float

x axis zeropoint for mag/flux LCs

ax4_xstylestr

x axis for luminosity (_ax4) LCs: [rp] rest frame since peak [jd] Junlian date since jd_x0

ax4_ystylestr

y axis for luminosity (_ax4) LCs: [linear] or [log] scale

ax4_xlimlist

x limit

ax4_ylimlist

y limit

show_titlebool

if show title

show_legendbool

if show legend

ylabel_2rightbool

if put y label to right

show_databool

if show data points

show_fit_errorbool

if False, only show best fit, otherwise, show errors or random samplings

show_fitsbool

if show model fittings

show_texpbool

if show explosion epochs

alphabestfloat between 0 and 1

matplotlib alpha for best fit fitting

alphasamplefloat between 0 and 1

matplotlib alpha for random samplings or errors

plot_mcmctfloat between 0 and 1

a threshold that select good mc samples for plotting, rangiing from 0 to 1, e.g. 0.5 means selecting samplings from the top 50 percent of all samplings relying on the likelihoods

plot_nsamplesint

how many random MC samples to be plotted

verbosebool

Enable progress report

Notes

  • If snobject.mbol not available and make_bol includes lyman,

will run snobject.lyman_bol to calculate Lyman bolometric LCs first, with parameters, e.g. (check snobject.lyman_bol for more):

lyman_bandslist

two bands of the colour

lyman_interpstr

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

lyman_bc_phasestr

which Lyman BC to be used: [normal] phase, [cool] phase

If snobject.mbolbb not available and make_bol includes bb, will run snobject.bb_bol to calculate BB bolometric LCs (fitted with multiband photometry) first; and the same for spec: if snobject.mbolspec not available and make_bol includes spec, will run snobject.bb_bol to calculate BB bolometric LCs (fited with spectra) first, with parameters, e.g. (check snobject.bb_bol for more):

sed_bandslist

multiple bands of the BB

sed_color_interplist

how to make blackbody. 1: epochs with all filters within color_thre hours. 2: epochs with one filter, and the others from analytic fits. 3. epochs with one filter, and the other from Gaussian process

sed_xrangepstr

after fitting, range to reproduce the SED