Module functions for setting source and background exposure times.
Integer_Type set_exptime([Integer_Type],Float_Type)
Integer_Type set_bexptime([Integer_Type],Float_Type)
Success/Error Return Values: 1/0
Arguments:
(1) Dataset number (default 1)
(2) Exposure time
The specified exposure time replaces the current value of the exposure
time within Sherpa, which may have been set
when the dataset was loaded from the value of
the EXPTIME header keyword of a PHA file.
See the related Sherpa commands
SETDATA and
SETBACK for more information.
Set the exposure time of the background dataset of dataset 4 to 30 ks:
sherpa> get_bexptime(4)
108676
sherpa> () = set_bexptime(4,30000.0)
sherpa> get_bexptime(4)
30000
- chandra
-
guide
- sherpa
-
autoest,
back,
berrors,
bsyserrors,
coord,
data,
dataspace,
fakeit,
feffile,
group,
guess,
is_subtracted,
load,
load_arf,
load_ascii,
load_back_from,
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_subtract,
set_weights,
setback,
setdata,
subtract,
ungroup,
unsubtract,
use
|