diff --git a/nifty5/field.py b/nifty5/field.py index 85b5d9742c27cee36094b6f05ec5a1f8347f5343..ed2aff99d9d815fcfb44471d5b6322cea09ba8bb 100644 --- a/nifty5/field.py +++ b/nifty5/field.py @@ -234,6 +234,8 @@ class Field(object): def scalar_weight(self, spaces=None): """Returns the uniform volume element for a sub-domain of `self`. + DEPRECATED! Use `self.domain.scalar_weight` instead. + Parameters ---------- spaces : int, tuple of int or None @@ -251,6 +253,8 @@ class Field(object): def total_volume(self, spaces=None): """Returns the total volume of the field's domain or of a subspace of it. + DEPRECATED! Use `self.domain.total_volume` instead. + Parameters ---------- spaces : int, tuple of int or None