Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH support eval for gsobject #61

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions eastlake/steps/pizza_cutter.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,6 @@ def _prep_input_config_and_info_file(self, tilename, band, stash, odir, allbands
else:
pzyml["single_epoch"]["psf_type"] = "galsim"

# do this check to ensure things are ~constant
# not perfect but ok
for size_key in ["half_light_radius", "sigma", "fwhm"]:
if size_key in stash["psf_config"]:
try:
float(stash["psf_config"][size_key])
except ValueError as e:
self.logger.error(
"couldn't interpret psf %s "
"as float" % (size_key))
raise e
break

# write the config info for later
with stash.update_output_pizza_cutter_yaml(tilename, band) as pyml:
for i in range(len(pyml["src_info"])):
Expand Down
Loading