markhannel / lorenzmie

code base for analyzing inline holographic images of colloidal spheres
9 stars 9 forks source link

Iteration over 0-d array #23

Open laltman2 opened 6 years ago

laltman2 commented 6 years ago

In theory/sphere_coefficients.py, the line: x = [abs(2.0 * np.pi * n_m * a_layer) for a_layer in a_p] # size parameter [array] gives trouble when a_p is not instantiated to be an array with at least 1d.