You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to rebin some EIS spectral data with propagate_uncertainties=True. I think because the error array is UnknownUncertainty with intensity measurement, it gave the following warning:
"UserWarning: self.uncertainty is of type UnknownUncertainty which does not support uncertainty propagation."
I got away by propagating the rebinned error myself and setting it externally. Would be great to allow custom operation on the uncertainty within NDCube rebin.
Proposed solution
Add custom operation on the uncertainty within NDCube rebin
The text was updated successfully, but these errors were encountered:
If neither of those work, you could implement your own uncertainty class, I think a subclass of NDUncertainty with a custom propagate_<operation> method should do it?
Describe the feature
I was trying to rebin some EIS spectral data with propagate_uncertainties=True. I think because the error array is UnknownUncertainty with intensity measurement, it gave the following warning:
"UserWarning: self.uncertainty is of type UnknownUncertainty which does not support uncertainty propagation."
I got away by propagating the rebinned error myself and setting it externally. Would be great to allow custom operation on the uncertainty within NDCube rebin.
Proposed solution
Add custom operation on the uncertainty within NDCube rebin
The text was updated successfully, but these errors were encountered: