SPT-3G Data ProductsSPT-3G 2-year delensed EE + optimal ϕϕ analysis for Bandpowers & LikelihoodDownload Links:
The description text below is copied from the README.md file contained in the provided .zip repository. For questions about this analysis, please contact Fei Ge (fge@ucdavis.edu). This repository contains the bandpowers and systematics likelihood for the SPT-3G 2-year delensed EE + optimal ϕϕ analysis from [Ge et al. 2024](). The likelihood is provided in both Python or Julia. The Python package provides a Cobaya likelihood plugin.

## Python
**Install:**
```shell
pip install .
# or if you need likelihood gradients:
pip install .[jax]
```
Note that the `pip` version requires `>=24.0`.
**Usage:**
```python
import muse3glike, jax # (jax optional, only for gradients)
spt = muse3glike.spt3g_2yr_delensed_ee_optimal_pp_muse()
x = spt.example_inputs()
spt.loglike(x) # likelihood
jax.grad(spt.loglike)(x) # likelihood gradients
# plotting bandpowers
errorbar(
spt.BPWF["ϕϕ"] @ spt.BPWF["ℓ"],
spt.d[spt.axis["ϕϕ"]],
yerr = sqrt(diag(spt.Σ))[spt.axis["ϕϕ"]]
)
```
**With Cobaya:**
Install `muse3glike` as above, then in your Cobaya yaml:
```yaml
likelihood:
muse3glike.cobaya.spt3g_2yr_delensed_ee_optimal_pp_muse: null
```
If you want to use just ϕϕ or EE you can specify the components:
```yaml
likelihood:
muse3glike.cobaya.spt3g_2yr_delensed_ee_optimal_pp_muse:
components: ["ϕϕ"] # or ["EE"]
```
Currently you can't explicitly sample the systematics parameters in Cobaya, i.e. you can't do
## Notes
|