pdf
- BMCI.pdf(y_obs, x2_max=- 1, n_points=21)[source]
A posteriori probability density function (PDF).
This function approximates the a posteriori PDF \(p(x | \mathbf{y})\). The PDF is just a weighted histogram of the retrieval values \(x\) in the databse that are below the \(X^2\) cutoff weighted by the corresponding weight \(w_i(\mathbf{y})\).
- Parameters
- Returns
A tuple (xs, ys) describing the estimated PSD.
- Raises
ValueError – If the number of channels in the observations is different from the database.