Skip to content

Handle corner case in crosstalk sim - #1759

Merged
tskisner merged 2 commits into
masterfrom
tsk/crosstalk_elev
Oct 2, 2026
Merged

tskisner merged 2 commits into
masterfrom
tsk/crosstalk_elev

Conversation

@tskisner

Copy link
Copy Markdown
Member

When working with real observations, make sure that detectors with invalid pointing or metadata properties are flagged.

When working with real observations, make sure that detectors
with invalid pointing or metadata properties are flagged.
@tskisner
tskisner requested a review from tpsatt September 29, 2026 18:54
@tskisner
tskisner requested a review from ttsan2521 October 1, 2026 02:53
# Get crosstalk strength, chi
# Generate output data by mixing input data
for det_target in good_dets:
if det_target not in dPhi0dT:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this 2nd check to catch any additional detector cuts in dPhi0dT , that were not captured in good_dets, such as bad el values?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, this check is just for the case of real observations and when using per-detector elevation values.

@ttsan2521 ttsan2521 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a clarifying comment on my end on some of the multiple detector cut checks. Never hurts to have more. The rest looks good. Thanks for working on this.

@tskisner
tskisner merged commit 20fefef into master Oct 2, 2026
5 checks passed
@tskisner
tskisner deleted the tsk/crosstalk_elev branch October 2, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants