apply_noise# snake.core.handlers.noise.apply_noise(phantom, data, idx, variance)[source]# Apply noise to the phantom at time idx. Parameters: phantom (Phantom) data (ndarray[Any, dtype[_ScalarType_co]]) idx (int) variance (float) Return type: Phantom