Crate apsis[][src]

This crate is a very incomplete implementation of the book Astronomical Algorithms by Jean Meeus.

Modules

angles

Utilities for working with angles

date

Functions related to dates

interpolation

General interpolation functions

iteration

Iteration algorithms

regression

Regression (curve-fitting) algorithms

Functions

comet_apparent_magnitude

This computes the apparent magnitude of a comet

comet_magnitude_regression

Given a number of comet observations, this function performs linear regression to find the absolute magnitude and coefficient of a comet. Distances are in astronomical units.