-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: SLR, plm and time series functions (#98)
* test: single implicit import of gravity toolkit * chore: increase version number
- Loading branch information
1 parent
095a7ad
commit 19bb3c3
Showing
79 changed files
with
3,627 additions
and
1,865 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
=================== | ||
associated_legendre | ||
=================== | ||
|
||
- Computes fully-normalized associated Legendre Polynomials and their first derivative for a vector of ``x`` values | ||
|
||
Calling Sequence | ||
################ | ||
|
||
.. code-block:: python | ||
import gravity_toolkit.associated_legendre | ||
PLM, dPLM = gravtk.associated_legendre.polynomials(LMAX, x, method='holmes') | ||
`Source code`__ | ||
|
||
.. __: https://github.com/tsutterley/read-GRACE-harmonics/blob/main/gravity_toolkit/associated_legendre.py | ||
|
||
.. autofunction:: gravity_toolkit.associated_legendre | ||
|
||
.. autofunction:: gravity_toolkit.plm_colombo | ||
|
||
.. autofunction:: gravity_toolkit.plm_holmes | ||
|
||
.. autofunction:: gravity_toolkit.plm_mohlenkamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
===================== | ||
time_series.amplitude | ||
===================== | ||
|
||
- Calculate the amplitude and phase of a harmonic function from calculated sine and cosine of a series of measurements | ||
|
||
Calling Sequence | ||
################ | ||
|
||
.. code-block:: python | ||
import gravity_toolkit.time_series | ||
ampl,ph = gravity_toolkit.time_series.amplitude(bsin,bcos) | ||
`Source code`__ | ||
|
||
.. __: https://github.com/tsutterley/read-GRACE-harmonics/blob/main/gravity_toolkit/time_series/amplitude.py | ||
|
||
.. autofunction:: gravity_toolkit.time_series.amplitude |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
===================== | ||
time_series.piecewise | ||
===================== | ||
|
||
- Fits a synthetic signal to data over a time period by ordinary or weighted least-squares for breakpoint analysis | ||
|
||
Calling Sequence | ||
################ | ||
|
||
.. code-block:: python | ||
import gravity_toolkit.time_series | ||
tsbeta = gravity_toolkit.time_series.piecewise(t_in, d_in, BREAKPOINT=len(t_in)//2, CYCLES=[0.5,1.0]) | ||
`Source code`__ | ||
|
||
.. __: https://github.com/tsutterley/read-GRACE-harmonics/blob/main/gravity_toolkit/time_series/piecewise.py | ||
|
||
.. autofunction:: gravity_toolkit.time_series.piecewise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
=================== | ||
time_series.regress | ||
=================== | ||
|
||
- Fits a synthetic signal to data over a time period by ordinary or weighted least-squares | ||
|
||
Calling Sequence | ||
################ | ||
|
||
.. code-block:: python | ||
import gravity_toolkit.time_series | ||
tsbeta = gravity_toolkit.time_series.regress(t_in, d_in, ORDER=1, CYCLES=[0.5,1.0], CONF=0.95) | ||
`Source code`__ | ||
|
||
.. __: https://github.com/tsutterley/read-GRACE-harmonics/blob/main/gravity_toolkit/time_series/regress.py | ||
|
||
.. autofunction:: gravity_toolkit.time_series.regress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.