Module functions to retrieve predicted source and background model photon amplitudes.
Array_Type get_source([Integer])
Array_Type get_bg([Integer])
Array_Type get_full_source([Integer])
Array_Type get_full_bg([Integer])
Error Return Value: NULL
Arguments:
(1) data set number (default 1)
These functions evaluate the source or bg model in
photon space, and are thus analogous to
get_mcounts(), etc., which work in counts
space. What is returned is an
array of amplitudes for those photon-space bins which map to
the filtered data set.
(Adding full causes unfiltered amplitudes to be returned.)
One retrieves the dataspace for these amplitudes using the
functions get_photon_axes() et al.
Filtered source and background model amplitudes in photon-space
may be displayed, e.g., via the
Sherpa plotting commands
LPLOT SOURCE
and
LPLOT BG.
sherpa> data example.pha
sherpa> instrument = rsp[rr]("example.rmf", "example.arf")
sherpa> source = xspowlaw[pp]
sherpa> foo = get_source()
- chandra
-
guide
- sherpa
-
get_analysis,
get_arf_axes,
get_axes,
get_coord,
get_data,
get_energy_axes,
get_errors,
get_filter,
get_filter_expr,
get_fit,
get_fluxed_spectrum,
get_ftest,
get_metadata,
get_photon_axes,
get_photon_energy_axes,
get_photon_wave_axes,
get_qvalue,
get_raw_axes,
get_record,
get_statistic,
get_stats,
get_syserrors,
get_wave_axes,
get_weights,
record,
save,
write
|