arpes.endstations.plugin.HERS.HERSEndstation#

class arpes.endstations.plugin.HERS.HERSEndstation[source]#

Implements data loading at the ALS HERS beamline.

This should be unified with the FITs endstation code, but I don’t have any projects at BL10 at the moment so I will defer the complexity of unifying them for now

__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 HERS data from FITS files.

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

ANALYZER_INFORMATION

ATTR_TRANSFORMS

CONCAT_COORDS

ENSURE_COORDS_EXIST

MERGE_ATTRS

PIXELS_PER_DEG

PRINCIPAL_NAME

RENAME_KEYS

RESOLUTION_TABLE

SLIT_ORIENTATION

SUMMABLE_NULL_DIMS

_SEARCH_DIRECTORIES

_SEARCH_PATTERNS

_TOLERATED_EXTENSIONS

_USE_REGEX