v2.0.0
Loading...
Searching...
No Matches
filterio.h File Reference

Plain-text serialisation of FilterKernel coefficient sets. More...

#include "dsp_global.h"
#include "filterkernel.h"
#include <QSharedPointer>
#include <QString>
Include dependency graph for filterio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UTILSLIB::FilterIO
 Processes txt files which hold filter coefficients. More...

Namespaces

namespace  UTILSLIB
 Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).

Detailed Description

Plain-text serialisation of FilterKernel coefficient sets.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

FilterIO reads and writes the simple human-readable text format used by mne-cpp tooling to persist designed FIR / IIR coefficient sets: header lines carry the design parameters (filter type, design method, cutoff frequencies, transition bandwidth, sampling frequency, tap count), and the body holds the numerator (and, for IIR, denominator) coefficients one per line. This makes it trivial to inspect, version-control or hand- edit a filter without having to rerun the design step.

Only the kernel coefficients and their design metadata are stored — no runtime state, channel selection or overlap-add buffer is serialised.

Definition in file filterio.h.