1.0.8 • Published 3 years ago

keplerjs v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

KeplerJS

Kepler solver to compute a celestial body position over the surface of the earth.

npm CodeFactor Grade GitHub repo size NPM

Install

npm i keplerjs

Inputs

  const earth = {
        a // Semi major axis [UA]
        e // eccentricity [adim]
        i // inclination [deg]
        om // argument ot the perilelion [deg]
        w // right ascension [deg]
        ma // mean anomaly [deg]
    }

Usage

const {body2latlong} = require("keplerjs");

/**
 * @param {body} //Celesitial body object
 */

body2latlong(body);

Outputs

posistion:{
    long:{type:Number} // Longitude [grad]
    lat:{type:Number} // latitude [grad]
}
1.0.2

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago