|
PHYEX 0.9.5
PHYsique EXternalisée
|
Classes | |
| class | ExperimentRunner |
| class | _ExistingResult |
| class | ExistingResults |
Functions | |
| var_legend (var, mfactor) | |
| string2filename (string) | |
| physics_options (cls) | |
| list_experiments (output_dir='.', comp_name=DEFAULT_COMP_NAME) | |
Variables | |
| str | DEFAULT_CLASS = 'PhysicsAromeTQ' |
| dict | PHYSICS_CLASSES |
| str | DEFAULT_COMP_NAME = 'phyex1dcomp' |
| tuple | RUNNER_ARGUMENTS = ('dt', 'method', 'name', 'tag', 'case', 'grid', 'attrs') |
| dict | BUDGET_UNITS = {'U': 'm s-2', 'V': 'm s-2', 'W': 'm s-2', 'TH': 'K s-1', 'TKE': 'm2 s-3'} |
ExperimentRunner is the main object of the phyex1d package; it deals with the execution
| pyphyex.phyex1d.experiment_runner.list_experiments | ( | output_dir = '.', | |
| comp_name = DEFAULT_COMP_NAME ) |
Existing results of a comparison
:param output_dir: output directory
:param comp_name: comparison name
:return: list of tuples (experiment name, physics class, result file); the name and
class are '?' for results produced by older versions
Definition at line 140 of file experiment_runner.py.


| pyphyex.phyex1d.experiment_runner.physics_options | ( | cls | ) |
Options of a physics class: the arguments of its constructor having a default
value, except the ones set by ExperimentRunner
:param cls: physics class
:return: dictionary {option name: default value}
Definition at line 63 of file experiment_runner.py.
| pyphyex.phyex1d.experiment_runner.string2filename | ( | string | ) |
Tag (usable in file names) corresponding to a comparison or an experiment name: quotes are removed, spaces and slashes are replaced by underscores
Definition at line 55 of file experiment_runner.py.

| pyphyex.phyex1d.experiment_runner.var_legend | ( | var, | |
| mfactor ) |
String used in the plot legends for a variable (replaces the PPPYComp method to deal with the budget variables) :param var: name of the variable :param mfactor: multiplying factor applied to data
Definition at line 39 of file experiment_runner.py.
| dict pyphyex.phyex1d.experiment_runner.BUDGET_UNITS = {'U': 'm s-2', 'V': 'm s-2', 'W': 'm s-2', 'TH': 'K s-1', 'TKE': 'm2 s-3'} |
Definition at line 36 of file experiment_runner.py.
| str pyphyex.phyex1d.experiment_runner.DEFAULT_CLASS = 'PhysicsAromeTQ' |
Definition at line 20 of file experiment_runner.py.
| str pyphyex.phyex1d.experiment_runner.DEFAULT_COMP_NAME = 'phyex1dcomp' |
Definition at line 30 of file experiment_runner.py.
| dict pyphyex.phyex1d.experiment_runner.PHYSICS_CLASSES |
Definition at line 23 of file experiment_runner.py.
| tuple pyphyex.phyex1d.experiment_runner.RUNNER_ARGUMENTS = ('dt', 'method', 'name', 'tag', 'case', 'grid', 'attrs') |
Definition at line 33 of file experiment_runner.py.