@behaver/earth-ssb

1.0.6 • Public • Published

EarthSSB

GitHub license npm version PRs Welcome

简介

EarthSSB 组件库可以用于计算地球相对于太阳系质心(SSB)的位置和速度。

其中包含组件:

安装

使用 npm 安装组件库,在项目目录下执行:

npm i --save @behaver/earth-ssb

安装完成后,调用即可:

const { EarthSSBVelocity, EarthSSBPosition } = require('@behaver/earth-ssb');

用例

const { EarthSSBVelocity } = require('@behaver/earth-ssb');
const { JDateRepository } = require('@behaver/jdate');

let jdr = new JDateRepository(2334345, 'jde'),
    v = new EarthSSBVelocity(jdr);

console.log(v.x, v.y, v.z);

API

详见组件子文档:

许可证书

The MIT license.

Readme

Keywords

Package Sidebar

Install

npm i @behaver/earth-ssb

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

13.4 kB

Total Files

5

Last publish

Collaborators

  • behaver