sample_from_model¶
-
transitforecast.sample_from_model(model, map_soln, tune=500, draws=500, chains=8, cores=8, step=None)¶ Sample from the transit light curve model.
- Parameters
- model~pymc3.model
A model object.
- map_solndict
A dictionary with the maximum a posteriori estimates of the variables.
- tuneint
The number of iterations to tune.
- drawsint
The number of samples to draw.
- chainsint
The number of chains to sample.
- coresint
The number of cores chains to run in parallel.
- stepfunction
A step function.
- Returns
- trace~pymc3.backends.base.MultiTrace
A
MultiTraceobject that contains the samples.