mrpro.utils.typing

Some type hints that are used in multiple places in the codebase but not part of mrpro’s public API.

Module Attributes

TorchIndexerType

Torch indexer type.

NumpyIndexerType

Numpy indexer type.

Functions

endomorph(f)

Decorate a function to make it an endomorph callable.

Classes

FileOrPath

Represent a PEP 604 union type

NestedSequence

alias of _NestedSequence

NumpyIndexerType

Numpy indexer type.

TorchIndexerType

Torch indexer type.