pangeo_fish.pdf.normal

Contents

pangeo_fish.pdf.normal#

pangeo_fish.pdf.normal(samples, mean, std, *, dims)#

Compute the combined pdf of independent layers

Parameters:
  • samples (xarray.DataArray, Variable, or array-like) – The samples to compute the pdf from

  • mean (float) – The mean of the distribution

  • std (float) – The standard deviation of the distribution

  • dims (list of hashable) – The dimension to compute the pdf along

Returns:

pdf (xarray.DataArray) – The computed pdf