GSDFormat.jl

Wrapper of GSD file format
Author ywitzky
Popularity
0 Stars
Updated Last
2 Months Ago
Started In
June 2024

Aqua QA

Julia wrapper for the GSD data format

This is a Julia wrapper for the gsd data format used by the HOOMD-blue simulation package.

Installation

using Pkg 
Pkg.add("GSD")

Usage

trajectory = GSD.open("path/to/file")

for (i,frame) in enumerate(trajectory)
    position_subset = frame.particles.position[1:NAtoms,1:NDim]
    do_compute(position_subset)
end

This library tries to be as close to the usage of the original python implementation of the gsd package.

Support

Windows is not support since gsd builds on unix calls such as pwrite etc. Plattforms that are supported can be found in the Binaries at JuliaBinaryWrappers.

Warning

GSD special particle type "type_shapes" is untested as of now.

Used By Packages

No packages found.