~ubuntu-branches/debian/sid/stellarium/sid

« back to all changes in this revision

Viewing changes to src/core/StelUtils.hpp

  • Committer: Package Import Robot
  • Author(s): Tomasz Buchert
  • Date: 2013-08-04 15:06:55 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130804150655-iji0vb5navh3lk13
Tags: 0.12.2-1
* Imported Upstream version 0.12.2
* Added dependency to phonon (to enable video/sound)
* Fixed VCS links
* Removed unused lintian tag (embedded-library glee)
* Dropped obsolete patch
* Update copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
525
525
        //! @return Delta-T in seconds
526
526
        double getDeltaTByReingoldDershowitz(const double jDay);
527
527
 
 
528
        //! Get Delta-T estimation for a given date.
 
529
        //! Implementation of algorithm by Banjevic (2006) for DeltaT computation.
 
530
        //! Source: Ancient eclipses and dating the fall of Babylon
 
531
        //! Banjevic, B.
 
532
        //! Publications of the Astronomical Observatory of Belgrade, Vol. 80, p. 251-257 (2006)
 
533
        //! 2006POBeo..80..251B [http://adsabs.harvard.edu/abs/2006POBeo..80..251B]
 
534
        //! @param jDay the date and time expressed as a julian day
 
535
        //! @return Delta-T in seconds
 
536
        double getDeltaTByBanjevic(const double jDay);
 
537
 
 
538
        //! Get Delta-T estimation for a given date.
 
539
        //! Implementation of algorithm by Islam, Sadiq & Qureshi (2008 + revisited 2013) for DeltaT computation.
 
540
        //! Source: Error Minimization of Polynomial Approximation of DeltaT
 
541
        //! Islam, S. & Sadiq, M. & Qureshi, M. S.
 
542
        //! Journal of Astrophysics & Astronomy, Vol. 29, p. 363–366 (2008)
 
543
        //! http://www.ias.ac.in/jaa/dec2008/JAA610.pdf
 
544
        //! Note: These polynomials are based on the uncorrected deltaT table from the Astronomical Almanac, thus
 
545
        //! ndot = -26.0 arcsec/cy^2. Meeus & Simons (2000) corrected the deltaT table for years before 1955.5 using
 
546
        //! ndot = -25.7376 arcsec/cy^2. Therefore the accuracies stated by Meeus & Simons are correct and cannot be
 
547
        //! compared with accuracies from Islam & Sadiq & Qureshi.
 
548
        //! @param jDay the date and time expressed as a julian day
 
549
        //! @return Delta-T in seconds
 
550
        double getDeltaTByIslamSadiqQureshi(const double jDay);
 
551
 
528
552
        //! Get Secular Acceleration estimation for a given year.
529
553
        //! Method described is here: http://eclipse.gsfc.nasa.gov/SEcat5/secular.html
530
554
        //! For adapting from -26 to -25.858, use -0.91072 * (-25.858 + 26.0) = -0.12932224