Skip to main content

A package for reading GROMACS .trr files

Project description


pytrr is a python package for reading .trr [1] files from GROMACS [2].

pytrr is intended as a lightweight, pure python, library for reading .trr trajectories and it gives access to positions, velocities, etc. as numpy arrays.


from pytrr import GroTrrReader

with GroTrrReader('traj.trr') as trrfile:
    for frame in trrfile:
        frame_data = trrfile.get_data()


pytrr can be installed via pip:

pip install pytrr

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytrr, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size pytrr-0.4.1.tar.gz (27.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page