All Projects → commenthol → Astronomia

commenthol / Astronomia

Licence: mit
An astronomical library

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Astronomia

Meteor Astronomy
Model layer for Meteor
Stars: ✭ 608 (+710.67%)
Mutual labels:  astronomy
Gitscience
A curated list of science- and engineering related repositories on GitHub and in neighboring counties
Stars: ✭ 8 (-89.33%)
Mutual labels:  astronomy
Astrolib.jl
Bundle of small astronomical and astrophysical routines.
Stars: ✭ 48 (-36%)
Mutual labels:  astronomy
Celestia
Real-time 3D visualization of space.
Stars: ✭ 785 (+946.67%)
Mutual labels:  astronomy
Moon Phase Widget
Moon phase widget for website in javascript
Stars: ✭ 19 (-74.67%)
Mutual labels:  astronomy
Pydis
A simple longslit spectroscopy pipeline in Python
Stars: ✭ 37 (-50.67%)
Mutual labels:  astronomy
Astroquery
Functions and classes to access online data resources. Maintainers: @keflavich and @bsipocz and @ceb8
Stars: ✭ 510 (+580%)
Mutual labels:  astronomy
Pytransit
Fast and easy exoplanet transit light curve modelling.
Stars: ✭ 65 (-13.33%)
Mutual labels:  astronomy
Wide Residual Nets For Seti
Classification of simulated radio signals using Wide Residual Networks for use in the search for extra-terrestrial intelligence
Stars: ✭ 22 (-70.67%)
Mutual labels:  astronomy
Skypy
SkyPy: A package for modelling the Universe.
Stars: ✭ 41 (-45.33%)
Mutual labels:  astronomy
Alfa
Automated Line Fitting Algorithm
Stars: ✭ 6 (-92%)
Mutual labels:  astronomy
Xdf Gan
A GAN for the generation of mock astronomical surveys
Stars: ✭ 17 (-77.33%)
Mutual labels:  astronomy
Gaia tools
Tools for working with the @ESAGaia data and related data sets
Stars: ✭ 40 (-46.67%)
Mutual labels:  astronomy
Asteroids atlas of space
Code, data, and instructions for mapping orbits of asteroids in the solar system
Stars: ✭ 668 (+790.67%)
Mutual labels:  astronomy
Imexam
imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
Stars: ✭ 57 (-24%)
Mutual labels:  astronomy
Sunpy
SunPy - Python for Solar Physics
Stars: ✭ 577 (+669.33%)
Mutual labels:  astronomy
Apogee
Tools for dealing with APOGEE data
Stars: ✭ 34 (-54.67%)
Mutual labels:  astronomy
Gala
Galactic and gravitational dynamics in Python
Stars: ✭ 73 (-2.67%)
Mutual labels:  astronomy
Ccdproc
Astropy affiliated package for reducing optical/IR CCD data
Stars: ✭ 59 (-21.33%)
Mutual labels:  astronomy
Fitsio
fitsio is a pure-Go package to read and write `FITS` files
Stars: ✭ 40 (-46.67%)
Mutual labels:  astronomy

astronomia

An astronomical library

NPM version Build Status

This library is a translation of meeus from Go to Javascript and contains selected algorithms from the book "Astronomical Algorithms" by Jean Meeus, following the second edition, copyright 1998, with corrections as of August 10, 2009.

Additional algorithms not covered in the book have been added.

Installation

npm install --save astronomia

Browser usage

Make sure you add <meta charset="UTF-8"> to your HTML or at least include your bundle with <script src="your-bundle.js" charset="UTF-8"></script> then this package runs in modern browsers.

  • Chrome: >=45
  • Firefox: >= 45
  • Safari: >=10
  • Mobile Safari: >=10
  • Edge: >=13
  • IE: >=10 (needs core-js/es6 polyfill)

Usage

For documentation of the different packages please take a look at the source code as well as at the tests.

Packages

  • angle: Angular Separation.
  • apparent: Apparent Place of a Star.
  • apsis: Perigee and apogee of the Moon.
  • base: Basic constants and methods
  • binary: Binary Stars.
  • circle: Smallest Circle containing three Celestial Bodies.
  • conjunction: Planetary Conjunctions.
  • coord: Transformation of Coordinates. Ecliptic, Equatorial, Horizontal, Galactic coordinates.
  • deltat: Dynamical Time and Universal Time.
  • eclipse: Eclipses.
  • elliptic: Elliptic Motion.
  • elementequinox: Reduction of ecliptical Elements from one Equinox to another one.
  • eqtime: Equation of time.
  • fit: Curve Fitting.
  • globe: Ellipsoid, Globe, Coordinates of Earth Observer.
  • illum: Illuminated Fraction of the Disk and Magnitude of a Planet.
  • interpolation: Interpolation of equidistant values (linear, len3, len5); Lagrange Polynoms
  • iterate: Iteration.
  • jm: Jewish and Moslem Calendars.
  • julian: Julian Days, Gregorian, Julian calendar functions.
  • jupiter: Ephemeris for Physical Observations of Jupiter.
  • jupitermoons: Positions of the Satellites of Jupiter.
  • kepler: Equation of Kepler.
  • line: Bodies in Straight Line
  • mars: Ephemeris for Physical Observations of Mars.
  • moon: Ephemeris for Physical Observations of the Moon.
  • moonillum: Illuminated Fraction of the Moon's Disk.
  • moonmaxdec: Maximum Declinations of the Moon.
  • moonnode: Passages of the Moon through the Nodes.
  • moonphase: Phases of the Moon.
  • moonposition: Position of the Moon.
  • nearparabolic: Near-parabolic Motion.
  • node: Passages through the Nodes.
  • nutation: Nutation and the Obliquity of the Ecliptic.
  • parabolic: Parabolic Motion.
  • parallactic: The Parallactic Angle, and three other Topics.
  • parallax: Correction for Parallax.
  • perihelion: Planets in Perihelion and Aphelion.
  • planetelements: Elements of Planetary Orbits.
  • planetposition: Ecliptic position of planets by full VSOP87 theory.
  • pluto: Pluto.
  • precess: Precession.
  • refraction: Atmospheric Refraction.
  • rise: Rising, Transit, and Setting.
  • saturnmoons: Positions of the Satellites of Saturn.
  • saturnring: The Ring of Saturn.
  • semidiameter: Semidiameters of the Sun, Moon, and Planets.
  • sexagesimal: Sexagesimal classes.
  • sidereal: Sidereal Time at Greenwich.
  • solar: Solar Coordinates.
  • solardisk: Ephemeris for Physical Observations of the Sun.
  • solarxyz: Rectangular Coordinates of the Sun.
  • solstice: Equinoxes, Solstices and Solarterms.
  • stellar: Stellar Magnitudes.
  • sundial: Calculation of a Planar Sundial.
  • sunrise: Compute rise, noon, set of the Sun for an earth observer.

Using a single package

If you require a small footprint in your final application, each of the provided packages can be used as a single one:

// instead of
const base = require('astronomia').base
// use
const base = require('astronomia/lib/base')

ES6 Syntax

// instead of
import {base} from 'astronomia'
// use
import base from 'astronomia/src/base'

To access dedicated VSOP87 data sets use e.g.

const {vsop87Bvenus} = require('astronomia').data
// or
const vsop87Bvenus = require('astronomia/data/vsop87Bvenus')

Migration from v1

Please take a look at ./docs/migrate_v1.md

Running tests

npm test

to even run very long lasting tests, do

SLOWTESTS=1 npm test

In local browser

npm run zuul -- --local 3000

Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license.

You are also implicitly verifying that all code is your original work or correctly attributed with the source of its origin and licence.

License

MIT Licensed

See LICENSE for more info.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].