Lessons¶
Here listed are the various SPICE lessons provided by the NAIF translated to use python code examples. Please refer to the NAIF lesson files for the kernel files needed to complete the exercises and to obtain the full content naiflessons.
Contents:
- Basics of SpiceyPy
- Remote Sensing Hands-On Lesson, using CASSINI (Python)
- Overview
- References
- Kernels Used
- SpiceyPy Modules Used
- Time Conversion (convtm)
- Task Statement
- Learning Goals
- Approach
- Solution
- Extra Credit
- Obtaining Target States and Positions (getsta)
- Task Statement
- Learning Goals
- Approach
- Solution
- Extra Credit
- Spacecraft Orientation and Reference Frames (xform)
- Task Statement
- Learning Goals
- Approach
- Solution
- Extra Credit
- Computing Sub-s/c and Sub-solar Points on an Ellipsoid and a DSK (subpts)
- Task Statement
- Learning Goals
- Approach
- Solution
- Extra Credit
- Intersecting Vectors with an Ellipsoid and a DSK (fovint)
- Task Statement
- Learning Goals
- Approach
- Solution
- Extra Credit
- Geometric Event Finding Hands-On Lesson, using MEX (Python)
- In-situ Sensing Hands-On Lesson, using CASSINI (Python)
- Overview
- References
- Kernels Used
- SpiceyPy Modules Used
- Step-1: “UTC to ET”
- “UTC to ET” Task Statement
- “UTC to ET” Hints
- “UTC to ET” Solution Steps
- “UTC to ET” Code
- Step-2: “SCLK to ET”
- “SCLK to ET” Task Statement
- “SCLK to ET” Hints
- “SCLK to ET” Solution Steps
- “SCLK to ET” Code
- Step-3: “Spacecraft State”
- “Spacecraft State” Task Statement
- “Spacecraft State” Hints
- “Spacecraft State” Solution Steps
- “Spacecraft State” Code
- Step-4: “Sun Direction”
- “Sun Direction” Task Statement
- “Sun Direction” Hints
- “Sun Direction” Solution Steps
- “Sun Direction” Code
- Step-5: “Sub-Spacecraft Point”
- “Sub-Spacecraft Point” Task Statement
- “Sub-Spacecraft Point” Hints
- “Sub-Spacecraft Point” Solution Steps
- “Sub-Spacecraft Point” Code
- Step-6: “Spacecraft Velocity”
- “Spacecraft Velocity” Task Statement
- “Spacecraft Velocity” Hints
- “Spacecraft Velocity” Solution Steps
- “Spacecraft Velocity” Code Program” scvel.py”:
- Binary PCK Hands-On Lesson (Python)
- Other Stuff (Python)
- Overview
- References
- Kernels Used
- SpiceyPy Modules Used
- NAIF Documentation
- Text kernels
- Lesson 1: Kernel Management with the Kernel Subsystem
- Task Statement
- Learning Goals
- Code Solution
- Lesson 2: The Kernel Pool
- Task Statement
- Learning Goals
- Code Solution
- Related Routines
- Lesson 3: Coordinate Conversions
- Task Statement
- Learning Goals
- Code Solution
- Related Routines
- Lesson 4: Advanced Time Manipulation Routines
- Task Statement
- Learning Goals
- Code Solution
- Lesson 5: Error Handling
- Task Statement
- Learning Goals
- Code Solution
- Lesson 6: Windows, and Cells
- Programming task
- Learning Goals
- Code Solution
- Related Routines
- Lesson 7: Utility and Constants Routines
- Task Statement
- Learning Goals
- Code Solution
- Task Statement
- Code Solution
- Related Routines