load_test_dataset¶
- autoeis.io.load_test_dataset(preprocess: bool = False, noise: float = 0) tuple[ndarray[float], ndarray[complex]] ¶
Returns a test dataset as a tuple of frequency and impedance arrays.
- Parameters:
preprocess (bool, optional) – If True, the impedance data is preprocessed using
autoeis.core.preprocess_impedance_data()
. Default is False.noise (float, optional) – If greater than zero, uniform noise with prescribed amplitude is added to the impedance data. Default is 0.
- Returns:
Tuple of frequency and impedance data.
- Return type:
tuple[np.ndarray[float], np.ndarray[complex]]