odatse.util.separateT module
- class odatse.util.separateT.Entry(step, walker, fx, xs)
Bases:
tuple
Create new instance of Entry(step, walker, fx, xs)
- _asdict()
Return a new dict which maps field names to their values.
- classmethod _make(iterable)
Make a new Entry object from a sequence or iterable
- _replace(**kwds)
Return a new Entry object replacing specified fields with new values
- fx
Alias for field number 2
- step
Alias for field number 0
- walker
Alias for field number 1
- xs
Alias for field number 3
- odatse.util.separateT.separateT(Ts: ndarray, nwalkers: int, output_dir: PathLike, comm: Comm | None, use_beta: bool, buffer_size: int = 10000) None [source]
Separates and processes temperature data for quantum beam diffraction experiments.
- Parameters:
Ts (np.ndarray) – Array of temperature values.
nwalkers (int) – Number of walkers.
output_dir (PathLike) – Directory to store the output files.
comm (mpi.Comm, optional) – MPI communicator for parallel processing.
use_beta (bool) – Flag to determine if beta values are used instead of temperature.
buffer_size (int, optional) – Size of the buffer for reading input data. Default is 10000.