Skip to content

Gaussian

Import path: earth2studio.perturbation.Gaussian

View source on GitHub

Documentation

Standard Gaussian peturbation

Parameters:

  • noise_amplitude (float | Tensor, default: 0.05 ) –

    Noise amplitude, by default 0.05. If a tensor, this must be broadcastable with the input data.

  • seed (int | None, default: None ) –

    Seed for the internal generator, by default None.

__call__

__call__(x: DataArray) -> DataArray

Apply perturbation method

Parameters:

  • x (DataArray) –

    xarray DataArray intended to apply perturbation on

Returns:

  • DataArray –

    Perturbed DataArray with the coordinates of the input

Examples using earth2studio.perturbation.Gaussian