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