Ticket #8977: check8977_real_example.py
File check8977_real_example.py, 494 bytes (added by Gesner Passos, 7 years ago) |
---|
Line | |
---|---|
1 | # add ndxsans2d/user/Masks and cycle 13_3 to directory manager. |
2 | import ISISCommandInterface as ici |
3 | import math |
4 | MASKFILE = FileFinder.getFullPath('MASKSANS2D_133F_12m_8mm_Hellsing_changer.txt') |
5 | assert(MASKFILE) |
6 | ici.SANS2D() |
7 | ici.MaskFile(MASKFILE) |
8 | ici.TransFit('Polynomial3') |
9 | ici.AssignSample('21012') |
10 | ici.TransmissionSample('21005','21002') |
11 | reduced = ici.WavRangeReduction() |
12 | |
13 | name = '21005_trans_sample_1.5_12.5' |
14 | b = plotSpectrum(name + '_unfitted',0,True) |
15 | plotSpectrum(name, 0, True, window=b) |