I have a large number of arrays with dimension 72, x where x is less than 144. I'd like to take these arrays and do two things to them:
Duplicate each row in the original so that there are 144 of them.
Center the arrays horizontally inside a larger 144
The end result is a 144x144 array. I'd like to use numpy and to the greatest extent possible avoid loops ( I can already implement this in loops ). I've searched around but haven't found a neat solution yet.
Thanks,