source: MML/trunk/machine/SOLEIL/StorageRing/insertions/IDStarter/idCalcFldIntFromElecBeamMeasForMode.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 571 bytes
Line 
1function [arI1x, arI2x, arI1z, arI2z] = idCalcFldIntFromElecBeamMeasForMode(folder, mode, numMeas, mCODx, mCODz, idLen, idKickOfst, elecEn_GeV)
2
3%mCOD = idCreateModelOrbDistMatr('x', ElecBeamModel, 8, 1.3325, idLen, idKickOfst);
4
5arI1x = zeros(1, numMeas);
6arI2x = zeros(1, numMeas);
7arI1z = zeros(1, numMeas);
8arI2z = zeros(1, numMeas);
9
10for i = 1:numMeas
11    [MeasMain, MeasBkgr] = idReadMeasElecBeamData(folder, mode, i);
12    [arI1x(i), arI2x(i), arI1z(i), arI2z(i)] = idCalcFldIntFromElecBeamMeas(MeasMain, MeasBkgr, mCODx, mCODz, idLen, idKickOfst, elecEn_GeV);
13end
Note: See TracBrowser for help on using the repository browser.