calc_total_error¶
-
sherpa.utils.
calc_total_error
(staterror=None, syserror=None)[source]¶ Add statistical and systematic errors in quadrature.
Parameters: - staterror (array, optional) – The statistical error, or
None
. - syserror (array, optional) – The systematic error, or
None
.
Returns: error – The errors, added in quadrature. If both
staterror
andsyserror
areNone
then the return value isNone
.Return type: array or
None
- staterror (array, optional) – The statistical error, or