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