Giter VIP home page Giter VIP logo

ppspectra's Introduction

We consider the question of analysing a point process (a collection of "times" in the frequency domain. This raises the question of how, if we model a point process as series of spikes at particular times, we transform the time domain to the frequence domain. We mention here that: \begin{itemize} \item there are many excellent packages in R \cite[]{r.2013}, for the time domain analysis of point processes. There appears to be a dearth of software for the frequence analysis of point processes; \item the choice to model the data as a "spike train" may be more natural in some settings than others. The term "spike train" comes from the neuroscience literature. \cite[]{Eden.2019,Pouzat.and.Chaffiol.2009} model the firing times of neurons as a point process that is then analysed as a ``spike train'' where each event is an electrical pulse, a signal of zero time duration with some particular mathematical properties. \end{itemize}

The frequency domain has several advantages in that subtle structure can be detected which may be difficult to observe in the time domain. Secondly, the time domain estimators can have problems with sensitivity to weak non-stationarity. \cite{Jarvis.and.Mitra.2001} is a key reference in this area. As they comment, most of the literature is targeted at either spectral analysis of continuous processes or at the analysis of point processes but in the time domain.

We could find no package in R that explicitly offered the calculation of an energy spectra for a point process. The Chronux Matlab package \cite[]{Mitra.and.Bokil.2007,chronux}, offered this so we have taken a small number of functions and coded them in R. We have kept the same names ( \texttt{mtspectrumpt} and \texttt{coherencypt}) for uses familiar with Chronux, but the calling parameters may have changed.

library(devtools)
devtools::install_github("parsifal9/PPspectra", build_vignettes = FALSE)

This should install the package. The "build_vignettes = FALSE" is because building the vignette causes an error at the moment (the figures are not found).

ppspectra's People

Contributors

parsifal9 avatar

Watchers

 avatar

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.