3.1 Function reference

Warning: The documentation is for the future PyQwt-4.2.3 which is only available from CVS. The download page has links for the latest releases.

toImage( array)
Convert array to a QImage, where array must be a two-dimensional NumPy, numarray, or Numeric array of type UnsignedInt8 or UnsignedInt32.

toNumarray( image)
Convert image of type QImage to a numarray array. This function is only present if numarray has been detected when building PyQwt.

toNumeric( image)
Convert image of type QImage to a Numeric array. This function is only present if Numeric has been detected when building PyQwt.

toNumpy( image)
Convert image of type QImage to a NumPy array. This function is only present if NumPy has been detected when building PyQwt.

to_na_array( image)
Convert image of type QImage to a Numarray array. This function has been deprecated and is only present if Numarray has been detected when building PyQwt. Use toNumarray(aQImage).

to_np_array( image)
Convert image of type QImage to a Numeric array. This function has been deprecated and is is only present if Numeric has been detected when building PyQwt. Use toNumeric(aQImage)