> On 4 Jun 2023, at 16:17, Alireza Karami <
alire...@gmail.com> wrote:
>
> Yes, I used cosmo_dim_generalization_measure but then I used cosmo_unflatten to get 2D matrices and I saved them. Now, I only have 2D matrices and I do not want to redo the analysis again so I was seeking a way to convert the 2D matrices to the flat format.
Well, if you are able to recreate dim_labels (which should be easy) and dim_values (the time points) then you should be able to use cosmo_flatten.
As general advice: be aware that you are losing a bit of information when only storing the 2D matrices instead of the dataset structures.