Ticket #8702: muon_load_full_bins_only_test.py
| File muon_load_full_bins_only_test.py, 398 bytes (added by Arturs Bekasovs, 7 years ago) |
|---|
| Line | |
|---|---|
| 1 | rebin_fixed_params = 2.0 # bin size of 0.016 * 2 |
| 2 | finish = 10.0 |
| 3 | |
| 4 | emu_loaded_tuple = LoadMuonNexus("emu00006473.nxs", DetectorGroupingTable="emu_grouping") |
| 5 | emu_loaded = emu_loaded_tuple[0] |
| 6 | |
| 7 | rebin_params = (emu_loaded.readX(0)[1] - emu_loaded.readX(0)[0]) * rebin_fixed_params |
| 8 | |
| 9 | result = MuonLoad("emu0006473.nxs", "emu_grouping", RebinParams=str(rebin_params), OutputType="GroupCounts", GroupIndex=0) |
