zmap7 icon indicating copy to clipboard operation
zmap7 copied to clipboard

Can't get a b-value map.

Open WinneLiu opened this issue 6 years ago • 0 comments

Describe the bug After loading the catalog, I pressed the toolbar 'Mc, a- and b- value map', but nothing happed.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'MAINMAP' window;
  2. Click on 'f(x,y)'
  3. Scroll down to 'Mc, a- and b- value map'
  4. See error

矩阵维度必须一致。

出错 mcperc_ca3 (line 21) ls = magnitudes >= loopMags-0.0499; % magnitudes x loopMags logical array

出错 XYfun.bvalgrid/Calculate/do_calculation (line 108) [~, ~, ~, out(7)] = mcperc_ca3(catalog.Magnitude);

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

出错 gridfun/doSinglefun (line 198) returned_vals = fun(minicat);

出错 gridfun (line 118) doSinglefun(fcn);

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

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

出错 ZmapFunction/doIt (line 192) obj.Calculate();

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

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

出错 ZmapDialog>@(src,~)obj.okDlg() (line 898) 'Callback',@(src,~)obj.okDlg());

计算 DestroyedObject Callback 时出错。

Expected behavior A b-value map.

Screenshots If applicable, add screenshots to help explain your problem. 1

**Additional contex

Add any other context about the problem here.

WinneLiu avatar Oct 21 '19 14:10 WinneLiu