Skip to content

Commit

Permalink
chore: Update tidal model documentation structure
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Jul 2, 2024
1 parent 7fad4a7 commit 4d4bf19
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 54 deletions.
8 changes: 4 additions & 4 deletions docs/source/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ These objects provides a Python interface to interpolate the tidal models
at the requested spatio-temporal coordinates.

.. toctree::
:maxdepth: 1
:maxdepth: 2

core/abstract
core/cartesian
core/lgp1
core/lgp2
core/tidal_model/cartesian
core/tidal_model/lgp1
core/tidal_model/lgp2

Tidal Prediction
----------------
Expand Down
12 changes: 7 additions & 5 deletions docs/source/core/abstract.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pyfes.core.AbstractTidalModelComplex64
======================================
Abstract classes
================

.. currentmodule:: pyfes.core

Expand All @@ -10,12 +10,14 @@ pyfes.core.AbstractTidalModelComplex64

.. automethod:: __init__

pyfes.core.AbstractTidalModelComplex128
=======================================

.. autoclass:: AbstractTidalModelComplex128
:show-inheritance:
:members:
:inherited-members:

.. automethod:: __init__

.. autoclass:: Accelerator
:show-inheritance:
:members:
:inherited-members:
3 changes: 0 additions & 3 deletions docs/source/core/astronomic_angle.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.AstronomicAngle
==========================

.. currentmodule:: pyfes.core

.. autoclass:: AstronomicAngle
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/constituent.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.Constituent
======================

.. currentmodule:: pyfes.core

.. class:: Constituent
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/formulae.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.Formulae
===================

.. currentmodule:: pyfes.core

.. class:: Formulae
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/quality.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.Quality
==================

.. currentmodule:: pyfes.core

.. class:: Quality
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pyfes.core.Axis
===============
Cartesian models
================

.. currentmodule:: pyfes.core

Expand All @@ -11,27 +11,18 @@ pyfes.core.Axis

.. automethod:: __init__


pyfes.core.tidal_model.CartesianComplex64
=========================================

.. currentmodule:: pyfes.core.tidal_model

.. autoclass:: CartesianComplex64
:show-inheritance:
:members:
:inherited-members:


.. automethod:: __init__

pyfes.core.tidal_model.CartesianComplex128
==========================================

.. autoclass:: CartesianComplex128
:show-inheritance:
:members:
:inherited-members:


.. automethod:: __init__
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pyfes.core.tidal_model.LGP1Complex64
====================================
LPGP1 models
============

.. currentmodule:: pyfes.core.tidal_model

Expand All @@ -10,9 +10,6 @@ pyfes.core.tidal_model.LGP1Complex64

.. automethod:: __init__

pyfes.core.tidal_model.LGP1Complex128
=====================================

.. autoclass:: LGP1Complex128
:show-inheritance:
:members:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pyfes.core.tidal_model.LGP2Complex64
====================================
LGP2 models
===========

.. currentmodule:: pyfes.core.tidal_model

Expand All @@ -10,9 +10,6 @@ pyfes.core.tidal_model.LGP2Complex64

.. automethod:: __init__

pyfes.core.tidal_model.LGP2Complex128
=====================================

.. autoclass:: LGP2Complex128
:show-inheritance:
:members:
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/tide.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.evaluate_tide
========================

.. py:function:: pyfes.core.evaluate_tide(\
tidal_model: Union[pyfes.core.AbstractTidalModelComplex64, \
pyfes.core.AbstractTidalModelComplex128], \
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/tide_type.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.TideType
===================

.. automodule:: pyfes.core

.. class:: TideType
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/wave.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.Wave
===============

.. currentmodule:: pyfes.core

.. autoclass:: Wave
Expand Down
3 changes: 0 additions & 3 deletions docs/source/core/wave_table.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pyfes.core.WaveTable
====================

.. currentmodule:: pyfes.core

.. autoclass:: WaveTable
Expand Down

0 comments on commit 4d4bf19

Please sign in to comment.