Add an option to
gemos to create VFAT configuration files. The command takes as input a folder with a well-known file structure* and produces as output a folder with the same file structure and updated parameters.
In the absence of an input file, a default configuration file can be used. This is typically used to bootstrap a new configuration based on the setup description.
The following parameters are currently supported:
- The VFAT calibration parameters retrieved from the database
- The results of the DAC scans
- The thresholds based on the results of the S-bit rate scans analysis routine
gemos create-config vfat --default default.cfg -c calibration/fed0001-slot01.cfg -d dacScan/dac_Scans.cfg -t sBitRateScan/sbits_1.cfg -t sBitRateScan/sbits_2.cfg results/vfatConfig/
- The files will be organized in subfolders named
Closes #35 (closed).
How Has This Been Tested?
Tested with results of scans performed on the VFATs available in the lab on a GE2/1 setup as well as the GE1/1 integration setup chambers.
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
My code follows the code style of this project.
My change requires a change to the documentation.
I have updated the documentation accordingly.
I have read the CONTRIBUTING document.
I have added tests to cover my changes.
All new and existing tests passed.