1#ifndef TTTRLIB_CORRELATORCURVE_H
2#define TTTRLIB_CORRELATORCURVE_H
54 std::vector<unsigned long long>
x_axis;
Definition CorrelatorCurve.h:33
std::vector< unsigned long long > x_axis
The x-axis (the time axis) of the correlation.
Definition CorrelatorCurve.h:54
void get_corr(double **output, int *n_output)
Get the non-normalized correlation values.
unsigned int get_n_casc() const
Get the number of cascades (blocks) in the correlation curve.
Definition CorrelatorCurve.h:178
std::vector< double > correlation
The non-normalized correlation.
Definition CorrelatorCurve.h:57
void resize(size_t n)
Resizes the internal vectors to a specified size.
Definition CorrelatorCurve.h:67
CorrelationCurveSettings settings
Stores the settings of the correlation curve, i.e., the number of correlation bins.
Definition CorrelatorCurve.h:93
void set_x_axis(std::vector< long long unsigned int > input)
Set the x-axis to arbitrary bin values.
void set_n_casc(int v)
Set the number of cascades (blocks) in the correlation curve and update the correlation axis.
Definition CorrelatorCurve.h:166
std::vector< double > corr_normalized
The normalized correlation.
Definition CorrelatorCurve.h:60
void clear()
Clear the correlation values.
Definition CorrelatorCurve.h:86
unsigned int get_n_bins()
Get the number of equally spaced correlation channels per block.
Definition CorrelatorCurve.h:154
void set_n_bins(int v)
Set the number of equally spaced correlation channels per block.
Definition CorrelatorCurve.h:142
size_t size()
Get the size of the correlation curve.
Definition CorrelatorCurve.h:109
void get_corr_normalized(double **output, int *n_output)
Get the normalized correlation values.
void get_x_axis(double **output, int *n_output)
Get the x-axis of the correlation.
Definition Correlator.h:21
Definition CorrelatorCurve.h:12
std::string correlation_method
Definition CorrelatorCurve.h:28
unsigned int n_bins
The number of bins (correlation channels) per cascade.
Definition CorrelatorCurve.h:21
unsigned int get_ncorr() const
The number of points in a correlation curve.
Definition CorrelatorCurve.h:24
double macro_time_duration
Time calibration the duration of a single macro time unit.
Definition CorrelatorCurve.h:15
unsigned int n_casc
The number of cascades that coarsen the data.
Definition CorrelatorCurve.h:18