def declination(self): """Calculate declination of vector in degrees""" return math.degrees(math.atan2(math.sqrt(self.x ** 2 + self.y ** 2), self.z))