Observables
This is some generic text, describing what an observable is and how it can be used.
- class pymarqov.obs.Observable(dtype=<class 'float'>)
Base class for observable objects
- dtype
datatype of this observable
- Type:
dtype
- Ls
list of all available lattice size keys
- Type:
list of int
- nLs
number of lattice size keys
- Type:
int
- add_data_container(lenkey, params)
Add pyMARQOVContainer object to this observable
- rm_data_container(lenkey)
Remove pyMARQOVContainer object from this observable
- init_container(sizekey, params)
Init pymarqov_container object in this observable
- Parameters:
sizekey (int) – lattice length key; identifies the pymarqov_container
params (parameter object) – corresponding simulation parameters
- Raises:
ValueError – If a pymarqov_container with this “sizekey” already exists
- rm_container(sizekey)
Remove pymarqov_container object from this observable
- Parameters:
sizekey (int) – lattice size key; identifies the pymarqov_container
- Raises:
ValueError – If no pymarqov_container with this key is found.