-
Notifications
You must be signed in to change notification settings - Fork 3
/
ElpMpp02.html
executable file
·61 lines (50 loc) · 2.36 KB
/
ElpMpp02.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en-US">
<meta name="keywords" content="ELP/MPP02 Lunar Ephemeris" />
<meta charset="UTF-8" />
<head>
<title>ELP/MPP02 Lunar Ephemeris</title>
<link rel="stylesheet" href="ElpMpp02.css">
<script src="ElpMpp02_aux.js"></script>
<script src="ElpMpp02LLR_min.js"></script>
<script src="ElpMpp02DE_min.js"></script>
</head>
<body onload="init()">
<div id="wrapper">
<br />
<h1>ELP/MPP02 Lunar Ephemeris (JavaScript Version)</h1>
<br />
<p>ELP/MPP02 is a semi-analytic solution for the lunar motion developed by J. Chapront and G. Francou in 2002. It is an improvement of the ELP2000-82B lunar theory.</p>
<p>Source paper: <i>The lunar theory ELP revisited. Introduction of new planetary perturbations</i> by J. Chapront and G. Francou, <a href="http://adsabs.harvard.edu/abs/2003A%26A...404..735C" target="_blank">Astronomy and Astrophysics, v.404, p.735-742 (2003)</a>.</p>
<p>This page provides a JavaScript version of the code. It is generated by my C++ code <code>ElpMpp_JavaScript.h</code>, available on <a href="https://github.com/ytliu0/ElpMpp02">my GitHub page</a>. My C++ code is based on the authors' FORTRAN source code and data files on ftp://cyrano-se.obspm.fr/pub/2_lunar_solutions/2_elpmpp02/.</p>
<p>This page provides a simple platform to calculate the ELP/MPP02 series. It is intended for code test.</p>
<hr />
<br />
<h2>JavaScript Calculator</h2>
<form name="jd" action="" method="get">
<table>
<tr><td>Julian date of the start time: <input type="number" step="any" id="jd0" /></td></tr>
<tr><td>Time interval: <input type="number" id="djd" step="any" /> days</td></tr>
<tr><td>Number of dates: <select id="n">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5" selected value>5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select></td></tr>
<tr><td>Use parameters fitted to <input type="radio" name="para" id="LLR" checked /> LLR <input type="radio" name="para" id="DE" /> DE405/DE406</td></tr>
</table>
<p><input type="button" value="Submit" onclick="processForm(this.form)" /></p>
</form>
<br />
<div id="result">
</div>
<br />
</div>
</body>
</html>