Changeset 1049 for trunk/src/series
- Timestamp:
- Jun 5, 2018, 10:13:08 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/extract_multitif_special.m
r1048 r1049 144 144 % end 145 145 %ImagesPerLevel=size(XmlInput.Time,2)-1;%100;%use the xmlinformation to get the nbre of j indices 146 Dtj=0.05;% time interval between frames 146 147 ImagesPerLevel=450;% total number of images per position, ImagesPerLevel-Nbj images skiiped during motion between two positions 147 148 Nbj=400; %Nbre of images kept at a given position 149 Dti=Dtj*ImagesPerLevel; 150 NbLevel=11; 151 NbScan=3; 152 TimeReturn=20; %time needed to return back to the first position (in sec) 153 NbSkippedReturn=round(TimeReturn/Dtj); 148 154 %% create the xml file of PCO camera if it does not exist 149 155 Newxml=fullfile(Param.InputTable{1,1},[Param.InputTable{1,2} '.xml']); … … 154 160 % XmlInput.Camera.BurstTiming.Time=-1;% for 180 155 161 XmlInput.Camera.BurstTiming.Time=0;% for 200 156 XmlInput.Camera.BurstTiming.Dtj=0.05; 157 XmlInput.Camera.BurstTiming.NbDtj=199; 158 XmlInput.Camera.BurstTiming.Dti=12.5; 159 XmlInput.Camera.BurstTiming.NbDti=10; 160 XmlInput.Camera.BurstTiming.Dtk=157; 161 XmlInput.Camera.BurstTiming.NbDtk=2; 162 XmlInput.Camera.BurstTiming.Dtj=Dtj; 163 XmlInput.Camera.BurstTiming.NbDtj=Nbj-1; 164 XmlInput.Camera.BurstTiming.Dti=Dti; 165 XmlInput.Camera.BurstTiming.NbDti=NbLevel-1; 166 XmlInput.Camera.BurstTiming.Dtk=Dti*Nb 167 Level+TimeReturn; 168 XmlInput.Camera.BurstTiming.NbDtk=NbScan-1; 162 169 %XmlInput=rmfield(XmlInput,'Time'); 163 170 %XmlInput=rmfield(XmlInput,'TimeUnit'); … … 198 205 i_index=fix((count-1)/ImagesPerLevel)+1; 199 206 j_index=mod(count-1,ImagesPerLevel)+1; 200 elseif count<=ImagesPerLevel* 11+400 %skip 400 images during return207 elseif count<=ImagesPerLevel*NbLevel+400 %skip 400 images during return 201 208 checkkeep=0; 202 elseif count<=ImagesPerLevel*2 2+400 % =5930 second scan209 elseif count<=ImagesPerLevel*2*NbLevel+400 % =5930 second scan 203 210 i_index=fix((count-401)/ImagesPerLevel)+1; 204 211 j_index=mod(count-401,ImagesPerLevel)+1; 205 elseif count<=ImagesPerLevel*2 2+800 %skip images during second return, from 2763 to 3167212 elseif count<=ImagesPerLevel*2*NbLevel+800 %skip images during second return, from 2763 to 3167 206 213 checkkeep=0; 207 elseif count<=ImagesPerLevel*3 3+800 % =5930 third scan214 elseif count<=ImagesPerLevel*3*NbLevel+800 % =5930 third scan 208 215 i_index=fix((count-801)/ImagesPerLevel)+1; 209 216 j_index=mod(count-801,ImagesPerLevel)+1;
Note: See TracChangeset
for help on using the changeset viewer.