Skip to content

Commit

Permalink
refactored code and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
syp2001 committed Oct 6, 2023
1 parent ac60e38 commit a9c7b94
Show file tree
Hide file tree
Showing 57 changed files with 1,796 additions and 1,372 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,7 @@ plt.ylabel(r"$\phi(\lambda)$")
![png](README_files/Getting%20Started_20_1.png)


## Credit

* Seyong Park
* Zach Nasipak
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apex\_from\_constants
=====================

.. currentmodule:: kerrgeopy.initial_conditions
.. currentmodule:: kerrgeopy.constants

.. autofunction:: apex_from_constants
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plunging\_radial\_roots
=======================

.. currentmodule:: kerrgeopy.constants

.. autofunction:: plunging_radial_roots
4 changes: 4 additions & 0 deletions docs/source/_autosummary/kerrgeopy.constants.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ constants
:template: custom-base-template.rst

angular_momentum
apex_from_constants
carter_constant
constants_of_motion
energy
fast_separatrix
is_stable
plunging_radial_roots
scale_constants
separatrix
stable_polar_roots
stable_radial_roots
valid_params


Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
stable\_polar\_roots
====================

.. currentmodule:: kerrgeopy.constants

.. autofunction:: stable_polar_roots
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
stable\_radial\_roots
=====================

.. currentmodule:: kerrgeopy.constants

.. autofunction:: stable_radial_roots
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plunging\_mino\_frequencies
===========================

.. currentmodule:: kerrgeopy.plunging_solutions
.. currentmodule:: kerrgeopy.frequencies

.. autofunction:: plunging_mino_frequencies
1 change: 1 addition & 0 deletions docs/source/_autosummary/kerrgeopy.frequencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ frequencies
gamma
mino_frequencies
phi_frequency
plunging_mino_frequencies
r_frequency
theta_frequency

Expand Down
23 changes: 0 additions & 23 deletions docs/source/_autosummary/kerrgeopy.frequencies_from_constants.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/_autosummary/kerrgeopy.initial_conditions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ initial\_conditions
:toctree:
:template: custom-base-template.rst

apex_from_constants
constants_from_initial_conditions
is_stable
plunging_orbit_initial_phases
Expand Down
3 changes: 1 addition & 2 deletions docs/source/_autosummary/kerrgeopy.orbit.Orbit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@
~Orbit.animate
~Orbit.constants_of_motion
~Orbit.four_velocity
~Orbit.four_velocity_norm
~Orbit.is_visible
~Orbit.orbital_parameters
~Orbit.numerical_four_velocity
~Orbit.plot
~Orbit.trajectory

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PlungingOrbit
=============

.. currentmodule:: kerrgeopy.plunging_orbit
.. currentmodule:: kerrgeopy.plunge

.. autoclass:: PlungingOrbit
:members:
Expand All @@ -20,9 +20,8 @@
~PlungingOrbit.animate
~PlungingOrbit.constants_of_motion
~PlungingOrbit.four_velocity
~PlungingOrbit.four_velocity_norm
~PlungingOrbit.is_visible
~PlungingOrbit.orbital_parameters
~PlungingOrbit.numerical_four_velocity
~PlungingOrbit.plot
~PlungingOrbit.trajectory

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plunging\_polar\_solutions
==========================

.. currentmodule:: kerrgeopy.plunging_solutions
.. currentmodule:: kerrgeopy.plunge

.. autofunction:: plunging_polar_solutions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plunging\_radial\_integrals
===========================

.. currentmodule:: kerrgeopy.plunging_solutions
.. currentmodule:: kerrgeopy.plunge

.. autofunction:: plunging_radial_integrals
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plunging\_radial\_solutions\_complex
====================================

.. currentmodule:: kerrgeopy.plunging_solutions
.. currentmodule:: kerrgeopy.plunge

.. autofunction:: plunging_radial_solutions_complex
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plunging\_trajectory
====================

.. currentmodule:: kerrgeopy.plunge

.. autofunction:: plunging_trajectory
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plunging\_solutions
===================
plunge
======

.. automodule:: kerrgeopy.plunging_solutions
.. automodule:: kerrgeopy.plunge



Expand All @@ -15,15 +15,23 @@ plunging\_solutions
:toctree:
:template: custom-base-template.rst

plunging_mino_frequencies
plunging_polar_solutions
plunging_radial_integrals
plunging_radial_solutions_complex
plunging_trajectory





.. rubric:: Classes

.. autosummary::
:toctree:
:template: custom-class-template.rst

PlungingOrbit




Expand Down
31 changes: 0 additions & 31 deletions docs/source/_autosummary/kerrgeopy.plunging_orbit.rst

This file was deleted.

7 changes: 2 additions & 5 deletions docs/source/_autosummary/kerrgeopy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@

~kerrgeopy.constants
~kerrgeopy.frequencies
~kerrgeopy.frequencies_from_constants
~kerrgeopy.initial_conditions
~kerrgeopy.orbit
~kerrgeopy.plunging_orbit
~kerrgeopy.plunging_solutions
~kerrgeopy.plunge
~kerrgeopy.spacetime
~kerrgeopy.stable_orbit
~kerrgeopy.stable_solutions
~kerrgeopy.stable
~kerrgeopy.units

Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@

~KerrSpacetime.__init__
~KerrSpacetime.four_velocity
~KerrSpacetime.inner_horizon
~KerrSpacetime.is_stable
~KerrSpacetime.metric
~KerrSpacetime.norm
~KerrSpacetime.outer_horizon
~KerrSpacetime.separatrix


Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
StableOrbit
===========

.. currentmodule:: kerrgeopy.stable_orbit
.. currentmodule:: kerrgeopy.stable

.. autoclass:: StableOrbit
:members:
Expand All @@ -20,12 +20,11 @@
~StableOrbit.animate
~StableOrbit.constants_of_motion
~StableOrbit.four_velocity
~StableOrbit.four_velocity_norm
~StableOrbit.from_constants
~StableOrbit.fundamental_frequencies
~StableOrbit.is_visible
~StableOrbit.mino_frequencies
~StableOrbit.orbital_parameters
~StableOrbit.numerical_four_velocity
~StableOrbit.plot
~StableOrbit.trajectory

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
polar\_solutions
================

.. currentmodule:: kerrgeopy.stable_solutions
.. currentmodule:: kerrgeopy.stable

.. autofunction:: polar_solutions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
radial\_solutions
=================

.. currentmodule:: kerrgeopy.stable_solutions
.. currentmodule:: kerrgeopy.stable

.. autofunction:: radial_solutions
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
stable\_solutions
=================
stable
======

.. automodule:: kerrgeopy.stable_solutions
.. automodule:: kerrgeopy.stable



Expand All @@ -17,11 +17,20 @@ stable\_solutions

polar_solutions
radial_solutions
stable_trajectory





.. rubric:: Classes

.. autosummary::
:toctree:
:template: custom-class-template.rst

StableOrbit




Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
stable\_trajectory
==================

.. currentmodule:: kerrgeopy.stable

.. autofunction:: stable_trajectory
31 changes: 0 additions & 31 deletions docs/source/_autosummary/kerrgeopy.stable_orbit.rst

This file was deleted.

Loading

0 comments on commit a9c7b94

Please sign in to comment.