Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Create a Photon class  #62

Description

@namurphy

It would be really helpful to have a Photon class that would include the energy, frequency, wavelength, and momentum of a photon. This would behave similarly to a Particle object from PlasmaPy. To do the conversion between those physical quantities, it might be helpful to look into Astropy equivalencies. There's a bit more information in PlasmaPy/PlasmaPy#1175. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2022Issues created as part of the 2022 Hack Week.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions