|
From: Christian B. <chr...@un...> - 2014-07-23 11:34:16
|
Am Dienstag, den 22.07.2014, 17:46 +0200 schrieb Christian Bühler: > Am Dienstag, den 22.07.2014, 16:59 +0200 schrieb David Nečas (Yeti): > > On Tue, Jul 22, 2014 at 03:50:18PM +0200, Christian Bühler wrote: > > > While doing this, I realized that currently you cannot write Volume Data > > > Modules in Python. > > > > Without a function similar to data_field_data_as_array() (from > > gwyutils.py) to cast the data to a numpy array, volume data processing > > in Python will be probably slow as hell... > > Yes, I already realized this and it is on my TODO list :) And here is now the patch for implementing this. When using this, my script takes 8 seconds compared to 58 seconds before. Regards, Christian |