plasmapy.particles.decorators

Module used to define the framework needed for the particle_input decorator. The decorator takes string and/or integer representations of particles as arguments and passes through the corresponding instance of the Particle class.

Functions

particle_input(wrapped_function, require, …) Convert arguments to methods and functions to Particle objects.