bsmart.scans.AffineMC
Affine MCMC scan using the Goodman & Weare algorithm.
This is an excellent robust MCMC algorithm for larger numbers of dimensions.
The chain, and automatic plots, are stored in a Results subdirectory. Results are updated after each pass.
The relevant scan-specific settings are:
"Setup" : {
"Steps": "int, Number of steps",
"Walkers" : "int, Number of walkers, default 10 * number of variables"
}
To store observable information inside the results file, it is necessary to set:
"Setup" : {
"store_points_in_memory": "True",
"store_invalid_points": "True"
}
Information
BSMArt Name: AffineMC
- Requires:
matplotlib
numpy
corner
pandas
seaborn
Settings:
Steps: int, Number of steps
Walkers: int, Number of walkers, default 10 * number of variables
- class bsmart.scans.AffineMC.NewScan(inputs, log)[source]
Bases:
ScanScanner class for Affine MCMC Scans
- initialise()[source]
method to allow the user scan to overload run settings etc during the initialisation process