|
From: Lennart F. <le...@di...> - 2014-08-13 07:38:36
|
Hello, The Volume data "show and extract" dialog crashes here with "*** Error in `gwyddion': realloc(): invalid next size: 0x0000000002ae0890 ***" if the extend in z-direction is smaller than x,y e.g. creating a brick with following pygwy code and selecting "show and extract" fails: b=Brick(100,100,10,1,1,1,True) import numpy as np d=np.ones((100,100,10))*np.arange(10)/100. print d.shape b.set_data(d) gwy_app_data_browser_add_brick(b, None, None, True) while the same code with d=np.ones((100,100,10))+np.arange(10)/100. succeeds the only difference are the values of the array, once it increases from 0 to 0.09 and the other time from 1 to 1.09. No idea what is happening here. But it does not seem to have to do with pygwy. Best regards Lennart |