Configure COVARIANCE in Sherpa.
The Sherpa configuration variable (also called "state
object") sherpa.cov contains settings of
COVARIANCE for calculating confidence intervals in
Sherpa. See ahelp COVARIANCE for more
details.
The structure field is:
sigma |
Specifies the number of sigma
(i.e., the change in statistic).
|
To restore the default settings of sherpa.cov
at any time, use the Sherpa/S-Lang module function
restore_cov.
sherpa> sherpa.cov.sigma = 2.6
This command sets confidence intervals calculated
with COVARIANCE to 2.6 sigma.
sherpa> sherpa.cov.sigma=1.6
sherpa> list_cov
sigma |
1.6 |
1 |
Number of sigma |
The first command sets confidence intervals calculated with COVARIANCE to 1.6 sigma. The second command lists the current and default setting of sherpa.cov field to the screen as shown in the table.
sherpa> variable sc = sherpa.cov
sherpa> sc.sigma = 2
The example shows how to create aliases for sherpa.cov
in the first command and how to use the alias in the second command.
|