sdapy.snerun.snobject._ax¶
- snobject._ax(show_title=True, show_legend=True, ylabel_2right=False, show_data=True, show_fits=True, show_gp=True, show_fit_error=True, show_texp=True, interpolation=None, index=0, color=None, marker=None, markersize=None, label=None, ls=None, fillstyle=None, yshift=None, fontsize=None, snr_thre=None, **kwargs)¶
Flux LC plot.
- Parameters
- jd_x0float
x axis zeropoint for mag/flux LCs
- ax_xstylestr
x axis for flux (_ax) LCs: [rp] rest frame since peak [jd] Junlian date since jd_x0
- ax_ystylestr
y axis for flux (_ax) LCs: [original] flux, or [norm] normalized flux
- ax_xlimlist
x limit
- ax_ylimlist
y limit
- plot_sourceslist
which source LCs to show
- plot_bandslist
which filters to show
- flux_scalefloat
normalize flux peak
- 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_gpbool
if show GP modellings
- 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
- multiband_early_xrangeplist
range to reproduce the multiband_early models
- gp_xrangeplist
range to reproduce the GP interpolations
- verbosebool
Enable progress report
- **if ax_ystyle=norm, snobject._flux_at would be used to guess the peak fluxes:**
- tdbinfloat
threshold for binning
- interpolationstr
estimate flux with data epoch less than than tdbin, or interpolation from GP/fits
- 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
See also
Notes
Only working when
snobject.axis defined.