plasmapy.particles.particle_class

Classes to represent particles.

Classes

AbstractParticle()

An abstract base class that defines the interface for particles.

AbstractPhysicalParticle()

Base class for particles that are defined with physical units.

CustomParticle([mass, charge, symbol, Z])

A class to represent custom particles.

DimensionlessParticle(*[, mass, charge, symbol])

A class to represent dimensionless custom particles.

Particle(argument, *_[, mass_numb, Z])

A class for an individual particle or antiparticle.

Inheritance diagram of plasmapy.particles.particle_class.AbstractParticle, plasmapy.particles.particle_class.AbstractPhysicalParticle, plasmapy.particles.particle_class.CustomParticle, plasmapy.particles.particle_class.DimensionlessParticle, plasmapy.particles.particle_class.Particle

Functions

molecule(symbol[, Z])

Parse a molecule symbol into a CustomParticle or Particle.

Variables & Attributes

ParticleLike

An object is particle-like if it can be identified as an instance of Particle or CustomParticle, or cast into one.

valid_categories

A set containing all valid particle categories.