calc_total_error
- sherpa.utils.calc_total_error(staterror=None, syserror=None)[source] [edit on github]
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
staterrorandsyserrorareNonethen the return value isNone.- Return type:
array or
None