Giacomo Marchioro
2016-11-22 11:10:57 UTC
Dear all,
I won't to work with the surfaces as numpy array for do some processing using gwy.
I guess this is a very basic topic but I can't find the parameters where are store the size of the acquisition:
import gwy
import numpy as np
d = gwy.gwy_app_data_browser_get_current(gwy.APP_DATA_FIELD)
data = np.array(d.get_data()).reshape(xsize?,ysize?)
#How can I get the size of my array xsize and ysize?
All the best,
Giacomo Marchioro
------------------------------------------------------------------------------
I won't to work with the surfaces as numpy array for do some processing using gwy.
I guess this is a very basic topic but I can't find the parameters where are store the size of the acquisition:
import gwy
import numpy as np
d = gwy.gwy_app_data_browser_get_current(gwy.APP_DATA_FIELD)
data = np.array(d.get_data()).reshape(xsize?,ysize?)
#How can I get the size of my array xsize and ysize?
All the best,
Giacomo Marchioro
------------------------------------------------------------------------------