|
bool | expandTraceOnRight (std::vector< float > &res_trace, unsigned int add) |
|
bool | formPredWin (std::vector< float > *trace_win, std::vector< float > &res_trace, unsigned int add_num) |
|
bool | getTraceWinOp (std::vector< float > *trace_win, OperatorParams op_par, float *&prd_oper) |
|
bool | processTraceWin (std::vector< float > *input_trace, float *op_spectrum, std::vector< float > &res_trace) |
|
TracePredictor::TracePredictor |
( |
| ) |
|
bool TracePredictor::deconvoluteTrace |
( |
std::vector< float > & |
res_trace | ) |
|
Deconvolution process for whole trace
bool TracePredictor::formPredWin |
( |
std::vector< float > * |
trace_win, |
|
|
std::vector< float > & |
res_trace, |
|
|
unsigned int |
add_num |
|
) |
| |
|
protected |
Form additional window by means of prediction mechanism. Two cases can be:
- Time domain: 1a. Calculate operator with length = add_num = half of input trace window size 1b. In cycle (number of steps = add_num) :
- convolute operator and window in time domain (result = single value)
add the convolution result to the end of trace window
- form new trace window of the same length (added sample is taken into account)
Frequency domain (NOT TESTED): 2a. Calculate operator spectrum 2b. In cycle (number of steps = add_num) :
- convolute operator and window in frequency domain (result = vector)
- add the first sample of convolution result to the end of trace window
- form new trace window of the same length (added sample is taken into account) Result - array of predicted samples with length = add_num.
bool TracePredictor::getTraceWinOp |
( |
std::vector< float > * |
trace_win, |
|
|
OperatorParams |
op_par, |
|
|
float *& |
prd_oper |
|
) |
| |
|
protected |
Form the prediction operator or prediction error operator spectrum (depends on OperatorParams.fOpDomain parameter value).
bool TracePredictor::processTrace |
( |
std::vector< float > & |
res_trace, |
|
|
unsigned int |
left_add, |
|
|
unsigned int |
right_add |
|
) |
| |
Trace is enlarged in both directions by means of prediction mechanism. For the case of trace beginning prediction, the respective trace window is taken in inverse order.
bool TracePredictor::processTraceWin |
( |
std::vector< float > * |
input_trace, |
|
|
float * |
op_spectrum, |
|
|
std::vector< float > & |
res_trace |
|
) |
| |
|
protected |
Convolute trace window and operator in frequency domain
void TracePredictor::setInputData |
( |
std::vector< float > * |
input_trace, |
|
|
OperatorParams * |
op_par |
|
) |
| |
bool TracePredictor::setInputData |
( |
std::vector< float > * |
input_trace | ) |
|
Can modify input data. Works successfully only if the object was already filled some with data.
Can modify input data. Works successfully only if the object was already filled some with data.
std::vector<float> TracePredictor::m_input_trace |
|
protected |
operator calculation parameters
bool TracePredictor::m_ready |
|
protected |
The documentation for this class was generated from the following file:
- /net/opt/univers/ubp-i-15.3-centos7-x64.urij/include/s2proc/trace_pred.hpp