Comments (3)
Three things to note here:
- 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.
- I believe this function is expecting something of shape (7350,1) because it is built to process multiple LFPs.
- The other possibility is that you have a bunch of NaNs in your input data.
from ripple_detection.
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.
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)
- Reading raw neuropixels data into python HOT 3
- filter_ripple_band assumes there are nans in lfp array and throws an error if there aren't any. HOT 2
- All detectors are giving axis out of bounds errors HOT 1
- 80-125Hz ripple detection HOT 4
- add ripple amplitude to output table HOT 1
- Add ripple size metric
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripple_detection.