yt_astro_analysis.halo_analysis.halo_catalog.halo_filters.not_subhalo

yt_astro_analysis.halo_analysis.halo_catalog.halo_filters.not_subhalo(halo, field_type='halos')

Only return true if this halo is not a subhalo.

This is used for halo finders such as Rockstar that output parent and subhalos together.