Mar
3
awarded Popular Question
Feb
3
awarded Informed
Jan
5
awarded Popular Question
Apr
22
accepted Are German Merkur or Herkules hops noble enough to sub in a Pilsener?
Mar
25
revised Pip/easy_install ignoring ARCHFLAGS in SciPy installation?
Fix type - config instead of configure
Feb
9
awarded Self-Learner
Oct
3
answered Import error ft2font from matplotlib (python, macosx)
May
14
awarded Teacher
May
14
comment ndim in numpy array loaded with scipy.io.loadmat?
To build the dimensions correctly, the scipy list says to build the structure first with empty() and then populate it with data.
May
14
awarded Commentator
May
14
comment ndim in numpy array loaded with scipy.io.loadmat?
I agree that this isn't a very numpy-compatible format, but it's what I need to use for another software package, so I'm locked into it. I think you need to be making cell arrays in the example above, like: {0 30 60 'bob'}; which would be nested cell arrays. I will always have arrays of doubles, so I don't need to worry about sub-cells or structs.
May
14
accepted ndim in numpy array loaded with scipy.io.loadmat?
May
14
answered ndim in numpy array loaded with scipy.io.loadmat?
May
10
comment ndim in numpy array loaded with scipy.io.loadmat?
Thanks for the quick answer! I'm not sure what squeeze_me is doing, but I'm still getting (2,) even with squeeze_me=False. (Maybe it's not looking far enough into the cell array?) I'll try to keep digging and let you know if I find anything. (Similarly, I'm not sure what do_compression is doing in savemat, but it didn't have an effect in any of my tests.
May
10
comment Gmaps4rails has odd zoom behavior overriding with bounds?
I think I should switch this to an issue on github - it appears that the fitBounds in googlemaps is being called before the boundsObject is set, bounds is undefined/uninitialized and throwing an error. It appears to be called from somewhere besides fitBounds in adjustMapToBounds (since I still get an undefined error early when I comment out that call). When I call Gmaps.map.fitBounds() from the console after the map has loaded, boundsObject has been defined, and it adjusts to the correct bounds. I'll open an issue. Thanks, -Erik
May
10
asked ndim in numpy array loaded with scipy.io.loadmat?
May
9
asked Gmaps4rails has odd zoom behavior overriding with bounds?
Apr
10
awarded Editor
Apr
10
comment Possible to Unpickle class instances after being converted from old to new style?
Although this is a kluge, I built some proof-of-concept code that will work. It may not be the way we leave it, but it solves this issue.
Apr
10
accepted Possible to Unpickle class instances after being converted from old to new style?
1 2 3