Exemplo n.º 1
0
 def ra(self):
     """Apparent right ascension of the sun (in degrees)."""
     ### Eq. (25.6), for apparent position
     o = self.time.obliquity_corrected
     l = self.apparent_longitude
     result = Angle_R.normalized(Angle_R.atan2(o.cos * l.sin, l.cos))
     return result
Exemplo n.º 2
0
Arquivo: Sun.py Projeto: Tapyr/tapyr
 def ra (self) :
     """Apparent right ascension of the sun (in degrees)."""
     ### Eq. (25.6), for apparent position
     o      = self.time.obliquity_corrected
     l      = self.apparent_longitude
     result = Angle_R.normalized (Angle_R.atan2 (o.cos * l.sin, l.cos))
     return result
Exemplo n.º 3
0
 def phi(self):
     """Angular coordinate of polar coordinate system"""
     return Angle_R.atan2(self._y, self._x)
Exemplo n.º 4
0
 def phi (self) :
     """Angular coordinate of polar coordinate system"""
     return Angle_R.atan2 (self._y, self._x)