Utility class for emitter power and frequency.  
 More...
#include <JAcousticsSupportkit.hh>
 | 
|   | JWaveform () | 
|   | Default constructor.  
  | 
|   | 
|   | JWaveform (const double Q0, const double f_kHz) | 
|   | Constructor.  
  | 
|   | 
| double  | getQ (const double D_m, const double d_m) const | 
|   | Get quality at given distance.  
  | 
|   | 
 | 
| static double  | getDmin () | 
|   | Get minimal distance.  
  | 
|   | 
 | 
| std::istream &  | operator>> (std::istream &in, JWaveform &waveform) | 
|   | Read waveform from input stream.  
  | 
|   | 
| std::ostream &  | operator<< (std::ostream &out, const JWaveform &waveform) | 
|   | Write waveform to output stream.  
  | 
|   | 
Utility class for emitter power and frequency. 
Definition at line 103 of file JAcousticsSupportkit.hh.
 
◆ JWaveform() [1/2]
  
  
      
        
          | JACOUSTICS::JWaveform::JWaveform  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JWaveform() [2/2]
  
  
      
        
          | JACOUSTICS::JWaveform::JWaveform  | 
          ( | 
          const double |           Q0,  | 
         
        
           | 
           | 
          const double |           f_kHz ) | 
         
       
   | 
  
inline   | 
  
 
 
◆ getDmin()
  
  
      
        
          | static double JACOUSTICS::JWaveform::getDmin  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ getQ()
  
  
      
        
          | double JACOUSTICS::JWaveform::getQ  | 
          ( | 
          const double |           D_m,  | 
         
        
           | 
           | 
          const double |           d_m ) const | 
         
       
   | 
  
inline   | 
  
 
Get quality at given distance. 
- Parameters
 - 
  
    | D_m | depth [m]  | 
    | d_m | distance [m]  | 
  
   
- Returns
 - quality 
 
Definition at line 146 of file JAcousticsSupportkit.hh.
  148    {
  151      else
  153    }
double getQ(const double D_m, const double f_kHz, const double d_m)
Get relative quality for given frequency at given distance.
 
 
 
 
◆ operator>>
  
  
      
        
          | std::istream & operator>>  | 
          ( | 
          std::istream & |           in,  | 
         
        
           | 
           | 
          JWaveform & |           waveform ) | 
         
       
   | 
  
friend   | 
  
 
Read waveform from input stream. 
- Parameters
 - 
  
    | in | input stream  | 
    | waveform | waveform  | 
  
   
- Returns
 - input stream 
 
Definition at line 163 of file JAcousticsSupportkit.hh.
  164    {
  165      return in >> waveform.Q0 >> waveform.f_kHz;
  166    }
 
 
 
◆ operator<<
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           out,  | 
         
        
           | 
           | 
          const JWaveform & |           waveform ) | 
         
       
   | 
  
friend   | 
  
 
Write waveform to output stream. 
- Parameters
 - 
  
    | out | output stream  | 
    | waveform | waveform  | 
  
   
- Returns
 - output stream 
 
Definition at line 176 of file JAcousticsSupportkit.hh.
  177    {
  178      return out << waveform.Q0 << ' ' << waveform.f_kHz;
  179    }
 
 
 
◆ Q0
      
        
          | double JACOUSTICS::JWaveform::Q0 | 
        
      
 
 
◆ f_kHz
      
        
          | double JACOUSTICS::JWaveform::f_kHz | 
        
      
 
 
The documentation for this struct was generated from the following file: