ssapy.utils
This module provides functions for coordinate transformations, vector operations, celestial mechanics, and mathematical utilities.
Functions
|
Convert altitude angle to zenith angle. |
|
Convert Cartesian coordinates to spherical coordinates in degrees. |
|
Convert Cartesian coordinates to cylindrical coordinates. |
|
Convert ra/dec of stars from catalog positions (J2000/ICRS) to apparent positions, correcting for proper motion, parallax, annual and diurnal aberration. |
|
Down-select emcee walkers to those with the largest posterior mean. |
|
Re-open the decorated class, adding any new definitions into the original. |
|
Converts a Decimal Degree (DD) value to Degree-Minute-Second (DMS) format. |
|
Converts Decimal Degrees (DD) to Hour-Minute-Second (HMS) format. |
|
Normalize angles in degrees to the range |
|
Normalize an iterable of angles in degrees to |
|
Normalize angles to the range |
|
Normalize an iterable of angles to the range |
|
Converts coordinates from Degree-Minute-Second (DMS) format to Decimal Degrees (DD). |
|
Convert coordinates from degrees, minutes, and seconds (DMS) format to decimal degrees. |
|
Convert coordinates from degrees, minutes, and seconds (DMS) format to radians. |
|
Convert ecliptic longitude/latitude to equatorial RA/declination. |
|
Convert ecliptic Cartesian coordinates to RA and declination. |
|
Convert ecliptic rectangular coordinates to equatorial coordinates. |
|
Compute the norm of an array using Einstein summation notation with customizable indices. |
|
Convert equatorial RA/declination to ecliptic longitude/latitude. |
|
Convert equatorial coordinates to horizontal azimuth and altitude. |
|
Convert equatorial rectangular coordinates to ecliptic coordinates. |
|
Attempt to find all zeros of a function between given bounds. |
Find triplets bracketing extrema from an ordered set of function evaluations. |
|
|
Find a file in the current directory or the ssapy datadir. |
|
Return the rotation matrix that converts GCRS cartesian coordinates to TEME cartesian coordinates. |
|
Calculate the angle between two vectors with |
|
Get the covariance matrix of kernel_mat. |
|
Computes normalized weights from log-weights. |
|
Converts Hour-Minute-Second (HMS) format to Decimal Degrees (DD). |
|
Convert horizontal coordinates to hour angle and declination. |
|
Interpolate IERS values |
|
Transform inertial coordinates to rotated coordinates relative to the Earth. |
Interpolates points between the given points. |
|
|
Return True if an attribute is safe to monkeypatch-transfer to another class. |
|
Convert lb-like coordinates & proper motions to orthographic tangent plane. |
|
Convert lb-like coordinates to theta-phi like coordinates. |
|
Convert lb-like coordinates to unit vectors. |
|
Calculate the great-circle distance between two points on Earth's surface using the Haversine formula. |
|
Compute GCRF position of the moon. |
|
Find a root of a univariate function with known gradient using Newton-Raphson iterations. |
|
Compute the Euclidean norm of an array over the last axis while preserving leading axes. |
|
Compute the squared norm of an array over the last axis while preserving leading axes. |
|
Normalize an array along the last axis to have unit length. |
|
Convert NTW coordinates to cartesian coordinates, using r, v to define NTW system. |
|
Return number of times angle ang has wrapped around. |
|
Calculate the Right Ascension (RA) and Declination (Dec) of an object relative to Earth's position. |
|
Normalize angles in radians to the range |
|
Perform particle regularization. |
|
Resample particles to achieve more uniform weights. |
|
Convert right ascension to hour angle. |
|
Convert coordinates to NTW coordinates, using r, v to define NTW system. |
|
Sample points around x according to covariance matrix. |
|
Compute f(sigma points) for sigma points of C around x. |
|
Simulate longitude, latitude, and radius in a geocentric frame with the Sun at (0, 0). |
|
Select MCMC samples with probabilities above some relative threshold |
|
Compute GCRF position of the sun. |
|
Calculate Sun right ascension and declination at a given time. |
|
Convert orthographic tangent plane coordinates to lb coordinates. |
|
Return the rotation matrix that converts TEME cartesian coordinates to GCRS cartesian coordinates. |
|
Convert theta-phi-like coordinates to lb-like coordinates. |
|
Convert theta-phi-like coordinates to unit vectors. |
|
Robustly compute angle between unit vectors r1 and r2. |
|
Convert unit vectors to lb-like coordinates. |
|
Convert unit vectors to theta-phi-like coordinates. |
|
Returns the unit vector of the vector. |
|
Compute mean and covariance matrix using unscented transform given a transformation f, a point x, and a covariance C. |
|
Convert ecliptic rectangular coordinates to longitude and latitude. |
|
Convert equatorial rectangular coordinates to RA and declination. |
|
Convert x, y, z vectors to lb-like coordinates. |
|
Convert x, y, z vectors to theta-phi-like coordinates. |
|
Convert zenith angle to altitude angle. |
Classes
|
Simplified Least Recently Used Cache. |
|
meant to be used for lazy evaluation of an object attribute. |
Class Inheritance Diagram
