.. _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) `_, except that we multiply Acos and Asin by 2 such that the density from :ref:`Galpy's Hernquist Potential ` corresponds to :math:`Acos = \delta_{0n}\delta_{0l}\delta_{0m}` and :math:`Asin = 0`.
.. autofunction:: galpy.potential.scf_compute_coeffs_nbody