getdist.parampriors

class getdist.parampriors.ParamBounds(fileName=None)[source]

Class for holding list of parameter bounds (e.g. for plotting, or hard priors). A limit is None if not specified, denoted by ‘N’ if read from a string or file

Variables:
  • names – list of parameter names
  • lower – dict of lower limits, indexed by parameter name
  • upper – dict of upper limits, indexed by parameter name
Parameters:

fileName – optional file name to read from

getLower(name)[source]
Parameters:name – parameter name
Returns:lower limit, or None if not specified
getUpper(name)[source]
Parameters:name – parameter name
Returns:upper limit, or None if not specified
saveToFile(fileName)[source]

Save to a plain text file

Parameters:fileName – file name to save to