36 use sufr_kinds,
only: double
37 use sufr_constants,
only: pi, ras2r, jd2000
45 real(double),
intent(in) :: jd
48 real(double) :: t,dpsi,eps0,deps,eps, ra(nstars),dec(nstars),pma(nstars),pmd(nstars)
49 real(double) :: da1(nstars),dd1(nstars),da2(nstars),dd2(nstars), l(nstars),b(nstars)
53 starnames = (/
'Pleiades ',
'Aldebaran ',
'Pollux ',
'Regulus ',
'Spica ',
'Antares ',
'16 Tau ',
'Electra ', &
54 '18 Tau ',
'Taygete ',
'Maia ',
'21 Tau ',
'22 Tau ',
'Merope ',
'Alcyone ',
'Atlas ',
'28 Tau '/)
55 starnamesnl = (/
'de Pleiaden',
'Aldebaran ',
'Pollux ',
'Regulus ',
'Spica ',
'Antares ',
'16 Tau ', &
56 'Electra ',
'18 Tau ',
'Taygete ',
'Maia ',
'21 Tau ',
'22 Tau ',
'Merope ',
'Alcyone ', &
58 starmags = (/1.6,0.85,1.14,1.35,0.98,0.96,5.46,3.70,5.64,4.30,3.87,5.76,6.43,4.18,2.87,3.63,5.09/)
59 starrads = (/110.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0.,0./)*60*ras2r
60 starcons = (/
'Taurus ',
'Taurus ',
'Gemini ',
'Leo ',
'Virgo ',
'Scorpio',
'Taurus ',
'Taurus ',
'Taurus ',
'Taurus ',
'Taurus ', &
61 'Taurus ',
'Taurus ',
'Taurus ',
'Taurus ',
'Taurus ',
'Taurus '/)
62 starconsnl = (/
'Stier ',
'Stier ',
'Tweelingen',
'Leeuw ',
'Maagd ',
'Schorpioen',
'Stier ',
'Stier ', &
63 'Stier ',
'Stier ',
'Stier ',
'Stier ',
'Stier ',
'Stier ',
'Stier ',
'Stier ',
'Stier '/)
64 starconsabr = (/
'Tau',
'Tau',
'Gem',
'Leo',
'Vir',
'Sco',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau',
'Tau'/)
68 ra = (/0.99047d0,1.2039309324d0,2.0303233601d0,2.6545229429d0,3.5133171901d0,4.3171054224d0,0.980890d0,0.981202d0,0.982453d0, &
69 0.982657d0,0.985355d0,0.985704d0,0.986322d0,0.987536d0,0.992591d0,0.999906d0,1.000015d0/)
70 dec = (/0.42092d0,0.2881416664d0,0.4891494426d0,0.2088671634d0,-0.1948018168d0,-0.4613254715d0,0.423931d0,0.420857d0, &
71 0.433525d0,0.427034d0,0.425298d0,0.428561d0,0.428095d0,0.417977d0,0.420712d0,0.419810d0,0.421264d0/)
75 pma = (/0.,62.78,-625.69,-249.40,-42.50,-10.16,0.011,0.019,0.020,0.018,0.020,0.011,0.014,0.021,0.019,0.018,0.013/)/6.48d8*pi
76 pmd = (/0.,-189.35,-45.96,4.91,-31.73,-23.21,-0.046,-0.046,-0.047,-0.045,-0.046,-0.042,-0.044,-0.045,-0.046,-0.047,-0.050/) &
81 t = (jd-jd2000)/365.250d0
93 t = (jd-jd2000)/365250.d0
98 da1(i) = (cos(eps0)+sin(eps0)*sin(ra(i))*tan(dec(i)))*dpsi - (cos(ra(i))*tan(dec(i)))*deps
99 dd1(i) = (sin(eps0)*cos(ra(i)))*dpsi + sin(ra(i))*deps
105 call aberration_eq(jd, ra(i),dec(i), da2(i), dd2(i), eps0=eps0)
109 dec = dec + dd1 + dd2
114 call eq_2_ecl(ra(i),dec(i),eps,l(i),b(i))