profiley.helpers.decorators

Submodules

Package Contents

Functions

array(f)

Add dimensions to the first argument, assumed to be the radial coordinate at

deprecated([since, instead, category])

float_args(f)

Test whether all arguments are float (or None)

inMpc(f)

Change units of a Quantity to Mpc and return a float.

profiley.helpers.decorators.array(f)

Add dimensions to the first argument, assumed to be the radial coordinate at which a given profile will be calculated, to match the Profile object shape

profiley.helpers.decorators.deprecated(since='', instead='', category=DeprecationWarning)
profiley.helpers.decorators.float_args(f)

Test whether all arguments are float (or None)

profiley.helpers.decorators.inMpc(f)

Change units of a Quantity to Mpc and return a float.