- class eradiate.experiments.Experiment(measures=NOTHING, integrator=NOTHING)#
Base class for experiment simulations.
MultiDistantMeasure()) – List of measure specifications. The passed list may contain dictionaries, which will be interpreted by
measure_factory. Optionally, a single
Measureor dictionary specification may be passed and will automatically be wrapped into a list.
PathIntegrator()) – Monte Carlo integration algorithm specification. This parameter can be specified as a dictionary which will be interpreted by
- classmethod from_dict(d)#
Instantiate from a dictionary. The default implementation raises an exception.
- abstract kernel_dict(ctx)#
Return a dictionary suitable for kernel scene configuration.
A generator which returns kernel dictionaries (and the associated context) relevant to a given measure.
- abstract pipeline(*measures)#
Request post-processing pipeline for a given measure.
- postprocess(*measures, pipeline_kwargs=None)#
Post-process raw results stored in a measure’s
resultsfield. This requires a successful execution of
process(). Post-processed results are stored in
int) – One or several measures for which to perform post-processing. Alternatively, indexes in the measure array can be passed. If no value is passed, all measures are processed.
- process(*measures, seed_state=None)#
Run simulation on the configured scene. Raw results yielded by the runner function are stored in
int) – One or several measures for which to compute radiative transfer. Alternatively, indexes in the measure array can be passed. If no value is passed, all measures are processed.
- property results#
Post-processed simulation results.
Dataset]– Dictionary mapping measure IDs to xarray datasets.