I am still not sure I understand the data structure (matrices in nested dictionaries?), but perhaps JSON could work.
Providing an MWE that generates example data would make it easier to suggest a solution.
I am still not sure I understand the data structure (matrices in nested dictionaries?), but perhaps JSON could work.
Providing an MWE that generates example data would make it easier to suggest a solution.