Skip to content

Unique hkls from calculate_diffraction1d are not correct for a non-cubic system #237

@wiscott24

Description

@wiscott24

Describe the bug
When using the calculate_diffraction1d function with a tetragonal crystal, the hkl values that were returned are only those valid for a cubic crystal. For example, calculate_diffraction1d with a tetragonal PdO crystal will only return (211) even though it should also return (112).

To Reproduce
Steps to reproduce the behavior:

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