Set the units for spectral analysis
set_analysis([id]; quantity, [type,] [factor]);
The set_analysis command sets the units for spectral analysis.
-
id - the id of the dataset to use; default is to change the analysis setting for all datasets
-
quantity - the analysis setting: channel (or "chan" or "bin"), energy (or "ener"), wavelength (or "wave")
-
type - unit type for the y-axis of a plot: rate (the default) or counts
-
factor - integer factor for multiplying the amplitudes in each bin (the independent axis is multiplied to the dependent axis); default=0
sherpa> set_analysis("wave");
Set the analysis quantity to wavelength for all datasets.
sherpa> set_analysis(2, "chan");
Set the analysis quantity to channel for a dataset id=2.
sherpa> set_analysis(1, "ener", "counts", 2);
Set the plot units for dataset id=1 to keV (x-axis) and counts*keV^2 (y-axis).
- sl.sherpa
-
get_par,
image_setregion,
set_areascal,
set_arf,
set_backscal,
set_bkg,
set_bkg_model,
set_coord,
set_counts,
set_covar_opt,
set_data,
set_default_id,
set_exposure,
set_grouping,
set_method,
set_method_opt,
set_model,
set_par,
set_pileup_model,
set_proj_opt,
set_rmf,
set_source,
set_stat,
set_staterror,
set_syserror
- sl.sherpa_contrib
-
set_param_limits_from_image
|