Make muon analysis part of the processing tool#2168
Merged
Conversation
maxnoe
reviewed
Dec 15, 2022
Member
|
Use this instead of #1618 |
nbiederbeck
reviewed
Dec 16, 2022
| for i in range(3): | ||
| ring = self.ring_fitter(x, y, image, mask) | ||
| dist = np.sqrt((x - ring.center_x) ** 2 + (y - ring.center_y) ** 2) | ||
| mask = np.abs(dist - ring.radius) / ring.radius < 0.4 |
Contributor
There was a problem hiding this comment.
magic number? 0.4
configurable?
Member
There was a problem hiding this comment.
Let's keep the behavior the same for now and just have the Tool refactoring changes. Another PR should be made for actual behavorial changes.
Member
|
As of now, remaining tasks for this PR are (alongside the comments above ofc):
Some (maybe) relavant Issues in this PRs context: #995 #1279 |
maxnoe
reviewed
Jan 10, 2023
004e0a9 to
5a02ad5
Compare
StFroese
commented
Jan 12, 2023
9c10cda to
9805962
Compare
nbiederbeck
reviewed
Jan 13, 2023
nbiederbeck
reviewed
Jan 19, 2023
94344e6 to
8bfa610
Compare
maxnoe
reviewed
Jan 20, 2023
maxnoe
reviewed
Jan 20, 2023
maxnoe
reviewed
Jan 20, 2023
maxnoe
reviewed
Jan 20, 2023
maxnoe
reviewed
Jan 20, 2023
ddf376b to
bfc2174
Compare
maxnoe
previously approved these changes
Jan 24, 2023
Member
|
Thanks! LGTM now. Let's get this in finally... |
nbiederbeck
previously approved these changes
Jan 25, 2023
maxnoe
previously approved these changes
Jan 26, 2023
nbiederbeck
previously approved these changes
Jan 26, 2023
kosack
requested changes
Jan 26, 2023
Member
kosack
left a comment
There was a problem hiding this comment.
Looks great! only minor comments
b2a8f9f to
6b3247a
Compare
maxnoe
approved these changes
Jan 26, 2023
nbiederbeck
approved these changes
Jan 26, 2023
kosack
approved these changes
Jan 26, 2023
This was referenced Jan 27, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.