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