Update params

This commit is contained in:
rstiskalek 2024-07-03 09:50:33 +01:00
parent cec54ec629
commit 9b8fc5c573

View file

@ -180,7 +180,7 @@ def get_bulkflow_simulation(simname, convert_to_galactic=True):
def get_bulkflow(simname, catalogue, ksmooth=0, nsim=None, sample_beta=True, def get_bulkflow(simname, catalogue, ksmooth=0, nsim=None, sample_beta=True,
convert_to_galactic=True, weight_simulations=True, convert_to_galactic=True, weight_simulations=True,
downsample=10): downsample=1, Rmax=125):
# Read in the bulk flow # Read in the bulk flow
f = np.load(f"/mnt/extraspace/rstiskalek/csiborg_postprocessing/field_shells/enclosed_mass_{simname}.npz") # noqa f = np.load(f"/mnt/extraspace/rstiskalek/csiborg_postprocessing/field_shells/enclosed_mass_{simname}.npz") # noqa
r = f["distances"] r = f["distances"]
@ -188,7 +188,7 @@ def get_bulkflow(simname, catalogue, ksmooth=0, nsim=None, sample_beta=True,
Bx, By, Bz = (f["cumulative_velocity"][..., i] for i in range(3)) Bx, By, Bz = (f["cumulative_velocity"][..., i] for i in range(3))
# Mask out the unconstrained large scales # Mask out the unconstrained large scales
Rmax = 125 # Mpc/h Rmax = Rmax # Mpc/h
mask = r < Rmax mask = r < Rmax
r = r[mask] r = r[mask]
Bx = Bx[:, mask] Bx = Bx[:, mask]