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

MAINT remove calibrate_scattering_filters #850

Merged
merged 8 commits into from
Jun 9, 2022

Conversation

lostanlen
Copy link
Collaborator

@lostanlen lostanlen commented Jun 7, 2022

Fix #849

Another PR with more deletions than additions.

This PR adds some new input arguments to precompute_size_scattering and compute_meta_scattering but i have a plan on how to remove them later while maintaining backwards compatibility. (#851)

@lostanlen lostanlen added the 1D Issue with 1D scattering code label Jun 7, 2022
@lostanlen lostanlen changed the title Remove calibrate_scattering_filters MATIN remove calibrate_scattering_filters Jun 7, 2022
@lostanlen lostanlen changed the title MATIN remove calibrate_scattering_filters MAIN remove calibrate_scattering_filters Jun 7, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #850 (8a4c4b1) into dev (45afade) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #850      +/-   ##
==========================================
- Coverage   88.05%   88.01%   -0.04%     
==========================================
  Files          64       64              
  Lines        2311     2312       +1     
==========================================
  Hits         2035     2035              
- Misses        276      277       +1     
Flag Coverage Δ
jenkins_main 88.01% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
kymatio/scattering1d/filter_bank.py 99.36% <100.00%> (-0.64%) ⬇️
kymatio/scattering1d/frontend/base_frontend.py 98.64% <100.00%> (+0.03%) ⬆️
kymatio/scattering1d/utils.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 45afade...8a4c4b1. Read the comment docs.

@lostanlen lostanlen changed the title MAIN remove calibrate_scattering_filters MAINT remove calibrate_scattering_filters Jun 7, 2022
This was referenced Jun 8, 2022
Copy link
Collaborator

@MuawizChaudhary MuawizChaudhary left a comment

Choose a reason for hiding this comment

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

LGTM

@MuawizChaudhary MuawizChaudhary merged commit 1854d80 into kymatio:dev Jun 9, 2022
@lostanlen lostanlen deleted the fix-849 branch June 25, 2022 16:24
eickenberg pushed a commit that referenced this pull request Jul 5, 2022
* move Q check to ScatteringBase1D.build

* remove one call to calibrate_scattering_filters

* write test_Q

* sigma_min = sigma0 / math.pow(2, J_scattering)

* update compute_meta_scattering prototype

* update precompute_size_scattering prototype

* remove calibrate_scattering_filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1D Issue with 1D scattering code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants