MNE-CPP  0.1.9
A Framework for Electrophysiology
Classes | Macros | Typedefs | Functions
mne_meas_data.cpp File Reference

Definition of the MNE Meas Data (MneMeasData) Class. More...

#include "mne_meas_data.h"
#include "mne_meas_data_set.h"
#include "mne_inverse_operator.h"
#include <mne/c/mne_types.h>
#include <mne/c/mne_named_matrix.h>
#include <fiff/fiff_types.h>
#include <time.h>
#include <QFile>
Include dependency graph for mne_meas_data.cpp:

Go to the source code of this file.

Classes

struct  INVERSELIB::ringBufBuf_9
 
struct  INVERSELIB::ringBuf_9
 

Macros

#define TRUE   1
 
#define FALSE   0
 
#define FAIL   -1
 
#define OK   0
 
#define MIN(a, b)   ((a) < (b) ? (a) : (b))
 
#define MAX(a, b)   ((a) > (b) ? (a) : (b))
 
#define MALLOC_9(x, t)   (t *)malloc((x)*sizeof(t))
 
#define REALLOC_9(x, y, t)   (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t)))
 
#define FREE_9(x)   if ((char *)(x) != NULL) free((char *)(x))
 
#define ALLOC_CMATRIX_9(x, y)   mne_cmatrix_9((x),(y))
 
#define FREE_CMATRIX_9(m)   mne_free_cmatrix_9((m))
 
#define MAXDATE   100
 
#define MAXBUF   200
 

Typedefs

typedef struct INVERSELIB::ringBufBuf_9 INVERSELIB::ringBufBufRec_9
 
typedef struct INVERSELIB::ringBuf_9 INVERSELIB::ringBufRec_9
 

Functions

void fromFloatEigenMatrix_9 (const Eigen::MatrixXf &from_mat, float **&to_mat, const int m, const int n)
 
void fromFloatEigenMatrix_9 (const Eigen::MatrixXf &from_mat, float **&to_mat)
 
void mne_free_cmatrix_9 (float **m)
 
float ** mne_cmatrix_9 (int nr, int nc)
 
void mne_free_ring_buffer_9 (void *thisp)
 
void mne_free_event_9 (mneEvent e)
 
void mne_free_event_list_9 (mneEventList list)
 
void mne_free_sparse_named_matrix_9 (mneSparseNamedMatrix mat)
 
void mne_ch_selection_free_9 (mneChSelection s)
 
void mne_string_to_name_list_9 (const QString &s, QStringList &listp, int &nlistp)
 
QString mne_name_list_to_string_9 (const QStringList &list)
 
QString mne_channel_names_to_string_9 (const QList< FIFFLIB::FiffChInfo > &chs, int nch)
 
void mne_channel_names_to_name_list_9 (const QList< FIFFLIB::FiffChInfo > &chs, int nch, QStringList &listp, int &nlistp)
 
int mne_find_evoked_types_comments (FiffStream::SPtr &stream, QList< FiffDirNode::SPtr > &nodesp, int **aspect_typesp, QStringList *commentsp)
 
QList< FiffDirNode::SPtrmne_find_evoked (FiffStream::SPtr &stream, QStringList *commentsp)
 
int mne_read_evoked (const QString &name, int setno, int *nchanp, int *nsampp, float *tminp, float *sfreqp, QList< FiffChInfo > &chsp, float ***epochsp, QString *commentp, float *highpassp, float *lowpassp, int *navep, int *aspect_kindp, FiffCoordTransOld **transp, fiffId *idp, fiffTime *meas_datep)
 
char * mne_format_file_id (fiffId id)
 
int mne_read_meg_comp_eeg_ch_info_9 (const QString &name, QList< FiffChInfo > &megp, int *nmegp, QList< FiffChInfo > &meg_compp, int *nmeg_compp, QList< FiffChInfo > &eegp, int *neegp, FiffCoordTransOld **meg_head_t, fiffId *idp)
 
int mne_read_bad_channel_list_from_node_9 (FiffStream::SPtr &stream, const FiffDirNode::SPtr &pNode, QStringList &listp, int &nlistp)
 
int mne_read_bad_channel_list_9 (const QString &name, QStringList &listp, int &nlistp)
 

Detailed Description

Definition of the MNE Meas Data (MneMeasData) Class.

Author
Lorenz Esch lesch.nosp@m.@mgh.nosp@m..harv.nosp@m.ard..nosp@m.edu; Matti Hamalainen msh@n.nosp@m.mr.m.nosp@m.gh.ha.nosp@m.rvar.nosp@m.d.edu; Christoph Dinh chdin.nosp@m.h@nm.nosp@m.r.mgh.nosp@m..har.nosp@m.vard..nosp@m.edu
Since
0.1.0
Date
January, 2017

LICENSE

Copyright (C) 2017, Lorenz Esch, Matti Hamalainen, Christoph Dinh. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file mne_meas_data.cpp.