Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 29, 2024
1 parent 428b24f commit ce5144a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url = https://github.com/fmi-faim/eicm.git
author = Tim-Oliver Buchholz, Sabine Reither
author_email = [email protected], [email protected]
license = BSD-3-Clause
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
Expand Down
5 changes: 1 addition & 4 deletions tests/test_gaussian2D_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
)


Expand Down

0 comments on commit ce5144a

Please sign in to comment.