# Question about EMDSetting

**URL:** <https://discourse.julialang.org/t/question-about-emdsetting/44385>\
**Category:** General Usage\
**Tags:** question, package\
**Created:** [August 6, 2020, 2:55am UTC](https://discourse.julialang.org/t/question-about-emdsetting/44385 "2020-08-06T02:55:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abcde](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abcde/32/16180_2.png) [@abcde](https://discourse.julialang.org/u/abcde)\
**Post date:** [August 6, 2020, 2:55am UTC](https://discourse.julialang.org/t/question-about-emdsetting/44385/1 "2020-08-06T02:55:30Z")

</div>

```julia
using EmpiricalModeDecomposition
a=convert(Vector{Float64},rand(20))
s=
EMD_heping_1MX_V_35kV1=EmpiricalModeDecomposition.hht(a,s)

```

This is my code,I don’t know how the keyword S should be defined, this is the code in the Pkg description:

```julia
hht(signal::Vector{Float64}, s::EEMDSetting)

```

And this is Pkg’s website:  
[https://juliahub.com/docs/EmpiricalModeDecomposition/c9SYr/0.1.1/autodocs/](https://juliahub.com/docs/EmpiricalModeDecomposition/c9SYr/0.1.1/autodocs/)  
It doesn’t say what should s be.How do I define s?thanks!

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [August 6, 2020, 7:15am UTC](https://discourse.julialang.org/t/question-about-emdsetting/44385/2 "2020-08-06T07:15:58Z")

</div>

If a function is not described in the docs it’s often helpful to read the tests of a package. In this case it seems the tests don’t include `hht`, but other functions that take an `EEMDSetting` as their second input:

[https://github.com/felixcremer/EmpiricalModeDecomposition.jl/blob/master/test/runtests.jl](https://github.com/felixcremer/EmpiricalModeDecomposition.jl/blob/master/test/runtests.jl)
