Base Classes
- class pyclm.core.patterns.pattern.PatternMethod(experiment_name=None, camera_properties: CameraProperties = None, **kwargs)[source]
Bases:
object- add_requirement(channel_name: str, raw: bool = False, seg: bool = False)[source]
Declarative way to add requirements.
- configure_system(experiment_name: str, camera_properties: CameraProperties, experiment: Experiment)[source]
Called by the system to inject dependencies.
- generate(data_dock: DataDock | PatternContext) ndarray[source]
- name = 'base'
- class pyclm.core.patterns.pattern.PatternContext(data_dock: DataDock, experiment: Experiment)[source]
Bases:
object
- class pyclm.core.patterns.zoo.ZooMeta(source: str, kwargs: dict = <factory>, time_seconds: float = 0.0, title: str = '', description: str = '')[source]
Bases:
objectDeclares how a PatternMethod should appear in the documentation zoo.
- Parameters:
source (str) – Name of the sample image set, e.g.
"mdck","fly", or"mcf10a". A filedocumentation/zoo_sources/<source>.tifmust exist;<source>_seg.tifis optional (synthetic blobs are used when absent).kwargs (dict) – Keyword arguments forwarded to the pattern-method constructor.
time_seconds (float) – Experiment time (seconds) injected into the context.
title (str) – Gallery-card heading. Defaults to the class
nameattribute.description (str) – One-sentence description shown beneath the image.