Last modified: December 2013

URL: http://cxc.harvard.edu/sherpa/ahelp/set_arf.html
Jump to: Description · Examples · Bugs · See Also


AHELP for CIAO 4.11 Sherpa v1

set_arf

Context: data

Synopsis

Set an ARF dataset

Syntax

set_arf( [id], arf, [resp_id=1, bkg_id=None] )

Description

The set_arf command assigns an ARF to a dataset.


Examples

Example 1

sherpa> arf1 = unpack_arf("arf.fits")
sherpa> set_arf("src", arf1)

Create a Sherpa dataset called "arf1" from the file arf.fits. It is then assigned as the first response for the dataset "src".

Example 2

sherpa> set_arf( 2, myarf, resp_id=3)

Set the data in "myarf" as the third ARF of dataset 2.


Bugs

See the bugs pages on the Sherpa website for an up-to-date listing of known bugs.

See Also

confidence
set_conf_opt, set_covar_opt, set_proj_opt
data
get_arf, get_bkg, load_arf, load_bkg_arf, load_multi_arfs, set_areascal, set_backscal, set_bkg, set_coord, set_counts, set_data, set_exposure, set_grouping, set_quality, set_rmf, set_staterror, set_syserror, unpack_arf
filtering
set_filter
info
list_response_ids
methods
set_iter_method, set_iter_method_opt, set_method, set_method_opt
modeling
get_par, get_response, set_bkg_model, set_full_model, set_par, set_pileup_model, set_source, set_xsabund, set_xscosmo, set_xsxsect, set_xsxset
plotting
plot_arf
statistics
set_prior, set_sampler, set_sampler_opt, set_stat
utilities
set_analysis, set_default_id
visualization
image_setregion