Comments (8)
Thanks a lot @adam2392 :-)
from pyprep.
Are there any updates on this?
from pyprep.
This was closed with #6
from pyprep.
@neerajww I streamlined that inclusion a bit and updated the docs. You can check out the bottom part of the examples page:https://pyprep.readthedocs.io/en/latest/examples.html
it now links to: https://nbviewer.jupyter.org/github/sappelhoff/pyprep/blob/master/examples/prep_demo.ipynb
from pyprep.
@sappelhoff Thank you very much. I am eager to try this out on my dataset. As I installed, I am faced the following issues which hints something is missing in my installation. Can you help me on this.
``
Step 1: pip install pyprep
This threw error:
ERROR: Cannot uninstall 'psutil'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Step 2: sudo pip install --ignore-installed pyprep
This gave the message:
Successfully installed mne-0.19.2 numpy-1.18.1 pandas-1.0.1 patsy-0.5.1 psutil-5.6.7 pyprep-0.2.3 python-dateutil-2.8.1 pytz-2019.3 scipy-1.4.1 six-1.14.0 statsmodels-0.11.0
Step 3: I typed the following in Jupyter Notebook:
import pyprep
dir(pyprep)
This gives the following output:
['builtins',
'cached',
'doc',
'file',
'loader',
'name',
'package',
'path',
'spec']
Step 4: I guess something is missing in the installation because
from pyprep.prep_pipeline import PrepPipeline
This gives the following output:
ModuleNotFoundError Traceback (most recent call last)
in
----> 1 from pyprep.prep_pipeline import PrepPipeline
ModuleNotFoundError: No module named 'pyprep.prep_pipeline'
``
from pyprep.
Hi @neerajww - I have updated the installation instructions. please check out: https://github.com/sappelhoff/pyprep/blob/master/README.md#installation
regarding using pyprep, please check out the examples: https://pyprep.readthedocs.io/en/latest/examples.html
You tried to use pyprep.prep_pipeline
--> this module is only available in the development version of the package. That is, it has not yet been released. I have made a comment to the example covering pyprep.prep_pipeline
that you need to install the development version in order to use it. See here: https://github.com/sappelhoff/pyprep/blob/master/examples/prep_demo.ipynb
By using pip install pyprep
you can only use the features included in the stable version that has been released on pypi.
from pyprep.
Thank you @sappelhoff . It seems to take the raw MNE object as input. Is this necessary requirement for bad channel detection? Can it not work on epoch object as well.
from pyprep.
Yes, pyprep works only on raw data. Not sure if it could be extended to work on epochs, feel free to look into that and let me know.
from pyprep.
Related Issues (20)
- Use the MNE logger to set the verbosity HOT 6
- Make pyprep load MNE raw data for object, if not already loaded HOT 3
- filt vs filtfilt (MATLAB implementation)
- Add a "reject_by_annotation" parameter for finding bad channels HOT 1
- pyprep.utils._filter_design throws error for large sampling rates HOT 4
- Passing a custom montage to the PrepPipeline(raw, montage=?)? HOT 5
- Saving prep.raw give error " ValueError: Measurement infos are inconsistent for dig" HOT 4
- List of channel names causes TypeError in find_bad_by_ransac HOT 2
- migrate from `.zenodo.json` to `CITATION.cff` HOT 1
- update issue/pr templates HOT 1
- Computation of window size based on cutoff frequency in local detrend method HOT 1
- Question: using pyprep.NoisyChannels on numpy arrays HOT 1
- Issue with RawBrainVision HOT 2
- find_all_bads throws inf/nan error after filtering/detrending? HOT 12
- Documentation for Noisy Channels Algorithms' stand-alone use HOT 1
- [Feature suggestion] Allow for relevant annotation selection during processing.
- How to include the prep output in my preprocessing pipeline? HOT 1
- New release? HOT 4
- Possible to add an argument in find_bad_by_nan_flat() to change FLAT_THRESHOLD ? HOT 2
- Add to NoisyChannel a bad_by_psd method to tackle low-frequency artefacts 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 pyprep.