Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ADR 0007 — CGS as default unit system

0007 — CGS as default unit system

Context

jaxstro needed a default unit system for the DEFAULT constant, used by generic code that doesn’t yet have domain-specific units. Previously set to ASTRO_DYNAMICAL (Msun, pc, Myr). The decision was whether to keep ASTRO_DYNAMICAL or shift to CGS.

Decision

Set units.DEFAULT = CGS as the foundation-level default, replacing ASTRO_DYNAMICAL. Export as jaxstro.DEFAULT_UNITS in the public API.

Rationale