Giter VIP home page Giter VIP logo

Comments (8)

sappelhoff avatar sappelhoff commented on May 25, 2024

Thanks a lot @adam2392 :-)

from pyprep.

neerajww avatar neerajww commented on May 25, 2024

Are there any updates on this?

from pyprep.

sappelhoff avatar sappelhoff commented on May 25, 2024

This was closed with #6

from pyprep.

sappelhoff avatar sappelhoff commented on May 25, 2024

@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.

neerajww avatar neerajww commented on May 25, 2024

@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.

sappelhoff avatar sappelhoff commented on May 25, 2024

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.

neerajww avatar neerajww commented on May 25, 2024

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.

sappelhoff avatar sappelhoff commented on May 25, 2024

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)

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.