-
Christian Beckmann authoredChristian Beckmann authored
melodic.h 827 B
/* MELODIC - Multivariate exploratory linear optimized decomposition into
independent components
melodic.h - main program header
Christian F. Beckmann, FMRIB Image Analysis Group
Copyright (C) 1999-2004 University of Oxford */
/* CCOPYRIGHT */
#ifndef __MELODIC_h
#define __MELODIC_h
#include<strstream>
// a simple message macro that takes care of cout and log
#define message(msg) { \
MelodicOptions& opt = MelodicOptions::getInstance(); \
if(opt.verbose.value()) \
{ \
cout << msg; \
} \
Log& logger = LogSingleton::getInstance(); \
logger.str() << msg; \
cout.flush(); \
}
#define outMsize(msg,Mat) { \
cout << msg << " " <<Mat.Nrows() << " x " << Mat.Ncols() << endl; \
}
namespace Melodic{
const string version = "ln(12) beta";
}
#endif