picongpu.pypicongpu.output
Submodules
Classes
Class to provide output without further configuration. |
Package Contents
- class picongpu.pypicongpu.output.Auto
Bases:
picongpu.pypicongpu.rendering.RenderedObject
Class to provide output without further configuration.
This class requires a period (in time steps) and will enable as many output plugins as feasable for all species. Note: The list of species from the initmanager is used during rendering.
No further configuration is possible! If you want to provide additional configuration for plugins, create a separate class.
- period
period to print data at
- check() None
validate attributes
if ok pass silently, otherwise raises error
- Raises:
ValueError – period is non-negative integer
ValueError – species_names contains empty string
ValueError – species_names contains non-unique name
- __hash__()
custom hash function for indexing in dicts
- get_rendering_context() dict | None
get rendering context representation of this object
delegates work to _get_serialized and invokes checks performed by check_context_for_type(). :raise ValidationError: on schema violation :raise RuntimeError: on schema not found :return: self as rendering context
- static check_context_for_type(type_to_check: type, context: dict | None) None
check if the given context is valid for the given type
Raises on error, passes silently if okay.
- Raises:
ValidationError – on schema violation
RuntimeError – on schema not found