AGM API#
agm_simulation
#
- ptr.agm_simulation(metakernel, ptr, endpoint, cache=True) ptr.agm.results.AGMResults [source]#
ESA Attitude Generator Module simulation.
- Parameters
metakernel (str) – Metakernel id.
ptr (str or pathlib.Path) – Pointing Timeline Request content or file.
endpoint (str, optional) – AGM endpoint simulator. It can be an explicit API URL endpoint or an implicit API keyword, eg.
'JUICE_API'
.cache (bool, optional) – Use cache the result of the simulation.
Note
Currently, AGM API requests is supported. Usage of locally installed AGM instance is envision in the future.
See also
AGM REST API#
agm_api
#
- ptr.agm.api.agm_api(metakernel, ptr, endpoint, cache=True)[source]#
Call AGM through a REST API.
- Parameters
metakernel (str) – Metakernel id.
ptr (str) – Pointing Timeline Request.
endpoint (str, optional) – Explicit AGM URL endpoint. You can also use the mission names listed in
POINTING_TOOL_ENDPOINTS
like'JUICE_API'
.cache (bool, optional) – Use cache the response if present locally.
- Raises
ValueError – If the URL endpoint is unknown.
AGM Results#
AGMResults
#
AGMInputParameters
#
AGMOutputResults
#
AGMResultsPTR
#
AGMResultsQuaternions
#
AGMResultsCK
#
AGMResultsLog
#
AGMResultsStatus
#
AGM Cache#
- ptr.agm.AGM_CACHE#
alias of <Cache> /tmp/esa-ptr | 2 entries: - d150d7aba57c403936aed01406282436 - d162fb62b4fbab5d350100e9ab9a50ce