unit

property AngularPosition.unit: str

Symbol of the unit of measurement for angular position. It must be a str. Available units are:

  • 'rad' for radian,

  • 'deg' for degree,

  • 'arcmin' for minute of arc,

  • 'arcsec' for second of arc,

  • 'rot' for rotation.

Returns

str

Symbol of the unit of measurement for angular position.

Raises

TypeError

If unit is not a str.

KeyError

If the unit is not among available ones.