ddm.data_handling.exporting.export_data#

ddm.data_handling.exporting.export_data(pathname: str, data: ndarray, taus: ndarray, img_pathname: str) DataArray[source]#

Convert data to xr.dataArray and store as netcdf and csv

Parameters:
  • pathname (str) – export folder

  • data (np.ndarray) – ddmMatrix

  • taus (np.ndarray) – array of lag times

  • img_pathname (str) – pathname of microscopy source data

  • export_type (str, optional) – export protocol, defaults to netcdf.

Returns:

data as xarray dataArray

Return type:

xr.dataArray