meeus 0.1.1 copy "meeus: ^0.1.1" to clipboard
meeus: ^0.1.1 copied to clipboard

outdated

Dart implementations of algorithms from the book "Astronomical Algorithms, 2nd edition" by Jean Meeus.

Meeus #

Selected algorithms from the book "Astronomical Algorithms" by Jean Meeus, following the second edition, copyright 1998, with corrections as of August 10, 2009.

This Dart library is port of the original Go code written by Sonia Keys and available at https://github.com/soniakeys/meeus. Many (in fact most) of the functions have not yet been ported. Pull requests of any functions and their tests ported will be gladly accepted.

Library organization #

Algorithms are implemented in separate libraries, one for each chapter of the book. There is also a library meeus which exports all the libraries. It is recommended to import only the libraries you need using the as keyword, as the names of functions are not always clear without knowing the library name. There is also a library "base" with additional functions that may not be described in the book but are useful with multiple other libraries.

Install #

1. Depend on it #

Add this to your package's pubspec.yaml file:

dependencies:
  meeus: ^0.1.1

2. Install it #

Install the package from the command line:

$ flutter pub get

3. Import it #

Add to your dart code:

import 'package:meeus/meeus.dart';

or (recommended), import only the libraries you need

import 'package:meeus/julian.dart' as julian;
import 'package:meeus/moonillum.dart' as moonillum;

All software in this repository is copyright Shawn Lauzon and licensed with the MIT license.

2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Dart implementations of algorithms from the book "Astronomical Algorithms, 2nd edition" by Jean Meeus.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

unit

More

Packages that depend on meeus