ostk.physics.coordinate.frame.provider.CIRF¶
- class CIRF(self: ostk.physics.coordinate.frame.provider.CIRF)¶
Bases:
ProviderCelestial Intermediate Reference Frame (CIRF) provider.
Bias, precession-nutation.
Constructor.
Methods
Clear the cached X, Y, s interpolation grid.
Get the transform at a given instant.
Check if the CIRF provider is defined.
Check whether X, Y, s interpolation is enabled.
Enable or disable X, Y, s interpolation at runtime.
- static clear_xys_cache() None¶
Clear the cached X, Y, s interpolation grid.
Releases the memory held by the grid nodes computed so far. Subsequent interpolated evaluations re-populate the grid on demand, so this only affects memory usage and performance, not results.
- get_transform_at(
- self: ostk.physics.coordinate.frame.provider.CIRF,
- instant: ostk.physics.time.Instant,
Get the transform at a given instant.
- is_defined(self: ostk.physics.coordinate.frame.provider.CIRF) bool¶
Check if the CIRF provider is defined.
- Returns:
True if defined.
- Return type:
- static is_xys_interpolation_enabled() bool¶
Check whether X, Y, s interpolation is enabled.
Defaults to disabled, unless the environment variable OSTK_PHYSICS_COORDINATE_FRAME_PROVIDER_CIRF_XYS_INTERPOLATION is set to "Enabled" or "True". Can be overridden at runtime via set_xys_interpolation_enabled.
- Returns:
True if X, Y, s interpolation is enabled.
- Return type:
- static set_xys_interpolation_enabled(interpolation_enabled: bool) None¶
Enable or disable X, Y, s interpolation at runtime.
Overrides the environment-variable default for the lifetime of the process.
- Parameters:
interpolation_enabled (bool) -- True to enable interpolation, False to evaluate the series directly.