-
Notifications
You must be signed in to change notification settings - Fork 1
DM-52724: Build cell-based coadds with edges #154
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
Conversation
|
|
||
| overlaps_center = detector_map[geom.Point2I(bbox.getCenter())] == ccd_row["ccd"] | ||
| if overlaps_center: | ||
| if not ccd_row.contains(cell_centers_sky[cellInfo.index]): # DROP THIS AFTER TESTING!!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Time to drop this now?
| psf_eval_point = geom.Point2D(inner_bbox.getCenter()) | ||
| psf_shape = warp.psf.computeShape(psf_eval_point) | ||
| psf_shape_flag = False | ||
| except (SinglePolygonException, InvalidPsfError): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a scenario why SinglePolygonException should be raised, since the input visit has passed other cuts, but it still does happen. The psf_shape_flag is also used to mean that we set a nominal value of ixx=iyy=1 and ixy=0 but that means nothing.
| psf_shape = warp.psf.computeShape(psf_eval_point) | ||
| psf_shape_flag = False | ||
| except (SinglePolygonException, InvalidPsfError): | ||
| self.log.warning("Blah") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll put in a more informative log message here!
0526c1d to
b6664cc
Compare
b6664cc to
a3a9987
Compare
No description provided.