arpes.endstations.plugin.ALG_spin_ToF.SpinToFEndstation#

class arpes.endstations.plugin.ALG_spin_ToF.SpinToFEndstation[source]#

Implements data loading for the Lanzara group Spin-ToF.

__init__()#

Initialize.

Methods

__init__()

Initialize.

_modify_a_data(a_data, spectrum_type)

Helper function to modify the Dataset and DataArray that are contained in the Dataset.

concatenate_frames(frames[, scan_desc])

Performs concatenation of frames in multi-frame scans.

files_for_search(directory)

Filters files in a directory for candidate scans.

find_first_file(file_number)

Attempts to find file associated to the scan given the user provided path or scan number.

is_file_accepted(file)

Determines whether this loader can load this file.

load(scan_desc)

Loads Lanzara group Spin-ToF data.

load_SToF_fits(scan_desc)

Loads FITS convention SToF data.

load_SToF_hdf5([scan_desc])

Imports a FITS file that contains ToF spectra.

load_from_path(path)

Convenience wrapper around .load which references an explicit path.

load_single_frame([frame_path, scan_desc])

Hook for loading a single frame of data.

postprocess(frame)

Performs frame level normalization of scan data.

postprocess_final(data[, scan_desc])

Perform final normalization of scan data.

resolve_frame_locations([scan_desc])

Determine all files and frames associated to this piece of data.

Attributes

ALIASES

ATTR_TRANSFORMS

COLUMN_RENAMINGS

CONCAT_COORDS

ENSURE_COORDS_EXIST

MERGE_ATTRS

PRINCIPAL_NAME

RENAME_KEYS

SKIP_ATTR_FRAGMENTS

SUMMABLE_NULL_DIMS

_SEARCH_DIRECTORIES

_SEARCH_PATTERNS

_TOLERATED_EXTENSIONS

_USE_REGEX