With #5 numpy arrays of 1D and 2D dims will be stored to .dat files. We then lack a standard format to store arrays of any shape, which can easily be opened in our Python, R and Matlab/Octave environments.
.mat is obviously easy in Matlab, but require extra packages in Python and R. In addition, a .mat can store more than one matrix, but we want to limit this use-case to only one.
- We come up with our own txt/binary: a header storing the shape and then just a long list. This is extremely flexible, but needs custom implementation in all 3 environments
VTK files should be usable in most environments and can define multi-dimensional mesh. We would have to check if that can be implemented in R and octave without too many dependencies.
- We use the good old netCDF. This has the advantage, that we could also set an attribute, describing that the
.nc was written using toolbox-runner and any needed info to parse it in Matlab or R
@AlexDo1 what do you think? How should we implement nD-arrays?
With #5 numpy arrays of 1D and 2D dims will be stored to
.datfiles. We then lack a standard format to store arrays of any shape, which can easily be opened in our Python, R and Matlab/Octave environments..matis obviously easy in Matlab, but require extra packages in Python and R. In addition, a.matcan store more than one matrix, but we want to limit this use-case to only one.VTKfiles should be usable in most environments and can define multi-dimensional mesh. We would have to check if that can be implemented in R and octave without too many dependencies..ncwas written usingtoolbox-runnerand any needed info to parse it in Matlab or R@AlexDo1 what do you think? How should we implement nD-arrays?