| 
 
Module functions for ignoring bad (quality > 0) channels.
 
Integer_Type set_ignore_bad([Integer_Type])
Integer_Type set_signore_bad([Integer_Type])
Integer_Type set_bignore_bad([Integer_Type])
Success/Error Return Values: 1/0
Arguments:
(1) Dataset number (default 1) 
The commands set_ignore_bad, set_signore_bad,
and set_bignore_bad allow the user to ignore bad
quality (quality > 0) channels 
in both source and background datasets, a source dataset, or
a background dataset respectively.  These functions have no impact if
the data quality has not been defined, either within a column of a PHA
dataset or via the READ QUALITY 
command.
 
See the related Sherpa commands
NOTICE 
and
IGNORE 
for more information.
 
Read in a PHA file; ignore the bad channels:
 
sherpa> () = load_dataset(1,"example.pha")
sherpa> f = get_filter()
sherpa> print(length(where(f>0)))
95                                        # 95 noticed bins
sherpa> set_ignore_bad
1
sherpa> f = get_filter()
sherpa> print(length(where(f>0)))    
80                                        # now only 80 noticed bins
 
sherpa
analysis,
get_groups,
ignore,
notice,
set_filter,
set_groups,
set_ignore,
set_ignore2d,
set_ignore_all,
set_notice,
set_notice2d,
set_notice_all
 |