~ubuntu-branches/ubuntu/raring/voxbo/raring

« back to all changes in this revision

Viewing changes to stand_alone/regression.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2010-06-06 11:33:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100606113311-v3c13imdkkd5n7ae
Tags: upstream-1.8.5~svn1172
ImportĀ upstreamĀ versionĀ 1.8.5~svn1172

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// regression.h
 
3
// Copyright (c) 1998-2010 by The VoxBo Development Team
 
4
 
 
5
// This file is part of VoxBo
 
6
// 
 
7
// VoxBo is free software: you can redistribute it and/or modify it
 
8
// under the terms of the GNU General Public License as published by
 
9
// the Free Software Foundation, either version 3 of the License, or
 
10
// (at your option) any later version.
 
11
// 
 
12
// VoxBo is distributed in the hope that it will be useful, but
 
13
// WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
// General Public License for more details.
 
16
// 
 
17
// You should have received a copy of the GNU General Public License
 
18
// along with VoxBo.  If not, see <http://www.gnu.org/licenses/>.
 
19
// 
 
20
// For general information on VoxBo, including the latest complete
 
21
// source code and binary distributions, manual, and associated files,
 
22
// see the VoxBo home page at: http://www.voxbo.org/
 
23
// 
 
24
// original version written by Kosh Banerjee
 
25
 
 
26
#ifndef REGRESSION_H
 
27
#define REGRESSION_H
 
28
 
 
29
#include <fstream>
 
30
#include <cctype>
 
31
#include <vector>
 
32
#include "vb_common_incs.h"
 
33
#include "filecheck.h"
 
34
#include <gsl/gsl_fit.h>
 
35
 
 
36
void readInTesFiles(const string &matrixStemName,vector<string> &tesList) throw();
 
37
 
 
38
void makeMatrixK(const string& matrixStemName) throw();
 
39
void makeMatrixKG(const string& matrixStemName) throw();
 
40
void makeMatrixF3(const string& matrixStemName) throw();
 
41
bool isFileReadable(const string& fileName) throw();
 
42
 
 
43
unsigned short checkTesDims(const unsigned short dimT,
 
44
                            const unsigned short dimX, const unsigned short dimY, 
 
45
                            const unsigned short dimZ, const Tes& theTes) throw();
 
46
 
 
47
unsigned short shiftLeft(const unsigned short index, 
 
48
                         const unsigned short dimIndex);
 
49
 
 
50
void computeTraces(const string& matrixStemName);
 
51
 
 
52
#endif // REGRESSION_H
 
53