pynbody.snapshot.ramses

pynbody.snapshot.ramses#

Implements classes and functions for handling RAMSES files.

Note that AMR cells are loaded as particles, although this works surprisingly well for most analysis purposes. In particular SPH image generation routines automatically switch on an appropriate de-noising scheme to provide effective interpolation between cells.

Functions

mass(sim)

Derived [RamsesSnap]: Gas mass estimated from cell size and density

temp(sim)

Derived [RamsesSnap]: Gas temperature derived from pressure and density

Classes

RamsesSnap(dirname[, cpus, maxlevel, ...])

Implements loading of Ramses snapshots.