SphericalPhysicalDifferential#
- class astropy.coordinates.SphericalPhysicalDifferential(d_lon_phys, d_lat_phys=None, d_distance=None, copy=True)[source]#
Bases:
BasePhysicalDifferentialDifferential(s) of points in 3D spherical coordinates, in physical units.
Components are along the local unit vectors, so that, e.g., for a velocity,
d_lon_phys = distance * cos(lat) * d_lon/d_tandd_lat_phys = distance * d_lat/d_t, all in the same units (e.g., km/s).- Parameters:
Attributes Summary
Component 'd_distance' of the Differential.
Component 'd_lat_phys' of the Differential.
Component 'd_lon_phys' of the Differential.
Name of the representation or differential.
Attributes Documentation
- attr_classes = {'d_distance': <class 'astropy.units.quantity.Quantity'>, 'd_lat_phys': <class 'astropy.units.quantity.Quantity'>, 'd_lon_phys': <class 'astropy.units.quantity.Quantity'>}#
- d_distance#
Component ‘d_distance’ of the Differential.
- d_lat_phys#
Component ‘d_lat_phys’ of the Differential.
- d_lon_phys#
Component ‘d_lon_phys’ of the Differential.
- name = 'sphericalphysical'#
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
SphericalRepresentationorSphericalDifferential.)This can be customized when defining a subclass by setting the class attribute.