read

Import in python using from mcutils.utils.trajectory import read

mcutils.utils.trajectory.read(filename)[source]

Reads a Camino trajectory file

Parameters

filename – name of the file

Returns

(n_spins, n_steps + 1) memory map to an index array with as axes:

  • ”time”: double

  • ”index”: int

  • ”pos”: 3 x double