marked_npairs_xy_z_engine

halotools.mock_observables.pair_counters.marked_cpairs.marked_npairs_xy_z_engine(double_mesh, x1in, y1in, z1in, x2in, y2in, z2in, weights1in, weights2in, weight_func_idin, rp_bins, pi_bins, cell1_tuple)

Cython engine for counting pairs of points as a function of three-dimensional separation.

Parameters:
double_meshobject

Instance of RectangularDoubleMesh

x1in, y1in, z1inarrays

Numpy arrays storing Cartesian coordinates of points in sample 1

x2in, y2in, z2inarrays

Numpy arrays storing Cartesian coordinates of points in sample 2

weight_func_idint, optional

weighting function integer ID.

weights1inarray
weights2inarray
rp_binsarray_like

numpy array of boundaries defining the bins of separation in the xy-plane \(r_{\rm p}\) in which pairs are counted.

pi_binsnumpy.array

array defining parallel separation in which to sum the pair counts

cell1_tupletuple

Two-element tuple defining the first and last cells in double_mesh.mesh1 that will be looped over. Intended for use with python multiprocessing.

Returns:
countsarray

Integer array of length len(rp_bins) giving the number of pairs separated by a distance less than the corresponding entry of rp_bins.