get_pos

soda_analyzer.get_pos(h5_lib, stateID, procID=0, rsp=0, delta=True)

Read reconstructed atomic positions for the selected structure.

Parameters:
  • h5_lib (h5py.File) – Open SODA HDF5 file. Keep it open while using views derived from it.

  • stateID (int) – State identifier in /States.

  • procID (int, optional) – Process identifier within the selected state. Default: 0.

  • rsp (int, optional) – Structure selector: 0 for reactant, 1 for saddle, 2 for product. Default: 0.

  • delta (bool, optional) – Read the process delta representation when true; read the base state when false. Default: True.

Returns:

numpy.ndarray – Positions of shape (n_atoms, 3), in angstrom.