arpes.endstations.plugin.fallback.FallbackEndstation#

class arpes.endstations.plugin.fallback.FallbackEndstation[source]#

Sequentially tries different loading plugins.

Different from the rest of the data loaders. This one is used when there is no location specified and attempts sequentially to call a variety of standard plugins until one is found that works.

__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.

determine_associated_loader(file)

Determines which loading plugin to use for a given piece of data.

files_for_search(directory)

Filters files in a directory for candidate scans.

find_first_file(file_number)

Finds any file associated to this scan.

is_file_accepted(file)

Determines whether this loader can load this file.

load([scan_desc, file])

Delegates to a dynamically chosen plugin for loading.

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

ATTEMPT_ORDER

ATTR_TRANSFORMS

CONCAT_COORDS

ENSURE_COORDS_EXIST

MERGE_ATTRS

PRINCIPAL_NAME

RENAME_KEYS

SUMMABLE_NULL_DIMS

_SEARCH_DIRECTORIES

_SEARCH_PATTERNS

_TOLERATED_EXTENSIONS

_USE_REGEX