christianmbrodbeck/Eelbrain — pull request #12 by t3on (2012-12-15 07:05:16+00:00)
Title: Tb plot exp fiff fix

Hey,

The plot modification is to incorporate a dict as a kwarg for the plot.uts.clusters. It seems to be alright.

The experiment modification as the option to not iterate over empty list. e.g. I don't have an experiments class attribute so when it goes to set initial values, it raises an error b/c the iteration is said to be out of range (since the experiment = [ ] ).

In the fiff modification, the kwarg dict retains the tstart and tstop entries, which is problematic when being forwarded to the mne.Epochs class. Since these kwargs are being reassigned to tmin and tmax, I just remove them after assignment.

Let me know if you have any questions.