Comments (2)
Hi @OleBialas
This is a visual representation of the steps performed by DSS (from de Cheveigné & Parra, 2014) :
You can see there are 2 PCA steps involved. nkeep1
specifies the number of components to keep in these two PCAs, not in the overall DSS algorithm.
One you have truncated your data after the first PCA, the second PCA will naturally not look the same.
I would not suggest you change the nkeep1
parameter unless you have good reason to do so (for example if you have many many channels with lots of redundancy). In your case I would probably stick with nkeep1=None
which keeps all (non-negligible) components.
from python-meegkit.
I am aware of the paper - I actually tried to implement the algorithm myself until I found this nice package :)
I thought the keep parameter refers to the components kept after the final rotation (since the paper does not mention rejecting components after the first PCA), which can then be used for a second rotation to enhance the difference between conditions.
If the rejection happens after the first PCA it's perfectly clear why the results look different - thank you!
from python-meegkit.
Related Issues (20)
- Projecting RESS components on new observatios of data HOT 3
- Q: mcca inverse transform HOT 3
- dimension error when detrending with higher order polynomial HOT 4
- Implement trial-masked robust detrending
- 'float' object has no attribute 'ppf' when executing `normfit()` HOT 2
- Bug in detrending of epoched data HOT 3
- IndexError with asr.fit() for a [100s-150s] window and sfreq=500 Hz HOT 9
- pypi installer HOT 4
- Question on dss_line() usage HOT 7
- ZapLine improvements HOT 9
- TRCA has Low Accuracy for Identifying 8 Targets in 16-23 Frequency Range? HOT 8
- Memory usage of `dss_line()` HOT 13
- dss_line_iter error HOT 4
- Issue with cca_crossvalidate HOT 9
- Dataset format, can you clarify it? HOT 9
- Questions about TSPCA HOT 7
- Error allocating huge Memory HOT 4
- complexwarning when using asr? HOT 20
- Issue with Removing Line Noise in MEG Data Using dss_line_iter HOT 8
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 python-meegkit.