pbin

command list , class list , introduction .
 PBIN N1 N2 N3 P1 P2 NBIN PHASE METHOD WEIGHTS -- Phase bins spectra

 Parameters: 
     
  N1    -- Slot number of first spectrum to average
  N2    -- Slot number of last spectrum to average
  N3    -- Slot in which to start 
  P1    -- Start phase (start of first bin)
  P2    -- End phase (end of last)
  NBIN  -- Number of phase bins
  PHASE -- Phase to use, choice of 7:
           'O' -- Orbital phase 
           'S' -- Spin phase 
           'B' -- Beat phase 
           'H' -- Hump phase 
           '1' -- Phase1
           '2' -- Phase2
           '3' -- Phase3
  METHOD - Averaging method. At present supports
           U  -- Unit weights
           D  -- Dwell weights
           R  -- Response weights
           V  -- Variance weights

  WEIGHTS   -- file of weights. Whatever method is chosen, the weights can
               be multiplied by individual weights first. <CR> to ignore
               These can, for example, allow you to weight spectra with
               a certain spin phase or whatever and provide a more flexible
               method than straight selection.


 Response weights are proportional to the local ratio of COUNTS/FLUX
 and thus effectively add the counts together (optimum for photon
 counting data). Variance weights use a single value equal to the
 mean Signal/noise**2 for each spectrum.

 Selection is done. Spectra must have same length.


Related commands: average and group .

This command belongs to the classes: manipulation and binary .


Tom Marsh, trm@astro.soton.ac.uk, Tue Oct 27 08:56:34 1998 .