|
|
`arpesbin.arpesconfig` is a class for storing and managing per-file config settings for analysis.
|
|
|
|
|
|
`arpesbin.arpesconfig(filename)`
|
|
|
|
|
|
`arpesbin.arpesconfig(_,Name,Value)`
|
|
|
|
|
|
`filename` can be a full path or a relative path from the current folder, or the name of a file on MATLAB's path.
|
|
|
If the file has the extension '.json' it will treat that JSON as a saved config file saved by arpesconfig.
|
|
|
If the file has the extension '.nxs' it will treat it as an HDF5 scientific data format file generated by Diamond i05, storing the data generated by the experiment.
|
|
|
If the file has any other extension it will be treated as if it had the .nxs' extension
|
|
|
|
|
|
`Name,Value` can take name-value pairs in MATLAB's standard format. A full list is below.
|
|
|
|
|
|
| Name | ValueType| Default | Description |
|
|
|
| ------ | ------ | ------- | ------- |
|
|
|
| DeadPixelFile| `char` | 'deadPixels2018.dat'| path of datfile containing coordinated of dead pixels on the electron detector. These pixels will be ignored.|
|
|
|
| GoldFile | `char` | ''| path of datfile containing angle-energy corrections for from gold-post experiments|
|
|
|
| units | `char` | 'nat' | 'nat' or 'si', what units to use in final output|
|
|
|
| minTheta| `scalar` | -90 | smallest angle to consider when converting data. Use to speed up calculations|
|
|
|
| maxTheta| `scalar` | 90 | largest angle to consider when converting data. Use to speed up calculations|
|
|
|
| minSapolar| `scalar` | -90| smallest angle to consider when converting data. Use to speed up calculations|
|
|
|
| maxSapolar| `scalar` | 90| largest angle to consider when converting data. Use to speed up calculations|
|
|
|
| minEnergy| `scalar` | 0| smallest energy to consider when converting data. Use to speed up calculations|
|
|
|
| maxEnergy| `scalar` | 1000| largest energy to consider when converting data. Use to speed up calculations|
|
|
|
| shiftTheta| `scalar` | 0| fixed offset to angle to apply before converting data into k-space|
|
|
|
| shiftSapolar| `scalar` | 0| fixed offset to angle to apply before converting data into k-space| |