Changeset 228


Ignore:
Timestamp:
Mar 31, 2011, 1:43:49 PM (10 years ago)
Author:
sommeria
Message:

add function sub_field_series to apply the sub_field operation to a series of fileds (for instance subtracting a background to an image series)

Location:
trunk/src/series
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/sub_field_series.m

    r226 r228  
    1 %'merge_proj': project and concatene fields, used with series.fig
    2 %------------------------------------------------------------------------
    3 % function GUI_input=merge_proj(num_i1,num_i2,num_j1,num_j2,Series)
     1%'sub_field_series': substract the two input field series, then possibly project them on a grid (like merge_proj;m)
     2% GUI_input=sub_field_series(num_i1,num_i2,num_j1,num_j2,Series)
    43%
    54%OUTPUT
  • trunk/src/series/time_series.m

    r218 r228  
    205205%% check coincidence in time
    206206multitime=0;
    207 if length(timecell)==0
     207if isempty(timecell)
    208208    time=[];
    209209elseif length(timecell)==1
     
    238238while exist(pathdir,'dir')
    239239    subdir_result=[subdir_result '.0'];
    240     pathdir=fullfile(pathdir,subdir_result);
     240    pathdir=fullfile(RootPath{1},subdir_result);
    241241end
    242242[m1,m2,m3]=mkdir(pathdir);
Note: See TracChangeset for help on using the changeset viewer.