A string with identical syntax to the standard interactive XSPEC error command.
“[[stopat ] [maximum ] [] […]]“
where ::=[:] -
See the XSPEC manual for a more detailed description.
respPar: Optional flag. Set this to True if the parameters
are response parameters. [bool]
The results of the error command are stored in the error attributes of the individual Parameter objects.
Examples:
# Estimate the 90% confidence ranges for parameters 1-3Fit.error("1-3")# Repeat but with delta fit statistic = 9.0, equivalent to the# 3 sigma range.Fit.error("9.0")# Estimate for parameter 3 after setting the number of trials to 20.# Note that the tolerance field has to be included (or skipped over).Fit.error("stop 20,,3")# Perform an error calculation on response parameter 1Fit.error("1",True)