Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 395 Bytes

load-arrays-from-text-file-with-numpy.md

File metadata and controls

19 lines (18 loc) · 395 Bytes

Title: load arrays from a text file with numpy Date: 2010-01-05 16:32 Author: Andrea Zonca Tags: python, numpy Slug: load-arrays-from-text-file-with-numpy

space separated text file with 5 arrays in columns:

[sourcecode language="python"]
ods,rings,gains,offsets,rparams = np.loadtxt(filename,unpack=True)
[/sourcecode]

quite impressive...