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

Fix the issue when creating an event list HDU #107

Merged
merged 1 commit into from
Oct 13, 2022

Conversation

YoshikiOhtani
Copy link
Collaborator

Sorry but I realized that the pull request #103 did not solve the problem of creating an event list HDU. The type of combo_type is indeed converted to int in get_stereo_events, but it is again converted to float in get_dl2_mean, where the mean of combo_type is calculated and it automatically changes its type. With this pull request I added a line to reconvert it (and in addition multiplicity) to int, and it finally fixed the problem.

@YoshikiOhtani YoshikiOhtani merged commit 60466db into master Oct 13, 2022
@YoshikiOhtani YoshikiOhtani deleted the fix-creating-event-list branch October 13, 2022 15:18
Elisa-Visentin pushed a commit that referenced this pull request Sep 12, 2024
Fix the issue when creating an event list HDU
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.

1 participant