Time-of-Flight Library(ToF)
3.2.2
|
|
the phase and amplitude calibration for a certain modulation frequency More...
#include <calibration.hpp>
Public Member Functions | |
Fpo (tof_fpo_t ptr) | |
Construct from pointer. | |
Fpo () | |
Default constructor. | |
Fpo (int32_t rows, int32_t cols, float modulation_frequency, float duty_cycle, const std::vector< uint16_t > &dac_values, uint32_t integration_time) | |
Construct with rows, columns, modulation frequency, duty cycle, dac values and integration time. More... | |
int32_t | get_rows () const |
Get the number of rows. More... | |
void | set_rows (int32_t rows) |
Set the number of rows. More... | |
int32_t | get_cols () const |
Get the number of columns. More... | |
void | set_cols (int32_t cols) |
Set the number of columns. More... | |
float | get_modulation_frequency () const |
Get the modulation frequency. More... | |
void | set_modulation_frequency (float modulation_frequency) |
Set the modulation frequency. More... | |
float | get_duty_cycle () const |
Get the duty cycle that the fpo is calibrated for. More... | |
void | set_duty_cycle (float duty_cycle) |
Set the duty cycle that the fpo is calibrated for. More... | |
std::vector< uint16_t > | get_dac_values () const |
Get the dac values that the fpo is calibrated for. More... | |
void | set_dac_values (const std::vector< uint16_t > &dac_values) |
Set the dac values that the fpo is calibrated for. More... | |
uint32_t | get_integration_time () const |
Get the integration time that the fpo is calibrated for. More... | |
void | set_integration_time (uint32_t integration_time) |
Set the integration time that the fpo is calibrated for. More... | |
uint8_t | get_gain_mode () const |
Get the gain mode of the evaluation function. More... | |
void | set_gain_mode (uint8_t gain_mode) |
Set the gain mode of the evaluation function. More... | |
std::array< double, 2 > | get_mfunc () const |
Get the values to compute the multiplication component. More... | |
void | set_mfunc (const std::array< double, 2 > &mfunc) |
Set the values to compute the multiplication component. More... | |
std::array< double, 2 > | get_cfunc () const |
Get the values to compute the addition component. More... | |
void | set_cfunc (const std::array< double, 2 > &cfunc) |
Set the values to compute the addition component. More... | |
void | clear_temperature_cal () |
Clear the temperature calibration, no temperature calibration will be performed. | |
bool | has_old_linear_temperature_cal () |
Check if fpo is using old linear temperature cal. More... | |
void | set_linear_temperature_cal (const std::vector< double > &multiplications, double fpo_temp) |
Set to use linear temperature calibration with given values. More... | |
bool | has_linear_temperature_cal () |
Check if fpo is using linear temperature cal. More... | |
std::vector< double > | get_linear_temperature_cal_multiplication () |
Get the linear temperature cal multiplication. More... | |
double | get_linear_temperature_cal_fpo_temp () |
Get the linear temperature fpo temperature. More... | |
Matrix | get_fpo () const |
Get the fixed phase offset for every pixel. More... | |
void | set_fpo (Matrix &fpo) |
Set the fixed phase offset for every pixel. More... | |
Matrix | get_amp () const |
Get the amplitude correction for every pixel. More... | |
void | set_amp (Matrix &) |
Set the amplitude correction for every pixel. More... | |
the phase and amplitude calibration for a certain modulation frequency
Definition at line 115 of file calibration.hpp.
|
inline |
Construct with rows, columns, modulation frequency, duty cycle, dac values and integration time.
rows | Number of rows |
cols | Number of columns |
modulation_frequency | The modulation frequency |
duty_cycle | The duty cycle used |
dac_values | The dac values |
integration_time | The integration time |
Definition at line 137 of file calibration.hpp.
|
inline |
Get the amplitude correction for every pixel.
Definition at line 343 of file calibration.hpp.
|
inline |
Get the values to compute the addition component.
Definition at line 262 of file calibration.hpp.
|
inline |
|
inline |
Get the dac values that the fpo is calibrated for.
Definition at line 200 of file calibration.hpp.
|
inline |
Get the duty cycle that the fpo is calibrated for.
Definition at line 186 of file calibration.hpp.
|
inline |
Get the fixed phase offset for every pixel.
Definition at line 326 of file calibration.hpp.
|
inline |
Get the gain mode of the evaluation function.
Definition at line 231 of file calibration.hpp.
|
inline |
Get the integration time that the fpo is calibrated for.
Definition at line 217 of file calibration.hpp.
|
inline |
Get the linear temperature fpo temperature.
Definition at line 319 of file calibration.hpp.
|
inline |
Get the linear temperature cal multiplication.
Definition at line 309 of file calibration.hpp.
|
inline |
Get the values to compute the multiplication component.
Definition at line 245 of file calibration.hpp.
|
inline |
Get the modulation frequency.
Definition at line 172 of file calibration.hpp.
|
inline |
|
inline |
Check if fpo is using linear temperature cal.
Definition at line 302 of file calibration.hpp.
|
inline |
Check if fpo is using old linear temperature cal.
Definition at line 286 of file calibration.hpp.
|
inline |
Set the amplitude correction for every pixel.
amp | The amplitude correction |
Definition at line 353 of file calibration.hpp.
|
inline |
Set the values to compute the addition component.
cfunc | The cfunc values |
Definition at line 272 of file calibration.hpp.
|
inline |
Set the number of columns.
cols | Number of columns |
Definition at line 165 of file calibration.hpp.
|
inline |
Set the dac values that the fpo is calibrated for.
dac_values | The dac values |
Definition at line 210 of file calibration.hpp.
|
inline |
Set the duty cycle that the fpo is calibrated for.
duty_cycle | The duty cycle |
Definition at line 193 of file calibration.hpp.
|
inline |
Set the fixed phase offset for every pixel.
fpo | The fixed phase offset |
Definition at line 336 of file calibration.hpp.
|
inline |
Set the gain mode of the evaluation function.
gain_mode | The gain mode |
Definition at line 238 of file calibration.hpp.
|
inline |
Set the integration time that the fpo is calibrated for.
integration_time | The integration time |
Definition at line 224 of file calibration.hpp.
|
inline |
Set to use linear temperature calibration with given values.
multiplications | The multiplier values. These values multiple with the temperatures in the data class |
fpo_temp | The average measured temperature when the fpo was done |
Definition at line 295 of file calibration.hpp.
|
inline |
Set the values to compute the multiplication component.
mfunc | The mfunc values |
Definition at line 255 of file calibration.hpp.
|
inline |
Set the modulation frequency.
modulation_frequency | The modulation frequency |
Definition at line 179 of file calibration.hpp.
|
inline |
Set the number of rows.
rows | Number of rows |
Definition at line 151 of file calibration.hpp.