-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add spherical harmonic functions (#362)
* refactor: move generic `astro` functions to `math.py` * feat: add function to calculate altitude, azimuth and D * test: add test for unnormalized legendre polynomials * test: moved `normalize_angle` test to `test_math.py` * test: add ECEF to altaz test at USNO
- Loading branch information
1 parent
654cc15
commit 872a091
Showing
17 changed files
with
448 additions
and
147 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
==== | ||
math | ||
==== | ||
|
||
- Special functions of mathematical physics | ||
|
||
Calling Sequence | ||
---------------- | ||
|
||
.. code-block:: python | ||
import pyTMD.math | ||
P = pyTMD.math.legendre(2, x, m=0) | ||
`Source code`__ | ||
|
||
.. __: https://github.com/tsutterley/pyTMD/blob/main/pyTMD/math.py | ||
|
||
.. autofunction:: pyTMD.math.polynomial_sum | ||
|
||
.. autofunction:: pyTMD.math.normalize_angle | ||
|
||
.. autofunction:: pyTMD.math.rotate | ||
|
||
.. autofunction:: pyTMD.math.legendre | ||
|
||
.. autofunction:: pyTMD.math.sph_harm |
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
Oops, something went wrong.