Giter VIP home page Giter VIP logo

Comments (12)

agramfort avatar agramfort commented on August 28, 2024

we'll have to wait for @mluessi who takes care of it now. He is away for a couple of weeks.

from mne-python.

mluessi avatar mluessi commented on August 28, 2024

The sample dataset has been updated to 0.4 on the FTP :)

@agramfort: don't forget to update the one at Neurospin

from mne-python.

larsoner avatar larsoner commented on August 28, 2024

Hey @mluessi, while we're at it (sorry for not suggesting this earlier), it would be excellent if we could add distance info to the source space so I can add a nosetest for that at some point. I used a call like this:

mne_add_patch_info --dist 7 --src sample-oct-6-src.fif --srcp sample-oct-6-src.fif

And uploaded the resulting file here:

http://faculty.washington.edu/larsoner/sample-oct-6-src.fif

Could you swap that one in? It should be the same as the old one, but with distances up to 7mm included. I checked to make sure swapping that into examples/MNE-sample-data/subjects/sample/bem/ didn't break any nosetests. If you're up for adding this, I'll put in a basic nosetest to ensure that reading in distances works.

from mne-python.

larsoner avatar larsoner commented on August 28, 2024

Also, for some reason mne_analyze can't get the coordinate transform right for the subject "sample". If you open mne_analyze, load "sample", and do View->Show Coordinates, you'll see that the MNI coordinates are not listed, and there's an error in the terminal of:

Adding Talairach transforms...[failed]
Warning : Transform file not present in these MRI data

I'm not sure why this error happens, but it would be good if we could fix it so I can make my nosetests better for vertex_to_mni(). It doesn't seem like mne_analyze should be failing, since "mri/transforms/talairach.xfm" exists. Perhaps @mshamalainen would know why mne_analyze can't get the MNI coordinate transforms for "sample"...?

from mne-python.

mluessi avatar mluessi commented on August 28, 2024

@Eric89GXL can you make a PR for mne-scripts to add the patch info? I will update the sample data again when mne-python 0.5 is released, the current version works with 0.4. Updating the sample data every time we add something to the git version creates to much overhead.

from mne-python.

larsoner avatar larsoner commented on August 28, 2024

I could do that...but where are mne-scripts? Are those the ones in mne-python/bin/?

from mne-python.

mluessi avatar mluessi commented on August 28, 2024

The scripts are here: https://github.com/mne-tools/mne-scripts

from mne-python.

agramfort avatar agramfort commented on August 28, 2024

hum I've never used "show coordinates" and on my box it says "nothing
yet"... is it a mac issue?

can you send me a screen shot of what you see?

from mne-python.

larsoner avatar larsoner commented on August 28, 2024

After that window pops up saying nothing yet, click on some location on the
brain and it should calculate the position in MNI coordinates. Note that it
does for fsaverage, but not for sample.

from mne-python.

agramfort avatar agramfort commented on August 28, 2024

problem reproduced.

@mshamalainen if you have time to take a look it would be great.

from mne-python.

larsoner avatar larsoner commented on August 28, 2024

It would be good for us to know if mne_analyze has a good reason for rejecting the talairach.xfm for "sample", since in the python code it currently uses it as though it's correct.

from mne-python.

agramfort avatar agramfort commented on August 28, 2024

I tried changing the sample talairach.xfm with the fsaverage one and it is
not working either.
The problem is somewhere else.

from mne-python.

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.