marked_npairs_3d_engine¶

halotools.mock_observables.pair_counters.marked_cpairs.
marked_npairs_3d_engine
()¶ Cython engine for counting pairs of points as a function of threedimensional separation.
Parameters: double_mesh : object
Instance of
RectangularDoubleMesh
x1in, y1in, z1in : arrays
Numpy arrays storing Cartesian coordinates of points in sample 1
x2in, y2in, z2in : arrays
Numpy arrays storing Cartesian coordinates of points in sample 2
weights1in : array
Numpy array storing the weights for points in sample 1
weights2in : array
Numpy array storing the weights for points in sample 2
weight_func_id : int, optional
weighting function integer ID.
rbins : array
Boundaries defining the bins in which pairs are counted.
cell1_tuple : tuple
Twoelement tuple defining the first and last cells in double_mesh.mesh1 that will be looped over. Intended for use with python multiprocessing.
Returns: counts : array
Integer array of length len(rbins) giving the number of pairs separated by a distance less than the corresponding entry of
rbins
.