itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
Public Member Functions | List of all members
SIM::tedg_x Class Reference

dual timing error detector - gardner with mods
Core function: SIM::tedg_x.process()
More...

Inheritance diagram for SIM::tedg_x:
Inheritance graph
[legend]

Public Member Functions

 tedg_x ()
 
 ~tedg_x ()
 
void set_mode (int m)
 
void set_quantum (double p)
 
void set_output (complexd yout)
 
int get_mode (void)
 
double get_quantum (void)
 
complexd get_output (void)
 
cvec process (const bmat &ceio, const cvec &x)
 

Detailed Description

dual timing error detector - gardner with mods
Core function: SIM::tedg_x.process()

Constructor & Destructor Documentation

SIM::tedg_x::tedg_x ( )
inline
SIM::tedg_x::~tedg_x ( )
inline

Member Function Documentation

int SIM::tedg_x::get_mode ( void  )

get output state y0

Returns
- [double] y0
complex< double > SIM::tedg_x::get_output ( void  )

get output state y0

Returns
- [complex] y0
double SIM::tedg_x::get_quantum ( void  )

get quantum for pump value

Returns
- [double] pump
cvec SIM::tedg_x::process ( const bmat &  ceio,
const cvec &  x 
)

for active input clock ticks ceio[0,i] acquire input sample x[i]
for active output clock ticks ceio[0,i] compute detector response y[i] according with selected mode

Parameters
ceio- [bmat] [cei | ceo] input clock enable, output clock enable
x- [cvec] [xi +jxq] quadrature input
Returns
y - [cvec] [yi+jyq] cvec quadrature detector output
void SIM::tedg_x::set_mode ( int  m)

set detector mode

Parameters
[in]m- [int] mode - supported modes enum tedg_mode
void SIM::tedg_x::set_output ( complexd  yout)

set output state y0

Parameters
[in]yout- [complex] => y0
void SIM::tedg_x::set_quantum ( double  p)

set quantum for pump value

Parameters
[in]p- [double] pump

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