arpes.endstations.plugin.igor_plugin.IgorEndstation#
- class arpes.endstations.plugin.igor_plugin.IgorEndstation[source]#
A generic file loader for PXT files.
This makes no assumptions about whether data is from a hemisphere or otherwise, so it might not be perfect for all Igor users, but it is a place to start and to demonstrate how to implement a data loading plugin.
- __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 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])Igor .pxt and .ibws are single files so we just read the one passed here.
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])Single file endstations just use the referenced file from the scan description.
Attributes
ALIASESATTR_TRANSFORMSCONCAT_COORDSENSURE_COORDS_EXISTMERGE_ATTRSPRINCIPAL_NAMERENAME_KEYSSUMMABLE_NULL_DIMS_SEARCH_DIRECTORIES_SEARCH_PATTERNS_TOLERATED_EXTENSIONS_USE_REGEX