Changeset 1085
- Timestamp:
- Aug 11, 2020, 8:06:46 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_cells.m
r1083 r1085 155 155 for iscalar=1:numel(ind_scalar) 156 156 icell=[]; 157 for iprev=1:numel(DimCell) -1157 for iprev=1:numel(DimCell) 158 158 if isequal(DimCell{iprev},Data.VarDimName{ind_scalar(iscalar)}) 159 159 icell=iprev; -
trunk/src/phys_ima.m
r1078 r1085 66 66 % the image needs to be interpolated to the new coordinates 67 67 Z=0; %default 68 if isfield(Calib,'SliceCoord') %.Z= index of plane68 if isfield(Calib,'SliceCoord')&& size(Calib.SliceCoord,1)>=ZIndex %.Z= index of plane 69 69 SliceCoord=Calib.SliceCoord(ZIndex,:); 70 70 Z=SliceCoord(3); -
trunk/src/proj_field.m
r1084 r1085 672 672 %identify error flag 673 673 errorflag=0; %default, no error flag 674 if isfield(CellInfo{icell},'VarIndex_errorflag') ;% test for error flag674 if isfield(CellInfo{icell},'VarIndex_errorflag')% test for error flag 675 675 FFName=FieldData.ListVarName{CellInfo{icell}.VarIndex_errorflag}; 676 676 errorflag=FieldData.(FFName); -
trunk/src/series.m
r1084 r1085 2093 2093 % create file containing the list of jobs 2094 2094 ListProcess=fullfile(DIR_CLUSTER,'job_list.txt'); % name of the file containing the list of executables 2095 fid=fopen(ListProcess,'w'); % open it for writting 2095 [fid,errormsg]=fopen(ListProcess,'w'); % open it for writting 2096 if isempty(errormsg) 2096 2097 for iprocess=1:length(batch_file_list) 2097 2098 fprintf(fid,[batch_file_list{iprocess} '\n']); % write list of exe files … … 2099 2100 fclose(fid); 2100 2101 system(['chmod +x ' ListProcess]); % set the file to executable 2101 2102 else 2103 errormsg=['error for writting the executable file:' errormsg]; 2104 end 2102 2105 CPUTimeProcess=CPUTime*BlockLength*nbfield_j; % estimated CPU time for one individual process (in minutes) 2103 2106 LaunchCmdFcn=SeriesData.SeriesParam.ClusterParam.LaunchCmdFcn; -
trunk/src/series/time_series.m
r1071 r1085 81 81 hhseries=guidata(hseries); 82 82 if ~isfield(Param,'ProjObject') 83 answer=msgbox_uvmat('INPUT_Y-N','use a projection object for the time_series?'); 84 if strcmp(answer,'Yes') 85 set(hhseries.CheckObject,'Visible','on') 86 set(hhseries.CheckObject,'Value',1) 87 series('CheckObject_Callback',hseries,[],hhseries); %file input with xml reading in uvmat, show the image in phys coordinates 88 end 83 msgbox_uvmat('WARNING','you may need to introduce a projection object for the time_series'); 89 84 end 90 85
Note: See TracChangeset
for help on using the changeset viewer.