Skip to content

Refine UBI (Grain) has AssertionError: Left handed axis system! #554

Description

@abmajith

Hi @jonwright

I was trying with various parameter in the VISA,
I had assertion error on the refine grains,

Is following mean, something wrong in UBI matrices?

[GrainPos] File "/home/noordhee/ewoks_3dxrd/ewenv_clean/lib/python3.12/site-packages/ImageD11/refinegrains.py", line 547, in gof
[GrainPos] g.set_ubi( self.refine( self.ubisread[grainname] ) )
[GrainPos] File "/home/noordhee/ewoks_3dxrd/ewenv_clean/lib/python3.12/site-packages/ImageD11/grain.py", line 63, in set_ubi
[GrainPos] assert np.linalg.det(self.ubi) >= 0, 'Left handed axis system!'
[GrainPos] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[GrainPos] AssertionError: Left handed axis system!
[GrainSearcher] Iteration = 87 Best = 1.703889 Worst = 1.847889

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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