MNE-CPP  beta 1.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
FIFFLIB::FiffProj Class Reference

SSP projector data. More...

#include <fiff_proj.h>

Public Types

typedef QSharedPointer< FiffProjSPtr
 
typedef QSharedPointer< const FiffProjConstSPtr
 

Public Member Functions

 FiffProj ()
 
 FiffProj (const FiffProj &p_FiffProj)
 
 FiffProj (fiff_int_t p_kind, bool p_active, QString p_desc, FiffNamedMatrix &p_data)
 
 ~FiffProj ()
 

Static Public Member Functions

static void activate_projs (QList< FiffProj > &p_qListFiffProj)
 
static fiff_int_t make_projector (const QList< FiffProj > &projs, const QStringList &ch_names, MatrixXd &proj, const QStringList &bads=defaultQStringList, MatrixXd &U=defaultMatrixXd, bool include_active=true)
 

Public Attributes

fiff_int_t kind
 
bool active
 
QString desc
 
FiffNamedMatrix::SDPtr data
 

Friends

std::ostream & operator<< (std::ostream &out, const FIFFLIB::FiffProj &p_FiffProj)
 

Detailed Description

SSP projector data.

Provides SSP projector data.

Definition at line 89 of file fiff_proj.h.

Member Typedef Documentation

typedef QSharedPointer<const FiffProj> FIFFLIB::FiffProj::ConstSPtr

Const shared pointer type for FiffProj.

Definition at line 93 of file fiff_proj.h.

typedef QSharedPointer<FiffProj> FIFFLIB::FiffProj::SPtr

Shared pointer type for FiffProj.

Definition at line 92 of file fiff_proj.h.

Constructor & Destructor Documentation

FiffProj::FiffProj ( )

Default constructor.

Definition at line 68 of file fiff_proj.cpp.

FiffProj::FiffProj ( const FiffProj p_FiffProj)

Copy constructor.

Parameters
[in]p_FiffProjSSP projector data which should be copied

Definition at line 80 of file fiff_proj.cpp.

FiffProj::FiffProj ( fiff_int_t  p_kind,
bool  p_active,
QString  p_desc,
FiffNamedMatrix p_data 
)
explicit

Constructor

Definition at line 92 of file fiff_proj.cpp.

FiffProj::~FiffProj ( )

Destroys the FiffProj.

Definition at line 104 of file fiff_proj.cpp.

Member Function Documentation

void FiffProj::activate_projs ( QList< FiffProj > &  p_qListFiffProj)
static

Set all projections to active

Parameters
[in,out]p_qListFiffProjactivates projectors in place

Definition at line 112 of file fiff_proj.cpp.

fiff_int_t FiffProj::make_projector ( const QList< FiffProj > &  projs,
const QStringList &  ch_names,
MatrixXd &  proj,
const QStringList &  bads = defaultQStringList,
MatrixXd &  U = defaultMatrixXd,
bool  include_active = true 
)
static

mne_make_projector

ToDo move this to fiff_proj; Before: check if info is needed and if make_projector_info should be also moved.

MNE toolbox root function ### Implementation of the mne_make_projector function

Make an SSP operator

Parameters
[in]projsA set of projection vectors
[in]ch_namesA cell array of channel names
[out]projThe projection operator to apply to the data
[in]badsBad channels to exclude
[out]UThe orthogonal basis of the projection vectors (optional)
Returns
nproj - How many items in the projector

Definition at line 125 of file fiff_proj.cpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FIFFLIB::FiffProj p_FiffProj 
)
friend

overloading the stream out operator<<

Parameters
[in]outThe stream to which the fiff projector should be assigned to.
[in]p_FiffProjFiff projector which should be assigned to the stream.
Returns
the stream with the attached fiff projector

Definition at line 177 of file fiff_proj.h.

Member Data Documentation

bool FIFFLIB::FiffProj::active

If fiff projector active

Definition at line 165 of file fiff_proj.h.

FiffNamedMatrix::SDPtr FIFFLIB::FiffProj::data

Projector data, rows are equal to the length of channels

Definition at line 168 of file fiff_proj.h.

QString FIFFLIB::FiffProj::desc

Projector description

Definition at line 166 of file fiff_proj.h.

fiff_int_t FIFFLIB::FiffProj::kind

Fiff kind

Definition at line 164 of file fiff_proj.h.


The documentation for this class was generated from the following files: