Skip to content

Commit

Permalink
fix a lot of warnings and critical errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex committed Jan 8, 2025
1 parent 52c76f0 commit 11cdcdc
Show file tree
Hide file tree
Showing 11 changed files with 759 additions and 857 deletions.
8 changes: 4 additions & 4 deletions docs/abcorr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ SPICE Aberration Identifiers (also called Flags)
Common Correction Applications
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

--------------


|
| Below, we indicate the aberration corrections to use for some
Expand Down Expand Up @@ -252,7 +252,7 @@ Common Correction Applications
Computation of Corrections
^^^^^^^^^^^^^^^^^^^^^^^^^^

--------------


|
| Below, we discuss in more detail how the aberration corrections are
Expand Down Expand Up @@ -452,7 +452,7 @@ Computation of Corrections
.. rubric:: Precision of light time corrections
:name: precision-of-light-time-corrections

--------------


|
| Let:
Expand Down Expand Up @@ -595,7 +595,7 @@ Computation of Corrections
.. rubric:: Relativistic Corrections
:name: relativistic-corrections

--------------


|
| SPICE aberration correction routines do not attempt to perform
Expand Down
246 changes: 120 additions & 126 deletions docs/ck.rst

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/contextmanager.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _KernelPool:
The :py:exc:`KernelPool` context manager
==================================
The :py:exc:`KernelPool` context manager
=========================================

The :py:exc:`KernelPool<spiceypy.spiceypy.KernelPool>` context manager provides a convenient way to load, and unload SPICE kernels, guaranteeing that the kernel database will still be cleared if an exception is raised.

Expand Down
36 changes: 18 additions & 18 deletions docs/ellipses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Ellipses and Ellipsoids Required Reading


Abstract
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| CSPICE contains a substantial set of subroutines that solve common
mathematical problems involving ellipses and triaxial ellipsoids.
Expand All @@ -15,7 +15,7 @@ Abstract


Introduction
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| The \`ellipse' is a structured data type used in CSPICE to
represent ellipses in three-dimensional space. SPICE ellipses exist
Expand All @@ -33,7 +33,7 @@ Ellipses are also used in modeling orbits and planetary rings.


References
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


#. \`Report of the IAU/IAG/COSPAR Working Group on Cartographic Coordinates and Rotational Elements of the Planets and Satellites: 2009', December 4, 2010.
Expand All @@ -47,7 +47,7 @@ References


Ellipse Data Type Description
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


| The following representation of an ellipse is used throughout
Expand Down Expand Up @@ -123,12 +123,12 @@ to ellipse) and accessed using `el2cgv_c <../cspice/el2cgv_c.html>`__


Ellipse and ellipsoid routines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



Constructing ellipses
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| Let \`center', \`v1', and \`v2' be a center vector and two
generating vectors for an ellipse.
Expand Down Expand Up @@ -170,7 +170,7 @@ to


Access to ellipse data elements
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| Let \`ellips' be a SPICE ellipse. To produce the center and two
generating vectors for \`ellips', we can make the call
Expand All @@ -191,7 +191,7 @@ to the ellipse itself; \`v2' is an analogous vector of minimum norm.

`cgv2el_c <../cspice/cgv2el_c.html>`__ and
`el2cgv_c <../cspice/el2cgv_c.html>`__ are not inverses
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| Because the routine `el2cgv_c <../cspice/el2cgv_c.html>`__ always
returns semi-axes as generating vectors, if \`v1' and \`v2' are not
Expand All @@ -215,7 +215,7 @@ define the same ellipse as the input center and generating vectors.


Triaxial ellipsoid routines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


| The CSPICE routines used to perform geometric calculations
Expand Down Expand Up @@ -245,7 +245,7 @@ Triaxial ellipsoid routines


Ellipse routines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


| The CSPICE routines used to perform geometric calculations
Expand All @@ -266,11 +266,11 @@ Ellipse routines


Examples
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Finding the \`limb angle' of an instrument boresight
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| If we want to find the angle of a ray above the limb of an
ellipsoid, where the angle is measured in a plane containing the
Expand Down Expand Up @@ -340,15 +340,15 @@ separations we've computed.


Header examples
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| The headers of the ellipse and ellipsoid routines list additional
usage examples.


Use of ellipses with planes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

| The nature of geometry problems involving planes often includes use
of the SPICE ellipse data type. The example code listed in the
Expand All @@ -359,7 +359,7 @@ Use of ellipses with planes


Summary of routines
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

|
| The following table summarizes the SPICE ellipse and ellipsoid
Expand Down Expand Up @@ -387,10 +387,10 @@ Summary of routines


Appendix A: Mathematical notes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Defining an ellipse parametrically
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


| Our aim is to show that the set of points
Expand Down Expand Up @@ -599,7 +599,7 @@ conclude they're positive.


Solving intersection problems
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


| There is one problem solving technique used in SPICE ellipse and
Expand Down
Loading

0 comments on commit 11cdcdc

Please sign in to comment.