Dear Hoyt,
Thanks -- that hit the spot!
Looks like it was a case of me looking for the answer in the wrong place.
Assuming that there would be some sophisticated numpy method -- E.g.
A.dim_slice( ( 2,5,... ) ) -- that slices up the array and gives you back
the sub-full dimensional matrix you're l
Try using slice (python builtin) to create slice objects (what is
created implicitly by :5, 1:20, etc.). slice takes the same arguments
as range. A list of these (7 in your case) can then be passed to
A[...] as a tuple.
That's how I would do it, but maybe someone else has a better idea or
can co
Dear list.
I've got a feeling that what I'm trying to do *should* be easy but at the
moment I can't find a non-brute-force method.
I'm working with quite a high-rank matrix; 7 dimensions filled with chi**2
values. It's form is something like this:
chi2 = numpy.ones((3,4,5,6,7,8,9))
What I n