SPS multibeam configuration

<?xml version="1.0" ?>
<cheetah>
  <beams>
    <beam>
      <active>True</active>
      <cpu>
        <affinity>0,1</affinity>
      </cpu>
      <sinks>
        <list-output-streams>false</list-output-streams>
        <threads>3</threads>
        <channels>
          <sps_events>
            <active>true</active>
            <sink>
              <id>spccl_files</id>
            </sink>
            <sink>
              <id>candidate_files</id>
            </sink>
          </sps_events>
        </channels>
        <sink_configs>
          <spccl_files>
            <extension>.spccl</extension>
            <dir>_path_to_data_output_dir_</dir>
            <id>spccl_files</id>
          </spccl_files>
          <spccl_sigproc_files>
            <spectra_per_file>0</spectra_per_file>
            <dir>_path_to_data_output_dir_</dir>
            <extension>.fil</extension>
            <candidate_window>
              <ms_before>500</ms_before>
              <ms_after>1000</ms_after>
            </candidate_window>
            <id>candidate_files</id>
          </spccl_sigproc_files>
        </sink_configs>
      </sinks>
      <source>
        <sigproc>
          <file>_path_to_input_filterbank_</file>
          <chunk_samples>1024</chunk_samples>
          <default-nbits>8</default-nbits>
        </sigproc>
      </source>
      <id>1</id>
    </beam>
    <beam>
      <active>True</active>
      <cpu>
        <affinity>0,1</affinity>
      </cpu>
      <sinks>
        <list-output-streams>false</list-output-streams>
        <threads>3</threads>
        <channels>
          <sps_events>
            <active>true</active>
            <sink>
              <id>spccl_files</id>
            </sink>
            <sink>
              <id>candidate_files</id>
            </sink>
          </sps_events>
        </channels>
        <sink_configs>
          <spccl_files>
            <extension>.spccl</extension>
            <dir>_path_to_data_output_dir</dir>
            <id>spccl_files</id>
          </spccl_files>
          <spccl_sigproc_files>
            <spectra_per_file>0</spectra_per_file>
            <dir>_path_to_data_output_dir</dir>
            <extension>.fil</extension>
            <candidate_window>
              <ms_before>500</ms_before>
              <ms_after>1000</ms_after>
            </candidate_window>
            <id>candidate_files</id>
          </spccl_sigproc_files>
        </sink_configs>
      </sinks>
      <source>
        <sigproc>
          <file>_path_to_input_filterbank_file_</file>
          <chunk_samples>1024</chunk_samples>
          <default-nbits>8</default-nbits>
        </sigproc>
      </source>
      <id>2</id>
    </beam>
    <beam>
      <active>True</active>
      <cpu>
        <affinity>0,1</affinity>
      </cpu>
      <sinks>
        <list-output-streams>false</list-output-streams>
        <threads>3</threads>
        <channels>
          <sps_events>
            <active>true</active>
            <sink>
              <id>spccl_files</id>
            </sink>
            <sink>
              <id>candidate_files</id>
            </sink>
          </sps_events>
        </channels>
        <sink_configs>
          <spccl_files>
            <extension>.spccl</extension>
            <dir>_path_to_data_output_dir</dir>
            <id>spccl_files</id>
          </spccl_files>
          <spccl_sigproc_files>
            <spectra_per_file>0</spectra_per_file>
            <dir>_path_to_data_output_dir_</dir>
            <extension>.fil</extension>
            <candidate_window>
              <ms_before>500</ms_before>
              <ms_after>1000</ms_after>
            </candidate_window>
            <id>candidate_files</id>
          </spccl_sigproc_files>
        </sink_configs>
      </sinks>
      <source>
        <sigproc>
          <file>_path_to_input_filterbank_file</file>
          <chunk_samples>1024</chunk_samples>
          <default-nbits>8</default-nbits>
        </sigproc>
      </source>
      <id>3</id>
    </beam>
  </beams>
   <rfim>
    <pool-id>default</pool-id>
    <priority>2</priority>
    <flag-policy>false</flag-policy>
    <rfim_ampp>
      <active>false</active>
      <channel_rejection_rms>1.0</channel_rejection_rms>
      <spectrum_rejection_rms>1.0</spectrum_rejection_rms>
      <max_history>100</max_history>
      <zero_dm>false</zero_dm>
      <bandpass>
        <mean>0.0</mean>
      </bandpass>
    </rfim_ampp>
    <rfim_cuda>
      <active>false</active>
    </rfim_cuda>
    <rfim_iqrmcpu>
      <active>false</active>
      <radius>400</radius>
      <threshold>3.0</threshold>
      <edge_channels>0</edge_channels>
      <metric>1</metric>
    </rfim_iqrmcpu>
    <rfim_sum_threshold>
      <active>false</active>
      <its_cutoff>3.0</its_cutoff>
      <base_sensitivity>1.0</base_sensitivity>
      <window>32</window>
    </rfim_sum_threshold>
    <rfim_zdot>
      <active>false</active>
    </rfim_zdot>
  </rfim>
  <ddtr>
    <pool-id>default</pool-id>
    <priority>0</priority>
    <dedispersion_samples>131072</dedispersion_samples>
    <klotski>
      <active>true</active>
      <precise>false</precise>
    </klotski>
    <dedispersion>
      <start>0.0</start>
      <end>100.0</end>
      <step>0.1</step>
    </dedispersion>
    <dedispersion>
      <start>100.0</start>
      <end>300.0</end>
      <step>0.2</step>
    </dedispersion>
    <dedispersion>
      <start>300.0</start>
      <end>700.0</end>
      <step>0.4</step>
    </dedispersion>
    <dedispersion>
      <start>700.0</start>
      <end>1500.0</end>
      <step>0.8</step>
    </dedispersion>
    <dedispersion>
      <start>1500.0</start>
      <end>3100.0</end>
      <step>1.6</step>
    </dedispersion>
  </ddtr>
  <id>1</id>
  <spdt>
    <pool-id>default</pool-id>
    <priority>0</priority>
    <threshold>6.0</threshold>
    <klotski>
      <active>true</active>
      <widths>1,2,4,8,16,32,64,128,250,500,1000,2000,4000,8000,15000</widths>
    </klotski>
  </spdt>
  <sps_clustering>
    <pool-id>default</pool-id>
    <priority>0</priority>
    <active>true</active>
    <fof_clustering>
      <active>true</active>
      <time_tolerance>10</time_tolerance>
      <dm_thresh>10</dm_thresh>
      <linking_length>1.5</linking_length>
      <width_matching_factor>4.0</width_matching_factor>
    </fof_clustering>
  </sps_clustering>
  <spsift>
    <pool-id>default</pool-id>
    <priority>0</priority>
    <active>true</active>
    <thresholding>
      <active>true</active>
      <dm_thresh>10.0</dm_thresh>
      <sigma_thresh>7.0</sigma_thresh>
      <pulse_width_threshold>1100.0</pulse_width_threshold>
      <maximum_candidates>0</maximum_candidates>
      <min_cluster_size>10</min_cluster_size>
    </thresholding>
  </spsift>
</cheetah>