postprocessor.core.multisignal.align.alignParameters¶
- class postprocessor.core.multisignal.align.alignParameters(**kwargs)¶
Bases:
ParametersABC
Parameters for the ‘align’ process.
- Attributes
- slice_before_first_event: bool
Whether to discard the parts of signals that occur before the first event being aligned. For example, whether to discard flavin fluorescence before the first birth event, after aligning by the first birth event.
- events_at_least: int
Specifies the number of events required for each cell. For example, if events_at_least is 2, then it will discard time series (from the DataFrame) that have less than 2 events. As a more pratical example: discarding flavin time series that derive from cells with less than 2 buddings identified.
Methods
from_yaml
(source)Returns instance from a yaml filename or stdin
to_dict
([iterable])Recursive function to return a nested dictionary of the attributes of the class instance.
to_yaml
([path])Returns a yaml stream of the attributes of the class instance.
update
(name, new_value)Update values recursively if name is a dictionary, inject data where found.
default
from_dict
- __init__(**kwargs)¶
Defines parameters as attributes
Methods
__init__
(**kwargs)Defines parameters as attributes
default
(**kwargs)from_dict
(d)from_yaml
(source)Returns instance from a yaml filename or stdin
to_dict
([iterable])Recursive function to return a nested dictionary of the attributes of the class instance.
to_yaml
([path])Returns a yaml stream of the attributes of the class instance.
update
(name, new_value)Update values recursively if name is a dictionary, inject data where found.
- classmethod from_yaml(source: Union[PosixPath, str])¶
Returns instance from a yaml filename or stdin
- to_dict(iterable='null')¶
Recursive function to return a nested dictionary of the attributes of the class instance.
- to_yaml(path: Optional[Union[PosixPath, str]] = None)¶
Returns a yaml stream of the attributes of the class instance. If path is provided, the yaml stream is saved there.
- Parameters
- pathUnion[PosixPath, str]
Output path.
- update(name: str, new_value)¶
Update values recursively if name is a dictionary, inject data where found. It forbids type changes.