82 chan2pmt=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, \
83 13, 14, 15, 16, 17, 18,-19,-20, 21, 22, 23, 24, \
84 -27,-26,-25,-31,-32,-28, 33, 29, 30,-36,-35, 34, \
85 44, 38, 37, 43, 42, 41,-45,-39,-40,-48,-47,-46]
86 elif ros==1
or ros==2:
87 chan2pmt=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, \
88 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, \
89 27, 26, 25, 30, 29, 28,-33,-32, 31, 36, 35, 34, \
90 39, 38, 37, 42, 41, 40, 45,-44, 43, 48, 47, 46]
93 return chan2pmt.index(pmt)
94 elif -1*pmt
in chan2pmt:
95 return chan2pmt.index(-1*pmt)
98 print "There is a problem with the indexing."