annotate maths/pca/pca.h @ 96:88f3cfcff55f

A threshold (delta) is added in the peak picking parameters structure (PPickParams). It is used as an offset when computing the smoothed detection function. A constructor for the structure PPickParams is also added to set the parameters to 0 when a structure instance is created. Hence programmes using the peak picking parameter structure and which do not set the delta parameter (e.g. QM Vamp note onset detector) won't be affected by the modifications. Functions modified: - dsp/onsets/PeakPicking.cpp - dsp/onsets/PeakPicking.h - dsp/signalconditioning/DFProcess.cpp - dsp/signalconditioning/DFProcess.h
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Mon, 20 Jun 2011 19:01:48 +0100
parents e5907ae6de17
children 701233f8ed41
rev   line source
cannam@19 1 #ifndef _PCA_H
cannam@19 2 #define _PCA_H
cannam@19 3
cannam@20 4 #ifdef __cplusplus
cannam@20 5 extern "C" {
cannam@20 6 #endif
cannam@20 7
cannam@19 8 /*
cannam@19 9 * pca.h
cannam@19 10 *
cannam@19 11 * Created by Mark Levy on 08/02/2006.
Chris@84 12 * Copyright 2006 Centre for Digital Music, Queen Mary, University of London.
Chris@84 13
Chris@84 14 This program is free software; you can redistribute it and/or
Chris@84 15 modify it under the terms of the GNU General Public License as
Chris@84 16 published by the Free Software Foundation; either version 2 of the
Chris@84 17 License, or (at your option) any later version. See the file
Chris@84 18 COPYING included with this distribution for more information.
cannam@19 19 *
cannam@19 20 */
cannam@19 21
cannam@19 22 void pca_project(double** data, int n, int m, int ncomponents);
cannam@19 23
cannam@20 24 #ifdef __cplusplus
cannam@20 25 }
cannam@20 26 #endif
cannam@20 27
cannam@19 28
cannam@19 29 #endif
cannam@19 30