ostk.physics.Manager¶
- class Manager¶
Bases:
pybind11_object
Abstract base class for managing physics-related resources.
This class serves as the foundation for specialized managers like IERS, Data, Atmospheric, Gravitational, and Magnetic managers. It provides common functionality for mode management and local repository handling.
Methods
Clear the local repository.
Get the local repository.
Get the local repository lock timeout.
Get the manager mode.
Reset the manager.
Set the local repository.
Set the manager mode.
- class Mode(self: ostk.physics.Manager.Mode, value: int)¶
Bases:
pybind11_object
Members:
Manual
Automatic
- property name¶
- clear_local_repository(self: ostk.physics.Manager) None ¶
Clear the local repository.
- get_local_repository(
- self: ostk.physics.Manager,
Get the local repository.
- Returns:
Local repository.
- Return type:
Directory
- get_local_repository_lock_timeout(
- self: ostk.physics.Manager,
Get the local repository lock timeout.
- Returns:
Local repository lock timeout.
- Return type:
- get_mode(self: ostk.physics.Manager) ostk.physics.Manager.Mode ¶
Get the manager mode.
- Returns:
Manager mode.
- Return type:
- reset(self: ostk.physics.Manager) None ¶
Reset the manager.
- set_local_repository(
- self: ostk.physics.Manager,
- directory: ostk.core.filesystem.Directory,
Set the local repository.
- Parameters:
directory (Directory) -- Local repository.
- set_mode(self: ostk.physics.Manager, mode: ostk.physics.Manager.Mode) None ¶
Set the manager mode.
- Parameters:
mode (Mode) -- Manager mode.