Revision 26:b03ef38fe497 MAP/MAP1_14parallel.m

View differences:

MAP/MAP1_14parallel.m
192 192

  
193 193
MOCrateToAttenuationFactor=DRNLParams.rateToAttenuationFactor;
194 194
rateToAttenuationFactorProb=DRNLParams.rateToAttenuationFactorProb;
195
MOCrateThreshold=DRNLParams.MOCrateThreshold;
195
MOCrateThresholdProb=DRNLParams.MOCrateThresholdProb;
196 196

  
197 197
% smoothing filter for MOC
198 198
% Nyquist=(1/ANdt)/2;
......
819 819
                [smoothedRates, MOCprobBoundary{idx}] = ...
820 820
                    filter(MOCfilt_b, MOCfilt_a, rates(idx,:), ...
821 821
                    MOCprobBoundary{idx});
822
                smoothedRates=smoothedRates-MOCrateThreshold;
822
                smoothedRates=smoothedRates-MOCrateThresholdProb;
823 823
                smoothedRates(smoothedRates<0)=0;
824 824
                MOCattenuation(idx,segmentStartPTR:segmentEndPTR)= ...
825 825
                    (1- smoothedRates* rateToAttenuationFactorProb);

Also available in: Unified diff