#include <CorrDipole.hh>
Collaboration diagram for clCorrDipole:

Public Member Functions | |
| clCorrDipole (clArrayDipole *, GDT, int, long, bool, bool) | |
| Constructor. | |
| ~clCorrDipole () | |
| bool | AddData () |
| Add data to integration buffers. | |
| GDT | Process (GDT) |
| Process data in integration buffers and return result. | |
| void | SetHistory () |
| Set history part of buffer. | |
| GDT | GetPeakLevel () |
| Get peak level (in dB) of integration buffer. | |
| GDT | GetIntegrationTime () |
| Get real integration time. | |
Private Attributes | |
| bool | bDebug |
| bool | bFilter |
| long | lSampleCount |
| Sample count for specified integration time. | |
| long | lBaseIdx |
| Starting index = maximum delay. | |
| long | lWinSize |
| Window size (input data). | |
| GDT | fIntTime |
| Integration time in seconds. | |
| clDSPAlloc | Data [2] |
| Data buffers for integration. | |
| clDSPOp | DSP |
| clDSPOp | DSPBank [2] |
| clArrayDipole * | Array |
Definition at line 36 of file CorrDipole.hh.
|
||||||||||||||||||||||||||||
|
Constructor.
Definition at line 31 of file CorrDipole.cc. References Array, bDebug, bFilter, Data, DSPBank, fIntTime, GDT, clArrayDipole::GetMaxDelay(), lBaseIdx, lSampleCount, and lWinSize. |
|
|
Definition at line 63 of file CorrDipole.cc. |
|
|
Add data to integration buffers. Call this after calling clArrayDipole::AddData() Returns >= 1 when integration buffers are full and ready to be processed by Process(), call until returns 0 before calling clArrayDipole::AddData() again. Definition at line 68 of file CorrDipole.cc. References Array, bFilter, Data, DSPBank, GDT, clArrayDipole::GetFiltPtr(), clArrayDipole::GetRawPtr(), lBaseIdx, lSampleCount, and lWinSize. Referenced by clDirection::ProcessData(). |
|
|
Process data in integration buffers and return result. This can be called many times for different directions.
Definition at line 93 of file CorrDipole.cc. References Array, Data, DSP, GDT, clArrayDipole::GetDelaySamples(), lBaseIdx, and lSampleCount. Referenced by clDirection::CalcDipoleCorrs(). |
|
|
Set history part of buffer. Call this between last call of Process() and next call of AddData(), this will copy data from end of integration buffer to start of integration buffer. Definition at line 111 of file CorrDipole.cc. References Data, DSPBank, GDT, lBaseIdx, and lSampleCount. Referenced by clDirection::CalcDipoleCorrs(). |
|
|
Get peak level (in dB) of integration buffer.
Definition at line 125 of file CorrDipole.cc. References Data, DIR_DB_SCALE, DSPBank, GDT, lBaseIdx, and lSampleCount. Referenced by clDirection::ProcessData(). |
|
|
Get real integration time.
Definition at line 98 of file CorrDipole.hh. |
|
|
Definition at line 38 of file CorrDipole.hh. Referenced by clCorrDipole(). |
|
|
Definition at line 39 of file CorrDipole.hh. Referenced by AddData(), and clCorrDipole(). |
|
|
Sample count for specified integration time.
Definition at line 40 of file CorrDipole.hh. Referenced by AddData(), clCorrDipole(), GetPeakLevel(), Process(), and SetHistory(). |
|
|
Starting index = maximum delay.
Definition at line 41 of file CorrDipole.hh. Referenced by AddData(), clCorrDipole(), GetPeakLevel(), Process(), and SetHistory(). |
|
|
Window size (input data).
Definition at line 42 of file CorrDipole.hh. Referenced by AddData(), and clCorrDipole(). |
|
|
Integration time in seconds.
Definition at line 43 of file CorrDipole.hh. Referenced by clCorrDipole(), and GetIntegrationTime(). |
|
|
Data buffers for integration.
Definition at line 44 of file CorrDipole.hh. Referenced by AddData(), clCorrDipole(), GetPeakLevel(), Process(), and SetHistory(). |
|
|
Definition at line 45 of file CorrDipole.hh. Referenced by Process(). |
|
|
Definition at line 46 of file CorrDipole.hh. Referenced by AddData(), clCorrDipole(), GetPeakLevel(), and SetHistory(). |
|
|
Definition at line 47 of file CorrDipole.hh. Referenced by AddData(), clCorrDipole(), and Process(). |
1.3.3