graph LR
skyfield_functions["skyfield.functions"]
skyfield_units["skyfield.units"]
skyfield_curvelib["skyfield.curvelib"]
skyfield_searchlib["skyfield.searchlib"]
skyfield_relativity["skyfield.relativity"]
skyfield_constants["skyfield.constants"]
skyfield_errors["skyfield.errors"]
skyfield_constants -- "provides numerical values to" --> skyfield_functions
skyfield_constants -- "provides numerical values to" --> skyfield_units
skyfield_constants -- "provides numerical values to" --> skyfield_relativity
skyfield_functions -- "provides mathematical primitives to" --> skyfield_curvelib
skyfield_functions -- "provides mathematical primitives to" --> skyfield_searchlib
skyfield_functions -- "provides mathematical primitives to" --> skyfield_relativity
skyfield_units -- "consumes exceptions from" --> skyfield_errors
Analysis of the Core Utilities & Numerical Operations subsystem of the Skyfield library.
Provides fundamental mathematical utilities for vector algebra (e.g., angle_between, length_of, dots) and 3D rotations (R1, R2, R3, mxm). It also handles Cartesian to spherical coordinate conversions. This module serves as a core numerical engine for basic geometric and vector operations.
Related Classes/Methods:
skyfield.functions:angle_betweenskyfield.functions:length_ofskyfield.functions:dotsskyfield.functions:R1skyfield.functions:R2skyfield.functions:R3skyfield.functions:mxm
Manages astronomical unit conversions (e.g., radians, degrees, arcseconds) and handles sexagesimal (HMS/DMS) parsing and formatting. It ensures consistency and correctness of numerical values across different units.
Related Classes/Methods:
Focuses on spline curve representation and manipulation, particularly for computing derivatives. The Splines class is central, enabling interpolation and differentiation of data.
Related Classes/Methods:
Implements numerical search algorithms to find specific values, minima, and maxima within data arrays. This is crucial for solving equations or finding critical points in astronomical models.
Related Classes/Methods:
Calculates and applies relativistic corrections, specifically for light deflection. This is a specialized but essential numerical operation for high-precision astronomical calculations.
Related Classes/Methods:
Serves as a central repository for various physical and astronomical constants (e.g., speed of light, gravitational constant) used throughout the library's numerical computations.
Related Classes/Methods:
Defines custom exception classes for specific error conditions within the Skyfield library, such as WrongUnitError. While not directly a numerical operation, it provides robust error handling for the numerical and utility components.
Related Classes/Methods: