punchbowl.auto.control.cache_layer.nfi_l1#

Classes#

NFIL1Loader

Interface for passing callable objects instead of file paths to be loaded.

Functions#

wrap_if_appropriate(→ str | punchbowl.util.DataLoader)

Module Contents#

class punchbowl.auto.control.cache_layer.nfi_l1.NFIL1Loader(path: str)[source]#

Bases: punchbowl.auto.control.cache_layer.loader_base_class.LoaderABC

Interface for passing callable objects instead of file paths to be loaded.

path#
load() tuple[source]#

Load the data.

gen_key() str[source]#

Generate a cache key

src_repr() str[source]#

Return a string representation of the source data (e.g. a file path)

load_from_disk() ndcube.NDCube[source]#

Load the object

__repr__()[source]#

Return a string representation of this loader

punchbowl.auto.control.cache_layer.nfi_l1.wrap_if_appropriate(file_path: str) str | punchbowl.util.DataLoader[source]#