Solving Jira Tikec-16
The idea in order to fix this is to make a dictionary of dictionaries in python.
So basically a dictionary with detIDs as keys, and for each detID key you get another dictionary as a value. This dictionary has as keys the APVPAir number and as value another dictionary. This other dictionary has as keys strings like "FecCrate" and as value the corresponding number, for all the quantities you want to map.
After we learned something about dictionaries in python, we did our first attempt, but immediately we had the first problem: as a key we can use any immutable value and we can not have repeated keys, but the same detID can be in diferents chanels.
So we decided to do a dictionario where the first key was the FEDid and the next key was Fedch. You can see the attachment (I put another before, but now I change it only for aesthetic), I also attached a .txt file you need to run the python code.
--
JhovannyMejia - 10 Jun 2014