marked_npairs_3d_engine

halotools.mock_observables.pair_counters.marked_cpairs.marked_npairs_3d_engine(double_mesh, x1in, y1in, z1in, x2in, y2in, z2in, weights1in, weights2in, weight_func_idin, rbins, 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

weights1inarray

Numpy array storing the weights for points in sample 1

weights2inarray

Numpy array storing the weights for points in sample 2

weight_func_idint, optional

weighting function integer ID.

rbinsarray

Boundaries defining the bins in which pairs are counted.

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(rbins) giving the number of pairs separated by a distance less than the corresponding entry of rbins.