nanotune.model.noise
- nanotune.model.noise.load_noise(noise_types: List[str], number_of_samples: int, files: Optional[Dict[str, str]] = None, folder: Optional[str] = None) Dict[str, ndarray[Any, dtype[float64]]] [source]
Note: complex numbers are cast into floats here, might need to fix this of frequencies do not give desired result
- nanotune.model.noise.add_noise(original_data: ndarray[Any, dtype[float64]], noise_types: List[str], max_strength: List[float], n_samples: Optional[int] = None, in_current: bool = True, min_strength: Optional[List[float]] = None) Tuple[ndarray[Any, dtype[float64]], ndarray[Any, dtype[float64]]] [source]