imaging_column.h
Go to the documentation of this file.
53 INTEROP_TUPLE7(CycleWithinRead, metric_base::base_read_metric, id/*dummy*/, Void, UInt, IdType, 0)\
54 INTEROP_TUPLE7(DensityKPermm2, metrics::tile_metric, cluster_density_k, Void, Float, ValueType, 1)\
55 INTEROP_TUPLE7(DensityPfKPermm2, metrics::tile_metric, cluster_density_pf_k, Void, Float, ValueType, 1)\
57 INTEROP_TUPLE7(ClusterCountPfK, metrics::tile_metric, cluster_count_pf_k, Void, Float, ValueType, 1)\
59 INTEROP_TUPLE7(PercentAligned, metrics::tile_metric, percent_aligned_at, Read, Float, ValueType, 1)\
60 INTEROP_TUPLE7(LegacyPhasingRate, metrics::tile_metric, percent_phasing_at, Read, Float, ValueType, 3)\
61 INTEROP_TUPLE7(LegacyPrephasingRate, metrics::tile_metric, percent_prephasing_at, Read, Float, ValueType, 3)\
63 INTEROP_TUPLE7(PercentGreaterThanQ20, metrics::q_metric, percent_over_qscore, Q20, Float, ValueType, 2)\
64 INTEROP_TUPLE7(PercentGreaterThanQ30, metrics::q_metric, percent_over_qscore, Q30, Float, ValueType, 2)\
65 INTEROP_TUPLE7(P90, metrics::extraction_metric, max_intensity_values, Void, UShort, ChannelArray, 0)\
66 INTEROP_TUPLE7(PercentNoCalls, metrics::corrected_intensity_metric,percent_nocall, Void, Float, ValueType, 1)\
67 INTEROP_TUPLE7(PercentBase, metrics::corrected_intensity_metric,percent_bases, Void, Float, BaseArray, 1)\
69 INTEROP_TUPLE7(Corrected, metrics::corrected_intensity_metric,corrected_int_all_array, Void, UShort, BaseArray, 0)\
70 INTEROP_TUPLE7(Called, metrics::corrected_intensity_metric,corrected_int_called_array, Void, UShort, BaseArray, 0)\
71 INTEROP_TUPLE7(SignalToNoise, metrics::corrected_intensity_metric,signal_to_noise, Void, Float, ValueType, 2)\
72 INTEROP_TUPLE7(PhasingWeight, metrics::phasing_metric, phasing_weight, Void, Float, ValueType, 3)\
73 INTEROP_TUPLE7(PrephasingWeight, metrics::phasing_metric, prephasing_weight, Void, Float, ValueType, 3)\
74 INTEROP_TUPLE7(PhasingSlope, metrics::dynamic_phasing_metric, phasing_slope, Void, Float, ValueType, 3)\
75 INTEROP_TUPLE7(PhasingOffset, metrics::dynamic_phasing_metric, phasing_offset, Void, Float, ValueType, 3)\
76 INTEROP_TUPLE7(PrephasingSlope, metrics::dynamic_phasing_metric, prephasing_slope, Void, Float, ValueType, 3)\
77 INTEROP_TUPLE7(PrephasingOffset, metrics::dynamic_phasing_metric, prephasing_offset, Void, Float, ValueType, 3)\
78 INTEROP_TUPLE7(MinimumContrast, metrics::image_metric, min_contrast_array, Void, UShort, ChannelArray, 0)\
79 INTEROP_TUPLE7(MaximumContrast, metrics::image_metric, max_contrast_array, Void, UShort, ChannelArray, 0)\
84 INTEROP_TUPLE7(ClusterCountOccupiedK, metrics::extended_tile_metric, cluster_count_occupied_k, Void, Float, ValueType, 1)\
85 INTEROP_TUPLE7(PercentOccupied, metrics::extended_tile_metric, percent_occupied, Void, Float, ValueType, 1)
89 # define INTEROP_TUPLE7(Id, Ignored1, Ignored2, Ignored3, Ignored4, Ignored5, Ignored6) Id##Column,
91 enum column_id{ INTEROP_IMAGING_COLUMN_TYPES ImagingColumnCount, UnknownColumnId=INTEROP_UNKNOWN};
177 std::string full_name(const size_t sub_index)const INTEROP_THROW_SPEC((model::index_out_of_bounds_exception))
Definition: imaging_column.h:91
void parse_header_for_id(const std::string &header)
Definition: imaging_column.h:208
void offset(const size_t off)
Definition: imaging_column.h:192
size_t size() const
Definition: imaging_column.h:218
Definition: enum_description.h:15
const string_vector & subcolumns() const
Definition: imaging_column.h:168
friend std::ostream & operator<<(std::ostream &out, const imaging_column &column)
Definition: imaging_table_csv.h:49
static std::string to_name(const std::string &header)
Definition: imaging_column.h:261
Definition: imaging_column.h:96
static std::string to_header(const std::string &name)
Definition: imaging_column.h:246
friend std::istream & operator>>(std::istream &in, imaging_column &column)
Definition: imaging_table_csv.h:23
static std::string to_name(const model::table::imaging_column &header)
Definition: imaging_column.h:276
Definition: imaging_column.h:91
void camel_from(std::string &str, const char sep=' ')
Definition: string.h:74
void camel_to(std::string &str, const std::string &sep=" ")
Definition: string.h:55
imaging_column(const size_t index, const size_t offset, const string_vector &sub_columns)
Definition: imaging_column.h:122
size_t column_count() const
Definition: imaging_column.h:226
static std::string to_header(const column_id id)
Definition: imaging_column.h:237
column_id id() const
Definition: imaging_column.h:136
void id(const column_id val)
Definition: imaging_column.h:200
bool replace(std::string &str, const std::string &from, const std::string &to)
Definition: string.h:39
imaging_column()
Definition: imaging_column.h:103
bool has_children() const
Definition: imaging_column.h:152
Definition: metric_exceptions.h:25
const std::string & name() const
Definition: imaging_column.h:144
imaging_column(const size_t index, const size_t offset)
Definition: imaging_column.h:109
std::string full_name(const size_t sub_index) const INTEROP_THROW_SPEC((model
Definition: imaging_column.h:177
size_t offset() const
Definition: imaging_column.h:160
std::vector< std::string > string_vector
Definition: imaging_column.h:100