Getting data into an array in NumPy from an other object?

Maurice van de Rijzen maurice at akst.tn.tudelft.nl
Wed Sep 18 09:11:06 CEST 2002


Dear all,
I've encountered a problem.
In one object I've a function:

class blah:
	...
	...
	def GetData(self):
		return self.data


Now I want to put his data into an instance of Numeric.array.
The broblem is that I cannot find and think of any way to do this.
Does anyone knows a solution for this.

Maurice




More information about the Python-list mailing list