Am Montag 02 Januar 2012 21:05:58 schrieb Luc Bourhis:
On 2 Jan 2012, at 19:47, Richard Gildea wrote:
I think that the following does more or less what you want:
flex.show(grid[1:2,:])
Currently the multidimensional slicing only accepts slices as all the arguments, not a mixture of slices and integers.
aha! I see that in June, you have implemented multidimensional slicing indeed. I hadn't noticed. Disregard my suggestion then, Jan, but my remark about copying versus proxying is still relevant.
Ok, so if I want to do many (writing) operations on sclices of the miller array it would be best to copy/convert it into a numpy array first, so I don't have the overhead of the individual copy operations then. Thanks, Dipl. Phys. Jan M. Simons Institute of Crystallography RWTH Aachen University