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

clarifications for the use of the ZMAP #65

Open
AnnnaFiglioli opened this issue Mar 14, 2022 · 0 comments
Open

clarifications for the use of the ZMAP #65

AnnnaFiglioli opened this issue Mar 14, 2022 · 0 comments

Comments

@AnnnaFiglioli
Copy link

I am a PhD student at the University of Palermo, I deal with geophysics in particular in seismology.
I started using the ZMAP software.
I encounter some problems, I hope that interfacing with you can solve them.
In particular, I wanted to ask you why I find errors trying to calculate the magnitude of completeness with other methods that are not maxcurvature.
I can't calculate anything ........... and it gives me a slew of errors.
This is one of the mistakes that lies ahead ...
Error using ZmapCatalog/sort
Too many output arguments.

Error in calc_McBest (line 12)
magnitudes = sort(magnitudes);

Error in calc_Mc>method_bestcombo (line 165)
[~, Mc95, Mc90] = calc_McBest(mags, binInterval);

Error in calc_Mc>@(C)method_bestcombo(C,binInterval) (line 68)
methodFun = @(C)method_bestcombo(C,binInterval);

Error in calc_Mc>do_calculation (line 144)
fMc = methodFun(mCatalog);

Error in calc_Mc>@(C)do_calculation(methodFun,C,mcCorrectionFactor) (line 127)
mcCalculator = @(C) do_calculation(methodFun, C, mcCorrectionFactor);

Error in XYfun.bvalgrid/Calculate/do_calculation (line 109)
Mc_value = mcCalculator(catalog);

Error in XYfun.bvalgrid>@(catalog)do_calculation(catalog,@calculate_noboot) (line 93)
obj.gridCalculations(@(catalog) do_calculation(catalog, @calculate_noboot));

Error in gridfun/doSinglefun (line 198)
returned_vals = fun(minicat);

Error in gridfun (line 118)
doSinglefun(fcn);

Error in ZmapGridFunction/gridCalculations (line 126)
] = gridfun( calculationFcn, obj.RawCatalog, obj.Grid, obj.EventSelector, obj.NodeMinEventCount
,numel(obj.CalcFields), 'noreshape' );

Error in XYfun.bvalgrid/Calculate (line 93)
obj.gridCalculations(@(catalog) do_calculation(catalog, @calculate_noboot));

Error in ZmapFunction/doIt (line 192)
obj.Calculate();

Error in XYfun.bvalgrid>@(varargin)obj.doIt(varargin{:}) (line 76)
zdlg.Create('Name', 'b-Value Grid Parameters', 'WriteToObj', obj, 'OkFcn', @obj.doIt);

Error in ZmapDialog/okDlg (line 980)
obj.OkFcn(); % call the function provided by the user upon dialog creation

Error in ZmapDialog>@(src,)obj.okDlg() (line 898)
'Callback',@(src,
)obj.okDlg());

Error while evaluating DestroyedObject Callback.

If you can help me understand why I find these errors for all the techniques I would be grateful.

Are there a manual of ZMAP?

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

1 participant