corrected_intensity_metric.h
Go to the documentation of this file.
258 m_called_counts(called_counts, called_counts + std::min(num_of_counts, static_cast<size_t>(constants::NUM_OF_BASES_AND_NC))),
306 ushort_t corrected_int_all(const constants::dna_bases index) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
308 INTEROP_BOUNDS_CHECK(static_cast<size_t>(index), m_corrected_int_all.size(), "Base out of bounds");
318 float corrected_int_all_float(const constants::dna_bases index) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
320 INTEROP_BOUNDS_CHECK(static_cast<size_t>(index), m_corrected_int_all.size(), "Base out of bounds");
330 float corrected_int_called(const constants::dna_bases index) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
332 INTEROP_BOUNDS_CHECK(static_cast<size_t>(index), m_corrected_int_all.size(), "Base out of bounds");
368 uint_t called_counts(const constants::dna_bases index) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
370 INTEROP_BOUNDS_CHECK(static_cast<size_t>(index + 1), m_called_counts.size(), "Base out of bounds");
435 float percent_base(const constants::dna_bases index) const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
457 percent_bases[i] = static_cast<float>(m_called_counts[i + 1]) / static_cast<float>(total) * 100.0f;
480 //--------------------------------------------------------------------------------------------------------------
bool any_valid_called_int() const
Definition: corrected_intensity_metric.h:485
Definition: enums.h:301
void corrected_int_called_array(const float_array_t &vals)
Definition: corrected_intensity_metric.h:475
Definition: base_cycle_metric.h:73
ushort_t correctedIntAll(size_t index) const
Definition: corrected_intensity_metric.h:509
uint_t total_intensity() const
Definition: corrected_intensity_metric.h:414
Definition: enum_description.h:15
const ushort_array_t & corrected_int_all_array() const
Definition: corrected_intensity_metric.h:356
float signal_to_noise() const
Definition: corrected_intensity_metric.h:391
void set(const uint_t lane, const uint_t tile, const uint_t cycle, const uint_array_t &called_counts)
Definition: corrected_intensity_metric.h:272
uint_t tile() const
Definition: base_metric.h:284
corrected_intensity_metric(const header_type &)
Definition: corrected_intensity_metric.h:94
float percent_base(const constants::dna_bases index) const INTEROP_THROW_SPEC((model
Definition: corrected_intensity_metric.h:435
corrected_intensity_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const float_array_t &corrected_int_called, const uint_array_t &called_counts)
Definition: corrected_intensity_metric.h:176
::uint16_t ushort_t
Definition: base_metric.h:141
std::vector< ushort_t > ushort_array_t
Definition: corrected_intensity_metric.h:65
ushort_t averageCycleIntensity() const
Definition: corrected_intensity_metric.h:497
::intptr_t difference_type
Definition: corrected_intensity_metric.h:62
float corrected_int_called(const constants::dna_bases index) const INTEROP_THROW_SPEC((model
Definition: corrected_intensity_metric.h:330
uint_t totalCalls(const bool nocalls=false) const
Definition: corrected_intensity_metric.h:612
uint_t called_counts(const constants::dna_bases index) const INTEROP_THROW_SPEC((model
Definition: corrected_intensity_metric.h:368
base_cycle_metric(const uint_t lane=0, const uint_t tile=0, const uint_t cycle=0)
Definition: base_cycle_metric.h:90
uint_t cycle() const
Definition: base_cycle_metric.h:131
const uint_array_t & calledCounts() const
Definition: corrected_intensity_metric.h:550
::uint16_t * ushort_pointer_t
Definition: corrected_intensity_metric.h:74
const float_array_t & corrected_int_called_array() const
Definition: corrected_intensity_metric.h:348
Definition: enums.h:301
float percentBase(difference_type index) const
Definition: corrected_intensity_metric.h:571
::uint32_t uint_t
Definition: base_metric.h:77
Definition: generic_layout.h:24
::uint32_t * uint_pointer_t
Definition: corrected_intensity_metric.h:77
Definition: base_cycle_metric.h:20
Definition: corrected_intensity_metric.h:56
uint_t lane() const
Definition: base_metric.h:269
corrected_intensity_metric()
Definition: corrected_intensity_metric.h:84
const ushort_array_t & correctedIntAll() const
Definition: corrected_intensity_metric.h:542
void set_base(const uint_t lane, const uint_t tile)
Definition: base_cycle_metric.h:101
float percentIntensity(size_t index) const
Definition: corrected_intensity_metric.h:648
float signalToNoise() const
Definition: corrected_intensity_metric.h:601
Definition: enums.h:301
uint_t calledCounts(difference_type index) const
Definition: corrected_intensity_metric.h:588
corrected_intensity_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const ushort_t average_cycle_intensity, const float signal_to_noise, const float_pointer_t corrected_int_called, const ushort_pointer_t corrected_int_all, const uint_pointer_t called_counts)
Definition: corrected_intensity_metric.h:147
float_array_t percent_bases() const
Definition: corrected_intensity_metric.h:448
uint_t total_calls(const bool nocalls=false) const
Definition: corrected_intensity_metric.h:402
const uint_array_t & called_counts_array() const
Definition: corrected_intensity_metric.h:340
Definition: corrected_intensity_metric.h:58
float totalCalledIntensity() const
Definition: corrected_intensity_metric.h:636
float float_cast(const T val, const T sentinel=std::numeric_limits< T >::max())
Definition: math.h:77
std::vector< uint_t > uint_array_t
Definition: corrected_intensity_metric.h:68
uint_t noCalls() const
Definition: corrected_intensity_metric.h:559
static const char * prefix()
Definition: corrected_intensity_metric.h:674
float percent_nocall() const INTEROP_THROW_SPEC((model
Definition: corrected_intensity_metric.h:466
Definition: enums.h:291
corrected_intensity_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const uint_array_t &called_count)
Definition: corrected_intensity_metric.h:225
float * float_pointer_t
Definition: corrected_intensity_metric.h:80
float corrected_int_all_float(const constants::dna_bases index) const INTEROP_THROW_SPEC((model
Definition: corrected_intensity_metric.h:318
Definition: metric_exceptions.h:25
ushort_t average_cycle_intensity() const
Definition: corrected_intensity_metric.h:295
const float_array_t & correctedIntCalled() const
Definition: corrected_intensity_metric.h:533
float percentCalledIntensity(const size_t index) const
Definition: corrected_intensity_metric.h:662
uint_t no_calls() const
Definition: corrected_intensity_metric.h:379
corrected_intensity_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const ushort_pointer_t corrected_int_called, const uint_pointer_t called_counts)
Definition: corrected_intensity_metric.h:201
std::vector< float > float_array_t
Definition: corrected_intensity_metric.h:71
Intensity and count metrics for each base.
Definition: corrected_intensity_metric.h:50
corrected_intensity_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const ::uint32_t *called_counts, const size_t num_of_counts, const size_t, const size_t)
Definition: corrected_intensity_metric.h:247
float correctedIntCalled(size_t index) const
Definition: corrected_intensity_metric.h:522
corrected_intensity_metric(const uint_t lane, const uint_t tile, const uint_t cycle, const ushort_t average_cycle_intensity, const float signal_to_noise, const float_array_t &corrected_int_called, const ushort_array_t &corrected_int_all, const uint_array_t &called_counts)
Definition: corrected_intensity_metric.h:115
ushort_t corrected_int_all(const constants::dna_bases index) const INTEROP_THROW_SPEC((model
Definition: corrected_intensity_metric.h:306
float total_called_intensity() const
Definition: corrected_intensity_metric.h:424
uint_t totalIntensity() const
Definition: corrected_intensity_metric.h:625