|
|
Return information regarding the projection method.
get_proj();
get_proj_results();
get_proj_opt( [name] );
get_proj
The get_proj command returns the current projection estimation
method object.The function accepts no arguments. The returned
information includes:
- sigma - to get 1, 2, or 3-sigma limits
- eps - precision of resulting limits
- maxiters- maximum number of tries to bracket desired limits, before returning
- remin - if during search, a new
fit statistic is found that is smaller than original best fit,
the difference between new and original statistics must be
greater than this value
get_proj_results
The get_proj_results command accesses results from the last
time projection was run. The function accepts no
arguments. The results include the following attributes:
- datasets - Data sets in fit
- methodname - Estimation method name
- fitname - Fitting method name
- statname - Statistic name
- sigma - Change in statistic
- parnames - Model parameter names
- parvals - Model parameter fit values
- parmins - Model parameter minimum values
- parmaxes - Model parameter maximum values
- warnings - Warning messages
get_proj_opt
The get_proj_opt command returns a projection option by
name. If the name isn't specified, it returns a dictionary of
all options that govern how projection is run.
- eps - precision of resulting limits, default=0.01
- fast - the method is automatically switched to a faster option to reduce the time per fit, default=True
- max_rstat - maximum possible value of the reduced statistic, default=3
- maxfits - maximum number of tries to fit the parameter space, default=5
- maxiters- maximum number of tries to bracket desired limits, before returning, default=200
- remin - if during search, a new
fit statistic is found that is smaller than original best fit,
the difference between new and original statistics must be
greater than this value, default=0.01
- sigma - to get 1, 2, or 3-sigma limits, default=0.01
- soft_limits - a switch which allows the search to go all
the way out to the hard parameter limits; if switched on, the
search will be restricted to occur within the soft limits,
which can be changed by the user, default=False
- tol - tolerance for the fit, default=0.20000000000000001
Return a variable listing of all settings that govern how
the projection method calculates confidence limits.
Sample output is
name = projection
max_rstat = 3
maxiters = 200
soft_limits = False
eps = 0.01
fast = True
maxfits = 5
remin = 0.01
tol = 0.2
sigma = 1
sherpa> get_proj_results();
Return a variable listing of all results from the last
time projection was run.
sherpa> get_proj_opt("sigma");
1
Return the value of the sigma option, which is "1" in this
example.
- sl.sherpa
-
covariance,
get_analysis,
get_areascal,
get_arf,
get_arf_plot,
get_axes,
get_backscal,
get_bkg,
get_bkg_plot,
get_chisqr_plot,
get_coord,
get_counts,
get_covar,
get_data,
get_data_plot,
get_default_id,
get_delchi_plot,
get_dep,
get_dims,
get_error,
get_exposure,
get_filter,
get_fit,
get_indep,
get_int_proj,
get_int_unc,
get_method,
get_model,
get_model_plot,
get_num_par,
get_order_plot,
get_par,
get_pileup_model,
get_psf,
get_rate,
get_ratio,
get_reg_proj,
get_reg_unc,
get_resid,
get_rmf,
get_source,
get_specresp,
get_split_plot,
get_stat,
get_staterror,
get_syserror,
image_getregion,
image_source,
int_proj,
int_unc,
list_stats,
projection,
reg_proj,
reg_unc,
set_covar_opt,
set_proj_opt
- sl.sherpa_contrib
-
get_chart_spectrum,
get_instmap_weights
|