[Numpy-discussion] MATLAB to Numpy

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Fri Oct 27 17:56:18 EDT 2017


One way would be
```
px, py, pz, w, x, y, z = [arr[mask] for arr in px, py, pz, w, x, y, z]
```

-- Marten


More information about the NumPy-Discussion mailing list