mantidimaging.core.operation_history.operations module#

class mantidimaging.core.operation_history.operations.ImageOperation(filter_name: str, filter_kwargs: dict[str, Any], display_name: str)[source]#

Bases: object

A deserialized representation of an item in a stack’s operation_history

static from_serialized(metadata_entry: dict[str, Any]) ImageOperation[source]#
serialize() dict[str, Any][source]#
to_partial(filter_funcs: dict[str, Callable]) partial[source]#
mantidimaging.core.operation_history.operations.deserialize_metadata(metadata: dict[str, Any]) list[ImageOperation][source]#
mantidimaging.core.operation_history.operations.ops_to_partials(filter_ops: Iterable[ImageOperation]) Iterable[partial][source]#