yt.frontends.ramses.io module¶
- class yt.frontends.ramses.io.IOHandlerRAMSES(ds)[source]¶
Bases:
BaseIOHandler
- peek(grid, field)¶
- push(grid, field, data)¶
- yt.frontends.ramses.io.convert_ramses_conformal_time_to_physical_time(ds, conformal_time: ndarray) unyt_array [source]¶
Convert conformal times (as defined in RAMSES) to physical times.
- Parameters:
ds (RAMSESDataset) – The RAMSES dataset to use for the conversion
conformal_time (np.ndarray) – The conformal time as read from disk
- Returns:
physical_age – The physical age in code units
- Return type:
np.ndarray