Acceleration along a line from the Moon through EML1 (validated model: pyshtools 4.14.1)
gravity_line[Reference and validated] validated model: pyshtools 4.14.1, unmodified libraries combined by this site's own model, run in the reference image. Every answer ends with a provenance block that names the class, the library and data file hashes and the build; say which class produced each number you repeat. The acceleration at evenly spaced samples along the straight line from a site on the Moon through EML1 at one epoch. Three terms, each one switchable: body_harmonics is the GRGM1200B model summed by SHTOOLS, to degree 600 at most; earth_point_mass is Earth's attraction as a point mass at its geometric position from CSPICE and DE440; frame_rotation is the centrifugal term of a frame turning with the Earth-Moon line about their barycenter at the circular rate for the separation used. The SHTOOLS sum and the CSPICE geometry are unmodified; adding the three is this site's own model, which is why this is a validated model and not a reference answer. It leaves out the Moon's eccentric motion, the Sun, and the Coriolis term on anything moving along the line. EML1 here is the collinear point of the circular restricted three-body problem: on the line from the center of the Moon to the center of Earth at the epoch, where the two point masses and the rotation balance for the mass ratio in the provenance, 0.150934 of the separation from the center of the Moon. The site is on the 1,737.4 km mean sphere, not on terrain, and height_km is above that sphere; with no site given the line starts under Earth. net_along_m_s2 is the component along the line, positive away from the Moon. radial_m_s2 is positive away from the center of the Moon, north_m_s2 and east_m_s2 are along local north and east of the frame asked for, at each sample's own longitude and latitude. Above the 1,738.0 km reference sphere the harmonic sum stops at the last degree n whose (R/r)^n is over 1e-12, and degree_summed says where.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>",
"epoch_utc": "<epoch_utc>"
},
"name": "gravity_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The body. Only "luna" has a gravity model here. | |
| lmax | No | Highest degree of body_harmonics, 600 at most on a line. 0 leaves the Moon a point mass. | |
| frame | No | The frame the longitude and latitude are in and north and east are answered in. MOON_ME is mean Earth and polar axis, the frame of lunar maps; MOON_PA is the principal axis frame the model is given in. A MOON_ME point is rotated into MOON_PA before the sum, up to about 0.9 km on the ground. | MOON_ME |
| model | No | The gravity model: GRGM1200B, the GRAIL degree 1200 lunar field from NASA PDS Geosciences. | GRGM1200B |
| terms | No | Which terms are added. | |
| samples | No | Samples along the line, first and last included. At most 85 rows and 30,000 characters of answer; cover a longer line in several calls with start_km and stop_km. | |
| stop_km | No | Last sample, kilometers along the line from the site. EML1 when absent. | |
| through | No | The point the line runs through. | EML1 |
| start_km | No | First sample, kilometers along the line from the site. | |
| epoch_utc | Yes | The instant, UTC, as 2026-12-11T00:00:00Z. From 1850-01-01T00:00:00Z to 2150-01-01T00:00:00Z. | |
| from_lat_deg | No | Site latitude, degrees north. | |
| from_lon_deg | No | Site longitude, degrees east. Given with from_lat_deg; with neither, the site is the point under Earth at the epoch. | |
| separation_km | No | Replaces the epoch's distance between the centers of Earth and the Moon; the direction stays the epoch's. |