Phase Stacker

Normal calibrated eventlist used in imaging has a 1-D array that has phase, roll, counts, etc information for each time bin. The phase stacker converts that to a 2-D array of integrated counts in roll angle bins vs phase bins. There is a separate 2-D array for each detector. These are the parameters that control phase stacker operations:

   use_phase_stacker =1 means enable the phase stacker

Controlling the number of phase bins:

   phz_n_phase_bins - Number of phase bins. Default is 12.

Controlling the number of roll bins:

   phz_n_roll_bins_control - Array of 9 values specifying the number of roll bins for each grid. Default is 0. which means automatically calculate the number of roll bins. This is the recommended mode (automatic calculation of number of roll bins)

   phz_n_roll_bins_min - Array of 9 values specifying the minimum number of roll bins for each grid

   phz_n_roll_bins_max - Array of 9 values specifying the maximum number of roll bins for each grid

   phz_radius - Radius in arcsec of the extent of the source. This is used to calculate the number of roll bins if phz_n_roll_bins_control is 0.

   phz_report_roll_bins = 1 means print the number of roll bins used in IDL output log.

   phz_n_roll_bins_info - Info parameter containing number of roll bins used for each detector.