fbgsense 0.1
Generic FBG spectrum analysis tool
spectrum_file.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 <filesystem>
10#include <fstream>
11#include <exception>
12
13#include "spectrum/spectrum.h"
14
15namespace fs = std::filesystem;
16
20class spectrum_file : public spectrum
21{
22public:
24 spectrum_file(size_t storage, size_t samples);
25 spectrum_file(size_t samples);
26
27 void load(fs::path filePath);
28};
Spectrum of csv file.
Definition: spectrum_file.h:21
Data structure providing access to the implemented method.
Definition: spectrum.h:47