pyacs.gts.lib.format.pride module

Read PRIDE kinematic files (PRIDE-PPPAR format).

pyacs.gts.lib.format.pride.read_pride(self, tsdir='.', tsfile=None, xyz=True, verbose=False)[source]

Read PRIDE-PPPAR kinematic result file.

Parameters:
  • tsdir (str, optional) – Directory of pride-pppar kinematic files.

  • tsfile (str, optional) – Pride-pppar kinematic file to load. If None, looks for kin_*code.

  • xyz (bool, optional) – If True, keep data in XYZ; otherwise convert to NEU.

  • verbose (bool, optional) – Verbose mode.

Notes

If tsfile is None, read_pride looks for a file named kin_*code.

pyacs.gts.lib.format.pride.read_pride_pos(self, tsdir='.', tsfile=None, verbose=False)[source]

Read PRIDE-PPPAR static result file(s).

Parameters:
  • tsdir (str, optional) – Directory containing pride-pppar pos static files. Default ‘.’.

  • tsfile (str, optional) – Specific file to load. If None, searches for pos_*code in tsdir.

  • verbose (bool, optional) – If True, enable verbose output.

Notes

If tsfile is None, looks for files named pos_*<code> in tsdir.