-
Notifications
You must be signed in to change notification settings - Fork 26
[Feature request] Create a tool to produce RX GBT phase scan aggregation results #232
Comments
Probably a separate tool is needed, e.g. I think the best I'm not sure; what do you think @lpetre-ulb ? |
For the same reasons as you I also think a separate tool would be better. The sub-parser was an attempt in order avoid increasing the number of tools, but the two sub-commands would be completely separated (except for the input file list maybe). |
Separate tool then; I think we are in agreement. So now the question is usage; I guess you have all this phase scan data in your local DB (perhaps now in the GEM DB?)? We have all our phase scan data in So what would usage be? Query from DB? Provide an input file with detectorName and scandate that can be parsed by I'm not sure what the best approach would be. If we only considered data collected by QC7 then I would say |
Indeed we store the phase scan data in our local DB so that we can download all of them in a single ZIP file. I think these data will never be stored in the GEM DB. Do you have a strong reason to want that? Requiring for new fields is not especially easy and I'm not convinced there is any advantage in storing data in the GEM DB.
If I'm not mistaken the phase scan data are stored in Since the
I'm not sure what you mean by query from DB since there is no structured DB involved (yet?) Regarding the other options I think it is possible to provide support for all of them in a transparent way for the user. One could allow as parameter a list of files which are easy to differentiate:
For ULB data the best approach would be that the program takes a list of phase scan files. Since all the phase scan data from the ZIP file are extracted in a single folder we can use bash expansion. Also at QC7/QC8 and with the current directory structure you can for example use: aggregatePhaseScanPlots.py /data/bigdisk/GEM-Data-Taking/GE11_QC8/GE11-X-S-**/gbtPhaseScan_*_current.log to aggregate the current phase scan for all the short GEBs. |
No I don't.
That's correct.
Good point; I guess I was only thinking about the one link case which is not the right approach.
I was musing about possible DB records but I think you cleared that up above.
Your proposal here sounds the best; I would vote for an algorithm that differentiates in an transparent manner to the user and no additional command line arguments/options are needed to make it work. 👍 |
Brief summary of issue
Aggregating GBT RX phase scan results is useful to deduce good default values from a set of phase scan results. Default values then feed a LUT used for the "all good phases" case.
This issue proposes to add a such tool to the analysis tools.
Types of issue
Expected Behavior
The new tool is expected to take a list of GBT phase scans as input and to output a single plot on which the results from the listed phase scans are superimposed. For example here is the expected kind of plot produced with
matplotlib
for 20 short GEBs & 20 long GEBs:The tool can be provided as a new program/script or can be integrated as a sub-parser into the
makePhaseScanPlots.py
script.Current Behavior
No such tool currently exists.
The text was updated successfully, but these errors were encountered: