simonster / Synchrony.jl

Coherence/phase-locking statistics in Julia
Other
22 stars 7 forks source link

Documentation #2

Open shashi opened 10 years ago

shashi commented 10 years ago

I am very interested in using some of the functions in this library, especially PowerSpectrum and PowerSpectrumVariance. This looks like a very useful library in general. It would be nice if there was more extensive documentation.

papamarkou commented 10 years ago

I also want to compute the power spectrum given a time series. Does the Synchrony package provide this functionality? In particular, is there a function that does the same as the spectrum R function?

I can see from the source code that PowerSpectrum is basically a constructor. What function should I call on the resulting type to compute the power spectrum? To be practical, if x is my vector, could you provide an elementary example of how one would go about computing its spectrum?

simonster commented 10 years ago

If all you need is the power spectrum, the periodogram functions in DSP.jl may be sufficient for your purposes.

shashi commented 10 years ago

Ah, thanks! :) I got my work done.

But, I actually don't know if I need the other stuff in this package. I am doing some exploratory analyses on ECoG data with some abstract goals, and I have never done anything like this before. I figured I could learn a little from this package. Minimal verbiage with links to references would be great to get newbies started off! It's easy to understand Julia code, and it would be nice to have some context.

papamarkou commented 10 years ago

Thanks @simonster, I wasn't aware of DSP.jl, it works for me.