arpes.io.load_data#
- arpes.io.load_data(file, location=None, **kwargs)[source]#
Loads a piece of data using available plugins. This the user facing API for data loading.
- Parameters:
file (str | Path) – An identifier for the file which should be loaded, i.e., the file path.
location (str | type[EndstationBase]) – The name of the endstation/plugin to use. You should try to provide one. If None is provided, the loader will try to find an appropriate one based on the file extension and brute force. This will be slower and can be error prone in certain circumstances.
kwargs – pass to load_scan Optionally, you can pass a loading plugin (the class) through this kwarg and directly specify the class to be used.
- Returns:
The loaded data. Ideally, data which is loaded through the plugin system should be highly compliant with the PyARPES data model and should work seamlessly with PyARPES analysis code.