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

Last change on this file since 17 was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
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.