Skip to content

Bug in get_grid_around_beam_direction() #70

@norskie

Description

@norskie

Describe the bug
get_grid_around_beam_direction() works for beam directions [1,0,0] and [0,1,0] but not for [001]

To Reproduce
Steps to reproduce the behavior:
from diffsims.generators.rotation_list_generators import get_grid_around_beam_direction rot_list = get_grid_around_beam_direction([0,0,1], 5)

Expected behavior
Should work for the family of directions <1,0,0>.

Screenshots
Traceback:
https://imgur.com/a/IDa8Ogc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions