Skip to content

Commit

Permalink
fixed bug in issue #48, changed version, upd changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
nespinoza committed May 24, 2024
1 parent e5d313b commit c056837
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.1.18] - 2024-05-24

- Fixed bug raised by issue #48 which made `spelunker` to crash.

## [1.1.17] - 2024-04-23 (Current release)

- Animation functions now work properly.
Expand Down
2 changes: 1 addition & 1 deletion src/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.17"
__version__ = "1.1.18"
4 changes: 2 additions & 2 deletions src/spelunker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ def fit_gaussian(data):
coords = np.where(data==datar.max())

initial_guess[6] = zodical_light
initial_guess[1], initial_guess[2] = int(coords[1]), int(coords[0])
initial_guess[1], initial_guess[2] = int(coords[1][0]), int(coords[0][0])

popt = ray_curve_fit(gaussian_2d, xx, yy, datar, initial_guess)

Expand Down Expand Up @@ -2387,4 +2387,4 @@ def save(self, suffix = None):
self.quickfit_results['offset'].value[j]
))

fout.close()
fout.close()

0 comments on commit c056837

Please sign in to comment.