Retrieve VFAT calibration parameters from database
Description
This MR adds to gemos
a command that dumps to a CSV-like file the VFAT calibration parameters obtained from a query to the database.
Example of usage:
poetry run gemos poetry run gemos query vfat-calibration vfat-calibrations.dat
The file vfat-calibrations.dat
is sanitize and contains the following information:
chip-id;vref-adc;iref;adc0-m;adc0-b;cal-dac-m;cal-dac-b
1230;3;29;1.9089;-324.593;-0.272049;67.5893
1231;3;39;1.89825;-318.341;-0.229325;56.4414
1232;3;29;1.98346;-325.632;-0.245428;61.0245
1233;3;33;1.87333;-307.779;-0.229754;56.3122
1234;3;35;1.90041;-317.408;-0.245102;60.4882
1235;3;27;1.94132;-319.831;-0.23473;57.6574
1236;3;33;1.9382;-320.212;-0.23664;58.5432
1237;3;35;1.96087;-326.629;-0.251636;62.2413
1238;3;31;1.92872;-329.099;-0.257939;63.8939
Related Issue
Closes #34 (closed).
How Has This Been Tested?
Tested on some VFATs found lying around in the lab :)
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)
Checklist:
-
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.
Edited by Laurent Petre