public void ArcsecToDegree_ValueTest() { var arcsec = 9000; var expecteddeg = 2.5; var deg = Astrometry.ArcsecToDegree(arcsec); Assert.AreEqual(expecteddeg, deg); }
public double DeterminePolarAlignmentError(double startDeclination, double driftRate, double declinationError) { return(Math.Round(Astrometry.DegreeToArcmin(Astrometry.DetermineDriftAlignError(startDeclination, driftRate, Astrometry.ArcsecToDegree(declinationError))), 2)); }