Module function to retrieve the current analysis setting.
String_Type get_analysis([Integer_Type])
Error Return Value: NULL
Arguments:
(1) data set number (default 1)
The get_analysis() function retrieves a string indicating
the analysis setting for the specified dataset.
The possible return values are "bin" (equivalent to
ANALYSIS CHANNELS),
"keV" (equivalent to ANALYSIS ENERGY),
"Ang" (equivalent to ANALYSIS WAVE),
"eV", "MeV", "nm", and "Hz".
sherpa> data example.pha
sherpa> instrument = rsp[a](example.rmf,example.arf)
sherpa> get_analysis()
keV
sherpa>
- chandra
-
guide
- sherpa
-
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_source,
get_statistic,
get_stats,
get_syserrors,
get_wave_axes,
get_weights,
record,
save,
write
|