sierra.core.pipeline.stage4.rendering

Classes for rendering frames (images) into videos.

Frames can be:

  • Captured by by the --platform during stage 2.

  • Generated during stage 3 of SIERRA via imagizing.

  • Generated inter-experiment heatmaps from bivariate experiments.

class sierra.core.pipeline.stage4.rendering.ParallelRenderer(main_config: Dict[str, Any], cmdopts: Dict[str, Any])[source]

Base class for performing the requested rendering in parallel.

Unless disabled with --proccessing-serial, then it is done serially.

Inheritance

Inheritance diagram of ParallelRenderer
__dict__ = mappingproxy({'__module__': 'sierra.core.pipeline.stage4.rendering', '__doc__': 'Base class for performing the requested rendering in parallel.\n\n    Unless disabled with ``--proccessing-serial``, then it is done serially.\n\n    ', '__init__': <function ParallelRenderer.__init__>, 'do_rendering': <function ParallelRenderer.do_rendering>, '_thread_worker': <staticmethod object>, '__dict__': <attribute '__dict__' of 'ParallelRenderer' objects>, '__weakref__': <attribute '__weakref__' of 'ParallelRenderer' objects>, '__annotations__': {}})
__doc__ = 'Base class for performing the requested rendering in parallel.\n\n    Unless disabled with ``--proccessing-serial``, then it is done serially.\n\n    '
__init__(main_config: Dict[str, Any], cmdopts: Dict[str, Any]) None[source]
__module__ = 'sierra.core.pipeline.stage4.rendering'
__weakref__

list of weak references to the object (if defined)

static _thread_worker(q: Queue, main_config: Dict[str, Any]) None[source]
do_rendering(inputs: List[Dict[str, Union[str, int]]]) None[source]

Do the rendering.

class sierra.core.pipeline.stage4.rendering.PlatformFramesRenderer(main_config: Dict[str, Any], cmdopts: Dict[str, Any])[source]

Renders frames (images) captured in each experimental run by a platform.

Inheritance

Inheritance diagram of PlatformFramesRenderer
__call__(criteria: IConcreteBatchCriteria) None[source]

Call self as a function.

__doc__ = 'Renders frames (images) captured in each experimental run by a platform.\n\n    '
__init__(main_config: Dict[str, Any], cmdopts: Dict[str, Any]) None[source]
__module__ = 'sierra.core.pipeline.stage4.rendering'
_calc_rendering_inputs(exp: Path) List[Dict[str, Union[str, int]]][source]
class sierra.core.pipeline.stage4.rendering.ProjectFramesRenderer(main_config: Dict[str, Any], cmdopts: Dict[str, Any])[source]

Render the video for each experimental run in each experiment.

Inheritance

Inheritance diagram of ProjectFramesRenderer
__call__(criteria: IConcreteBatchCriteria) None[source]

Call self as a function.

__doc__ = 'Render the video for each experimental run in each experiment.\n    '
__init__(main_config: Dict[str, Any], cmdopts: Dict[str, Any]) None[source]
__module__ = 'sierra.core.pipeline.stage4.rendering'
_calc_rendering_inputs(exp: Path) List[Dict[str, Union[str, int]]][source]
class sierra.core.pipeline.stage4.rendering.BivarHeatmapRenderer(main_config: Dict[str, Any], cmdopts: Dict[str, Any])[source]

Render videos from generated inter-experiment heatmaps.

versionadded:: 1.2.20

Inheritance

Inheritance diagram of BivarHeatmapRenderer
__call__(criteria: IConcreteBatchCriteria) None[source]

Call self as a function.

__doc__ = 'Render videos from generated inter-experiment heatmaps.\n\n    versionadded:: 1.2.20\n    '
__init__(main_config: Dict[str, Any], cmdopts: Dict[str, Any]) None[source]
__module__ = 'sierra.core.pipeline.stage4.rendering'
_calc_rendering_inputs() List[Dict[str, Union[str, int]]][source]
class sierra.core.pipeline.stage4.rendering.ExpRenderer[source]

Render all images in the input directory to a video via ffmpeg.

Inheritance

Inheritance diagram of ExpRenderer
__call__(main_config: Dict[str, Any], render_opts: Dict[str, str]) None[source]

Call self as a function.

__dict__ = mappingproxy({'__module__': 'sierra.core.pipeline.stage4.rendering', '__doc__': 'Render all images in the input directory to a video via :program:`ffmpeg`.\n\n    ', '__init__': <function ExpRenderer.__init__>, '__call__': <function ExpRenderer.__call__>, '__dict__': <attribute '__dict__' of 'ExpRenderer' objects>, '__weakref__': <attribute '__weakref__' of 'ExpRenderer' objects>, '__annotations__': {}})
__doc__ = 'Render all images in the input directory to a video via :program:`ffmpeg`.\n\n    '
__init__() None[source]
__module__ = 'sierra.core.pipeline.stage4.rendering'
__weakref__

list of weak references to the object (if defined)