DESERT 3.5.1
Loading...
Searching...
No Matches
UwOpticalPhy Class Reference

#include <uwoptical-phy.h>

Inheritance diagram for UwOpticalPhy:
Collaboration diagram for UwOpticalPhy:

Public Member Functions

 UwOpticalPhy ()
 
virtual ~UwOpticalPhy ()
 
virtual int command (int, const char *const *)
 
virtual void startRx (Packet *p)
 
virtual double getSNRdB (Packet *p)
 
virtual void endRx (Packet *p)
 
virtual double getNoisePower (Packet *p)
 

Protected Member Functions

virtual double lookUpLightNoiseE (double depth)
 
virtual double linearInterpolator (double x, double x1, double y1, double x2, double y2)
 
virtual void initializeLUT ()
 
double getVarTemperature (Packet *p)
 

Protected Attributes

bool use_woss_
 

Private Attributes

double Id
 
double Il
 
double R
 
double S
 
double T
 
double Ar_
 
string lut_file_name_
 
char lut_token_separator_
 
DepthMap lut_map
 
bool variable_temperature_
 

Detailed Description

Definition at line 68 of file uwoptical-phy.h.

Constructor & Destructor Documentation

◆ UwOpticalPhy()

UwOpticalPhy::UwOpticalPhy ( )

Constructor of UwMultiPhy class.

Definition at line 60 of file uwoptical-phy.cpp.

◆ ~UwOpticalPhy()

virtual UwOpticalPhy::~UwOpticalPhy ( )
inlinevirtual

Destructor of UwMultiPhy class.

Definition at line 80 of file uwoptical-phy.h.

Member Function Documentation

◆ command()

int UwOpticalPhy::command ( int  argc,
const char *const *  argv 
)
virtual

TCL command interpreter.

It implements the following OTcl methods:

Parameters
argcNumber of arguments in argv.
argvArray of strings which are the command parameters (Note that argv[0] is the name of the object).
Returns
TCL_OK or TCL_ERROR whether the command has been dispatched successfully or not.

Reimplemented in UwOpticalBeamPattern.

Definition at line 81 of file uwoptical-phy.cpp.

◆ endRx()

void UwOpticalPhy::endRx ( Packet *  p)
virtual

Definition at line 185 of file uwoptical-phy.cpp.

◆ getNoisePower()

double UwOpticalPhy::getNoisePower ( Packet *  p)
virtual

Definition at line 167 of file uwoptical-phy.cpp.

◆ getSNRdB()

double UwOpticalPhy::getSNRdB ( Packet *  p)
virtual

Definition at line 149 of file uwoptical-phy.cpp.

◆ getVarTemperature()

double UwOpticalPhy::getVarTemperature ( Packet *  p)
protected

Definition at line 157 of file uwoptical-phy.cpp.

◆ initializeLUT()

void UwOpticalPhy::initializeLUT ( )
protectedvirtual

Inizialize LUT of c_variable values.

Reimplemented in UwOpticalBeamPattern.

Definition at line 256 of file uwoptical-phy.cpp.

◆ linearInterpolator()

double UwOpticalPhy::linearInterpolator ( double  x,
double  x1,
double  y1,
double  x2,
double  y2 
)
protectedvirtual

Definition at line 246 of file uwoptical-phy.cpp.

◆ lookUpLightNoiseE()

double UwOpticalPhy::lookUpLightNoiseE ( double  depth)
protectedvirtual

Definition at line 219 of file uwoptical-phy.cpp.

◆ startRx()

void UwOpticalPhy::startRx ( Packet *  p)
virtual

Reimplemented in UwOpticalBeamPattern.

Definition at line 118 of file uwoptical-phy.cpp.

Member Data Documentation

◆ Ar_

double UwOpticalPhy::Ar_
private

Definition at line 127 of file uwoptical-phy.h.

◆ Id

double UwOpticalPhy::Id
private

Definition at line 121 of file uwoptical-phy.h.

◆ Il

double UwOpticalPhy::Il
private

Definition at line 122 of file uwoptical-phy.h.

◆ lut_file_name_

string UwOpticalPhy::lut_file_name_
private

Definition at line 128 of file uwoptical-phy.h.

◆ lut_map

DepthMap UwOpticalPhy::lut_map
private

Lookup table map of the solar noise versus the depth.

Definition at line 131 of file uwoptical-phy.h.

◆ lut_token_separator_

char UwOpticalPhy::lut_token_separator_
private

Definition at line 129 of file uwoptical-phy.h.

◆ R

double UwOpticalPhy::R
private

Definition at line 124 of file uwoptical-phy.h.

◆ S

double UwOpticalPhy::S
private

Definition at line 125 of file uwoptical-phy.h.

◆ T

double UwOpticalPhy::T
private

Definition at line 126 of file uwoptical-phy.h.

◆ use_woss_

bool UwOpticalPhy::use_woss_
protected

Flag to set whether woss is employed.

Definition at line 116 of file uwoptical-phy.h.

◆ variable_temperature_

bool UwOpticalPhy::variable_temperature_
private

Flag to set whether the temperature is costant or varialbe with the depth.

Definition at line 132 of file uwoptical-phy.h.


The documentation for this class was generated from the following files: