From 85d3b06656ac7f3c3f8174393cc63036efa5291b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 22:23:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.cfg | 2 +- tests/test_gaussian2D_fit.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/setup.cfg b/setup.cfg index 447dca1..0b2771c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ url = https://github.com/fmi-faim/eicm.git author = Tim-Oliver Buchholz, Sabine Reither author_email = tim-oliver.buchholz@fmi.ch, sabine.reither@fmi.ch license = BSD-3-Clause -license_file = LICENSE +license_files = LICENSE classifiers = Development Status :: 3 - Alpha Intended Audience :: Developers diff --git a/tests/test_gaussian2D_fit.py b/tests/test_gaussian2D_fit.py index 7044798..cea9d99 100644 --- a/tests/test_gaussian2D_fit.py +++ b/tests/test_gaussian2D_fit.py @@ -36,10 +36,7 @@ def gaussian_2d( Shifts the Gaussian `up` or `down` i.e. the background signal. """ return lambda y, x: offset + height * np.exp( - -( - ((y - mu_y) ** 2 / (2 * sigma_y**2)) - + ((x - mu_x) ** 2 / (2 * sigma_x**2)) - ) + -(((y - mu_y) ** 2 / (2 * sigma_y**2)) + ((x - mu_x) ** 2 / (2 * sigma_x**2))) )