Last change
on this file since 4 was
4,
checked in by zhangj, 10 years ago
|
Initial import--MML version from SOLEIL@2013
|
File size:
444 bytes
|
Line | |
---|
1 | function resFileNames = idAuxPrepFileNameListMeasAndBkg(origFileNameList, perMeasWithoutBkg) |
---|
2 | |
---|
3 | numCycles = floor(length(origFileNameList)/(perMeasWithoutBkg + 1)); |
---|
4 | |
---|
5 | i0 = 0; |
---|
6 | i0r = 0; |
---|
7 | for i = 1:numCycles |
---|
8 | iBkg = i0 + (perMeasWithoutBkg + 1); |
---|
9 | for j = 1:perMeasWithoutBkg |
---|
10 | resFileNames{i0r + j} = {origFileNameList{i0 + j}, origFileNameList{iBkg}}; |
---|
11 | end |
---|
12 | i0r = i0r + perMeasWithoutBkg; |
---|
13 | i0 = i0 + (perMeasWithoutBkg + 1); |
---|
14 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.