You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running modDet and calculating parameters and plots, I'm seeing two issues with the peak frequency plot.
In lines 108 and 109 (below) from paramsHist, the lower end for the frequency range is reading as zero from the initDefaultParams instead of 5 from the initSpParams for sperm whales. This is leading to a negative or illogical peak frequency. [~,im] = max(MSP(:,max(1,p.frRange(1)):min(p.frRange(2),size(MSP,2))),[],2); % maximum between flow-100kHz peakFr = fmsp(im + p.frRange(1)-1);
In line 139 (below) from paramsHist, I think savDir should be outDir so the plot can save into the correct folder like the previous plots (also I don't think savDir is a variable anymore?). saveas(h3,fullfile(savDir,pffn))
The text was updated successfully, but these errors were encountered:
When running modDet and calculating parameters and plots, I'm seeing two issues with the peak frequency plot.
In lines 108 and 109 (below) from paramsHist, the lower end for the frequency range is reading as zero from the initDefaultParams instead of 5 from the initSpParams for sperm whales. This is leading to a negative or illogical peak frequency.
[~,im] = max(MSP(:,max(1,p.frRange(1)):min(p.frRange(2),size(MSP,2))),[],2); % maximum between flow-100kHz peakFr = fmsp(im + p.frRange(1)-1);
In line 139 (below) from paramsHist, I think savDir should be outDir so the plot can save into the correct folder like the previous plots (also I don't think savDir is a variable anymore?).
saveas(h3,fullfile(savDir,pffn))
The text was updated successfully, but these errors were encountered: