I am comparing two data sets and wish to save the output of a 3D array. Let there be two time series, A and B. I overlay one hour of series B on top of one hour of series A. I calculate a correlation between the two of them, along with some other parameters. This gets saved in one row of my array. Next, I slide series B over by one step and repeat until I reach the end. This creates a 2D array of steps and the computed value at each step. I then step series A by one interval and repeat the whole ordeal for series B. This is the third dimension of my array.
I'd like to save this array to a file so that I can read it in with another separate plotting program. Ideally, in that case, I'd like to be able to export it as a text or CSV file, however it doesn't look like there is a standard method for this. How would one go about saving this?