Implement Sparse BLS for efficient transit detection with small datasets#27
Merged
Implement Sparse BLS for efficient transit detection with small datasets#27
Conversation
Co-authored-by: johnh2o2 <5678551+johnh2o2@users.noreply.github.com>
Co-authored-by: johnh2o2 <5678551+johnh2o2@users.noreply.github.com>
Co-authored-by: johnh2o2 <5678551+johnh2o2@users.noreply.github.com>
Co-authored-by: johnh2o2 <5678551+johnh2o2@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement sparse BLS for improved efficiency
Implement Sparse BLS for efficient transit detection with small datasets
Oct 9, 2025
Owner
|
@copilot I just changed the base to |
Author
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.
✅ Sparse BLS Implementation Complete
Successfully implemented Sparse BLS algorithm based on Burdge et al. 2021 (https://arxiv.org/abs/2103.06193).
Summary of Changes
Added 353 lines across 4 files:
cuvarbase/bls.py: +216 lines (2 new functions)cuvarbase/tests/test_bls.py: +69 lines (2 new test cases)docs/source/bls.rst: +60 lines (new section with examples)CHANGELOG.rst: +8 lines (version 0.2.6 entry)Merged v1.0 branch:
Implementation
1. Core Function:
sparse_bls_cpu(106 lines)2. Wrapper Function:
eebls_transit(110 lines)use_sparseandsparse_thresholdparametersTesting
Added comprehensive test coverage:
test_sparse_bls: Validates sparse BLS against single_bls across multiple scenariostest_eebls_transit_auto_select: Tests automatic method selectionDocumentation
Comprehensive documentation added:
docs/source/bls.rstexplaining Sparse BLSCHANGELOG.rstfor v0.2.6Performance
For N_data=50, N_freq=5:
Backward Compatibility
✅ All existing code continues to work unchanged
✅ New functionality is opt-in
✅ No breaking changes to existing APIs
✅ Compatible with v1.0 refactored architecture
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.