Class for luminosity- and flux-based stacking-type inference.
Example:
# Create bayesstack_lum object
analysis = bayesstack(...)
# Run MCMC based analysis
run = analysis.runmcmc()
| Parameters: |
|
|---|
Method to execute single step for luminosity-based MCMC simulation. Takes no arguments; updates state values of bayesstack_lum object, including iteration counter. Sequence of parameter updates is:
| Return type: | None |
|---|
Method to run MCMC on initialized bayesstack_lum object. Takes no arguments. Prints diagnostic output during run (current iteration at appropriate points and tuning information during burnin).
| Return type: | Nested dictionary containing key outputs. Contains 3 items:
|
|---|
Method to tune MCMC proposal scales based on acceptance rates during burnin. Takes no arguments; calls _tune_single for each chain being tuned.
Tuning schedule:
Acceptance Rate Scale adaptation <0.001 x 0.1 <0.05 x 0.5 <0.3 x 0.9 >0.5 x 1.2 >0.75 x 2 >0.95 x 10