pyarts3.arts.random.fisher_f_distribution
- random.fisher_f_distribution(N: int = 1, d1: float = 1.0, d2: float = 1.0) pyarts3.arts.Vector
Generate random numbers following a Fisher F distribution
Wraps std::fisher_f_distribution from the C++ standard library.
import matplotlib.pyplot as plt import pyarts3 as pa import numpy as np plt.hist(np.log(pa.arts.random.fisher_f_distribution(10000, 1.0, 1.0)), bins=50, density=True) plt.title("A plotting example") plt.xlabel("Log of Value") plt.ylabel("Density") plt.yscale("log")
(
Source code,svg,pdf)