Giter VIP home page Giter VIP logo

Comments (5)

neerajww avatar neerajww commented on September 21, 2024 1

Yes, you guessed right- I saved + reloaded - the data.
Below is the version information.
image

Using the preload=True solved it. Thank you!
image

from pyprep.

neerajww avatar neerajww commented on September 21, 2024

As a follow up, i tried with montage=None expecting the PrepPipeline will extract information from the raw object.

PrepPipeline(raw, prep_params, montage=None)

But then I get the following (different) error.
image

from pyprep.

sappelhoff avatar sappelhoff commented on September 21, 2024

regarding your first question, see this example: https://pyprep.readthedocs.io/en/latest/auto_examples/run_full_prep.html?highlight=montage#load-data-and-prepare-it

regarding your second problem, that is a bit unexpected. Could you try saving your raw using raw.save, and then loading it again using mne.io.read_raw_fif? If the error disappears then, it might be a problem in MNE-Python with the curry data format

from pyprep.

neerajww avatar neerajww commented on September 21, 2024

Thank you for the reply. I tried raw.save() saving the file as .fif but the error persists.
image

from pyprep.

sappelhoff avatar sappelhoff commented on September 21, 2024

You have to save as fif AND THEN reload the data from that saved fif datafile. Only saving is not enough :-) ... but the error log looks like you did exactly that. Weird how you still get an issue.

Can you do:

print(raw.get_data().shape)

and report what you get here?

Also can you run

import mne
mne.sys_info() 

and report the outputs here?

Which version of pyprep are you using, and how did you install it?

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.