Skip to content

Commit

Permalink
changed a couple of int() to float() in reduction.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Marsh committed May 31, 2021
1 parent 7ecee67 commit 3c81456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hipercam/reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,14 @@ def read(cls, filename):
toBool(rfile, "apertures", "fit_fwhm_fixed")
toBool(rfile, "apertures", "search_smooth_fft")

apsec["search_half_width"] = int(apsec["search_half_width"])
apsec["search_half_width"] = float(apsec["search_half_width"])
apsec["search_smooth_fwhm"] = float(apsec["search_smooth_fwhm"])
apsec["fit_fwhm"] = float(apsec["fit_fwhm"])
apsec["fit_fwhm_min"] = float(apsec["fit_fwhm_min"])
apsec["fit_ndiv"] = int(apsec["fit_ndiv"])
apsec["fit_beta"] = float(apsec["fit_beta"])
apsec["fit_beta_max"] = float(apsec["fit_beta_max"])
apsec["fit_half_width"] = int(apsec["fit_half_width"])
apsec["fit_half_width"] = float(apsec["fit_half_width"])
apsec["fit_thresh"] = float(apsec["fit_thresh"])
apsec["fit_height_min_ref"] = float(apsec["fit_height_min_ref"])
apsec["fit_height_min_nrf"] = float(apsec["fit_height_min_nrf"])
Expand Down

0 comments on commit 3c81456

Please sign in to comment.