Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error showing in Mc with time and B value with time #72

Open
vivigb opened this issue Dec 1, 2022 · 1 comment
Open

Error showing in Mc with time and B value with time #72

vivigb opened this issue Dec 1, 2022 · 1 comment

Comments

@vivigb
Copy link

vivigb commented Dec 1, 2022

Did you mean:
Defaults -> ParMode : false
Index exceeds the number of array elements (1).

Error in calc_McBboot/process_magnitudes (line 132)
            idx = allmags(:, nSamp) >= fMcs(nSamp) - halfBinInterval;

Error in calc_McBboot (line 54)
            results = process_magnitudes(catalog.Magnitude);

Error in
calc_McBwtime>@(events)calc_McBboot(events,p.Results.binWidth,p.Results.nBstSample,p.Results.nMethod,p.Results.nMinNumberEvents,p.Results.fMcCorr)
(line 79)
    doMcBootCalc=@(events)calc_McBboot(events, p.Results.binWidth, p.Results.nBstSample,...

Error in calc_McBwtime (line 106)
            [fMc, fStd_Mc, fBvalue, fStd_B, fAvalue, fStd_A] = doMcBootCalc(eventsInWindow);

Error in plot_McBwtime (line 52)
    [mResult] = calc_McBwtime(catalog, zans.nSampleSize, zans.nOverlap, zans.methodChoice,
    zans.nBstSample, zans.minEventCount, zans.fBinning, zans.fMcCorr);

Error in CumTimePlot/add_cumtimeplot_zmenu/plotwithtime (line 371)
                plot_McBwtime(obj.catalog, sPar);

Error in CumTimePlot>@(~,~)plotwithtime('mc') (line 336)
            uimenu(op4,'label','Mc with time '      , msfield, @(~,~)plotwithtime('mc'));
 
Error while evaluating Menu Callback.


It works when I reduce the bootstrap value to 1 from the default value (200).
The same problem is affecting several other features, including the bootstrapping method.
How to resolve this?? Everything else is working fine!

@CelsoReyes
Copy link
Owner

CelsoReyes commented Dec 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants