**A set of Python scripts to standardize metrology data processing among the participant to the Superflat PCP project**
## Last update
## Last updates
### _31/05/2023:_
New features added since November 2022:
- Computation of the PSD when the ROI contains a small number of invalid data points.
After applying the Tukey window, Invalid data points are interpolated
by cubic splines. If the number of bad data points in a line exceeds 20%
this line is discarded from further computation.
The percentage of invalid points in the ROI is printed to the console.
- Computation of the sagittal slope errors.
- Detrending by an X and Y polynomial of specified degree.
- Saving the processing results in a pickle file for later editing.
- Bug fixes:
- Extraction of pixel size from some MX files.
- Extra blank lines in .xyz files.
### _15/11/2022:_
ROI selection window now displays rectangle coordinates when dragging with the mouse. 2^nd degree detrending was fixed to handle 'invalid data'.
ROI selection window now displays rectangle coordinates when dragging with the mouse. $ 2^nd $ degree detrending was fixed to handle 'invalid data'.
Separate class for .datx file handling. Should work for nearly all MetroPro or MX version.
Some older datx versions used szip compression. They are readable providing more recenf Hdf5 dlls than the standard ones are installed in the h5py directory.