Changeset 12 in MML
- Timestamp:
- Jan 10, 2014, 2:46:09 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/at/atphysics
- Property svn:ignore
-
old new 1 findmpoleraddiffmatrix.mexa64 1 2 *.mexa64 2 3
-
-
Property
svn:igore
set to
*.mexa64
- Property svn:ignore
-
trunk/machine/SOLEIL/common/plotfamily/plotfamilystartup.m
r4 r12 17 17 'SDL13 (NANO)', 'SDM14 (SEXTANTS)', 'SDC14 (SIXS)', 'SDM15 (CASSIOPEE)', 'SDC15 (SIRIUS)', 'SDM16 (LUCIA)', ... 18 18 }; 19 Superperiods = 4; % number of superperiods19 Superperiods = 2; % number of superperiods 20 20 21 21 L = getfamilydata('Circumference'); -
trunk/machine/THOMX/StorageRing/Lattices/CDR_017_064_r56_02_sx_Dff_corrSX_BPMIP.m
r8 r12 18 18 disp(['** Loading THOMX ring lattice ',mfilename]); 19 19 20 L0 = 16.8; 20 L0 = 16.789703999999997; % the 6D ThomX ring is very sensitive to the 21 % longitudinal setting, so defind the 22 % value of L0 as the value getting from "getcircumfenrence"!!! 21 23 C0 = 2.99792458e8; % speed of light [m/s] 22 24 % HarmNumber = 28.0899; % RF harmonic number -
trunk/machine/THOMX/StorageRing/Lattices/CDR_017_072_r56_02_sx_Dff_corrSX_BPMIP.m
r8 r12 27 27 28 28 29 L0 = 16.789 680000000004; % design circumference length [m];29 L0 = 16.789703999999997; % design circumference length [m]; 30 30 % ThomX machine is very sensitive 31 % to the accuracy of the circumference 31 % to the accuracy of the circumference !!!!!!!! 32 32 C0 = 2.99792458e8; % speed of light [m/s] 33 33 % HarmNumber = 28.0899; % RF harmonic number … … 124 124 % the same location as sextupole 125 125 %======================== 126 % 126 % length kick angle x/y 127 127 HCOR = corrector('HCOR',1.0e-6,[0.0, 0],'CorrectorPass'); 128 128 -
trunk/machine/THOMX/StorageRing/thomxinit.m
r5 r12 203 203 AO.(ifam).History.MemberOf = {'Plotfamily'}; 204 204 205 % 4 electrodes? 205 206 AO.(ifam).Va = AO.(ifam).History; 206 207 AO.(ifam).Va.TangoNames(:,:) = strcat(dev, '/VaSA'); … … 432 433 end 433 434 434 435 % need to customized for ThomX? 435 436 AO.(ifam).Setpoint.Tolerance(:,:) = 1e-2*ones(devnumber,1); 436 437 % need to customized for ThomX?438 437 % Warning optics dependent cf. Low alpha lattice 439 438 AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6*2; % 2*5 urad (half used for kicking) … … 586 585 %convert response matrix kicks to HWUnits (after AO is loaded to AppData) 587 586 setao(AO); %required to make physics2hw function 587 588 588 AO.(ifam).Setpoint.DeltaRespMat = physics2hw(AO.(ifam).FamilyName,'Setpoint', ... 589 589 AO.(ifam).Setpoint.DeltaRespMat, AO.(ifam).DeviceList); -
trunk/machine/THOMX/TL/Lattices/TLlattice.m
r5 r12 97 97 98 98 % Lattice 99 % definition of BPMX must be followed by BPMz 99 100 ELIST =[DEBUT ... 100 101 SD1L HCOR VCOR SD1L QP1L SD2L QP2L SD2L QP3L ... -
trunk/machine/THOMX/TL/TLinit.m
r8 r12 361 361 362 362 363 363 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 364 364 %% Horizontal Correctors 365 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 365 366 366 367 ifam = 'HCOR'; 367 368 AO.(ifam).FamilyName = ifam; 369 AO.(ifam).FamilyType = 'COR'; 368 370 AO.(ifam).MemberOf = {'MachineConfig'; 'Magnet'; 'COR'; 'HCOR'; 'Archivable'}; 369 371 … … 398 400 399 401 AO.(ifam).Setpoint = AO.(ifam).Monitor; 400 %AO.(ifam).Monitor.TangoNames = strcat(AO.(ifam).DeviceName, '/currentPM'); 401 402 %AO.(ifam).Monitor.TangoNames = strcat(AO.(ifam).DeviceName, 403 %'/currentPM'); 404 405 %need to modify when ThomX is ready 406 AO.(ifam).Setpoint.Tolerance(:,:) = 1e-2*ones(devnumber,1); 407 AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6*2; % 2*5 urad (half used for kicking) 408 409 setao(AO); 410 411 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 402 412 %% Vertical Correctors 413 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 403 414 404 415 ifam = 'VCOR'; 405 416 406 417 AO.(ifam).FamilyName = ifam; 418 AO.(ifam).FamilyType = 'COR'; 407 419 AO.(ifam).MemberOf = {'MachineConfig'; 'Magnet'; 'COR'; 'VCOR'; 'Archivable'}; 408 420 AO.(ifam).Mode = Mode; … … 439 451 AO.(ifam).Setpoint = AO.(ifam).Monitor; 440 452 %AO.(ifam).Monitor.TangoNames = strcat(AO.(ifam).DeviceName, '/currentPM'); 453 454 %need to modify when ThomX is ready 455 AO.(ifam).Setpoint.Tolerance(:,:) = 1e-2*ones(devnumber,1); 456 AO.(ifam).Setpoint.DeltaRespMat(:,:) = ones(devnumber,1)*5e-6*2; % 2*5 urad (half used for kicking) 457 441 458 setao(AO); 442 459 -
trunk/machine/THOMX/TL/setoperationalmode.m
r8 r12 55 55 56 56 57 57 %need to update for ThomX... 58 58 % Tune processor delay: delay required to wait 59 59 % to have a fresh tune measurement after changing -
trunk/machine/THOMX/TL/updateatindex.m
r5 r12 97 97 TwissData.beta = [34.46,33.94]'; 98 98 TwissData.mu = [0 0]'; 99 TwissData.ClosedOrbit = [0 0 0 0]'; 100 TwissData.dP = 0; 101 TwissData.dL = 0; 99 TwissData.ClosedOrbit = [0 0 0 0]'; %initial 4-D COD 100 TwissData.dP = 0; %initial dP 101 TwissData.dL = 0; % initial dL 102 102 TwissData.Dispersion = [0 0 0 0]'; 103 103 -
trunk/machine/THOMX/common/plotfamily/plotfamily.m
r5 r12 29 29 30 30 31 % Last Modified by GUIDE v2.5 29-Jul-2011 11:51:0831 % Last Modified by GUIDE v2.5 10-Jan-2014 10:30:58 32 32 33 33 … … 161 161 elseif strcmpi(Machine,'Booster') 162 162 namestr = 'Booster'; 163 elseif strcmpi(Machine,' LT1') || strcmpi(Machine,'LT2')164 error('Not working for LT1 or LT2');163 elseif strcmpi(Machine,'TL') || strcmpi(Machine,'EL') 164 error('Not working for TL or EL'); 165 165 else 166 166 error('Unknown machine\n exiting ...'); … … 4250 4250 % eventdata reserved - to be defined in a future version of MATLAB 4251 4251 % handles structure with handles and user data (see GUIDATA) 4252 4253 4254 % --- Executes on mouse press over axes background. 4255 function Graph1_ButtonDownFcn(hObject, eventdata, handles) 4256 % hObject handle to Graph1 (see GCBO) 4257 % eventdata reserved - to be defined in a future version of MATLAB 4258 % handles structure with handles and user data (see GUIDATA) -
trunk/machine/THOMX/common/plotfamily/plotfamilystartup.m
r5 r12 11 11 set(handles.DisabledSetpointChanges, 'Checked', 'On'); 12 12 13 Sectors = 16; % number of sectors14 Straights = 24; % numberof straight sections13 Sectors = 2; % number of sectors 14 Straights = 4; % numberof straight sections 15 15 StraigthPosition = [0; getspos('BPMx', getidbpmlist)]; 16 16 % is it the best place for these definitions ? -
trunk/machine/THOMX/readme
r8 r12 14 14 15 15 case 'TANGO' 16 17 18 (3) 10/01/2014 By Jianfeng Zhang @ LAL 19 The 6D orbit of the ThomX ring is very sensitive to the correct 20 setting of the RF cacity. So the ring cirumfenrence should be 21 set to the value get by "getcircumference.m", the speed of the 22 light should be the same as the one defined in "findorbit6.m", 23 the harmonic number should be corrected set, then one can get 24 the right value of the synchrotron 25 phase!!!!!!!!!!! 26 27 Otherwise, the 6D orbit is not correct!!!!!!!!!!!! 28 29 This constrait requires the accurate measurements of the ring 30 circumference and other longitudinal parameters (RF cavity voltage, 31 phase, harmonic number) etc!!!!!!! Otherwise, one can't correctly 32 model the ThomX ring!!!!!!!!!!!!!!
Note: See TracChangeset
for help on using the changeset viewer.