Changeset 1096 for trunk/src/series
- Timestamp:
- Apr 2, 2021, 3:57:01 PM (4 years ago)
- Location:
- trunk/src/series
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r1095 r1096 331 331 end 332 332 if CheckInputFile 333 OutputPath=fullfile(Param.OutputPath, Param.Experiment,Param.Device);333 OutputPath=fullfile(Param.OutputPath,num2str(Param.Experiment),num2str(Param.Device)); 334 334 if iview_A==0 % no nc file has been entered 335 335 ncfile=fullfile_uvmat(OutputPath,Param.InputTable{1,2},Param.InputTable{1,3},Param.InputTable{1,5},... -
trunk/src/series/merge_proj.m
r1094 r1096 83 83 if ~exist(FirstFileName,'file') 84 84 msgbox_uvmat('WARNING',['the first input file ' FirstFileName ' does not exist']) 85 elseif isequal(size(Param.InputTable,1),1) && ~isfield(Param,'ProjObject')86 msgbox_uvmat('WARNING','You may need a projection object of type plane for merge_proj')87 85 end 88 86 return … … 252 250 CheckOverwrite=Param.CheckOverwrite; 253 251 end 254 OutputPath=fullfile(Param.OutputPath, Param.Experiment,Param.Device);252 OutputPath=fullfile(Param.OutputPath,num2str(Param.Experiment),num2str(Param.Device)); 255 253 256 254 for index=1:NbField -
trunk/src/series/sliding_average.m
r1095 r1096 185 185 186 186 %% initialisation 187 T=24.4; %main wave period 188 t0=3; % time for motion start (torus at its maximum x) 187 char_index=regexp(SubDir{1},'waves_L1_'); 188 switch(SubDir{1}(char_index+9)) 189 case '1' 190 amplitude=2.5 %oscillation amplitude 191 T=24.46; 192 t0=3 ;% dt=0.5 s, torus at its max x at the beginning of motion, i0=7 193 case '2' 194 amplitude=5 %oscillation amplitude 195 T=24.47; 196 t0=8.5; % dt=1/3 s -> image index of starting motion = 26, % torus at its max x at the beginning of motion 197 case '3' 198 amplitude=10 %oscillation amplitude 199 T=24.45; 200 t0=6.5-T/2;% dt=0.25, torus at its minimum x at the beginning of motion 201 case '4' 202 amplitude=15 %oscillation amplitude 203 T=24.48; 204 t0=3.4; %dt=0.2 -> i0=18 image index of starting motion, % torus at its max x at the beginning of motion 205 end 189 206 NbPeriod=2; %number of periods for the sliding average 190 207 omega=2*pi/T; 191 amplitude=2.5; %oscillation amplitude192 208 Lscale=15;%diameter of the torus, length scale for normalisation 193 209 Uscale=amplitude*omega; … … 214 230 NpTime=round(NbPeriod*T/dt+1); 215 231 216 OutputPath=fullfile(Param.OutputPath, Param.Experiment,Param.Device);232 OutputPath=fullfile(Param.OutputPath,num2str(Param.Experiment),num2str(Param.Device)); 217 233 RootFileOut=RootFile{1}; 218 234 NomTypeOut='_1';
Note: See TracChangeset
for help on using the changeset viewer.