src.superphot_plus.samplers.licu_sampler
MCMC sampling using the light-curve package.
Module Contents
Classes
Fit light curves using the light-curve package's VillarFit |
- class LiCuSampler(**licu_kwargs)[source]
Bases:
superphot_plus.samplers.sampler.SamplerFit light curves using the light-curve package’s VillarFit
- Parameters:
**licu_kwargs (dict) – Keyword arguments to pass to the light-curve package’s VillarFit, most notably ‘algorithm’, which can be ‘ceres’, ‘lmsder’, ‘mcmc’, ‘mcmc-ceres’ and ‘mcmc-lmsder’. Default is ‘ceres’. Please also consider setting ‘mcmc_niter’ which is the number of MCMC iterations defaults to 128. Boundaries and initial guesses are set by this code, so you don’t need to set them yourself.
- run_single_curve(lightcurve: superphot_plus.lightcurve.Lightcurve, priors: superphot_plus.surveys.fitting_priors.MultibandPriors, **kwargs) superphot_plus.posterior_samples.PosteriorSamples[source]
Perform model fitting using light-curve on a single light curve.
- Parameters:
lightcurve (Lightcurve object) – The light curve of interest.
priors (MultibandPriors object) – The priors to use for fitting.
- Returns:
samples – Return the MCMC samples or None if the fitting is skipped or encounters an error.
- Return type:
- abstract run_multi_curve(lightcurves, priors, **kwargs) List[superphot_plus.posterior_samples.PosteriorSamples][source]
Not yet implemented.