-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #444 from morganb-phys/scfnbody
Calculation of SCF expansion based on an N-body representation of the density
- Loading branch information
Showing
9 changed files
with
551 additions
and
193 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.. _scf_compute_coeffs_axi_nbody: | ||
|
||
galpy.potential.scf_compute_coeffs_axi_nbody | ||
============================================ | ||
|
||
This function is the equivalent to :ref:`scf_compute_coeffs_axi` but computing the coefficients based on an N-body representation of the density. | ||
|
||
Note: This function computes Acos and Asin as defined in `Hernquist & Ostriker (1992) <http://adsabs.harvard.edu/abs/1992ApJ...386..375H>`_, except that we multiply Acos by 2 such that the density from :ref:`Galpy's Hernquist Potential <hernquist_potential>` corresponds to :math:`Acos = \delta_{0n}\delta_{0l}\delta_{0m}`. | ||
|
||
Further note that this function is a specification of :ref:`scf_compute_coeffs_nbody` where :math:`Acos_{nlm} = 0` at :math:`m\neq0` and :math:`Asin_{nlm} = None`. | ||
|
||
.. autofunction:: galpy.potential.scf_compute_coeffs_axi_nbody | ||
|
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,11 @@ | ||
.. _scf_compute_coeffs_nbody: | ||
|
||
galpy.potential.scf_compute_coeffs_nbody | ||
======================================== | ||
|
||
This function is the equivalent to :ref:`scf_compute_coeffs` but computing the coefficients based on an N-body representation of the density. | ||
|
||
Note: This function computes Acos and Asin as defined in `Hernquist & Ostriker (1992) <http://adsabs.harvard.edu/abs/1992ApJ...386..375H>`_, except that we multiply Acos and Asin by 2 such that the density from :ref:`Galpy's Hernquist Potential <hernquist_potential>` corresponds to :math:`Acos = \delta_{0n}\delta_{0l}\delta_{0m}` and :math:`Asin = 0`. | ||
|
||
.. autofunction:: galpy.potential.scf_compute_coeffs_nbody | ||
|
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,13 @@ | ||
.. _scf_compute_coeffs_sphere_nbody: | ||
|
||
galpy.potential.scf_compute_coeffs_spherical_nbody | ||
================================================== | ||
|
||
This function is the equivalent to :ref:`scf_compute_coeffs_sphere` but computing the coefficients based on an N-body representation of the density. | ||
|
||
Note: This function computes Acos and Asin as defined in `Hernquist & Ostriker (1992) <http://adsabs.harvard.edu/abs/1992ApJ...386..375H>`_, except that we multiply Acos by 2 such that the density from :ref:`Galpy's Hernquist Potential <hernquist_potential>` corresponds to :math:`Acos = \delta_{0n}\delta_{0l}\delta_{0m}`. | ||
|
||
Futher note that this function is a specification of :ref:`scf_compute_coeffs_nbody` where :math:`Acos_{nlm} = 0` at :math:`l\neq0` | ||
|
||
.. autofunction:: galpy.potential.scf_compute_coeffs_spherical_nbody | ||
|
Oops, something went wrong.