ssapy.rvsampler
This module provides functions and classes for orbital mechanics calculations, optimization techniques, sampling methods, and orbital parameter translations.
Functions
|
Guess position and velocity from two closely spaced (in time) observations of ra/dec. |
|
Down-select emcee walkers to those with the largest posterior mean. |
|
Pseudo-Huber loss function. |
|
Derivative of the pseudo-Huber loss function. |
|
Calculate observed direction-cosines of orbiting objects as viewed at specified times and positions. |
|
Convert equinoctial orbital elements to classical Keplerian orbital elements. |
|
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. |
|
Calculate observed right ascension, declination, and slant range of orbiting objects as viewed at specified times and positions. |
|
Convert object angles and observer position to 3D observer position |
|
Convert object and observer position and velocity to angles. |
|
Produce a ball of walkers around an initial parameter value. |
|
Robustly compute angle between unit vectors r1 and r2. |
Classes
|
Gaussian prior on orbit semimajor axis a. |
|
Gaussian prior on log10(area) of object. |
|
Directly specify initial position and velocity samples. |
|
Initialize position and velocity from two closely spaced (in time) observations of ra/dec. |
|
Gaussian prior on orbit eccentricity e. |
|
A sampler built on the emcee package. |
|
Gaussian prior on equinoctial ex and ey, favoring ex = ey = 0. |
|
Optimizer that employs Levenberg-Marquardt least-squares fitting and fits in Kozai mean Keplerian element space. |
|
Initialize position and velocity samples by projecting an observed ra/dec into the equatorial plane and assuming a GEO statationary orbital velocity. |
|
Generate position and velocity samples as an isotropic Gaussian distribution around an asserted position and velocity. |
|
A basic Keplerian propagator for finding the position and velocity of an orbiting object at some future or past time. |
|
Optimizer that employs Levenberg-Marquardt least-squares fitting. |
|
Optimizer that employs Levenberg-Marquardt least-squares fitting. |
|
Base class for LeastSquaresOptimizers |
|
Gaussian prior on log10(area) of object. |
|
Generate MCMC samples using a Metropolis-Hastings sampler. |
|
A multivariate normal proposal distribution. |
|
Orbital state of one or more objects. |
|
A class for translating orbital parameters in angle-based form, including conversions between angular parameters and orbit objects. |
|
A class for translating orbital parameters in equinoctial form, including input/output transformations and conversions between parameters and orbit objects. |
|
A class for translating orbital parameters in position-velocity (RV) form, including conversions between parameters and orbit objects. |
|
Class for making parameters into Orbits and vice-versa. |
|
Gaussian prior on distance from origin |r|. |
|
A class to manage MCMC sampling of orbits (parameterized by position and velocity at a given epoch) given some angular observations. |
|
Isotropic multivariate normal proposal distribution. |
|
Optimizer that employs Levenberg-Marquardt least-squares fitting and fits in Kozai mean Keplerian element space. |
|
Represent and manipulate times and dates for astronomy. |
|
Gaussian prior on velocity magnitude |v|. |
Class Inheritance Diagram
