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 accelsearch #807

Merged
merged 6 commits into from Mar 11, 2024
Merged

Fix accelsearch #807

merged 6 commits into from Mar 11, 2024

Conversation

matteobachetti
Copy link
Member

In accelsearch, empty intervals are approximated with the mean of the data. If the estimate of nphots was done after this, nphots became unreasonably high, leading to very low values of power
This simple fix restores a decent calculations of nphots

Copy link

codecov bot commented Mar 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.41%. Comparing base (589a204) to head (51b5ffe).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #807   +/-   ##
=======================================
  Coverage   96.41%   96.41%           
=======================================
  Files          45       45           
  Lines        8988     8989    +1     
=======================================
+ Hits         8666     8667    +1     
  Misses        322      322           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@mgullik mgullik left a comment

Choose a reason for hiding this comment

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

Hey @matteobachetti, I'm not an expert about this, but it looks like an easy fix.
My only concern is that I don't see any additional test or changes in the current version of the tests. Is it correct?

@matteobachetti matteobachetti added this pull request to the merge queue Mar 11, 2024
@github-merge-queue github-merge-queue bot merged commit 143d7e5 into main Mar 11, 2024
17 checks passed
@matteobachetti matteobachetti deleted the fix_accelsearch branch March 11, 2024 12:23
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.

None yet

4 participants