celestial

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

celestial

the physics of the sky, in go, in one place.

celestial gathers what was spread across slayer, libtheme-css and libholemath, so that each constant, unit and law is written once:

  • units and constants, cited, in SI, with conversions to and from the natural units some of the physics prefers
  • time scales, the calendar, sidereal time, frames and places
  • spectra and the atmosphere
  • stars, gravitation, and the kerr hole from libholemath
  • FITS and HDF5, written here
  • LIGO and Virgo: events, the remnant hole, strain

data files live in celestial-data, not here.

Documentation

Overview

Package celestial holds the physics of the sky in one place, for the ray tracer, the catalogue readers and the gravitational-wave work alike.

Package celestial itself holds nothing yet. Its packages each hold one subject:

  • units and constants, each cited as defined or measured
  • time and its scales, frames on the sky and places on Earth
  • spectra, light and the atmosphere
  • stars, and gravitation from Newton's to a Kerr hole's
  • the file formats the data comes in: HDF5 now, FITS to come
  • LIGO and Virgo's events; their strain, read through hdf5, to come

Exported quantities are in SI, and a package that works in natural units inside converts at its edge, both ways. Three do not yet: hole works in units of its hole's mass, as relativity does, and radiation and bands take nanometres and electronvolts, as libtheme-css's did.

Directories

Path Synopsis
Package atmosphere is the earth's air worked out from what it is and how it lies: its temperature, pressure and density by height, and in time what it does to light along a path.
Package atmosphere is the earth's air worked out from what it is and how it lies: its temperature, pressure and density by height, and in time what it does to light along a path.
Package bands is light carried as amounts in slices of the spectrum: the form a renderer needs when light has to be added, filtered, redshifted or bent by wavelength, before an eye reduces it to three numbers.
Package bands is light carried as amounts in slices of the spectrum: the form a renderer needs when light has to be added, filtered, redshifted or bent by wavelength, before an eye reduces it to three numbers.
Package grav is bodies, and the gravity between them: the gravBody of the engineering guide.
Package grav is bodies, and the gravity between them: the gravBody of the engineering guide.
Package gw is gravitational waves as the LIGO, Virgo and Kagra detectors publish them through the gravitational wave open science centre, called the centre here: the events of its catalogues, each with its estimates and their credible intervals, read into si units.
Package gw is gravitational waves as the LIGO, Virgo and Kagra detectors publish them through the gravitational wave open science centre, called the centre here: the events of its catalogues, each with its estimates and their credible intervals, read into si units.
Package hdf5 reads the parts of the HDF5 file format that the open science centre's strain files use, as the HDF5 File Format Specification, version 3.0, describes them, and refuses the rest.
Package hdf5 reads the parts of the HDF5 file format that the open science centre's strain files use, as the HDF5 File Format Specification, version 3.0, describes them, and refuses the rest.
Package hole is the maths of a black hole for a renderer: a kerr hole in kerr-schild form, null and timelike geodesics marched by hamilton's equations, the quantities a geodesic keeps, the redshift between two observers, and the frame of a camera falling in.
Package hole is the maths of a black hole for a renderer: a kerr hole in kerr-schild form, null and timelike geodesics marched by hamilton's equations, the quantities a geodesic keeps, the redshift between two observers, and the frame of a camera falling in.
Package length holds the lengths physics and astronomy are measured in, each in metres and each named once.
Package length holds the lengths physics and astronomy are measured in, each in metres and each named once.
Package measure is typed quantities in natural units: the speed of light, the reduced planck constant and boltzmann's constant are all one, so mass, temperature and energy are one kind of thing, counted in MeV, and length and time are its inverse.
Package measure is typed quantities in natural units: the speed of light, the reduced planck constant and boltzmann's constant are all one, so mass, temperature and energy are one kind of thing, counted in MeV, and length and time are its inverse.
Package mocks is mockgen's stand-ins for celestial's interfaces, for a caller's tests: a catalogue reader takes a photometry.Photometer, and its tests give it a MockPhotometer and expect its calls.
Package mocks is mockgen's stand-ins for celestial's interfaces, for a caller's tests: a catalogue reader takes a photometry.Photometer, and its tests give it a MockPhotometer and expect its calls.
Package photometry is magnitudes and the fluxes they stand for: Pogson's scale, and the bands of a survey, each with the flux density of magnitude zero the survey publishes.
Package photometry is magnitudes and the fluxes they stand for: Pogson's scale, and the bands of a survey, each with the flux density of magnitude zero the survey publishes.
Package radiation speaks of radiation by its wavelength in nanometres, from gamma rays to radio.
Package radiation speaks of radiation by its wavelength in nanometres, from gamma rays to radio.
Package research is every measured or picked number celestial uses, as research-derived-data.yml holds it: a measured one read from its published source, never typed from memory, and a picked one saying who picked it.
Package research is every measured or picked number celestial uses, as research-derived-data.yml holds it: a measured one read from its published source, never typed from memory, and a picked one saying who picked it.
Package si holds the physical constants celestial uses and the si's decimal prefixes.
Package si holds the physical constants celestial uses and the si's decimal prefixes.
Package sky is where things are, seen from places, at instants, in frames: the sun over a hillside, a star through the sun's lens, a merger's waves at two detectors.
Package sky is where things are, seen from places, at instants, in frames: the sun over a hillside, a star through the sun's lens, a merger's waves at two detectors.
Package stars is stars as data: a mass and an age go in, and out comes what the star is now, with its temperature, brightness and size.
Package stars is stars as data: a mass and an age go in, and out comes what the star is now, with its temperature, brightness and size.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL