Developer documentation
Version 3.0.3-105-gd3941f44
MR::Math::Stats::SubjectDataImportBase Class Referenceabstract

#include "math/stats/import.h"

Public Member Functions

 SubjectDataImportBase (const std::string &path)
 
virtual ~SubjectDataImportBase ()
 
virtual void operator() (matrix_type::RowXpr column) const =0
 
virtual default_type operator[] (const size_t index) const =0
 
const std::string & name () const
 
virtual size_t size () const =0
 

Protected Attributes

const std::string path
 

Detailed Description

A base class defining the interface for importing subject data This class defines the interface for how subject data is imported into a GLM measurement matrix. Exactly how the subject data is 'vectorised' will depend on the particular type of data being tested; nevertheless, the data for each subject should be stored in a single column within the measurement matrix (or in some cases, within the design matrix).

Definition at line 50 of file import.h.

Constructor & Destructor Documentation

◆ SubjectDataImportBase()

MR::Math::Stats::SubjectDataImportBase::SubjectDataImportBase ( const std::string &  path)
inline

Definition at line 53 of file import.h.

◆ ~SubjectDataImportBase()

virtual MR::Math::Stats::SubjectDataImportBase::~SubjectDataImportBase ( )
inlinevirtual

Definition at line 55 of file import.h.

Member Function Documentation

◆ name()

const std::string & MR::Math::Stats::SubjectDataImportBase::name ( ) const
inline

Definition at line 69 of file import.h.

◆ operator()()

virtual void MR::Math::Stats::SubjectDataImportBase::operator() ( matrix_type::RowXpr  column) const
pure virtual
Parameters
rowthe row of a matrix into which the data from this particular file should be loaded

◆ operator[]()

virtual default_type MR::Math::Stats::SubjectDataImportBase::operator[] ( const size_t  index) const
pure virtual
Parameters
indexextract the data from this file corresponding to a particular row in the measurements vector

◆ size()

virtual size_t MR::Math::Stats::SubjectDataImportBase::size ( ) const
pure virtual

Member Data Documentation

◆ path

const std::string MR::Math::Stats::SubjectDataImportBase::path
protected

Definition at line 74 of file import.h.


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