ewoksfluo.tasks.example_data.xrf_spectra.xrf_spectra

ewoksfluo.tasks.example_data.xrf_spectra.xrf_spectra(linegroups, scattergroups, nchannels=1024, energy=7.5, angle_in=62.0, angle_out=49.0, flux=10000000000.0, elapsed_time=1.0)[source]

The returned spectra have the shape counts.shape + (nchannels,)

Parameters:
  • linegroups (Sequence[EmissionLineGroup]) –

  • scattergroups (Sequence[ScatterLineGroup]) –

  • nchannels (int) –

  • energy (float) –

  • angle_in (float) –

  • angle_out (float) –

  • flux (float) –

  • elapsed_time (float) –

Return type:

Tuple[ndarray, ConfigDict]