Roy Sandberg / Mbed 2 deprecated BLE_ECG

Dependencies:   BLE_API Queue mbed nRF51822

Fork of BLE_HeartRate by Bluetooth Low Energy

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers match.h Source File

match.h

00001 /*****************************************************************************
00002 FILE:  match.h
00003 AUTHOR: Patrick S. Hamilton
00004 REVISED:    12/4/2001
00005   ___________________________________________________________________________
00006 
00007 match.h: Beat matching prototype definitions.
00008 Copywrite (C) 2001 Patrick S. Hamilton
00009 
00010 This file is free software; you can redistribute it and/or modify it under
00011 the terms of the GNU Library General Public License as published by the Free
00012 Software Foundation; either version 2 of the License, or (at your option) any
00013 later version.
00014 
00015 This software is distributed in the hope that it will be useful, but WITHOUT ANY
00016 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
00017 PARTICULAR PURPOSE.  See the GNU Library General Public License for more
00018 details.
00019 
00020 You should have received a copy of the GNU Library General Public License along
00021 with this library; if not, write to the Free Software Foundation, Inc., 59
00022 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00023 
00024 You may contact the author by e-mail (pat@eplimited.edu) or postal mail
00025 (Patrick Hamilton, E.P. Limited, 35 Medford St., Suite 204 Somerville,
00026 MA 02143 USA).  For updates to this software, please visit our website
00027 (http://www.eplimited.com).
00028 ******************************************************************************/
00029 
00030 int NewBeatType(int *beat) ;
00031 void BestMorphMatch(int *newBeat,int *matchType,double *matchIndex, double *mi2, int *shiftAdj) ;
00032 void UpdateBeatType(int matchType,int *newBeat, double mi2, int shiftAdj) ;
00033 int GetTypesCount(void) ;
00034 int GetBeatTypeCount(int type) ;
00035 int IsTypeIsolated(int type) ;
00036 void SetBeatClass(int type, int beatClass) ;
00037 int GetBeatClass(int type) ;
00038 int GetDominantType(void) ;
00039 int GetBeatWidth(int type) ;
00040 int GetPolarity(int type) ;
00041 int GetRhythmIndex(int type) ;
00042 void ResetMatch(void) ;
00043 void ClearLastNewType(void) ;
00044 int GetBeatBegin(int type) ;
00045 int GetBeatEnd(int type) ;
00046 int GetBeatAmp(int type) ;
00047 int MinimumBeatVariation(int type) ;
00048 int GetBeatCenter(int type) ;
00049 int WideBeatVariation(int type) ;
00050 double DomCompare2(int *newBeat, int domType) ;
00051 double DomCompare(int newType, int domType) ;