locan.locan_io.locdata.decode_io.load_decode_header#

locan.locan_io.locdata.decode_io.load_decode_header(path)[source]#

Load header from a DECODE single-molecule localization file and identify column names.

The hdf5 file should contain the following keys: <KeysViewHDF5 [‘data’, ‘decode’, ‘meta’]>

Parameters:

path (str | os.PathLike | SupportsRead) – File path or file-like object for a file to load.

Returns:

Tuple with identifiers, meta and decode sections. Identifiers are list of valid dataset property keys as derived from the DECODE identifiers.

Return type:

tuple[list[str], dict[str, Any], dict[str, Any]]