pyR2D2 Package
This is a package for dealing with R2D2 simulation data.
Example
A pyR2D2.Data
instance can be created as follows:
import pyR2D2
datadir = '../run/d001/data/'
d = pyR2D2.Data(datadir)
Classes
|
Class for managing R2D2 data |
|
Class for managing R2D2 basic parameters |
|
Class for 2D selected data at a certain x |
|
Class for 2D selected data at a certain z |
|
Class for 3D data at a selected MPI process |
|
Class for 3D full data |
|
Class for 3D restricted-volume data |
|
Class for 2D data at certain optical depths |
|
Class for on-the-fly analysis data |
|
Class for 2D slice data |
|
Class for Model S based stratification data |
|
Class for downloading data from remote server |
Class Inheritance Diagram

pyR2D2.util Package
Functions
|
Choose caseid from input or from user input. |
|
Define n0 in main_locals if not exists. |
|
Returns the Table equation of state. |
|
Get the best unit for displaying the size. |
|
Evaluate total size of files in directory. |
|
Initialize pyR2D2.Data instance in main program. |
|
Initializes arbitrary instance of pyR2D2.Data object in main program. |
|
Substitute selp.p to main_locals in main program. |
|
Updates the results file with the size of a directory. |