Matching of observations (#127)

* Rename file

* Add indents

* Update imports

* Add counting

* Docs

* Add nb

* Rename nb

* Update nb

* Add PV processing

* Update nb

* Add Pantheon+groups

* Update submission scripts

* Add Pantheon+zSN

* Update nb

* Edit param

* Matchin SFI

* Update nb

* Fix path bug

* Add list of clusters

* Update imports

* Update imports

* Add cartesian & mass of clusters

* Add observation to halo matching

* Add nb

* Add inverse CDF

* Add import

* Update nb

* Add comments
This commit is contained in:
Richard Stiskalek 2024-04-23 12:02:09 +01:00 committed by GitHub
parent 3876985f26
commit c4557cf35b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 1727 additions and 714 deletions

View file

@ -61,7 +61,7 @@ def get_los(catalogue_name, simname, comm):
if catalogue_name in ["LOSS", "Foundation", "SFI_gals",
"SFI_gals_masked", "SFI_groups", "2MTF",
"Pantheon+"]:
fpath = join(folder, "PV_compilation_Supranta2019.hdf5")
fpath = join(folder, "PV_compilation.hdf5")
with File(fpath, 'r') as f:
grp = f[catalogue_name]
RA = grp["RA"][:]
@ -286,7 +286,7 @@ if __name__ == "__main__":
rmax = 200
dr = 0.5
smooth_scales = [0, 2]
smooth_scales = [0, 2, 4]
comm = MPI.COMM_WORLD
paths = csiborgtools.read.Paths(**csiborgtools.paths_glamdring)

View file

@ -52,8 +52,10 @@ def get_model(args, nsim_iterator, get_model_kwargs):
if args.catalogue == "A2":
fpath = join(folder, "A2.h5")
elif args.catalogue in ["LOSS", "Foundation", "Pantheon+", "SFI_gals",
"2MTF", "SFI_groups", "SFI_gals_masked"]:
fpath = join(folder, "PV_compilation_Supranta2019.hdf5")
"2MTF", "SFI_groups", "SFI_gals_masked",
"Pantheon+_groups", "Pantheon+_groups_zSN",
"Pantheon+_zSN"]:
fpath = join(folder, "PV_compilation.hdf5")
elif "CB2_" in args.catalogue:
kind = args.catalogue.split("_")[-1]
fpath = join(folder, f"PV_mock_CB2_17417_{kind}.hdf5")

View file

@ -7,8 +7,8 @@ queue="berg"
env="/mnt/users/rstiskalek/csiborgtools/venv_csiborg/bin/python"
file="flow_validation.py"
catalogue="CB2_small"
simname="csiborg2_main"
catalogue="Pantheon+_groups"
simname="csiborg2_varysmall"
pythoncm="$env $file --catalogue $catalogue --simname $simname --ksmooth $ksmooth"