act.io.read_sp2_dat

act.io.read_sp2_dat(file_name, type)[source]

This reads the .dat files that generate the intermediate parameters used by the Igor processing. Wildcards are supported.

Parameters:
  • file_name (str) – The name of the file to save to. Use a wildcard to open multiple files at once.

  • type (str) –

    This parameter must be one of:

    ‘particle’: Load individual particle timeseries from .dat file ‘conc’: Load timeseries of concentrations.

Returns:

ds (xarray.Dataset) – The xarray dataset to store the parameters in.