est.tests.data.example_spectra#
- est.tests.data.example_spectra(spectrum: Tuple | str = 'exafs/EXAFS_Ge.dat', shape: Tuple[int] = (0, 1, 1), noise: bool = False) Tuple[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes], _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]] [source]#
Replicate a single spectrum to a nD dataset with optional noise addition.