nbodykit.algorithms.pair_counters.base

Functions

verify_input_sources(first, second, BoxSize, ...)

Verify that the input source objects have all of the required columns and appropriate box size attributes.

Classes

PairCountBase(mode, edges, first, second, ...)

An abstract base class for pair counting algorithms.

class nbodykit.algorithms.pair_counters.base.PairCountBase(mode, edges, first, second, Nmu, pimax, weight, show_progress=False)[source]

An abstract base class for pair counting algorithms.

Users should use one of the subclasses of this class.

Methods

load(output[, comm])

Load a result has been saved to disk with save().

save(output)

Save result as a JSON file with name output

classmethod load(output, comm=None)[source]

Load a result has been saved to disk with save().

save(output)[source]

Save result as a JSON file with name output

nbodykit.algorithms.pair_counters.base.verify_input_sources(first, second, BoxSize, required_columns, inspect_boxsize=True)[source]

Verify that the input source objects have all of the required columns and appropriate box size attributes.