Psyllid
v1.12.4
Project 8 Data Acquisisition Software
|
A transformer to receive time data, compute an FFT, and distribute as time and frequency ROACH packets. More...
#include <frequency_transform.hh>
Public Member Functions | |
frequency_transform () | |
virtual | ~frequency_transform () |
mv_accessible (uint64_t, time_length) | |
mv_accessible (uint64_t, freq_length) | |
mv_accessible (unsigned, fft_size) | |
mv_accessible (std::string, transform_flag) | |
mv_accessible (bool, use_wisdom) | |
mv_accessible (std::string, wisdom_filename) | |
void | switch_to_freq_only () |
void | switch_to_time_and_freq () |
virtual void | initialize () |
virtual void | execute (midge::diptera *a_midge=nullptr) |
virtual void | finalize () |
Private Types | |
typedef std::map< std::string, unsigned > | TransformFlagMap |
Private Member Functions | |
void | setup_internal_maps () |
Private Attributes | |
bool | f_enable_time_output |
TransformFlagMap | f_transform_flag_map |
fftw_complex * | f_fftw_input |
fftw_complex * | f_fftw_output |
fftw_plan | f_fftw_plan |
bool | f_multithreaded_is_initialized |
A transformer to receive time data, compute an FFT, and distribute as time and frequency ROACH packets.
Parameter setting is not thread-safe. Executing is thread-safe.
Node type: "frequency-transform"
Available configuration values:
Available DAQ commands:
"time-and-freq" (no args) – Switch the execution mode to time-and-frequency
Input Stream:
Output Streams:
Definition at line 58 of file frequency_transform.hh.
|
private |
Definition at line 61 of file frequency_transform.hh.
Definition at line 29 of file frequency_transform.cc.
|
virtual |
Definition at line 46 of file frequency_transform.cc.
|
virtual |
Definition at line 109 of file frequency_transform.cc.
|
virtual |
Definition at line 240 of file frequency_transform.cc.
|
virtual |
Definition at line 62 of file frequency_transform.cc.
mv_accessible | ( | uint64_t | , |
time_length | |||
) |
mv_accessible | ( | uint64_t | , |
freq_length | |||
) |
mv_accessible | ( | unsigned | , |
fft_size | |||
) |
mv_accessible | ( | std::string | , |
transform_flag | |||
) |
mv_accessible | ( | bool | , |
use_wisdom | |||
) |
mv_accessible | ( | std::string | , |
wisdom_filename | |||
) |
|
private |
Definition at line 257 of file frequency_transform.cc.
void switch_to_freq_only | ( | ) |
Definition at line 50 of file frequency_transform.cc.
void switch_to_time_and_freq | ( | ) |
Definition at line 56 of file frequency_transform.cc.
|
private |
Definition at line 76 of file frequency_transform.hh.
|
private |
Definition at line 88 of file frequency_transform.hh.
|
private |
Definition at line 89 of file frequency_transform.hh.
|
private |
Definition at line 90 of file frequency_transform.hh.
|
private |
Definition at line 92 of file frequency_transform.hh.
|
private |
Definition at line 87 of file frequency_transform.hh.