Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • in the endJob(...) method, depending on bit status in out_file_bits :
    • save current hot-pixel mask in the file hot_pix_mask_out_file
    • save current fraction of events with noisy/signal pixels in the file frac_noisy_evts_file


h3. Needs to be done:
* save v_peaks in file for selected events, depending on out_file_bits parameter.
* put the signal array m_signal in the evt,

...

  • out_file_bits (default: 0) – control on writting of files:
    • =0 - do not write files,
    • +1 - save the hot_pix_mask_out_file file with current mask array in the endJob(...) method.
    • +2 - save the frac_noisy_evts_file file with current fraction of noisy events array in the endJob(...) method.
    • +4 - save the CSPad signal array for selected events in the file with name like <evt_file_out><counter><run>-<time stamp>.txt.
    • +8 - save the vector of found peaks in file <evt_file_out><counter><run>-<time-stamp>-peaks.txt.
  • print_bits (default: 0) – module verbosity:
    • =0 - print nothing,
    • +1 - input pars,
    • +2 - input mask statistics,
    • +4 - processed statistics for mask evaluation,
    • +8 - output in files,
    • +16 - start/stop to collect data for mask re-evaluation,
    • +32 - event time stamp,
    • +64 - vector of indexes and map of indexes for the median algorithm,
    • +128- vector of found peaks.
    • +256- peak parameters saved in file.

...