Monday, February 6, 2012

Clever way of reading data into a dict type

https://github.com/breuderink/eegtools/blob/master/eegtools/io/edfplus.py

I like what's in the edf_header() function. I'm going to experiment with doing that.

Every time I noodle through GitHub I learn something new.

EDIT: The BaseEDFReader class has some justification for something I had to do to make something work - you pass the class init method a file and then it's assigning that file name to a self variable. I was struggling with why it was necessary for my stuff to work so this is evidence it's a thing you're supposed to do... for some reason.

No comments:

Post a Comment