Open mwakok opened 2 years ago
I have added functionality to export the ddmMatrix both as netcdf (default for xarray) and csv. Saving it as an xarray (netcdf) allows for the easy addition of dq, dtau, data_file, timestamp. Storing as a csv, now contains tau and q.
This will also allow the iterative calculation of the lag times as long as they are monotonically increasing.
Example:
Changes have been merged with develop
. The functions can be found in ddm/data_handling/exporting.py
and it is used in the example notebook.