fbgsense 0.1
Generic FBG spectrum analysis tool
spectrum_state.h
1/*
2 * This file is a part of the project "fbgsense", which is released under MIT license.
3 * Copyright (c) 2022 Daniel Múčka, Masaryk University, Faculty of Informatics
4 * See file LICENSE or visit https://opensource.org/licenses/MIT for full license details.
5 */
6
7#pragma once
8
9#include <vector>
10#include <span>
11
12#include "../spectrum_types.h"
13#include "../peak.h"
14
19{
20 channel_t channel;
21 size_t samples;
22 spectrum_unit_t* wavelengths;
23 spectrum_unit_t* intensities;
24 spectrum_unit_t* filtered_intensities;
25 std::span<complex_t>& frequencies;
26 std::span<derivation_t>& derivation;
27 minmax_t& extremas;
28 std::vector<peak>& peaks;
29};
Definition: spectrum_types.h:24
Data structure reflecting spectrum's current state. Used in processors.
Definition: spectrum_state.h:19