opencadd.structure.core.Structure.transfer_to_memory

Structure.transfer_to_memory(start=None, stop=None, step=None, verbose=False)

Transfer the trajectory to in memory representation.

Replaces the current trajectory reader object with one of type MDAnalysis.coordinates.memory.MemoryReader to support in-place editing of coordinates.

Parameters
  • start (int, optional) – start reading from the nth frame.

  • stop (int, optional) – read upto and excluding the nth frame.

  • step (int, optional) – Read in every nth frame. [1]

  • verbose (bool, optional) – Will print the progress of loading trajectory to memory, if set to True. Default value is False.

New in version 0.16.0.