Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
a13e2af
working with new cosmo object
andreufont Mar 9, 2026
75284b8
Merge branch 'main' into new_cosmo
andreufont Mar 9, 2026
5fae23e
solving conflicts in merge
andreufont Mar 9, 2026
eac70a8
removed old cosmo files
andreufont Mar 10, 2026
d9e7d2f
removed camb_cosmo from fitter
andreufont Mar 10, 2026
9fc0e0a
added new theory structure, notebook to plot metal and HCD contaminants
andreufont Mar 16, 2026
37a2f56
added sky residuals
andreufont Mar 16, 2026
922f66f
added continuum distortion
andreufont Mar 16, 2026
3cb9251
minor change
andreufont Mar 23, 2026
696554d
more reasonable defaults for DNL
andreufont Mar 24, 2026
0fd69cb
added new likelihood theory
andreufont Mar 24, 2026
e385d44
minor changes to likelihood
andreufont Mar 26, 2026
2200ebf
theory objects is now single redshift
andreufont Mar 26, 2026
2591f79
renamed test notebooks
andreufont Mar 26, 2026
1a5d84a
small change in likelihood
andreufont Mar 26, 2026
704c61e
temporary broken to avoid conflicts
andreufont Mar 26, 2026
e85149a
Merge branch 'main' into new_theory
andreufont Mar 26, 2026
ed91aee
working again
andreufont Mar 26, 2026
fbe8cd4
fix example_user notebook
andreufont Mar 27, 2026
643f5e4
added comment
andreufont Mar 27, 2026
42ecef1
minimizer working with new likelihood class
andreufont Mar 27, 2026
d59577b
use default Lya params from P1D
andreufont Apr 8, 2026
725cb83
added first notebook fitting data
andreufont Apr 8, 2026
a3c1426
enable plotting functions
andreufont Apr 9, 2026
a35113b
updated notebooks
andreufont Apr 9, 2026
7108f99
more fun fitting data
andreufont Apr 9, 2026
d8d7767
contaminants can be specified in config
andreufont Apr 9, 2026
859dde3
updated notebooks
andreufont Apr 9, 2026
e66da32
renamed directory and added some data fitter files
marlena6 Apr 9, 2026
d12046d
move moving
marlena6 Apr 9, 2026
1f86f6a
updated mock validation notebook, added minimizer file reading exampl…
marlena6 Apr 10, 2026
c42c337
small fixes for the notebooks to run
andreufont Apr 10, 2026
e1acb12
renamed old modules with old_ prefix, and updated notebooks under exa…
andreufont Apr 10, 2026
c961ffc
renamed new modules, removing new_ prefix
andreufont Apr 10, 2026
b4586a9
updated notebooks
andreufont Apr 13, 2026
904edcd
changed the default igm params and updated krange
marlena6 Apr 13, 2026
24ec4c9
more on contaminations for data
andreufont Apr 13, 2026
836df30
trying to fit HCDs from data
andreufont Apr 13, 2026
b9ca1f3
added notebook showing the impact of averaging over theta bin
andreufont Apr 13, 2026
3125adc
added gadget defaults and updated forecasting. Forecasting now takes …
marlena6 Apr 14, 2026
d700f7f
updated the notebook for profiling
andreufont Apr 15, 2026
113e862
minor forecast updates
marlena6 Apr 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ __pycache__/
cupix.egg-info
*.pdf
data/chi2_scans/*
*.npz
*.npz
data/fitter_results/*
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ cd cupix
pip install -e .
```

#### Additional packages:
- If you want to profile the code, please install the line_profiler tool:
```
conda install line_profiler
```

#### NERSC users:

- You need to compile ``mpi4py`` package on NERSC (see [here](https://docs.nersc.gov/development/languages/python/parallel-python/#mpi4py-in-your-custom-conda-environment)).
Expand Down
132 changes: 0 additions & 132 deletions cupix/likelihood/CAMB_model.py

This file was deleted.

164 changes: 0 additions & 164 deletions cupix/likelihood/cosmologies.py

This file was deleted.

1 change: 0 additions & 1 deletion cupix/likelihood/fitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

# our own modules
import cupix, lace
from lace.cosmo import camb_cosmo
from cupix.utils.utils import create_print_function, purge_chains


Expand Down
4 changes: 1 addition & 3 deletions cupix/likelihood/forestflow_emu.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class FF_emulator():
def __init__(
self,
z,
cosmo_param_dict,
Nrealizations=3000
):

Expand All @@ -27,7 +26,6 @@ def __init__(
"kF_Mpc"
]
self.z = z
self.cosmo_param_dict = cosmo_param_dict
self.emulator_label = "forestflow_emu"
# self.kp_Mpc = kp_Mpc
# self.kmax_Mpc = 5 # from Forestflow paper plots, could revisit
Expand Down Expand Up @@ -103,4 +101,4 @@ def emulate_P3D_params(self, emu_call, zs):
arinyo_coeffs[key] = emu_call[key]

return arinyo_coeffs


Loading