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, fit_background=False, quantification=None, num_layers=1)[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)fit_background (
bool)quantification (
Optional[str])num_layers (
int)
- Return type:
Tuple[ndarray,PyMcaXrfConfiguration]