From 0de0611c7af6bde0e2f1749185411d173c27480f Mon Sep 17 00:00:00 2001 From: Jo Bovy Date: Thu, 19 Oct 2023 23:48:51 -0400 Subject: [PATCH] Fix weird quituplication of a function --- galpy/df/diskdf.py | 99 ---------------------------------------------- 1 file changed, 99 deletions(-) diff --git a/galpy/df/diskdf.py b/galpy/df/diskdf.py index e0438a227..ca981f601 100644 --- a/galpy/df/diskdf.py +++ b/galpy/df/diskdf.py @@ -1705,105 +1705,6 @@ def _estimatemeanvR(self, R, phi=0.0, log=False): """ return 0.0 - def _estimatemeanvR(self, R, phi=0.0, log=False): - """ - Quickly estimate the mean radial velocity at a given radius. - - Parameters - ---------- - R : float - Radius at which to evaluate the mean radial velocity (/ro). - phi : float, optional - Azimuth angle (not used). - log : bool, optional - If True, return the logarithm of the target Sigma_R^2(R) (default: False). - - Returns - ------- - float - The estimated mean radial velocity. - - Notes - ----- - - 2010-03-28 - Written - Bovy (NYU) - - """ - return 0.0 - - def _estimatemeanvR(self, R, phi=0.0, log=False): - """ - Quickly estimate the mean radial velocity at a given radius. - - Parameters - ---------- - R : float - Radius at which to evaluate the mean radial velocity. Given in natural units (/ro). - phi : float, optional - Azimuth angle. Not used. - log : bool, optional - If True, return the logarithm of the target Sigma_R^2(R). Default is False. - - Returns - ------- - float - The estimated mean radial velocity. - - Notes - ----- - - 2010-03-28 - Written - Bovy (NYU) - - """ - return 0.0 - - def _estimatemeanvR(self, R, phi=0.0, log=False): - """ - Quickly estimate the mean radial velocity at a given radius R. - - Parameters - ---------- - R : float - Radius at which to evaluate the mean radial velocity. [galpy units] - phi : float, optional - Azimuth angle. Not used. (default: 0.0) - log : bool, optional - If True, return the logarithm of the target Sigma_R^2(R). (default: False) - - Returns - ------- - float - The estimated mean radial velocity at the given radius R. - - Notes - ----- - - 2010-03-28 - Written - Bovy (NYU) - - """ - return 0.0 - - def _estimatemeanvR(self, R, phi=0.0, log=False): - """ - Quickly estimate the mean radial velocity at a given radius. - - Parameters - ---------- - R : float - Radius at which to evaluate the mean radial velocity (/ro). - phi : float, optional - Azimuth angle (not used). - log : bool, optional - If True, return the logarithm of the target Sigma_R^2(R) (default: False). - - Returns - ------- - float - The estimated mean radial velocity. - - Notes - ----- - - 2010-03-28 - Written - Bovy (NYU) - """ - return 0.0 - def _estimatemeanvT(self, R, phi=0.0, log=False): """ Quickly estimate the mean tangential velocity at a given radius.