Skip to content

Adding New Pattern Center Calibration Error #28

@elegantEmily

Description

@elegantEmily

I would like to manually select a point in each grain in my EBSD data to conduct a Pattern Center Calibration. However I keep getting this error. I have also tried selecting fewer points (as low as 3) with the same results.

"Starting Strain Minimization Pattern Center Calibration...
Starting calibriations with 11 points.
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 3).
Error using genEBSDPatternHybrid (line 255)
Index exceeds the number of array elements (0).

Error in PCCalAlkortaKinematic (line 267)
parfor(i=1:npoints,NumCores)

Error in PCCalAlkorta (line 32)
PCData = PCCalAlkortaKinematic(Settings,PlaneFit,Inds);

Error in PCGUI>NewPC_Callback (line 331)
PCData = PCCalAlkorta(Settings,PCSettings{5});

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in PCGUI (line 42)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)PCGUI('NewPC_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback."

I have attached an image of the points I selected in my data. I was able to get the example to work, I'm not sure why my data set isn't working. My data is on a Hexgrid and not a Square Grid like the example.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions