act.qc.get_waveform_statistics#

act.qc.get_waveform_statistics(ds, config_file, parallel=False, num_records=None)[source]#

Generates waveform statistics for each particle in the dataset This will do the fitting for channel 0 only.

Parameters:
  • ds (xarray.Dataset) – Raw SP2 binary dataset

  • config_file (ConfigParser object) – The configuration INI file path.

  • parallel (bool) – If true, use dask to enable parallelism

  • num_records (int or None) – Only process first num_records datapoints. Set to None to process all records.

Returns:

wave_ds (xarray.Dataset) – Dataset with gaussian fits