Set a pileup model to be used in fitting a dataset
set_pileup_model( [id], model] )
The set_pileup_model command establishes a pileup model to be
used in fitting the data. There is one pileup model available
in Sherpa: jdpileup
("ahelp jdpileup")
-
id - the id of the dataset; if not given, uses the default dataset id (id=1 by default, see "ahelp get_default_id")
-
model - the name of the pileup model
The pileup parameter values are reported with the source model
parameters after a fit:
jdp.alpha 0.5
jdp.f 1
intrin.nh 3.14395
power.phoindex 0.621892
power.norm 1348.33
sherpa> set_pileup_model(jdpileup.jdp)
An instance of the pileup model named "jdp" is established
for the default data set.
sherpa> set_pileup_model( 2, mypileup )
A previously-established pileup model called "mypileup" is
set for dataset 2.
- py.sherpa
-
add_user_pars,
calc_chisqr,
calc_energy_flux,
calc_model_sum,
calc_photon_flux,
calc_source_sum,
calc_stat,
clean,
contour_model,
contour_ratio,
contour_resid,
create_model_component,
delete_bkg_model,
delete_model,
delete_model_component,
delete_psf,
eqwidth,
get_bkg_plot,
get_model,
get_model_autoassign_func,
get_model_plot,
get_num_par,
get_order_plot,
get_par,
get_pileup_model,
get_ratio,
get_resid,
get_source,
image_model,
image_setregion,
image_source,
integrate,
link,
list_model_ids,
load_table_model,
load_user_model,
plot_model,
plot_source,
reset,
set_analysis,
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_model_autoassign_func,
set_par,
set_proj_opt,
set_rmf,
set_source,
set_stat,
set_staterror,
set_syserror
- py.sherpa_contrib
-
set_param_limits_from_image
|