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); }
private double Parallax(SkyContext c) { return(SolarEphem.Parallax(c.Get(Ecliptical).Distance)); }