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

Background worker that loads source-time-course (.stc) files and prepares per-hemisphere interpolation matrices. More...

#include "../disp3D_global.h"
#include <inv/inv_source_estimate.h>
#include <QObject>
#include <QString>
#include <QSharedPointer>
#include <Eigen/Sparse>
#include <atomic>
Include dependency graph for stcloadingworker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StcLoadingWorker
 Background worker that loads source estimate (STC) files and emits loaded data for visualization. More...

Detailed Description

Background worker that loads source-time-course (.stc) files and prepares per-hemisphere interpolation matrices.

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

StcLoadingWorker pulls the LH and RH .stc files from disk in a background thread, parses them into an INVLIB::InvSourceEstimate per hemisphere and builds the sparse vertex-to-source interpolation matrix using GeometryInfo::scdc / Interpolation::createInterpolationMat with a configurable geodesic cancel distance.

On completion the controller signals the GUI to attach the data to the cortical surfaces, after which scrubbing and playback are served by SourceEstimateOverlay without any further I/O.

Definition in file stcloadingworker.h.