Skip to content

Improvements on the pkg #14

@henry2004y

Description

@henry2004y

Greetings,

I am looking for some functionalities in Julia for doing EMD, and this package seems to fit my needs. I want to ask a few questions before proceeding:

  1. What is the stopping criterion for sifting implemented and where can I find it? For my current need I would like to use the threshold criteria, which may be a nice addition to the package.
  2. I see that you use both Interpolations.jl and Dierckx.jl for interpolations, and you also define a new interpolate method which a wrapper over Dierckx's Spline1D. To avoid confusion, there are these package names in front of each calls, which may seem redundant. Starting from Julia 1.6, we are able to rename imported pkgs and methods, and that may be helpful here.
    From the interpolation method,
function interpolate(knotxvals::Vector, knotyvals::Vector, predictxvals::AbstractVector, m::DierckXInterp, k=3)
    spl = Dierckx.Spline1D(knotxvals, knotyvals, k=k)
    #@show spl, predictxvals
    Dierckx.evaluate(spl,predictxvals)
end

the input argument m is not used. Is it possible to support other kinds of interpolation method beside spline?
3. For the extrema finding, there is a nice package called Peaks.jl. I will try to test if it performs better than localmaxmin! or not.
4. maketestdata in testdata.jl and runtests.jl are almost identical, which may be merged together?
5. I would also like to improve on the documentations.
6. I saw another registered pkg with the same name, but less maintained. Is there a collaboration happening? Do you expect to register this one as well?

I may soon submit some PRs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions