giant.utilities¶
This package provides a few different utility routines for interfacing with external data and general data analysis.
The modules in this package each contain detailed information about what they provide/do and a summary of all of the functionality available from the modules in this package is provided below.
Summary Contents¶
Modules
This module provides a function for calculating outliers in a 1 dimensional data set using Median Absolute Deviation. |
|
This module provides utility functions and classes for quickly creating callable objects to NAIF spice functions as well as a function to convert a datetime object to spice ephemeris time without using spice itself. |
|
This module provides a number of classes for interfacing with files used in the Stereophotoclinometry (SPC) software suite for performing shape modelling and surface feature navigation. |
|
Provides an iterator for generating unique random combinations from a population where order doesn't matter. |
|
This module provides 2 classes for performing tees of outputs to a file. |
Classes
This class is used to read/write from the SPC summary (.SUM) files. |
|
This class is used to read/write from the SPC Nominal (.NOM) files. |
|
This class is used to read and write from SPC Image files (.DAT). |
|
This class is used to read from SPC regress files. |
|
This class is used to read and write from SPC Shape files (Implicitly connected Quadrilateral, ICQ format). |
|
This class is used to read and write from SPC Maplet files. |
|
This class is used to read and write from SPC Landmark files. |
|
Iterate over |
|
An enumeration specifying the options of what to redirect |
|
This class support simultaneously writing to a file and stdout/stderr |
|
This class provides the ability to simultaneously tee both STDOUT and STDERR to a file. |
Functions
This function can be used to identify outliers in a 1 dimensional set of data. |
|
This function returns the number of leap seconds between observation_date and January 1, 12:00:00.000 (TDB). |
|
This function converts a python datetime object to ephemeris time correcting for leap seconds |
|
This function generates a partial function of the spkpos method from spice with the target, frame, abcorr, and observer inputs already set (so that the only remaining input is the ephemeris time). |
|
This function generates a partial function of the spkezr method from spice with the target, frame, abcorr, and observer inputs already set (so that the only remaining input is the ephemeris time). |
|
This function generates a partial function of the pxform function from spice with the from and the to frames specified. |
|
This function takes a callable object that takes a time in ephemeris time and returns a callable object that takes a time as a python datetime object. |
|
This function gets the distortion value from the lithos file pertaining to a specified image |
Constants
This flag specifies whether spiceypy is available in the current python environment |
|
The UTC Epoch for spice ephemeris time |
|
A numpy datetime64 array of leap seconds taken from naif0012.tls |
|
This is the observation_date format used in SPC summary and nominal files. |