satlas.stats.fitting.process_walk

satlas.stats.fitting.process_walk(model, filename, selection=(0, 100))[source]

Given a model and H5 file with the results of a random walk, the parameters varied in the walk are set to the 50% percentile, and the uncertainty is set to either the difference between the 50% and 16% percentile, or between the 84% and 50%, whichever is the largest.

Parameters:
  • model (BaseModel) – Object which has a params attribute.
  • filename (str) – Filename of the corresponding H5 file.
Other Parameters:
 

selection (tuple) – Sets the lower and upper boundary of the percentage of the random walk to take into account. Can be used to eliminate burn-in. Defaults to (0, 100).