arpes.endstations.plugin.ANTARES.ANTARESEndstation#

class arpes.endstations.plugin.ANTARES.ANTARESEndstation[source]#

Implements data loading for ANTARES at SOLEIL.

There’s not too much metadata here except what comes with the analyzer settings.

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

get_coords(group, scan_name, shape)

Extracts coordinates from the actuator header information.

is_file_accepted(file)

Determines whether this loader can load this file.

load([scan_desc])

Loads a scan from a single file or a sequence of files.

load_from_path(path)

Convenience wrapper around .load which references an explicit path.

load_single_frame([frame_path, scan_desc])

Loads a single ANTARES scan.

load_top_level_scan(group[, scan_desc, ...])

Reads a spectrum from the top level group in a NeXuS scan format.

postprocess(frame)

Performs frame level normalization of scan data.

postprocess_final(data[, scan_desc])

Performs final scan postprocessing.

read_scan_data(group)

Reads the scan data stored in /scan_data/data_{idx} for the appropriate filetype.

resolve_frame_locations([scan_desc])

Single file endstations just use the referenced file from the scan description.

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