Skip to content

Commit

Permalink
start using autosummarry
Browse files Browse the repository at this point in the history
  • Loading branch information
jules-ch committed Sep 3, 2022
1 parent 7e29d34 commit 1d937f7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 41 deletions.
2 changes: 2 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.autosectionlabel",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
Expand Down Expand Up @@ -105,6 +106,7 @@
# objects without namespace: pint
"Quantity": "~pint.Quantity",
"Unit": "~pint.Unit",
"UnitsContainer": "~pint.UnitsContainer",
# objects without namespace: numpy
"ndarray": "~numpy.ndarray",
"MaskedArray": "~numpy.ma.MaskedArray",
Expand Down
45 changes: 12 additions & 33 deletions docs/dev/developers_reference.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
===================
Developer reference
API reference
===================

All Modules
===========
.. currentmodule:: pint

.. automodule:: pint
:members:

.. automodule:: pint.babel_names
:members:

.. automodule:: pint.compat
:members:

.. automodule:: pint.context
:members:

.. automodule:: pint.converters
:members:

Expand All @@ -29,47 +29,26 @@ All Modules
.. automodule:: pint.matplotlib
:members:

.. automodule:: pint.pint_eval
:members:

.. automodule:: pint.registry
:members:

.. automodule:: pint.registry_helpers
:members:

.. automodule:: pint.testing
.. automodule:: pint.measurement
:members:

.. automodule:: pint.util
:members:

Facets
------

.. automodule:: pint.facets.plain
:members:

.. automodule:: pint.facets.nonmultiplicative
:members:

.. automodule:: pint.facets.formatting
.. automodule:: pint.pint_eval
:members:

.. automodule:: pint.facets.numpy
.. automodule:: pint.quantity
:members:

.. automodule:: pint.facets.dask
.. automodule:: pint.registry
:members:

.. automodule:: pint.facets.measurement
.. automodule:: pint.registry_helpers
:members:

.. automodule:: pint.facets.group
.. automodule:: pint.systems
:members:

.. automodule:: pint.facets.system
:members:

.. automodule:: pint.facets.context
.. automodule:: pint.util
:members:
9 changes: 1 addition & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,12 @@ of the output quantity will be radian.
Going Further <going_further>
user/ecosystem

.. toctree::
:maxdepth: 2
:hidden:
:caption: API Reference

dev/developers_reference

.. toctree::
:maxdepth: 1
:hidden:
:caption: For developers

dev/developers_reference
dev/contributing
dev/pint-convert

Expand All @@ -148,7 +142,6 @@ of the output quantity will be radian.
One last thing
--------------

.. epigraph::

The MCO MIB has determined that the root cause for the loss of the MCO spacecraft was the failure to use metric units in the coding of a ground software file, “Small Forces,” used in trajectory models. Specifically, thruster performance data in English units instead of metric units was used in the software application code titled SM_FORCES (small forces). The output from the SM_FORCES application code as required by a MSOP Project Software Interface Specification (SIS) was to be in metric units of Newtonseconds (N-s). Instead, the data was reported in English units of pound-seconds (lbf-s). The Angular Momentum Desaturation (AMD) file contained the output data from the SM_FORCES software. The SIS, which was not followed, defines both the format and units of the AMD file generated by ground-based computers. Subsequent processing of the data from AMD file by the navigation software algorithm therefore, underestimated the effect on the spacecraft trajectory by a factor of 4.45, which is the required conversion factor from force in pounds to Newtons. An erroneous trajectory was computed using this incorrect data.

Expand Down

0 comments on commit 1d937f7

Please sign in to comment.