Module function to load background from a PHA file into Sherpa
Integer_Type load_back_from([Integer_Type], {String_Type | Struct_Type})
Success/Error Return Values: 1/0
Arguments:
(1) Data set number (default 1)
(2) PHA filename, or
(2) S-Lang variable output by readpha()
The function load_back_from() loads the contents of a
background PHA file into Sherpa. The file name of the
background file is determined from the header keywords of the input
(source) PHA file or S-Lang variable.
See the related Sherpa command
READ
for more information.
sherpa> () = load_back_from(,"example.pha")
sherpa> () = load_back_from(1,"example.pha")
These two commands will load the background data from the file
background file listed in the header of example.pha.
sherpa> foo = readpha("example.pha")
sherpa> () = load_back_from(1,foo)
The name of the background file is one of the fields of the ``foo''
variable. The background data, and only the background data, is
then loaded with the load_back_from function.
- chandra
-
guide
- sherpa
-
autoest,
back,
berrors,
bsyserrors,
coord,
data,
dataspace,
fakeit,
feffile,
group,
guess,
is_subtracted,
load,
load_arf,
load_ascii,
load_backset,
load_dataset,
load_fitsbin,
load_image,
load_inst,
load_inst_from,
load_pha,
load_pha2,
load_rmf,
read,
set_analysis,
set_axes,
set_backscale,
set_coord,
set_data,
set_exptime,
set_subtract,
set_weights,
setback,
setdata,
subtract,
ungroup,
unsubtract,
use
|