Giter Site home page Giter Site logo

nutation.js's Introduction

介绍

基于js的章动计算实现 ⚠⚠⚠(Math.PI = 3.141592653589793)计算基于JSΠ的最大值 本项目主要用于Taogram的节气算法辅助使用,非标准天文项目。

算法

IAU1980/IAU2000B可选 IAU2000A 施工中

使用说明

引用

const Nutation = require("nutation.js");
const nutation = new Nutation(jde,IAU,FULL);
<!-- longitude nutation -->
nutation.longitude();
<!-- obliquity nutation -->
nutation.obliquity();

参数

  • jde 给定任意时刻的,基于力学时的儒略日

  • IAU 章动的算法实现,默认基于IAU2000B算法的实现,也可以选择IAU1980. 算法的章动序列表为简化序列表参考(/src/data/)

const nutation = new Nutation(jde,1980/2000b);
  • FULL true/false 是否使用简化的章动库,当前仅1980有效

返回值

基于角度单位的值

参考资料

  • 《IAU1976、1980及2000A岁差章动模型的比较》
  • 《1980IAU章动理论最终报告》
  • 《Astronomical.Algorithms》

nutation.js's People

Contributors

laxnogithub avatar qazzzlyt avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.