Extended I/O methods for InvSourceEstimate. More...
#include <inv_source_estimate_io.h>
Static Public Member Functions | |
| static bool | writeCsv (const InvSourceEstimate &stc, const QString &sPath, char cDelim=',') |
| Export source estimate to CSV format. | |
| static InvSourceEstimate | readCsv (const QString &sPath, char cDelim=',') |
| Read source estimate from CSV format. | |
| static bool | writeMatrix (const InvSourceEstimate &stc, const QString &sPath) |
| Export source estimate as a tab-separated matrix for easy import. | |
Extended I/O methods for InvSourceEstimate.
Definition at line 49 of file inv_source_estimate_io.h.
|
static |
Read source estimate from CSV format.
| [in] | sPath | Input file path. |
| [in] | cDelim | Delimiter character (default comma). |
Definition at line 86 of file inv_source_estimate_io.cpp.
|
static |
Export source estimate to CSV format.
Writes a header line with vertex indices, then one row per time point. First column is time (seconds).
| [in] | stc | Source estimate to export. |
| [in] | sPath | Output file path. |
| [in] | cDelim | Delimiter character (default comma). |
Definition at line 45 of file inv_source_estimate_io.cpp.
|
static |
Export source estimate as a tab-separated matrix for easy import.
No header; pure numeric matrix (n_vertices × n_times).
| [in] | stc | Source estimate to export. |
| [in] | sPath | Output file path. |
Definition at line 154 of file inv_source_estimate_io.cpp.