Page History
...
errors = 0.5*np.random.normal(size=len(yn))
Save numpy arrays
Code Block |
---|
np.savetxt(fname, array) # , fmt='%f')
np.save(fname, array)
np.savez(fname, [array1, array2,...])
|
Save image in TIFF file
Code Block | ||
---|---|---|
| ||
import scipy.misc as scim scim.imsave('fname.tiff', arr2d) |
Other supported formats: gif, pdf, png, jpeg, eps
Read image from TIFF file
...
Overview
Content Tools