yt.analysis_modules.halo_analysis.halo_filters.quantity_value

yt.analysis_modules.halo_analysis.halo_filters.quantity_value(halo, field, operator, value, units)[source]

Filter based on a value in the halo quantities dictionary.

Parameters:

halo : Halo object

The Halo object to be provided by the HaloCatalog.

field : string

The field used for the evaluation.

operator : string

The comparison operator to be used (“<”, “<=”, “==”, “>=”, “>”, etc.)

value : numneric

The value to be compared against.

units : string

Units of the value to be compared.