v2.0.0
Loading...
Searching...
No Matches
fwd_comp_data.cpp File Reference

Definition of the FwdCompData Class. More...

#include "fwd_comp_data.h"
#include <mne/mne_ctf_comp_data_set.h>
#include <fiff/fiff_types.h>
#include <iostream>
Include dependency graph for fwd_comp_data.cpp:

Go to the source code of this file.

Macros

#define TRUE   1
#define FALSE   0
#define FAIL   -1
#define OK   0
#define X_60   0
#define Y_60   1
#define Z_60   2
#define MALLOC_60(x, t)
#define ALLOC_CMATRIX_60(x, y)
#define FREE_60(x)
#define FREE_CMATRIX_60(m)

Functions

void mne_free_cmatrix_60 (float **m)
float ** mne_cmatrix_60 (int nr, int nc)

Detailed Description

Definition of the FwdCompData 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:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of MNE-CPP authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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 fwd_comp_data.cpp.

Macro Definition Documentation

◆ ALLOC_CMATRIX_60

#define ALLOC_CMATRIX_60 ( x,
y )
Value:
float ** mne_cmatrix_60(int nr, int nc)

Definition at line 70 of file fwd_comp_data.cpp.

◆ FAIL

#define FAIL   -1

Definition at line 57 of file fwd_comp_data.cpp.

◆ FALSE

#define FALSE   0

Definition at line 53 of file fwd_comp_data.cpp.

◆ FREE_60

#define FREE_60 ( x)
Value:
if ((char *)(x) != NULL) free((char *)(x))

Definition at line 72 of file fwd_comp_data.cpp.

◆ FREE_CMATRIX_60

#define FREE_CMATRIX_60 ( m)
Value:
void mne_free_cmatrix_60(float **m)

Definition at line 74 of file fwd_comp_data.cpp.

◆ MALLOC_60

#define MALLOC_60 ( x,
t )
Value:
(t *)malloc((x)*sizeof(t))

Definition at line 68 of file fwd_comp_data.cpp.

◆ OK

#define OK   0

Definition at line 61 of file fwd_comp_data.cpp.

◆ TRUE

#define TRUE   1

Definition at line 49 of file fwd_comp_data.cpp.

◆ X_60

#define X_60   0

Definition at line 64 of file fwd_comp_data.cpp.

◆ Y_60

#define Y_60   1

Definition at line 65 of file fwd_comp_data.cpp.

◆ Z_60

#define Z_60   2

Definition at line 66 of file fwd_comp_data.cpp.

Function Documentation

◆ mne_cmatrix_60()

float ** mne_cmatrix_60 ( int nr,
int nc )

Definition at line 100 of file fwd_comp_data.cpp.

◆ mne_free_cmatrix_60()

void mne_free_cmatrix_60 ( float ** m)

Definition at line 76 of file fwd_comp_data.cpp.