Ticket #7001: s1A.py
File s1A.py, 508 bytes (added by Wenduo Zhou, 7 years ago) |
---|
Line | |
---|---|
1 | # determine where to save |
2 | import os |
3 | savedir = os.path.abspath(os.path.curdir) |
4 | |
5 | # run the actual code |
6 | CalibrateRectangularDetectors(OutputDirectory = savedir, SaveAs = 'calibration', FilterBadPulses = True, |
7 | GroupDetectorsBy = 'All', DiffractionFocusWorkspace = False, Binning = '0.5, -0.0004, 2.5', |
8 | MaxOffset=0.01, PeakPositions = '2.0592,1.2610,1.0754,0.7280', |
9 | CrossCorrelation = False, Instrument = 'PG3', RunNumber = '2538', Extension = '_event.nxs') |
10 |