       if (args.verbose)
 	    std::cout << "Searching "<< acc_list.size()<< " acceleration trials for DM "<< tim.get_dm() << std::endl;
 
+      //Utils::dump_device_buffer<float>(d_tim.get_data(), d_tim.get_nsamps(), "raw_timeseries_after_padding.dump");
+
+
       if (args.verbose)
 	    std::cout << "Executing forward FFT" << std::endl;
       r2cfft.execute(d_tim.get_data(),d_fseries.get_data());
 
+      //Utils::dump_device_buffer<cufftComplex>(d_fseries.get_data(), d_fseries.get_nbins(), "fourier_series.dump");
+
       if (args.verbose)
 	    std::cout << "Forming power spectrum" << std::endl;
       former.form(d_fseries,pspec);
 
+      //Utils::dump_device_buffer<float>(pspec.get_data(), pspec.get_nbins(), "power_spec.dump");
+
       if (args.verbose)
 	    std::cout << "Finding running median" << std::endl;
       rednoise.calculate_median(pspec);

    timers["dedispersion"].start();
    PUSH_NVTX_RANGE("Dedisperse",3)
    DispersionTrials<DedispOutputType> trials(filobj.get_tsamp());
    dedisperser.dedisperse(trials);
    POP_NVTX_RANGE
    timers["dedispersion"].stop();

    return retval;
  }
  
  virtual ~DMDispenser(){
    if (use_progress_bar)
      delete progress;
    pthread_mutex_destroy(&mutex);
