Hello all,

I would like to save some of the simple datasets within a multiblock data set, in particular the result of a plot selection over time filter, to a numpy array file with numpy.savetext('file.txt', data)

I have tried the following in the programmab;e filter, but each time paraview aborts:

import numpy as np
np.savetxt('test.txt', inputs[:,0])

where inputs is the dataset from plot selection over time

Are the multiblock datasets numpy compatible or is there perhaps some kind of format conversion needed to make them so?

Thanks
Colin

--
Colin McAuliffe
PhD Candidate
Columbia University
Department of Civil Engineering and Engineering Mechanics
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to