@@ -76,6 +76,7 public: | |||||
76 |
|
76 | |||
77 | private: |
|
77 | private: | |
78 | Properties m_Properties{}; |
|
78 | Properties m_Properties{}; | |
|
79 | std::vector<double> m_YAxisData{}; | |||
79 | }; |
|
80 | }; | |
80 |
|
81 | |||
81 | /** |
|
82 | /** |
@@ -265,6 +265,10 bool SpectrogramParserHelper::checkProperties() | |||||
265 | return false; |
|
265 | return false; | |
266 | } |
|
266 | } | |
267 |
|
267 | |||
|
268 | std::transform( | |||
|
269 | minBands.begin(), minBands.end(), maxBands.begin(), std::back_inserter(m_YAxisData), | |||
|
270 | [](const auto &minValue, const auto &maxValue) { return (minValue + maxValue) / 2.; }); | |||
|
271 | ||||
268 | return true; |
|
272 | return true; | |
269 | } |
|
273 | } | |
270 |
|
274 |
General Comments 0
You need to be logged in to leave comments.
Login now