yt_astro_analysis.halo_analysis.halo_catalog.halo_filters.quantity_value

yt_astro_analysis.halo_analysis.halo_catalog.halo_filters.quantity_value(halo, field, operator, value, units)

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.