Manifold Services
Services for manifold objects in the Hiten framework.
Manifold Persistence Service
_ManifoldPersistenceService()
Handle persistence for manifold objects.
- class hiten.algorithms.types.services.manifold._ManifoldPersistenceService[source]
Bases:
_PersistenceServiceBasePersistence helpers for manifold objects.
Manifold Dynamics Service
_ManifoldDynamicsService()
Provide numerical operations for manifold computations.
- class hiten.algorithms.types.services.manifold._ManifoldDynamicsService(manifold)[source]
Bases:
_DynamicsServiceBaseManage STM computation and manifold trajectory generation.
- manifold_result
The manifold result.
- generator
The stability pipeline.
- Type:
- eigendecomposition_config
Compile-time configuration for eigenvalue decomposition.
- Type:
EigenDecompositionConfig
- eigendecomposition_options
Runtime options for eigenvalue decomposition.
- Type:
EigenDecompositionOptions
- property generator: StabilityPipeline
The stability pipeline.
- property orbit: PeriodicOrbit
The generatingorbit of the manifold.
- property libration_point: LibrationPoint
The libration point of the manifold.
- property dynsys: _DynamicalSystem
The dynsys of the system.
- property var_dynsys: _DynamicalSystem
The var_dynsys of the system.
- property jacobian_dynsys: _DynamicalSystem
The jacobian_dynsys of the system.
- property stability: StabilityPipeline
The stability of the manifold.
- property manifold_result: Tuple[float, float, List[ndarray], List[ndarray], int, int]
The manifold result.
- property trajectories: List[Trajectory]
The trajectories of the manifold.
- compute_stm(*, steps)[source]
The stm of the manifold.
This function computes the state transition matrix (STM) of the manifold.
- Parameters:
steps (int) – The number of steps to take.
- Returns:
The stm of the manifold.
- Return type:
Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray]
- compute_manifold(*, step, integration_fraction, NN, displacement, method, order, dt, energy_tol, safe_distance, show_progress)[source]
- compute_stability(options=None)[source]
Compute the stability of the manifold.
- Parameters:
options (
EigenDecompositionOptions, optional) – Runtime options for eigenvalue decomposition. If None, uses self.eigendecomposition_options.- Returns:
The stability pipeline with computed eigenvalue decomposition.
- Return type:
- property eigendecomposition_config: EigenDecompositionConfig
The eigen decomposition configuration.
- Returns:
The eigendecomposition configuration with reasonable defaults.
- Return type:
EigenDecompositionConfig
- property eigendecomposition_options: EigenDecompositionOptions
Runtime options for eigenvalue decomposition.
- Returns:
The eigendecomposition options with reasonable defaults.
- Return type:
EigenDecompositionOptions
Manifold Services
_ManifoldServices()
Encapsulate services for manifold objects.
- class hiten.algorithms.types.services.manifold._ManifoldServices(manifold, persistence, dynamics)[source]
Bases:
_ServiceBundleBaseBundle all manifold services together.
- Parameters:
manifold (
Manifold) – The manifold.persistence (
_ManifoldPersistenceService) – The persistence service.dynamics (
_ManifoldDynamicsService) – The dynamics service.
- classmethod default(manifold)[source]
Create a default service bundle.
- Parameters:
manifold (
Manifold) – The manifold.- Returns:
The service bundle.
- Return type:
Create a service bundle with a shared dynamics service.
- Parameters:
dynamics (
_ManifoldDynamicsService) – The dynamics service.- Returns:
The service bundle.
- Return type: