Git Product home page Git Product logo

Comments (3)

edeno avatar edeno commented on August 12, 2024

Three things to note here:

  1. The ripple filter here is designed for a signal sampled at 1500 Hz. If your signal is not this, then I would recommend constructing your own ripple filter.
  2. I believe this function is expecting something of shape (7350,1) because it is built to process multiple LFPs.
  3. The other possibility is that you have a bunch of NaNs in your input data.

from ripple_detection.

m-zimmerman avatar m-zimmerman commented on August 12, 2024

Thanks for the quick reply!

Your second point answered the issue. I needed the extra dimension for the functions to work (I thought I saw in the code it was commented to be shape (X,) ).

Also, to your first point, am I correct in assuming this filter_ripple_band() function is essentially applying a bandpass filter in the high gamma range on the lfp signal?

Appreciate the help!

from ripple_detection.

edeno avatar edeno commented on August 12, 2024

Correct. The filter is for 150-250 Hz. I'm going to close this issue, but feel free to open it back up if there is an issue.

from ripple_detection.

Related Issues (7)

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.