CylindricalPhysicalDifferential#

class astropy.coordinates.CylindricalPhysicalDifferential(d_rho, d_phi_phys=None, d_z=None, copy=True)[source]#

Bases: BasePhysicalDifferential

Differential(s) of points in cylindrical coordinates, in physical units.

Components are along the local unit vectors, so that, e.g., for a velocity, d_phi_phys = rho * dphi/dt, in the same units as d_rho and d_z (e.g., km/s).

Parameters:
d_rho, d_phi_phys, d_zQuantity

The differentials along the cylindrical radius, azimuth and height unit vectors, all with equivalent units.

copybool, optional

If True (default), arrays will be copied. If False, arrays will be references, though possibly broadcast to ensure matching shapes.

Attributes Summary

attr_classes

d_phi_phys

Component 'd_phi_phys' of the Differential.

d_rho

Component 'd_rho' of the Differential.

d_z

Component 'd_z' of the Differential.

name

Name of the representation or differential.

Attributes Documentation

attr_classes = {'d_phi_phys': <class 'astropy.units.quantity.Quantity'>, 'd_rho': <class 'astropy.units.quantity.Quantity'>, 'd_z': <class 'astropy.units.quantity.Quantity'>}#
d_phi_phys#

Component ‘d_phi_phys’ of the Differential.

d_rho#

Component ‘d_rho’ of the Differential.

d_z#

Component ‘d_z’ of the Differential.

name = 'cylindricalphysical'#

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.