Giter Club home page Giter Club logo

lombscargle.jl's People

Contributors

abhro avatar felixcremer avatar giordano avatar github-actions[bot] avatar jacobluhn avatar juliatagbot avatar ndchorley avatar sebastianm-c avatar sefffal avatar staticfloat avatar stevengj avatar tkelman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lombscargle.jl's Issues

Reuse Lombscargle.PeriodogramPlan for different signal but the same time vector

I am currently implementing a time series surrogate algorithm based on the lombscargle periodogram JuliaDynamics/TimeseriesSurrogates.jl#67.
There I need to compute the lombscargle periodogram for shuffled versions of the same signal with the same times vector a few thousand times.
I benchmarked my implementation and most of the time is spent in the computation of the lombscargle periodogram.

Is there a way to reuse the Lombscargle PeriodogramPlan for this so that I could update the signal of the PeriodogramPlan?

I have seen the bootstrap methods in this package, but I don't understand, why this shuffles the times vector, but from that I would assume, that something similar for the signal might be feasible.

Consider adding CompatHelper

I think that this repo may benefit from adding CompatHelper. For example SpecialFunctions is now at v.0.10.0 and the compat bounds must be updated.

I can make a PR if you want.

Tips and questions

Hello there,

My name is Gabriel i wanna ask something here.

I'm using lombscargle periodogram to verify some frequencys in my orbits dynamics. I'm starting with a simple example a mean motion resonance 1:1.

image

image

In this case i'm getting what i want (1 period of peak). However if i follow the best fit frequency model described in the docs i have the result below.

image

I'm not sure if the fitting model is working very well for my model, there is something i could be doing wrong ? I would love some tips to help me understand this tool.

Add multi-threading

Multi-threading may speed-up computation of periodograms.

Currently, this feature is tagged as experimental in Julia 0.5. I started working on this feature in multi-threading branch, adding support only multi-threading support only where it doesn't degrade performance (mainly for computation of bootstrap dataset).

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Docs Error for PSD normalization?

After comparing with [ZK09] and the Astropy documentation, I believe the normalization between PSD and standard has a typo in the documentation and should be:

   P(f) = p(f) * W * YY / 2

(i.e., there is currently a W missing). Astropy documentation lists the unnormalized psd to be

   P_psd(f) = 0.5* (Chi^2_ref - Chi^2(f)

whereas [ZK09] writes

   P_standard(f) = (Chi^2_ref - Chi^2(f)) / (Chi^2_ref)

So to transform between the two, you must multiply by Chi^2_ref/2, and [ZK09] gives Chi^2_ref as W * YY

After testing a few datasets, including a W term does indeed produce identical periodograms.

Implement a new fast method based on NFFT

It would be interesting to implement the method described in

For the NFFT, there are

  • the NFFT.jl package, a pure Julia implementation of the Non-equidistant Fast Fourier Transform
  • the Julia interface to the C library, which however is not packaged properly and thus is not easily callable by this package.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.