This crate is a very incomplete implementation of the book Astronomical Algorithms by Jean Meeus.
Utilities for working with angles
Functions related to dates
General interpolation functions
Regression (curve-fitting) algorithms
This computes the apparent magnitude of a comet
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.