# Is there any package for Lomb Scagle?

**URL:** <https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850>\
**Category:** Signal and Image Processing\
**Created:** [September 17, 2019, 1:46pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850 "2019-09-17T13:46:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yw892](https://avatars.discourse-cdn.com/v4/letter/y/7feea3/32.png) [@yw892](https://discourse.julialang.org/u/yw892)\
**Post date:** [September 17, 2019, 1:46pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850/1 "2019-09-17T13:46:42Z")

</div>

Just wondering. It seems Julia doesn’t support many DSP algorithms like EMD and Lomb Scagle.

---

<div class="post-metadata">

**Author:** ![ssfrr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssfrr/32/3736_2.png) [@ssfrr](https://discourse.julialang.org/u/ssfrr)\
**Post date:** [September 17, 2019, 2:31pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850/2 "2019-09-17T14:31:35Z")

</div>

Looks like there have been a couple EMD implementations in the past - with some updating they might be useful:

1. [https://github.com/bnels/EMD.jl](https://github.com/bnels/EMD.jl)
2. [https://github.com/jarrison/EMD.jl](https://github.com/jarrison/EMD.jl)

Also the JuliaAstro group seems to have a Lomb Scargle implementation: [https://github.com/JuliaAstro/LombScargle.jl](https://github.com/JuliaAstro/LombScargle.jl), which at first glance seems well-documented and tested.

---

<div class="post-metadata">

**Author:** ![Fliks](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fliks/32/2494_2.png) [@Fliks](https://discourse.julialang.org/u/Fliks)\
**Post date:** [September 17, 2019, 2:48pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850/3 "2019-09-17T14:48:28Z")

</div>

I am currently working on implementations of EMD and derived methods.  
This is work in progress, but the plain EMD method should be working.  
You can find the package here  
[https://github.com/felixcremer/EmpiricalModeDecomposition.jl](https://github.com/felixcremer/EmpiricalModeDecomposition.jl)  
Feel free to post issues as you find them.  
For comparisons, I also built a wrapper for the libeemd implementation in C.  
You can find the code for that here:  
[https://github.com/felixcremer/libeemd.jl](https://github.com/felixcremer/libeemd.jl)

---

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [September 18, 2019, 12:07am UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850/4 "2019-09-18T00:07:01Z")

</div>

I implemented some exotic least-squares, sparse spectral estimation methods in [https://github.com/baggepinnen/LPVSpectral.jl](https://github.com/baggepinnen/LPVSpectral.jl)

---

<div class="post-metadata">

**Author:** ![yw892](https://avatars.discourse-cdn.com/v4/letter/y/7feea3/32.png) [@yw892](https://discourse.julialang.org/u/yw892)\
**Post date:** [September 29, 2019, 12:50pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850/5 "2019-09-29T12:50:50Z")

</div>

Thank you! That’s very helpful!

---

<div class="post-metadata">

**Author:** ![yw892](https://avatars.discourse-cdn.com/v4/letter/y/7feea3/32.png) [@yw892](https://discourse.julialang.org/u/yw892)\
**Post date:** [September 29, 2019, 12:55pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850/6 "2019-09-29T12:55:30Z")

</div>

Thank you!
