#include <ArraySensor.hh>
Public Member Functions | |
| clArraySensor () | |
| ~clArraySensor () | |
| void | EnableDebug () |
| void | DisableDebug () |
| bool | Initialize (GDT, GDT, long) |
| Initialize sensor. | |
| void | SetSampleRate (GDT) |
| Set sample rate. | |
| void | SetSoundSpeed (GDT) |
| Set sound speed. | |
| void | SetArrayFrequency (GDT) |
| Set design frequency of array. | |
| void | SetShading (GDT) |
| Set shading coefficient. | |
| void | SetDirection (GDT, bool=true) |
| Set direction (in rad). | |
| void | Put (const GDT *, long) |
| Put sensor data into sensor processor. | |
| bool | Get (GDT *, long) |
| Get delayed data from the sensor processor. | |
Protected Member Functions | |
| void | SinCosC (float, float *, float *) |
| void | SinCosC (double, double *, double *) |
Protected Attributes | |
| bool | bDebug |
| long | lWindowSize |
| Processing window size. | |
| long | lProcCount |
| Number of samples per processing. | |
| GDT | fPI |
| GDT | fArrayFrequency |
| Array frequency. | |
| GDT | fSoundSpeed |
| Speed of sound. | |
| GDT | fSecsPerMeter |
| 1.0 / soundspeed | |
| GDT | fSampleRate |
| Samplerate. | |
| GDT | fSampleSpacing |
| 1.0 / samplerate | |
| GDT | fFreqResolution |
| Frequency resolution. | |
| GDT | fShadeCoeff |
| Shading coefficient. | |
| GDT | fLeftDistance |
| Left side sensor distance. | |
| GDT | fRightDistance |
| Right side sensor distance. | |
| GDT | fLeftTime |
| Left side sensor delay. | |
| GDT | fRightTime |
| Right side sensor delay. | |
| GDT | fDirection |
| Beam direction for delay. | |
| clDSPOp | DSP |
| clFilter | Filter |
| clDSPVector< GDT > | dspvInData |
| clDSPVector< GDT > | dspvProcData |
| clDSPVector< GDT > | dspvOutData |
Definition at line 38 of file ArraySensor.hh.
|
|
Definition at line 56 of file ArraySensor.cc. References bDebug, fPI, and fShadeCoeff. |
|
|
Definition at line 66 of file ArraySensor.hh. |
|
||||||||||||||||
|
Definition at line 30 of file ArraySensor.cc. Referenced by SetDirection(). |
|
||||||||||||||||
|
Definition at line 43 of file ArraySensor.cc. |
|
|
Definition at line 67 of file ArraySensor.hh. References bDebug. Referenced by clFreqBeamDipole::SetDebug(). |
|
|
Definition at line 68 of file ArraySensor.hh. References bDebug. Referenced by clFreqBeamDipole::SetDebug(). |
|
||||||||||||||||
|
Initialize sensor.
Frequency resolution is
Definition at line 64 of file ArraySensor.cc. References bDebug, dspvProcData, Filter, fLeftDistance, fRightDistance, GDT, lProcCount, and lWindowSize. Referenced by clFreqBeamLine::Initialize(), and clFreqBeamDipole::Initialize(). |
|
|
Set sample rate.
Definition at line 87 of file ArraySensor.cc. References bDebug, fFreqResolution, fSampleRate, fSampleSpacing, GDT, and lWindowSize. Referenced by clFreqBeamLine::Initialize(), and clFreqBeamDipole::Initialize(). |
|
|
Set sound speed.
Definition at line 101 of file ArraySensor.cc. References bDebug, fLeftDistance, fLeftTime, fRightDistance, fRightTime, fSecsPerMeter, fSoundSpeed, and GDT. Referenced by clFreqBeamDipole::SetSoundSpeed(). |
|
|
Set design frequency of array.
Definition at line 116 of file ArraySensor.cc. References bDebug, and fArrayFrequency. Referenced by clFreqBeamDipole::SetSoundSpeed(). |
|
|
Set shading coefficient.
Definition at line 123 of file ArraySensor.cc. References bDebug, and fShadeCoeff. Referenced by clFreqBeamLine::Initialize(). |
|
||||||||||||
|
Set direction (in rad).
Definition at line 130 of file ArraySensor.cc. References bDebug, fArrayFrequency, fFreqResolution, Filter, fLeftTime, fPI, fRightTime, GDT, lWindowSize, and SinCosC(). Referenced by clFreqBeamDipole::SetDirection(). |
|
||||||||||||
|
Put sensor data into sensor processor.
Definition at line 172 of file ArraySensor.cc. References dspvInData, dspvOutData, dspvProcData, Filter, and fShadeCoeff. Referenced by clFreqBeamDipole::Put(). |
|
||||||||||||
|
Get delayed data from the sensor processor.
Definition at line 187 of file ArraySensor.cc. References dspvOutData. Referenced by clFreqBeamDipole::Get(). |
|
|
Definition at line 41 of file ArraySensor.hh. Referenced by clArraySensor(), DisableDebug(), EnableDebug(), Initialize(), SetArrayFrequency(), SetDirection(), SetSampleRate(), SetShading(), and SetSoundSpeed(). |
|
|
Processing window size.
Definition at line 42 of file ArraySensor.hh. Referenced by Initialize(), SetDirection(), and SetSampleRate(). |
|
|
Number of samples per processing.
Definition at line 43 of file ArraySensor.hh. Referenced by Initialize(). |
|
|
Definition at line 44 of file ArraySensor.hh. Referenced by clArraySensor(), and SetDirection(). |
|
|
Array frequency.
Definition at line 45 of file ArraySensor.hh. Referenced by SetArrayFrequency(), and SetDirection(). |
|
|
Speed of sound.
Definition at line 46 of file ArraySensor.hh. Referenced by SetSoundSpeed(). |
|
|
1.0 / soundspeed
Definition at line 47 of file ArraySensor.hh. Referenced by SetSoundSpeed(). |
|
|
Samplerate.
Definition at line 48 of file ArraySensor.hh. Referenced by SetSampleRate(). |
|
|
1.0 / samplerate
Definition at line 49 of file ArraySensor.hh. Referenced by SetSampleRate(). |
|
|
Frequency resolution.
Definition at line 50 of file ArraySensor.hh. Referenced by SetDirection(), and SetSampleRate(). |
|
|
Shading coefficient.
Definition at line 51 of file ArraySensor.hh. Referenced by clArraySensor(), Put(), and SetShading(). |
|
|
Left side sensor distance.
Definition at line 52 of file ArraySensor.hh. Referenced by Initialize(), and SetSoundSpeed(). |
|
|
Right side sensor distance.
Definition at line 53 of file ArraySensor.hh. Referenced by Initialize(), and SetSoundSpeed(). |
|
|
Left side sensor delay.
Definition at line 54 of file ArraySensor.hh. Referenced by SetDirection(), and SetSoundSpeed(). |
|
|
Right side sensor delay.
Definition at line 55 of file ArraySensor.hh. Referenced by SetDirection(), and SetSoundSpeed(). |
|
|
Beam direction for delay.
Definition at line 56 of file ArraySensor.hh. |
|
|
Definition at line 57 of file ArraySensor.hh. |
|
|
Definition at line 58 of file ArraySensor.hh. Referenced by Initialize(), Put(), and SetDirection(). |
|
|
Definition at line 59 of file ArraySensor.hh. Referenced by Put(). |
|
|
Definition at line 60 of file ArraySensor.hh. Referenced by Initialize(), and Put(). |
|
|
Definition at line 61 of file ArraySensor.hh. |
1.3.3