Deprecated. Use `add_derived_quantity` instead.

def add_modifier_on_derived_quantities(self, new_quantity, func, *quantities):
        """
        Deprecated. Use `add_derived_quantity` instead.
        """
        warnings.warn("Use `add_derived_quantity` instead.", DeprecationWarning)
        self.add_derived_quantity(new_quantity, func, *quantities)