Last modified: December 2013

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


AHELP for CIAO 4.11 Sherpa v1

set_rmf

Context: data

Synopsis

Set an RMF dataset

Syntax

set_rmf( [id], rmf, [resp_id=1, bkg_id=None] )

Description

The set_rmf command assigns an RMF to a dataset.


Examples

Example 1

sherpa> rmf1 = unpack_rmf("rmf.fits")
sherpa> set_rmf("src", rmf1)

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

Example 2

sherpa> set_rmf( 2, myrmf, resp_id=3)

Set the data in "myrmf" as the third RMF 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_bkg, get_rmf, load_bkg_rmf, load_multi_rmfs, load_rmf, set_areascal, set_arf, set_backscal, set_bkg, set_coord, set_counts, set_data, set_exposure, set_grouping, set_quality, set_staterror, set_syserror, unpack_rmf
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
statistics
set_prior, set_sampler, set_sampler_opt, set_stat
utilities
set_analysis, set_default_id
visualization
image_setregion