Skip to content

Conversation

@dengemann
Copy link
Member

@agramfort @Eric89GXL do you agree that this is not ideal / confusing and should be adjusted?


plt.suptitle('Dipole %s, Time: %.3fs, GOF: %.1f, Amplitude: %.1fnAm\n' % (
idx, dipole.times[idx], dipole.gof[idx], dipole.amplitude[idx] * 1e9) +
idx + 1, dipole.times[idx], dipole.gof[idx], dipole.amplitude[idx] * 1e9) +
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could alternatively write idx or index in the title.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agramfort @Eric89GXL another option would be to use # as in ICA which seems to indicate index semantics in our plots (E.g. ICA #000)

@agramfort
Copy link
Member

agramfort commented Jul 26, 2017 via email

@dengemann
Copy link
Member Author

Python user should be aware of zero indexing and I think we are pretty
consistent with this.

I'm not seeing any consistence here. Dipole 6 is not Dipole 7 it's Dipole 6. If it is the index let's call it like this. Otherwise it makes you look up things at index 5.

@agramfort
Copy link
Member

agramfort commented Jul 26, 2017 via email

@dengemann
Copy link
Member Author

Yes Dipole[6] or Dipole [6] could work. Let's collect and see what is best. @mmagnuski what's your hunch on this. Some reminiscences of ICA index VS count semantics ...

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@1376596). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #4431   +/-   ##
=========================================
  Coverage          ?   80.28%           
=========================================
  Files             ?      349           
  Lines             ?    64188           
  Branches          ?     9879           
=========================================
  Hits              ?    51534           
  Misses            ?     9863           
  Partials          ?     2791

@mmagnuski
Copy link
Member

I don't have a strong opinion - Dipole[6] seems most straightforwardly indicating that it displays python index, but #006 is also ok.

@agramfort
Copy link
Member

we could also write:

Dipole 1 / 7
Dipole 6 / 7
etc.

@dengemann
Copy link
Member Author

dengemann commented Jul 28, 2017 via email

@agramfort
Copy link
Member

agramfort commented Jul 28, 2017 via email

@larsoner
Copy link
Member

@dengemann do you have time for this in the next week or so to make it into the next release?

@larsoner larsoner added this to the 0.15 milestone Aug 11, 2017
@dengemann
Copy link
Member Author

dengemann commented Aug 11, 2017 via email

@larsoner
Copy link
Member

@dengemann can you get to this in the next few days or should someone else take over?

@larsoner
Copy link
Member

@dengemann can you get to this in the next few days or should someone else take over? It's getting close to 0.15 release time

@larsoner
Copy link
Member

Will takeover tomorrow unless I hear otherwise

@dengemann
Copy link
Member Author

Sorry, was not available the last days. I kept away from this as I wanted to see how the ICA component display got resolved. I'd suggest to just copy the pattern from there.

@larsoner
Copy link
Member

There is no equivalent pattern for ICA, as those are channel names (and are now referred to that way as often as possible IIRC).

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.

5 participants