From 0f25211e9b38f2893294f576a765e4e464c658d8 Mon Sep 17 00:00:00 2001 From: Cody Piersall Date: Mon, 30 Nov 2015 15:41:03 -0600 Subject: [PATCH] Change gaussian_pdf's docstring gaussian_pdf grew an extra argument (mean) but the docstring was not updated. I also said that the mean should be in the interval [0, 180), but I'm not 100% that's true. --- pytmatrix/orientation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pytmatrix/orientation.py b/pytmatrix/orientation.py index b42f4cc..14d0dae 100644 --- a/pytmatrix/orientation.py +++ b/pytmatrix/orientation.py @@ -28,8 +28,9 @@ def gaussian_pdf(std=10.0, mean=0.0): """Gaussian PDF for orientation averaging. Args: - std: The standard deviation of the PDF (the mean is always taken to - be 0). + std: The standard deviation in degrees of the Gaussian PDF + mean: The mean in degrees of the Gaussian PDF. This should be a number + in the interval [0, 180) Returns: pdf(x), a function that returns the value of the spherical Jacobian-