ewoksfluo.tests.utils.generate.generate_data#

ewoksfluo.tests.utils.generate.generate_data(npoints_per_scan, energy, tmp_path=None, samefile=True, nscans=1, ndetectors=1, points_with_negative_peaks=(), quantification=None, num_layers=1)[source]#
Parameters:
  • npoints_per_scan (int)

  • energy (float)

  • tmp_path (Optional[Path])

  • samefile (bool)

  • nscans (int)

  • ndetectors (int)

  • points_with_negative_peaks (Tuple[int, ...])

  • quantification (Optional[str])

  • num_layers (int)

Return type:

Tuple[List[List[str]], ndarray, Dict[str, ndarray], PyMcaXrfConfiguration]