For the upcoming major release 4.0 of the uncertainties package, the idea seems to be emphasised that:
"UFloat should closely resemble mathematical random variables".
(NB: UFloat will apparently replace Variable and AffineScalarFunc objects, even though the latter are going to be kept around.)
This will be accompanied by the removal of a number of instance methods and umath functions, see https://github.com/lmfit/uncertainties/blob/3.2.4/doc/index.rst#version-40-coming-soon or lmfit/uncertainties#295 for conceptual discussions.
One such instance which would affect PISA is taking the absolute value of a Map.
This is evidenced by pisa/pisa/core/map.py:1800: FutureWarning: AffineScalarFunc.__abs__() is deprecated. It will be removed in a future release. 'hist': np.abs(self.hist), which is emitted by uncertainties 3.2.3.
For the upcoming major release 4.0 of the uncertainties package, the idea seems to be emphasised that:
"
UFloatshould closely resemble mathematical random variables".(NB:
UFloatwill apparently replaceVariableandAffineScalarFuncobjects, even though the latter are going to be kept around.)This will be accompanied by the removal of a number of instance methods and umath functions, see https://github.com/lmfit/uncertainties/blob/3.2.4/doc/index.rst#version-40-coming-soon or lmfit/uncertainties#295 for conceptual discussions.
One such instance which would affect PISA is taking the absolute value of a
Map.This is evidenced by
pisa/pisa/core/map.py:1800: FutureWarning: AffineScalarFunc.__abs__() is deprecated. It will be removed in a future release. 'hist': np.abs(self.hist), which is emitted by uncertainties 3.2.3.