Examples:



next up previous contents
Next: delcomp Up: datagroup Previous: datagroup

Examples:

XSPEC> data a                  ! The file a.pha is read in as the first (and 
                                    only) data set.

XSPEC> data,,b                 ! b.pha becomes the second data set, the first
                                    data set is unmodified (e.g. it is still a.pha).

XSPEC> data c 3 d,e,f          ! c.pha replaces a.pha as the first data set; 
                                    d.pha, e.pha, and f.pha provide the, third, 
                                    fourth, and fifth data sets.

XSPEC> data g/                 ! g.pha replaces c.pha as the first data set; 
                                    the slash (/) indicates that the 2nd through 
                                    the 5th data sets remain as before.

XSPEC> data 2 none/            ! The string none indicates that the 2nd data set
                                    (b.pha) is to be totally removed. The current 
                                    total number of data sets thus becomes one less 
                                    (4).  The current data sets are g.pha, 
                                    d.pha, e.pha, and f.pha.

XSPEC> data h,,                ! The current total number of data sets becomes 2,
                                    the current data sets are from h.pha and d.pha.

XSPEC> data                    ! There is no change in the data status.

XSPEC> data 1                  ! The number of data sets is set explicitly to 
                                    one, that being from h.pha.

XSPEC> data 1:1 a 2:2 b 3:3 c  ! Read a.PHA into data group 1, b.pha into
                                    data group 2, and ç.pha into data group 3.

XSPEC> data 1:1 a 1:2 b 2:3 c  ! Read a.pha and b.pha into data group 1, and
                                    c.pha into data group 2.



Keith Arnaud
Fri Nov 18 16:30:43 EST 1994