code: def galactic_latlon(self):
          
          vector = _GALACTIC.dot(self.position.au)
          d, lat, lon = to_polar(vector)
          return (Angle(radians=lat, signed=True),
                  Angle(radians=lon),
                  Distance(au=d))
docs: Compute galactic coordinates (lat, lon, distance)