plasmapy.utils.decorators.validators

Various decorators to validate input/output arguments to functions.

Functions

validate_quantities([func, …]) A decorator to ‘validate’ – control and convert – the units and values of input and return arguments to a function or method.

Classes

ValidateQuantities([validations_on_return]) A decorator class to ‘validate’ – control and convert – the units and values of input and return arguments to a function or method.

Class Inheritance Diagram

Inheritance diagram of plasmapy.utils.decorators.validators.ValidateQuantities