Skip to content

Struct cuvis::sensor_spectrum_t

ClassList > cuvis > sensor_spectrum_t

An averaged spectrum of raw sensor counts, usable in place of a white reference measurement. More...

  • #include <cuvis.hpp>

Public Attributes

Type Name
std::uint16_t effective_bit_depth = 0
double integration_time = 0.0
std::vector< std::uint16_t > values
std::vector< float > wavelengths

Detailed Description

The owning analogue of the C interface's cuvis_sensor_spectrum_t: one struct carries the samples and the acquisition context that makes counts interpretable. Wavelengths are nanometres. Both vectors carry one entry per sample and must be equally long.

Public Attributes Documentation

variable effective_bit_depth

std::uint16_t cuvis::sensor_spectrum_t::effective_bit_depth;

bit depth the counts are interpreted against (1 to 16)


variable integration_time

double cuvis::sensor_spectrum_t::integration_time;

integration time the counts were recorded with [ms]


variable values

std::vector<std::uint16_t> cuvis::sensor_spectrum_t::values;

raw sensor counts


variable wavelengths

std::vector<float> cuvis::sensor_spectrum_t::wavelengths;


The documentation for this class was generated from the following file cuvis.cpp/interface/cuvis.hpp