Skip to content

Beam direction is confusing #869

@dagewa

Description

@dagewa

Inspired by #868 I offer another piece of perennial confusion in the dxtbx model. We create a Beam model like this:

# Create the beam
b = Beam(direction, wavelength)

I suspect any sensible developer new to the project would assume that direction means the direction that the photons/electrons/neutrons travel. No, no! It means the sample-to-source direction, which I find totally perverse (I suspect the history of this is to do with some kind of over-zealous alignment to imgCIF conventions)

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