Simple adapter to smooth API transitions of the garnett project
garnets is a very simple wrapper over the
garnett package. In version
0.7, the API of garnett changed to rename some frame attributes
(positions, orientations, velocities) to their singular
garnets is mostly designed to be a drop-in replacement for the
garnett import at the top of your file:
import garnets as garnett
At the moment, only a basic compatibility layer is supported. Writing
trajectories using frame objects that fulfill only the old frame API
will not work, but writing frames that are read from a
garnett trajectory should work.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.