Skip to content

MAINT remove calibrate_scattering_filters - #850

Merged
MuawizChaudhary merged 8 commits into
kymatio:devfrom
lostanlen:fix-849
Jun 9, 2022
Merged

MAINT remove calibrate_scattering_filters#850
MuawizChaudhary merged 8 commits into
kymatio:devfrom
lostanlen:fix-849

Conversation

@lostanlen

@lostanlen lostanlen commented Jun 7, 2022

Copy link
Copy Markdown
Collaborator

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
Copy Markdown

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
Comment thread tests/scattering1d/test_torch_scattering1d.py
This was referenced Jun 8, 2022

@MuawizChaudhary MuawizChaudhary left a comment

Copy link
Copy Markdown
Collaborator

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