This module holds classes and helper functions to represent the data format of the measurements carried out with the HHG spectrometer.
It helps reading in the data from the folders and extracts information from the implicit data structure found in the sets of
This class can hold a complete measurement taken with the HHG spectrometer.
It holds a list of the individual MeasurementPoint instances.
Calculate properties derived from all the measurement points.
If they are expensive to calculate, their calculation should be prepared in the instantiation process of the MeasurementPoint class.
Returns the names of the image and background files that belong to a certain xml file.
This function contains the logic to read in measurement folders. First, it finds out what it has to do and creates a list of instructions. Then it starts to process those jobs in parallel.
Parameters: | folder (str.) – The path to the folder that contains the measurment. |
---|
This class holds all data associated with a single measurement point. This includes an XML file, the image from the spectrometer and a background reference image.
Displayes the spectrometer image using OpenCV’s function cv2.imshow()
Returns a human readable dump of the xml structure.
Implemented as a recursive function. Therefore call without providing the level argument.
A module to leverage the usage of TIFF images.
A Class that helps reading TIFF image files, especially 16 bit grayscale images. It also contains frequently used operations on those images.
The image array data can be accessed via the property TIFF.data.
The property holding the image data itself in the form of a numpy.ndarray.