astropy.units
基类:Quantity
Quantity
特定物理类型数量的超类。
这些子类的工作原理如下 Quantity ,但它们适用于特定的物理类型(并且可能具有仅适用于该类型的方法)。阿谀奉承的例子是 Angle 和 Distance
Angle
Distance
至少,应该设置子类 _equivalent_unit 与物理类型关联的单元。
_equivalent_unit
SpecificTypeQuantity