Skip to content

Conversation

@teonbrooks
Copy link
Member

closes #2000. The names for the IC in plot_topomap and the names in the Raw object after ica.get_sources differ. One solution is to name the channels as we are displayed in the topo for a clear and consistent nomenclature.

@teonbrooks teonbrooks changed the title Change name for ica.get_sources Change IC names for ica.get_sources Apr 24, 2015
@dengemann
Copy link
Member

@teonlamont can you add a note? Maybe we can sell it as a bug fix ...

@agramfort
Copy link
Member

So now channel is called ICA 000??? That's weird to me and not consistent with EEG 001 that we use elsewhere. I agree with @dengemann on this

@dengemann
Copy link
Member

@agramfort you're keen on having a phone conversation? Teon is right that we do have usability issue. I'm not quite sure what would be the best. This one seemed the least resistance / effort path.

On 24 Apr 2015, at 22:04, Alexandre Gramfort notifications@github.com wrote:

So now channel is called ICA 000??? That's weird to me and not consistent with EEG 001 that we use elsewhere. I agree with @dengemann on this


Reply to this email directly or view it on GitHub.

@agramfort
Copy link
Member

agramfort commented Apr 25, 2015 via email

@dengemann
Copy link
Member

so you say we have channels starting at ICA 000 ? I am thinking like you
that you not manually select channels based on indices but use list.index
method.

yes, me, yes, you. Thinking of newcomers without MNE/Python and what they would expect by default. Once more, in viz functions by the ICA objects we plot indices. After conversion we plot channel names. We should find a way to reduce that ambiguity.

@agramfort
Copy link
Member

agramfort commented Apr 26, 2015 via email

@teonbrooks
Copy link
Member Author

if we go that way, we should update the name on the topo plot to reflect channels rather than indices. what is the naming convention when an IC has been zeroed out, do we manage the numeric of the zeroed out IC or do we just have an overall smaller set

@dengemann
Copy link
Member

but the ICA object does not have ICA channels.

@dengemann
Copy link
Member

Maybe we should deprecated .get_sources ;)

@agramfort
Copy link
Member

honestly I am not sure here. @teonlamont was it that confusing after all?

we should have soon with the GSOC an interactive selection of IC components.

@dengemann
Copy link
Member

we should have soon with the GSOC an interactive selection of IC components.

Not sure we will go too far in that direction. Exporting sources to raw is possible but not the primary desing. I'm also not sure what to do. Maye better documentation. Thinking about it once more the behavior is consistent with the API that you would expect by design from each object.

@teonbrooks
Copy link
Member Author

the thing is I got mixed up with just looking at the ICs and their raw.plot correspondence. I was also just explaining the ICA with a colleague and it came up without me mentioning it when I should them a ECG artifact showing topo then the time course.

@dengemann
Copy link
Member

the thing is I got mixed up with just looking at the ICs and their raw.plot correspondence. I was also just explaining the ICA with a colleague and it came up without me mentioning it when I should them a ECG artifact showing topo then the time course.

The problem is, that you're using the API in a non-standard way. For the ICA object we have a function to show time-courses.

@dengemann
Copy link
Member

And it is consitent with the topo.

@dengemann
Copy link
Member

Maybe the cleaner thing would be to implement some interactive sources viewer, if this is really wanted.

@dengemann
Copy link
Member

honestly. I did a lot of ICA in the last 2.75 years using our code. I actually never used the raw.plot for looking at things.

@teonbrooks
Copy link
Member Author

The problem is, that you're using the API in a non-standard way. For the ICA object we have a function to show time-courses.

then that means that the ica.get_sources shouldn't have been public if this is a non-standard approach.

@teonbrooks
Copy link
Member Author

I used it to visualize the time course of the ECG before I knew there was an automated way to do so

@dengemann
Copy link
Member

then that means that the ica.get_sources shouldn't have been public if this is a non-standard approach.

maybe that's right. But so far it is consistent with the objects it returns. I think it's more a documentation issue, I see it as an expert function. But there's also some historical aspect to it. It used to return numpy arrays, later we made it return objects.

@agramfort
Copy link
Member

agramfort commented Apr 27, 2015 via email

@teonbrooks
Copy link
Member Author

I didn't even realize that was a feature. yeah, maybe an option to choose between the overlay and the raw viewer would be great and could alleviate the problem.

@agramfort
Copy link
Member

agramfort commented Apr 29, 2015 via email

@teonbrooks
Copy link
Member Author

that's fine with me. I will open an issue to keep track of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICA label inconsistency

3 participants