These files contain all the functions needed to read, preprocess and combine both the UWB data and the acceleration data with the cow ids. It translates the
raw activity measures to interpretable numbers based on the dynamic range (individual per sensor, but technically all should be 8, not allways the case, though).
Besides linking the IDS, it also corrects for the time-errors (the sensor systems records on UTF time, causing a difference of 1 or 2 hours
when CET is summer (UTF+1) or winter (UTF+2). These functions are designed to process all files between a preset start and end date, making it
more efficient if only part of the data files / a specific period of interest needs to be processed. In the file with extension "_LF", the functions
are adjusted for computational efficacy, they can deal with the data collected since the extension of the system to all barns and they make use of the data
stored per hour instead of per day, and thus, it is recommended to use when many days need to be processed.
The functions can be called with the script "data_preparation.py" and in the quality control pipeline (see later).
**2. Tool to verify quality control of the uwb data**
**3. Tool to read, condense, preprocess and interpret positions**