This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%matplotlib inline | |
import matplotlib | |
from matplotlib import pyplot as plt | |
import numpy as np | |
import camb | |
import pyccl as ccl | |
from pyccl import ccllib as lib | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% imports | |
from Corrfunc.io import read_catalog | |
from Corrfunc.mocks.DDrppi_mocks import DDrppi_mocks | |
from Corrfunc.utils import convert_3d_counts_to_cf, convert_rp_pi_counts_to_wp | |
import numpy as np | |
import matplotlib.pyplot as plt | |
#%% function | |
def calc_xi_and_wp(nd1: int, nd2: int, | |
nr1: int, nr2: int, |