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

Wavelet Multiplication + Nonstandard transforms #49

Merged
merged 20 commits into from
Feb 5, 2022

Conversation

zengfung
Copy link
Collaborator

@zengfung zengfung commented Feb 4, 2022

Updates:

  • Reorganized src/mod/ folder
  • New WaveMult module
  • API documentation for WaveMult module

No changes in functionalities in current patch update. Only fixes and additions are made to
follow JOSS guidelines.
Fixes to JOSS code snippets.
Organize source code of the same purpose into a subdirectory. Eg:
```
src/ACWT.jl                     src/ACWT.jl
src/acwt_all.jl         ->      src/acwt/acwt_all.jl
src/acwt_one_level.jl           src/acwt/acwt_one_level.jl
src/acwt_utils.jl               src/acwt/acwt_utils.jl
```
- Update function documentations
- Add `ns_idwt`, `nonstd_wavemult` to be exported from module.
Updates:
- Standard form wavelet multiplication.
- Documentation for `WaveMult` module.

TODO:
- Add examples in `WaveMult` documentations.
@zengfung zengfung linked an issue Feb 4, 2022 that may be closed by this pull request
4 tasks
@codecov-commenter
Copy link

codecov-commenter commented Feb 4, 2022

Codecov Report

Merging #49 (19b4b2b) into master (f0ac240) will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
+ Coverage   98.22%   98.29%   +0.06%     
==========================================
  Files          23       27       +4     
  Lines        3103     3218     +115     
==========================================
+ Hits         3048     3163     +115     
  Misses         55       55              
Impacted Files Coverage Δ
src/mod/ACWT.jl 96.75% <ø> (ø)
src/mod/BestBasis.jl 99.22% <ø> (ø)
src/mod/DWT.jl 100.00% <ø> (ø)
src/mod/LDB.jl 100.00% <ø> (ø)
src/mod/SWT.jl 97.43% <ø> (ø)
src/mod/Utils.jl 97.38% <ø> (ø)
src/mod/acwt/acwt_all.jl 100.00% <ø> (ø)
src/mod/acwt/acwt_one_level.jl 100.00% <ø> (ø)
src/mod/acwt/acwt_utils.jl 100.00% <ø> (ø)
src/mod/bestbasis/bestbasis_costs.jl 100.00% <ø> (ø)
... and 14 more

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 f0ac240...19b4b2b. Read the comment docs.

- Added parentheses to condition evaluation in `stretchmatrix` function. This improves the
  condition evaluation process that was previously buggy and produces the wrong logical expressions.
- Added a line in `mat2sparseform_nonstd` function. Previous implementation did not produce
  the right answer.
In both `mat2sparse_nonstd` and `mat2sparse_std` functions, the line
```
maxcolnorm = (maximum ∘ mapslices)(norm, Mw, dims = 1)
```
is changed to
```
maxcolnorm = mapslices(norm, Mw, dims = 1) |> maximum
```
@zengfung zengfung merged commit 228188e into UCD4IDS:master Feb 5, 2022
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.

Implementation of wavelet multiplication + nonstandard transforms
2 participants