Commit 853c9dfe authored by Reimar H Leike's avatar Reimar H Leike
Browse files

renamed _gaussian_error_function to _gaussian_sf which correctly reflects that...

renamed _gaussian_error_function to _gaussian_sf which correctly reflects that it is the survival function
parent 2f035228
...@@ -28,7 +28,7 @@ from ..field import Field ...@@ -28,7 +28,7 @@ from ..field import Field
from ..operators.linear_operator import LinearOperator from ..operators.linear_operator import LinearOperator
def _gaussian_error_function(x): def _gaussian_sf(x):
return 0.5*erfc(x/np.sqrt(2.)) return 0.5*erfc(x/np.sqrt(2.))
...@@ -180,7 +180,7 @@ class LOSResponse(LinearOperator): ...@@ -180,7 +180,7 @@ class LOSResponse(LinearOperator):
self._local_shape, self._local_shape,
np.array(self.domain[0].distances), np.array(self.domain[0].distances),
difflen-sigmas_low, difflen, difflen+sigmas_up, difflen-sigmas_low, difflen, difflen+sigmas_up,
_gaussian_error_function) _gaussian_sf)
boxsz = 16 boxsz = 16
nlos = len(w_i) nlos = len(w_i)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment