From 24fbb8b3978de1a387e1e4856680c26ebc379949 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Fri, 27 Jan 2023 14:56:39 +0100 Subject: [PATCH] Remove unused func --- pyzebra/xtal.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pyzebra/xtal.py b/pyzebra/xtal.py index 61a5f3d..b5112a2 100644 --- a/pyzebra/xtal.py +++ b/pyzebra/xtal.py @@ -359,16 +359,3 @@ def ang_proc(wave, ddist, gammad, om, ch, ph, nud, x, y): ch, ph, ga, om = fixdnu(wave, z1, ch2, ph2, nu) return ch, ph, ga, om - - -def gauss(x, *p): - """Defines Gaussian function - - Args: - A - amplitude, mu - position of the center, sigma - width - - Returns: - Gaussian function - """ - A, mu, sigma = p - return A * np.exp(-((x - mu) ** 2) / (2.0 * sigma**2))