MarkovState
- 
class 
aquila_borg.likelihood.MarkovState Create a new MCMC dictionnary.
- 
newArray1d(self: aquila_borg._borg.likelihood.MarkovState, name: str, N: int, in_mcmc: bool = False) → None Create and allocate a new 1d array in the dictionnary.
The 1d array holds value in double precision.
- Parameters
 name (
str) –N (int) –
- Keyword Arguments
 in_mcmc (bool) – Default to false.
- Raises
 KeyError – if name is already present in the MarkovState
- 
newArray3d(self: aquila_borg._borg.likelihood.MarkovState, name: str, N0: int, N1: int, N2: int, in_mcmc: bool = False) → None Create and allocate a new 3d array in the dictionnary.
The 3d array holds value in double precision.
- Parameters
 name (
str) – Requested name of the arrayN0 (int) – First dimension
N1 (int) – Second dimension
N2 (int) – Third dimension
- Keyword Arguments
 in_mcmc (bool) – Default to false.
- Raises
 KeyError – if name is already present in the MarkovState
- 
newArray3d_slab(self: aquila_borg._borg.likelihood.MarkovState, name: str, slab: List[int[6]], real_size: List[int[3]], in_mcmc: bool = False) → None Create and allocate a new 3d array, with MPI slabbing, in the dictionnary.
The 3d array holds value in double precision.
- Parameters
 name (
str) – Requested name of the arrayslab (tuple of 6 int) – Slab position and size (start0,local_size0,start1,local_size1,start2,local_size2)
real_size (tuple of 3 int) – Real size
- Keyword Arguments
 in_mcmc (bool) – Default to false.
- Raises
 KeyError – if name is already present in the MarkovState
- 
newForwardModel(self: aquila_borg._borg.likelihood.MarkovState, arg0: str, arg1: aquila_borg._borg.forward.BORGForwardModel) → None Create a new entry to hold a forward model in the MarkovState.
The forward model is not saved to disk. This entry is used for legacy that requires to store a forward model in the MarkovState.
- Parameters
 name (str) – Name of the entry
forward (BORGForwardModel) – A forward model object
- 
newScalar(self: aquila_borg._borg.likelihood.MarkovState, name: str, object: object, in_mcmc: bool = False, type_code: str = ' ') → None 
- 
 
Methods
  | 
|
  | 
Create and allocate a new 1d array in the dictionnary.  | 
  | 
Create and allocate a new 3d array in the dictionnary.  | 
  | 
Create and allocate a new 3d array, with MPI slabbing, in the dictionnary.  | 
  | 
Create a new entry to hold a forward model in the MarkovState.  | 
  |