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

Fixed a bug of using non-inverse error for weights #70

Merged
merged 2 commits into from
May 27, 2022

Conversation

YoshikiOhtani
Copy link
Collaborator

@YoshikiOhtani YoshikiOhtani commented May 27, 2022

When I was looking into the issue #69, I found that when averaging the telescope-wise reconstructed directions the pipeline uses the errors which are not inverse. This makes the reconstruction performance worse because it weights to the reco parameter whose error is large. I checked that fixing this issue and using the inverse errors improve the angular resolutions, please see the attached two plots for the comparison of the resolutions before and after fixing the bug.

angres_magic_bugfix
angres_mlst_bugfix

@jsitarek, since it would affect your analysis, please give me an approval when you acknowledge this fix. Thanks!

Copy link
Collaborator

@jsitarek jsitarek left a comment

Choose a reason for hiding this comment

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

the fix looks fine, but I think the same error is also below in the code in line 376 when you average the RA/DEC position

@YoshikiOhtani
Copy link
Collaborator Author

Thanks @jsitarek for your check, I overlooked it. The correction is done!

@YoshikiOhtani YoshikiOhtani merged commit 7b4d197 into master May 27, 2022
@YoshikiOhtani YoshikiOhtani deleted the fix-bug-average branch May 27, 2022 16:05
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