Ticket #2375: ticket2375.py

File ticket2375.py, 357 bytes (added by Michael Whitty, 10 years ago)
Line 
1LoadRaw('IRS21360', 'IRS21360')
2
3GroupDetectors('IRS21360', 'irs21360_grpdA', MapFile='grpA.map')
4GroupDetectors('IRS21360', 'irs21360_grpdB', MapFile='grpB.map')
5
6wsA = mtd['irs21360_grpdA']
7wsB = mtd['irs21360_grpdB']
8
9detA = wsA.getDetector(3)
10
11detB = wsB.getDetector(3)
12
13print 'WSA', detA.getDetectorIDs()
14print 'WSB', detB.getDetectorIDs()