HERA-Team / pspec_likelihood

Code that interfaces between power spectrum measurements (their likelihoods) and theoretical models
Other
2 stars 2 forks source link

Generic functions for comparing uvpspec measurements (with window functions, covariances) to theoretical models #1

Open aewallwi opened 4 years ago

aewallwi commented 4 years ago

pspecmodel is intended to serve as an interface between data measurements stored in uvpspec objects (and assumptions about their likelihoods) and theoretical models.

To start, we should decide what sorts of information a pspecmodel class stores. We know for sure that we want some kind of function that, takes in the window-functions, delays, and covariance matrices of a uvpspec object and combines these with a modeling function that takes in theoretical and nuisance parameters, their priors, and a theoretical model that computes the theoretical model at the k-values in the data, applies the data window function matrix to the theoretical power spectrum values, and computes a likelihood of the measurement given the window functions, data covariance, and theoretical / nuisance params.

aewallwi commented 4 years ago

continuous theory -> discrete bandpowers -> (apply window functions) -> "data-domain" bandpowers -> (apply-systematics?) -> this goes into the chi-squared sum.