-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export to plaintext #45
Comments
use |
time series points should probably be columns to avoid unnecessary replication of the other axes. |
also, currently, unpack dims is really slow on the time dim. to speed the whole thing up, a mat array should be preallocated, and unpack dims probably shouldn't be called directly, something fast and vectorized should be called that handles all the dims at once. it would likely also use less memory in the hand offs. |
@erik-roberts Not sure why you need to pack / unpack. Couldn't we just do a separate file for each matrix in obj.cell? |
So if I understand correctly, you want to
This approach should work for MDD objects, but I would definitely advise against using it on the time dimension, since any cell array of that dimensionality is going to be uber slow. |
The full unpacking is needed for importing to other languages, especially web interfaces like d3js. Time should be columns, not rows, to avoid excess memory size. An alternative following your idea would be to put the contents of each cell in files if they are matrices, and instead put the filename in the text output. |
Allow for export to txt/csv tables, which will require unpacking of dims, in
export2csv
method. This is useful for using with d3js or other web frameworks. also has universal import support for other languages.extends #40
The text was updated successfully, but these errors were encountered: