Ignore:
Timestamp:
Apr 13, 2021, 7:19:35 PM (4 years ago)
Author:
sommeria
Message:

various bugs repaired

File:
1 edited

Legend:

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

    r1097 r1098  
    5050%     UVMAT is free software; you can redistribute it and/or modify
    5151%     it under the terms of the GNU General Public License as published
    52 %     by the Free Software Foundation; either version 2 of the license,
     52%     by the Free Software Foundation; either version 2 of the license,series
    5353%     or (at your option) any later version.
    5454%
     
    6666    ParamOut.AllowInputSort='off';% allow alphabetic sorting of the list of input file SubDir (options 'off'/'on', 'off' by default)
    6767    ParamOut.WholeIndexRange='on';% prescribes the file index ranges from min to max (options 'off'/'on', 'off' by default)
    68     ParamOut.NbSlice='off'; %nbre of slices ('off' by default)
     68    ParamOut.NbSlice='on'; %nbre of slices ('off' by default)
    6969    ParamOut.VelType='off';% menu for selecting the velocity type (options 'off'/'one'/'two',  'off' by default)
    7070    ParamOut.FieldName='off';% menu for selecting the field (s) in the input file(options 'off'/'one'/'two', 'off' by default)
     
    9393end
    9494%% estimate the position of bottom and mask for each Z Index
    95 BottomIndex=[1900 1800 1700 1650 1650 1600 1600 1600 1600 1600 1600];
     95NbSlice=Param.IndexRange.NbSlice;
     96switch NbSlice
     97    case 11
     98        BottomIndex=[1900 1800 1700 1650 1650 1600 1600 1600 1600 1600 1600];
     99    case 4
     100        BottomIndex=[1950 1850 1740 1700];
     101end
    96102MaxIndex=BottomIndex+100;
    97103MinIndex=BottomIndex-100;
     104
    98105maskindex=[665 1080];% range of x index perturbed by shadows
    99 NbSlice=11;
    100106Bfilter=ones(1,20)/20;
    101107%% root input file names and nomenclature type (cell arrays with one element)
    102 OutputDir=[Param.OutputSubDir Param.OutputDirExt];
     108OutputDir=[Param.OutputSubDir Param.OutputDirExt];4
    103109nbj=numel(Param.IndexRange.first_i:Param.IndexRange.last_i);
    104110for i_ind=Param.IndexRange.first_i:Param.IndexRange.last_i
Note: See TracChangeset for help on using the changeset viewer.