Summarize CATG values
Add summarize_catg.py which constructs 4 'tables':
- Get the
DO.CATGvalue for a given human-readable name in the design. - Get the
DO.CATGvalue from theDPRkeywords of a raw data file. - Get the 'tag' and input type from the
DO.CATGof a file for a given recipe. - Get the
PRO.CATGvalue depending on theDO.CATGvalue 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.