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

Fixes and better loops #36

Merged
merged 15 commits into from
Oct 29, 2023
Merged

Fixes and better loops #36

merged 15 commits into from
Oct 29, 2023

Conversation

wheeheee
Copy link
Member

  • redundant exp log?
  • fixed some typos
  • throw named errors
  • loops run faster
  • some memoization?

also changed hz2mel to accept floats instead of vectors
broadcasting, named errors
generalize for AbstractVector
- isdefined macro
- removed HDF5.write for Bool and SubString
changed current toeplitz impl to accept same arguments, produce the same output as in current octave documentation.
prev usage in levinson was dubious?
@coveralls
Copy link

Pull Request Test Coverage Report for Build 6676470376

  • 96 of 201 (47.76%) changed or added relevant lines in 4 files are covered.
  • 3 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+10.7%) to 54.435%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/feacalc.jl 23 32 71.88%
src/mfccs.jl 29 57 50.88%
src/rasta.jl 37 105 35.24%
Files with Coverage Reduction New Missed Lines %
src/feacalc.jl 1 45.61%
src/mfccs.jl 1 58.62%
src/rasta.jl 1 49.1%
Totals Coverage Status
Change from base Build 6610274851: 10.7%
Covered Lines: 270
Relevant Lines: 496

💛 - Coveralls

@davidavdav
Copy link
Collaborator

Thanks, I went through the diffs (in reverse order), and it looks like a pretty thorough re-write!

@davidavdav davidavdav merged commit b9808f9 into JuliaDSP:main Oct 29, 2023
7 checks passed
@wheeheee
Copy link
Member Author

Actually I was a little confused by the code in deltas so do you mind confirming that it keeps only rows 2hlen+1 onwards?
Since you've padded hlen rows in front and behind, I thought the middle would be kept after filt, but I don't really get what filt does.

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.

3 participants