BasePhysicalDifferential#

class astropy.coordinates.BasePhysicalDifferential(*args, copy=True, **kwargs)[source]#

Bases: BaseDifferential

Differentials along the local orthonormal unit vectors of the base.

Unlike other differentials, where angular components are given as angular rates (e.g., d_phi for a velocity is literally d_phi/d_t), the components here are projections onto the unit vectors of the base representation. So the component values have the same (physical) unit, e.g., d_phi_phys = rho * dphi/dt in km/s. To make the distinction clear, the angular components carry a _phys suffix (e.g., d_phi_phys).

Attributes Summary

name

Name of the representation or differential.

Attributes Documentation

name = 'basephysical'#

Name of the representation or differential.

When a subclass is defined, by default, the name is the lower-cased name of the class with any trailing ‘representation’ or ‘differential’ removed. (E.g., ‘spherical’ for SphericalRepresentation or SphericalDifferential.)

This can be customized when defining a subclass by setting the class attribute.