velociraptor.tools.labels module¶
Tools for generating labels from catalogue datasets.
-
velociraptor.tools.labels.get_full_label(dataset: unyt.array.unyt_array)[source]¶ Get the full label for one of our VelociraptorCatalogue datasets. This will get the automatically generated name and concatenate it with the _current_ untis for that dataset.
-
velociraptor.tools.labels.get_mass_function_label_no_units(mass_function_sub_label: str)[source]¶ Gets a fancy mass-function label such as:
d$n(M_*)$/d$log_{10}M_*$ [Mpc$^{-3}$]
(this would be for an input of “*” and unyt.Mpc**3).