Summarize CATG values
Add summarize_catg.py
which constructs 4 'tables':
- Get the
DO.CATG
value for a given human-readable name in the design. - Get the
DO.CATG
value from theDPR
keywords of a raw data file. - Get the 'tag' and input type from the
DO.CATG
of a file for a given recipe. - Get the
PRO.CATG
value depending on theDO.CATG
value of the primary input for a given recipe.
These 'tables' are currently implemented as Python dictionaries and printed out. The print-out is included in the file.
These tables can potentially be used to generate C-macros (or functions) that can do these translations on-the-fly in C as well.
Note that the used values are as they are in the current design, and will probably be updated when resolving the actions for FDR.
Only standard imaging is currently included in the tables.
@ycao is the information in these tables useful to you? I think this is everything needed to clarify the CATG
values.