예제 #1
0
 public void Parallax()
 {
     Assert.AreEqual(8.794, SolarEphem.Parallax(1) * 3600, 1e-3);
     Assert.AreEqual(8.650, SolarEphem.Parallax(1.0167) * 3600, 1e-3);
     Assert.AreEqual(8.943, SolarEphem.Parallax(0.98329) * 3600, 1e-3);
 }
예제 #2
0
 private double Parallax(SkyContext c)
 {
     return(SolarEphem.Parallax(c.Get(Ecliptical).Distance));
 }