Skip to content

Missing relativistic gamma in interaction constant #418

@mjo22

Description

@mjo22

As per Spence’s textbook, the electron interaction constant has a factor of relativistic mass in it. In cryoJAX conventions we scale out fundamental constants through a rescaling of the interaction constant and potential. This makes the potential and electron scattering factors simple to calculate.

I had thought the interaction constant under our rescaling was $\sigma = \lambda / 4 \pi$, but really it should be $\sigma = \gamma \lambda / 4 \pi$, where $\gamma$ is the relativistic factor.

To fix this, we can follow a similar pattern as for the wavelength:

  1. We’d need to add a property like AbstractImageConfig.relativistic_gamma, that computes gamma from the voltage.
  2. We would need to update the function apply_interaction_constant.

@geoffwoollard can you take a look at fixing this?

EDIT:
Probably best to call AbstractImageConfig.relativistic_gamma -> AbstractImageConfig.lorenz_factor

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions