Last change
on this file since 9473 was 731, checked in by tbretz, 24 years ago |
*** empty log message ***
|
-
Property svn:executable
set to
*
|
File size:
560 bytes
|
Line | |
---|
1 | #include "slalib.h"
|
---|
2 | #include "slamac.h"
|
---|
3 | double slaEpj2d ( double epj )
|
---|
4 | /*
|
---|
5 | ** - - - - - - - - -
|
---|
6 | ** s l a E p j 2 d
|
---|
7 | ** - - - - - - - - -
|
---|
8 | **
|
---|
9 | ** Conversion of Julian epoch to Modified Julian Date.
|
---|
10 | **
|
---|
11 | ** (double precision)
|
---|
12 | **
|
---|
13 | ** Given:
|
---|
14 | ** epj double Julian epoch
|
---|
15 | **
|
---|
16 | ** The result is the Modified Julian Date (JD - 2400000.5).
|
---|
17 | **
|
---|
18 | ** Reference:
|
---|
19 | ** Lieske,J.H., 1979. Astron. Astrophys.,73,282.
|
---|
20 | **
|
---|
21 | ** Last revision: 31 October 1993
|
---|
22 | **
|
---|
23 | ** Copyright P.T.Wallace. All rights reserved.
|
---|
24 | */
|
---|
25 | {
|
---|
26 | return 51544.5 + ( epj - 2000.0 ) * 365.25;
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.