debian/0000755000000000000000000000000012302707215007165 5ustar debian/docs0000644000000000000000000000000711763015404010037 0ustar README debian/python-biosig.examples0000644000000000000000000000004111763015404013515 0ustar python/demo.py python/example.py debian/copyright0000644000000000000000000000522111763015404011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: biosig4c++ Upstream-Contact: Alois Schloegl Source: https://biosig.svn.sourceforge.net/svnroot/biosig/trunk/biosig4c++ Files: * Copyright: 2003-2007, Lev Walkin 2003,2004, Giorgio De Odorico 2003,2004, X/IO Labs (xiolabs.com) 2003,2004,2006, Eugenio Cervesato 2005,2006, Franco Chiarugi 2005-2012, Alois Schloegl 2007, Elias Apostolopoulos License: GPL-3+ Files: XMLParser/tiny* Copyright: 2000-2007, Lee Thomason 2002-2004, Yves Berquin 2005, Tyge Lovset 2007-2010, Alois Schloegl License: ZLIB This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. Files: debian/* Copyright: 2011, Yaroslav Halchenko License: GPL-3+ Files: debian/upstream-extern Copyright: 2005-2012, Alois Schloegl License: GPL-3+ Note: Copied from BioSig project License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/libbiosig-dev.dirs0000644000000000000000000000002411763015404012565 0ustar usr/lib usr/include debian/changelog0000644000000000000000000000773512302707215011053 0ustar biosig4c++ (1.3.0-2build2) trusty; urgency=medium * Rebuild for octave 3.8. -- Matthias Klose Mon, 24 Feb 2014 18:25:17 +0000 biosig4c++ (1.3.0-2build1) trusty; urgency=medium * No-change rebuild for suitesparse transition. -- Logan Rosen Fri, 20 Dec 2013 17:33:45 -0500 biosig4c++ (1.3.0-2) unstable; urgency=low * Do not build biosig_{client,server} which are still experimental and actually were not shipped within any package anyway (as a side-effect Closes: #675582) -- Yaroslav Halchenko Sun, 03 Jun 2012 22:18:19 -0400 biosig4c++ (1.3.0-1) unstable; urgency=low * Fresh upstream release - libbiosig now SOVERSION 1, thus libbiosig1{,-dbg} to replace libbiosig0 * debian/copyright: updated for DEP5 * debian/patches: - added up_memcpy_str_cast (sent upstream) - removed up_for_loop_initial (upstreamed) - removed up_*oct* (no hardcoded octave version information in upstream Makefile any longer), deb_link_dynamically_python - removed deb_link_dynamically in favor of specifying LIBEXT=so to calls to make - removed deb_use_borrowed_eventcodes: now debian/upstream-extern provides needed extra external files (from biosig) and gets symlinked as extern at build time - refreshed deb_no_mex_copy_upstairs,deb_no_locals * upstream-files/eventcodes.txt -- refreshed from online * debian/control: - new build-depends: gawk, libxml2-dev - boosted policy to 3.9.3 -- no further changes -- Yaroslav Halchenko Thu, 24 May 2012 09:22:13 -0400 biosig4c++ (0.96.3+svn2677-4) UNRELEASED; urgency=low * debian/upstream: Authors need to be separated by ' and ' rather than by ',' -- Andreas Tille Wed, 09 May 2012 09:48:22 +0200 biosig4c++ (0.96.3+svn2677-3) unstable; urgency=low * ACK the .1 NMU (Thank you Miguel) - debian/rules: call dh_numpy only if available * Use unversioned mkoctfile (Closes: #665051). Thanks Lucas Nussbaum for the report and Nicolas Bourdaud for the patch. * debian/rules, debian/control - fixed typo in debian/control resulting in octave:Depends - adjusted conditional use of octave-depends across systems (should generate octave:Depends subst for recent systems lacking octave-depends) * debian/patches: refreshed -- Yaroslav Halchenko Wed, 11 Apr 2012 12:36:54 -0400 biosig4c++ (0.96.3+svn2677-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "missing dependency on python-numpy" by adding dh_numpy under override_dh_auto_install (Closes: #641790) -- Miguel de Val Borro Fri, 02 Dec 2011 20:02:39 +0100 biosig4c++ (0.96.3+svn2677-2) unstable; urgency=low * up_for_loop_initial patch to prevent FTBFS. Thanks Aurelien Jarno for report and patch (Closes: #633346) -- Yaroslav Halchenko Sat, 09 Jul 2011 10:40:56 -0400 biosig4c++ (0.96.3+svn2677-1) unstable; urgency=low * Initial release (Closes: #585533) * Ship and use a copy of eventcodes.txt from biosig project * Patches added: - up_system_octave_version to build against default available version of octave - deb_no_mex_copy_upstairs to not try copy resultant .mex files outside of the tree - deb_link_dynamically* to assure dynamic linking against the library - deb_no_locals to avoid errorneous linking against /usr/local -- Yaroslav Halchenko Thu, 05 May 2011 12:28:27 -0400 biosig4c++ (0.94.2+svn2552-1~pre1) UNRELEASED; urgency=low * New upstream snapshot: some API extensions in the library interface * Assure linking of .so against used libraries * Symlinks for the missing manpages -- Yaroslav Halchenko Fri, 29 Oct 2010 00:58:54 -0400 biosig4c++ (0.94.1+svn2521-1~pre0) UNRELEASED; urgency=low * Initial Debian packaging. -- Yaroslav Halchenko Fri, 11 Jun 2010 01:19:48 -0400 debian/upstream0000644000000000000000000000057511763015404010761 0ustar Reference: Author: Alois Schlögl and Clemens Brunner Title: "BioSig: A Free and Open Source Software Library for BCI Research" Journal: Computer Year: 2008 Volume: 41 Number: 10 Pages: 44-50 DOI: 10.1109/MC.2008.407 URL: http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=4640660 eprint: http://pub.ist.ac.at/~schloegl/publications/Schloegl2007_BCI_Software.pdf debian/libbiosig-dev.install0000644000000000000000000000005511763015404013276 0ustar usr/include/* usr/lib/lib*.a usr/lib/lib*.so debian/TODO0000644000000000000000000000017111763015404007656 0ustar * Build tools/bindings against dynamic library (now built against static one) * Extend biosig-tools? ship client/server? debian/biosig-tools.install0000644000000000000000000000004211763015404013165 0ustar usr/bin usr/share/man/man1/save2* debian/libbiosig1.lintian-overrides0000644000000000000000000000032611763015404014574 0ustar # as mentioned in README.source, tinyxml did not accept the patch (yet) # so libbiosig comes with its own patched (supports compression) copy libbiosig1 binary: embedded-library usr/lib/libbiosig.so.1.3.0: tinyxml debian/compat0000644000000000000000000000000211763015404010365 0ustar 7 debian/libbiosig1-dbg.dirs0000644000000000000000000000001411763015404012623 0ustar usr/lib/dbg debian/blends0000644000000000000000000000074011763015404010362 0ustar Tasks: debian-science/electrophysiology Suggests: libbiosig0 Published-Title: BioSig: A Free and Open Source Software Library for BCI Research Published-Authors: Alois Schlögl, Clemens Brunner Published-In: Computer, 41(10): 44-50 Published-Year: 2008 Published-DOI: 10.1109/MC.2008.407 Published-URL: http://pub.ist.ac.at/~schloegl/publications/Schloegl2007_BCI_Software.pdf Tasks: debian-med/imaging-dev Depends: libbiosig-dev Tasks: debian-med/imaging Depends: biosig-tools debian/patches/0000755000000000000000000000000011763015404010616 5ustar debian/patches/up_memcpy_str_cast0000644000000000000000000000100611763015404014436 0ustar From: Yaroslav Halchenko Origin: Debian Forwarded: Alois Schlögl Applied-Upstream: Last-Update: 2012-05-24 --- a/biosig_client.c +++ b/biosig_client.c @@ -56,7 +56,7 @@ int main (int argc, char *argv[]) { char *str = strcpy(path2keys,getenv("HOME")); str += strlen(path2keys); str[0] = FILESEP; - str = memcpy(str+1,".biosig",7)+7; + str = (char*)memcpy(str+1,".biosig",7)+7; str[0] = FILESEP; str[1] = 0; size_t path2keysLength = strlen(path2keys); debian/patches/deb_no_locals0000644000000000000000000000310011763015404013316 0ustar --- a/Makefile +++ b/Makefile @@ -92,7 +92,7 @@ DEFINES += -D=WITHOUT_NETWORK CFLAGS = -pipe -fPIC -Wall -fno-builtin-memcmp -O2 $(DEFINES) -Wextra # -I cntopenlib/include/ CXXFLAGS = -pipe -fPIC -Wall -fno-builtin-memcmp -O2 $(DEFINES) -Wextra # -I cntopenlib/include/ AR = ar crs -INCPATH = -I /usr/include/libxml2/ -I/opt/local/include/ +INCPATH = -I /usr/include/libxml2/ #INCPATH = -I /usr/local/include/gdcm-2.0/ # ../gdcm-2.0.10/Source/DataStructureAndEncodingDefinition \ # ../gdcm-2.0.10/Source/InformationObjectDefinition \ @@ -100,9 +100,9 @@ INCPATH = -I /usr/include/libxml2/ # ../gdcm-2.0.10/Source/DataDictionary \ # ../gdcm-2.0.10/Source/Common LINK = $(CXX) -LFLAGS_dynamic = -L/usr/local/lib/ -L/opt/local/lib -L. +LFLAGS_dynamic = -L. LIBS_dynamic = -lbiosig -LFLAGS_static = -L/usr/local/lib/ -L/opt/local/lib +LFLAGS_static = LIBS_static = libbiosig.a ifeq ($(LIBEXT),so) LFLAGS = $(LFLAGS_dynamic) @@ -715,9 +715,9 @@ install_ttl2trig: bin/ttl2trig install bin/ttl2trig $(BIN) install_octave: mexSLOAD.mex - mkdir -p $(DESTDIR)/usr/local/share/octave/site-m/ - install mex/mexSLOAD.mex* $(DESTDIR)/usr/local/share/octave/site-m/ - install mex/mexSOPEN.mex* $(DESTDIR)/usr/local/share/octave/site-m/ + mkdir -p $(DESTDIR)/usr/share/octave/site-m/ + install mex/mexSLOAD.mex* $(DESTDIR)/usr/share/octave/site-m/ + install mex/mexSOPEN.mex* $(DESTDIR)/usr/share/octave/site-m/ install_libbiosig: libbiosig.a libbiosig.so install biosig.h $(DESTDIR)/usr/include debian/patches/series0000644000000000000000000000007211763015404012032 0ustar deb_no_mex_copy_upstairs deb_no_locals up_memcpy_str_cast debian/patches/deb_no_mex_copy_upstairs0000644000000000000000000000435211763015404015630 0ustar --- a/mex/Makefile +++ b/mex/Makefile @@ -71,10 +71,10 @@ mexSLOAD: mexSLOAD.$(MEX_EXT) mexSOPEN: mexSOPEN.$(MEX_EXT) %.$(MEX_EXT): %.cpp ../libbiosig.$(LIBEXT) Makefile $(MEX) $(MEX_OPTION) $(DEFINES) $< $(LFLAGS) $(LIBS) - -$(COPY) $@ ../../biosig/t200_FileAccess/ + #-$(COPY) $@ ../../biosig/t200_FileAccess/ mexSOPEN.$(MEX_EXT): mexSLOAD.cpp ../libbiosig.$(LIBEXT) Makefile $(MEX) $(MEX_OPTION) -DmexSOPEN $(DEFINES) mexSLOAD.cpp $(LFLAGS) $(LIBS) -output mexSOPEN - -$(COPY) mexSOPEN.$(MEX_EXT) ../../biosig/t200_FileAccess/ + #-$(COPY) mexSOPEN.$(MEX_EXT) ../../biosig/t200_FileAccess/ endif @@ -83,10 +83,10 @@ endif mex4o: mexSLOAD.mex mexSOPEN.mex mexSSAVE.mex %.mex: %.cpp ../libbiosig.$(LIBEXT) Makefile $(OCT) $(DEFINES) -v -g --mex $< $(LFLAGS) $(LIBS) - -$(COPY) $@ ../../biosig/t200_FileAccess/ + #-$(COPY) $@ ../../biosig/t200_FileAccess/ mexSOPEN.mex: mexSLOAD.cpp ../libbiosig.$(LIBEXT) Makefile $(OCT) -D=mexSOPEN $(DEFINES) -v -g --mex mexSLOAD.cpp $(LFLAGS) $(LIBS) -o mexSOPEN.mex - -$(COPY) mexSOPEN.mex ../../biosig/t200_FileAccess/ + #-$(COPY) mexSOPEN.mex ../../biosig/t200_FileAccess/ #physicalunits.mex: physicalunits.cpp libbiosig.$(LIBEXT) # $(OCT) -v -g --mex physicalunits.cpp $(LFLAGS) $(LIBS) @@ -94,8 +94,8 @@ oct: mexSLOAD.oct mexSLOAD.oct: mexSLOAD.cpp ../libbiosig.$(LIBEXT) Makefile $(OCT) $(DEFINES) mexSLOAD.cpp $(LFLAGS) $(LIBS) $(OCT) -D=mexSOPEN $(DEFINES) mexSLOAD.cpp $(LFLAGS) $(LIBS) -o mexSOPEN.oct - -$(COPY) mexSOPEN.oct ../../biosig/t200_FileAccess/ - -$(COPY) mexSOPEN.oct ../../biosig/t200_FileAccess/ + #-$(COPY) mexSOPEN.oct ../../biosig/t200_FileAccess/ + #-$(COPY) mexSOPEN.oct ../../biosig/t200_FileAccess/ ######################################################### --- a/Makefile +++ b/Makefile @@ -591,7 +591,7 @@ win64mma: win64/libbiosig.a ############################################################# mex mex4m mex4o oct: libbiosig.a $(MAKE) -C mex DEFINES="$(DEFINES)" CROSS=$(CROSS) CROSS64=$(CROSS64) LDLIBS="$(LDLIBS)" OCTAVE_VERSION=$(OCTAVE_VERSION) $@ - -cp mex/*.mex* ../biosig/t200_FileAccess/ + #-cp mex/*.mex* ../biosig/t200_FileAccess/ mexw32: win32/libbiosig.a $(MAKE) -C mex DEFINES="$(DEFINES)" CROSS=$(CROSS) CROSS64=$(CROSS64) LDLIBS="$(LDLIBS)" $(@F) debian/README.Debian0000644000000000000000000000027511763015404011234 0ustar biosig4c++ for Debian --------------------- TODO: + python bindings + octave bindings + dynamic library -- Yaroslav Halchenko , Thu, 10 Jun 2010 23:36:28 -0400 debian/libbiosig1.install0000644000000000000000000000002211763015404012575 0ustar usr/lib/lib*.so.* debian/control0000644000000000000000000000704212255142726010602 0ustar Source: biosig4c++ Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: NeuroDebian Team Uploaders: Yaroslav Halchenko , Michael Hanke Build-Depends: debhelper (>= 7.0.50~), gawk, libxml2-dev, python-dev, python-support, swig, python-numpy, zlib1g-dev, libsuitesparse-dev, octave-pkg-dev (>= 0.5.7), Standards-Version: 3.9.3 Section: science Homepage: http://biosig.sf.net/ Vcs-Git: git://git.debian.org/pkg-exppsy/biosig4c--.git Vcs-Browser: http://git.debian.org/?p=pkg-exppsy/biosig4c--.git;a=summary Package: libbiosig1 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: I/O library for biomedical data - dynamic library BioSig is a library for accessing files in several biomedical data formats (including EDF, BDF, GDF, BrainVision, BCI2000, CFWB, HL7aECG, SCP_ECG (EN1064), MFER, ACQ, CNT(Neuroscan), DEMG, EGI, EEG1100, FAMOS, SigmaPLpro, TMS32). The complete list of supported file formats is available at http://pub.ist.ac.at/~schloegl/biosig/TESTED . . This package provides dynamic library. Package: libbiosig1-dbg Section: debug Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libbiosig1 (= ${binary:Version}) Description: I/O library for biomedical data - debug symbols BioSig is a library for accessing files in several biomedical data formats (including EDF, BDF, GDF, BrainVision, BCI2000, CFWB, HL7aECG, SCP_ECG (EN1064), MFER, ACQ, CNT(Neuroscan), DEMG, EGI, EEG1100, FAMOS, SigmaPLpro, TMS32). The complete list of supported file formats is available at http://pub.ist.ac.at/~schloegl/biosig/TESTED . . This package provides debug symbols. Package: libbiosig-dev Section: libdevel Architecture: any Depends: libbiosig1 (= ${binary:Version}), ${misc:Depends} Description: I/O library for biomedical data - development files BioSig is a library for accessing files in several biomedical data formats (including EDF, BDF, GDF, BrainVision, BCI2000, CFWB, HL7aECG, SCP_ECG (EN1064), MFER, ACQ, CNT(Neuroscan), DEMG, EGI, EEG1100, FAMOS, SigmaPLpro, TMS32). The complete list of supported file formats is available at http://pub.ist.ac.at/~schloegl/biosig/TESTED . . This package provides header files and static library. Package: biosig-tools Section: science Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: format conversion tools for biomedical data formats Based on BioSig library, this package provides command line tools, such as . - save2gdf: converter between different file formats, including but not limited to SCP-ECG(EN1064), HL7aECG (FDA-XML), GDF, EDF, BDF, CWFB. save2gdf can be also used to upload or retrieve data from a bscs server. Package: python-biosig Section: python Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Python bindings for BioSig library This package provides Python bindings for BioSig library. Primary goal -- I/O interface to variety of biomedical file formats, including but not limited to SCP-ECG(EN1064), HL7aECG (FDA-XML), GDF, EDF. Package: octave-biosig Architecture: any Depends: ${octave:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Octave bindings for BioSig library This package provides Octave bindings for BioSig library. Primary goal -- I/O interface to variety of biomedical file formats, including but not limited to SCP-ECG(EN1064), HL7aECG (FDA-XML), GDF, EDF. debian/biosig-tools.lintian-overrides0000644000000000000000000000031611763015404015161 0ustar # as mentioned in README.source, tinyxml did not accept the patch (yet) # so libbiosig comes with its own patched (supports compression) copy biosig-tools binary: embedded-library usr/bin/save2gdf: tinyxml debian/upstream-extern/0000755000000000000000000000000011763015404012332 5ustar debian/upstream-extern/units.csv0000644000000000000000000003041111763015404014210 0ustar ### Vital Signs Units of Measurement # prEN ISO 11073-10101 (Nov 2003) # ISO/IEEE 11073-10101:2004 # Health Informatics - Point-of-care medical device communications - Part 10101: Nomenclature # p.62-75. Table A.6.3: Vital signs units of measurements # # CEN/TC251/PT40 2001 # File Exchange Format for Vital Signs - Annex A # # $Id: units.csv,v 1.12 2008/08/29 16:30:14 schloegl Exp $ # Copyright (C) 2005,2006,2008 Alois Schloegl # This file is part of the biosig project http://biosig.sf.net/ # # #"Code (base code)","Symbol (not normative)","Dimension","Unit of Measurement" ,,"Unspecified", 0,"?",,"" ,,"Dimension- less", 512,"-",,"" 544,"%",,"10-2 (percent)" 544,"percent",,"10-2 (percent)" 576,"ppht",,"10-3 (part(s) per thousand )" 608,"ppm",,"10-6 (part(s) per million )" 640,"ppmd",,"10-9 (part(s) per milliard)" 672,"ppb",,"10-12 (part(s) per billion )" 704,"ppt",,"10-18 (part(s) per trillion )" 736,"degree","- angles","angle degree" 768,"rad",,"angle radian" 800,"g g-1","- mass fraction"," gram(s) per gram" 832,"g kg-1",," gram(s) per kilogram" 864,"mol mol-1","- relative quantity"," mole(s) per mole" 896,"l l-1","- volume fraction"," litre(s) per litre" 928,"m m-3 ",,"cubic metre(s) per cubic metre" 960,"m cm-3",,"cubic metre(s) per cubic centimetre" 6240,"vol %",,"volume percent" 992,"pH","- special vital signs counts","pH" 1024,"drop",,"drop" 1056,"rbc",,"red blood cell(s)" 1088,"beat",,"beat" 1120,"breath",,"breath" 1152,"cell",,"cell" 1184,"cough",,"cough" 1216,"sigh",,"sigh" 1248,"%PCV",,"percent of packed cell volume" ,,"L (length)", 1280,"m [km, mm,etc.]",," metre(s)" 1312,"yd",," yard" 1344,"ft",," foot" 1376,"in",," inch" ,,"L (areic volume)", 1408,"lm-2",," litre(s) per square metre" ,,"L-1 ", 1440,"m-1 [cm-1 , mm-1 ]",,"per metre" ,,"L2 (area)", 1472,"m2",,"square metre(s)" 1504,"in2",,"square inch" ,,"L-2", 1536,"m-2",,"per square metre" ,,"L3 (volume)", 1568,"m3 [cm3 , mm3 ]",,"cubic metre(s)" 1600,"l [ml]",," litre(s)" 1632,"l breath-1",," litre(s) per breath" 6112,"l beat-1",," litre(s) per beat" ,,"L-3 ", 1664,"m-3 [cm-3 , mm-3 ]",,"per cubic metre" 1696,"l-1 [ml-1]",,"per litre" ,,"M (mass)", 1728,"g [kg, mg]",," gram" 1760,"lb",," pound" 1792,"oz",," ounce" ,,"M-1", 1824,"g-1 [kg-1 , mg-1 ]",,"per gram" ,,"ML", 1856,"g m [kg m]",," gram metre" #------ Q: Is a new number needed or should the symbol change ? ####,"gf m [kg m]",," gram-force metre" ,,"ML-1", 1888,"g m m-2 [kg m m-2]",," gram(s) meter per square metre" #------ Q: Is a new number needed or should the symbol change ? ####,"gf m m-2 [kg m m-2]",," gram-force meter per square ,,"ML2 (moment of inertia)", 1920,"kg m2",," gram metre squared" ,,"ML-2", 1952,"kg m-2",,"kilogram(s) per square metre" ,,"ML-3 (concentration of mass)", 1984,"g m-3 [kg m-3]",," gram(s) per cubic metre" 2016,"g cm-3",," gram(s) per cubic centimetre" 2048,"g l-1",," gram(s) per litre" 2080,"g cl-3",," gram(s) per centilitre" 2112,"g dl-3",," gram(s) per decilitre" 2144,"g ml-3",," gram(s) per millilitre" ,,"T (time)", 2176,"s [ms, us, ns]",," second" 2208,"min",,"minute" 2240,"h",,"hour" 2272,"d",,"day" 2304,"weeks",,"weeks" 2336,"mth",,"months" 2368,"y",,"year" 2400,"TOD",,"time of day - hh:mm:ss" 2432,"DATE",,"date - yyyy-mm-dd" ,,"T-1 (rate, frequency)", 2464,"s-1",,"per second" 2496,"Hz",,"hertz" 2528,"min-1",,"per minute" 2560,"h-1",,"per hour" 2592,"d-1",,"per day" 2624,"week-1",,"per week" 2656,"mth-1",,"per month" 2688,"y-1",,"per year" 2720,"bpm","- special vital signs rates","beat per minute" 2752,"puls min-1",,"puls per minute" 2784,"resp min-1",,"respirations per minute" ,,"LT-1 (velocity)", 2816,"m s-1",," metre(s) per second" ,,"LT-1 (areic volume rate)", 2848,"l min-1 m-2",," litre(s) per minute per square meter" 2848,"l/(min*m²)",," litre(s) per minute per square meter" 2880,"m2 s-1 [cm2 s-1]",,"square metre(s) per second" ,,"L3T-1 (volume flow rate)", 2912,"m3 s-1",,"cubic metre(s) per second" 2944,"m3 min-1",,"cubic metre(s) per minute" 2976,"m3 h-1",,"cubic metre(s) per hour" 3008,"m3 d-1",,"cubic metre(s) per day" 3040,"l s-1",," litre(s) per second" 3072,"l min-1",," litre(s) per minute" 3072,"l/min",," litre(s) per minute" 3104,"l h-1",," litre(s) per hour" 3136,"l d-1",," litre(s) per day" ,,"L3M-1 (volume content)", 3168,"l kg-1",," litre(s) per kilogram" 3200,"m3 d-1",,"cubic metre(s) per kilogram" ,,"L2M-1T (permeability)", 3232,"m Pa-1s-1",," meter per pascal second" 3264,"l min-1 mmHG-1",," litre per min. per millimetre of mercury" ,,"MT-1 (mass flow rate)", 3296,"g s-1",," gram(s) per second" 3328,"g m-1",," gram(s) per minute" 3360,"g h-1",," gram(s) per hour" 3392,"g d-1",," gram(s) per day" ,,"MT-1M-1 (mass fraction rate, dosage)", 3424,"g kg-1 s-1",," gram(s) per kilogram per second" 3456,"g kg-1 m-1",," gram(s) per kilogram per minute" 3488,"g kg-1 h-1",," gram(s) per kilogram per hour" 3520,"g kg-1 d-1",," gram(s) per kilogram per day" ,,"L-3MT-1 (mass concentration rate)", 3552,"g l-1 s-1",," gram (s) per litre per second" 3584,"g l-1 m-1",," gram(s) per litre per minute" 3616,"g l-1 h-1",," gram(s) per litre per hour" 3648,"g l-1 d-1",," gram(s) per litre per day" ,,"L-1MT-1 (dynamic viscosity)", 3680,"g m-1 s-1",," gram(s) per meter per second" ,,"LMT-1 (momentum, impulse)", 3712,"gm s-1",," gram metre(s) per second" 3744,"Ns",," newton second(s)" ,,"LMT-2 (force)", 3776,"N",," newton" 3808,"dyn",," dyne" ,,"L-1MT-2 (pressure)", 3840,"Pa",," pascal" 3872,"mmHg",,"millimetre(s) of mercury" 3904,"cm H2O",,"centimetre of water" 3936,"bar",," bar" ,,"L2MT-2 (energy)", 3968,"J [gf m]",," joule(s), mass-force x distance" 4000,"eV",," electronvolt(s)" ,,"L2MT-3 (power)", 4032,"W [gf m s-1]",," watt(s), mass-force x velocity" ,,"L-4MT-1 (hydraulic impedance)", 4064,"Pa s m-3",," pascal second per cubic meter" 4096,"Pa s l-1",," pascal second per litre" 4128,"dyn s cm-5",," dyne second per cm5" 4128,"dyne*s/cm^5",," dyne second per cm5" ,,"L4M-1T2 (compliance)", 5888,"l (cmH2O)-1",," litre per centimetre of water" 6272,"l (mmHg)-1",," litre per millimetre of mercury" 6304,"l Pa-1",," litre per pascal" ,,"L-44M1T-2 (elastance)", 6144,"cmH2O l-1",,"centimetre of water per litre" 6336,"mmHg l-1",,"millimetre of mercury per litre" 6368,"Pa l-1",,"pascal per litre" ,,"I (electrical current)", 4160,"A",," ampere(s)" ,,"IT (electrical charge)", 4192,"C",," coulomb(s)" 6080,"Ah",," ampere(s) hour" ,,"IL-1 (magnetic field strength)", 4224,"A m-1",," ampere(s) per metre" ,,"ML2I-1T-3 (electric potential)", 4256,"V",," volt(s)" ,,"ML2I-2T-3 (electric resistance)", 4288,"Ohm",," ohm(s)" ,,"ML3I-2T-3 (electrical resistivity)", 4320,"Wm",," ohm metre(s)" ,,"I2T4M-1L-2 (electrical capacitance)", 4352,"F",," farad(s)" ,,"Q(temperature)", 4384,"K",,"Kelvin" 6048,"°C",,"degree Celcius" 4416,"°F",,"degree Fahrenheit" ,,"QT3M-1L-2 (thermal resistance)", 4448,"K W-1",,"kelvin(s) per watt" ,,"J (luminous intensity)", 4480,"cd",," candela(s)" ,,"N (amount of substance)", 4512,"osmole",," osmole(s)" 4544,"mol",," mole(s)" 4576,"eq",," equivalent" ,,"NL-3 (concentration)", 4608,"osmol l-1",," osmoles per litre" 4640,"mol cm-3",," mole(s) per cubic centimetre" 4672,"mol m-3",," mole(s) per cubic metre" 4704,"mol l-1",," mole(s) per litre" 4736,"mol ml-1",," mole(s) per millilitre" 4768,"eq cm-3",," equivalents per cubic centimetre" 4800,"eq m-3",," equivalents per cubic metre" 4832,"eq l-1",," equivalents per litre" 4864,"eq ml-1",," equivalents per millilitre" ,,"NM-1 (substance content)", 4896,"osmol kg-1",," osmoles per kilogram" 4928,"mol kg-1",," mole(s) per kilogram" ,,"NT-1 (substance rate)", 4960,"mol s-1",," mole(s) per second" 4992,"mol min-1",," mole(s) per minute" 5024,"mol h-1",," mole(s) per hour" 5056,"mol d-1",," mole(s) per day" 5088,"eq s-1",," equivalents per second" 5120,"eq min-1",," equivalents per minute" 5152,"eq h-1",," equivalents per hour" 5184,"eq d-1",," equivalents per day" ,,"NT-1M-1 (subst. fraction rate, dosage)", 5216,"mol kg-1 s-1",," mole(s) per kilogram per second" 5248,"mol kg-1 min-1",," mole(s) per kilogram per minute" 5280,"mol kg-1 h-1",," mole(s) per kilogram per hour" 5312,"mol kg-1 d-1",," mole(s) per kilogram per day" 5344,"eq kg-1 s-1",," equivalents per kilogram per second" 5376,"eq kg-1 min-1",," equivalents per kilogram per minute" 5408,"eq kg-1 h-1",," equivalents per kilogram per hour" 5440,"eq kg-1 d-1",," equivalents per kilogram per day" ,,"International Unit", 5472,"i.u.",," international unit" 5504,"i.u. cm-3","- concentration"," international units per cubic centimetre" 5536,"i.u. m-3",," international units per cubic meter" 5568,"i.u. l-1",," international units per litre" 5600,"i.u. ml-1",," international units per millilitre" 5632,"i.u. s-1","- mass flow rate"," international units per second" 5664,"i.u. min-1",," international units per minute" 5696,"i.u. h-1",," international units per hour" 5728,"i.u. d-1",," international units per day" 5760,"i.u. kg-1 s-1","- dosage"," int. units per kilogram per second" 5792,"i.u. kg-1 min-1",," int. units per kilogram per minute" 5824,"i.u. kg-1 h-1",," int. units per kilogram per hour" 5856,"i.u. kg-1 d-1",," int. units per kilogram per day" ,,"Units for Specific Measurements", 5920,"cmH2O l-1s-1","- Lung Resistance","centimetre of water per litre per second" 5952,"l2s-1","- HF Transport Coefficient"," litre squared per second" 5984,"cmH2O %-1","- ratio of paO2 to FIO2","centimetre of water per percent" 6016,"dyne s m-2 cm-5","- Pulmonary/ Systemic Vascular Resistance Index","dyne seconds per square meter per centimetre to the power of 5" 6176,"mmHg %-1","- ratio of paO2 to FIO2","millimetre(s) of mercury per percent" 6208,"Pa %-1","- ratio of paO2 to FIO2"," pascal per percent" 6432,"B", "Bel", "relative power decibel" 6624,"m s-2", "meter per second squared", "acceleration" 6624,"m/s²", "meter per second squared", "acceleration" 6656,"rad s2-2", "radians per second squared", "(angular) acceleration" ### private: units with no standardized code #,"kgf m [J]",,Left Stroke Work (LSW) #,"kgf m min-1 [W]",,Left Cardiac Work (LCW) 65184,"m/m",,"" 65216,"km/h",,"velocity kilometer per hour" 65248,"g s-2 [J m-2, gf m-1]",,"Left Stroke Work Index (LSWI)" 65280,"g s-3 [W m-2, gf m-1 s-1]",,"Indexed Left Cardiac Work (LCWI)" 65312,"mHg s-1",, 65344,"mol l-1 mm","change in blood chromophore concentration per effective optical path length","milli(Mol/Liter)*millimeter" 65376,"r.p.m",,"rotations per minute" 65408,"B", "Bel", "relative power decibel" 65440,"dyne s m2 cm-5","Vascular Resistance Index","dyne seconds square meter per centimetre to the power of 5" 65440,"dyne*s*m²/cm^5","Vascular Resistance Index","dyne seconds square meter per centimetre to the power of 5" 65472,"l m-2","stroke index","litres per square meter" 65472,"l/m²","stroke index","litres per square meter" 65504,"T",," Tesla" 65504,"ml/m²",," Tesla" # # debian/upstream-extern/eventcodes.txt0000644000000000000000000001756611763015404015251 0ustar ### Table of event codes. # This table is also part of the specification of # GDF v2.x http://arxiv.org/abs/cs.DB/0608052 and # GDF v1.x http://pub.ist.ac.at/~schloegl/matlab/eeg/gdf4/TR_GDF.pdf # and part of the BioSig project http://biosig.sf.net/ # Copyright (C) 2004,2005,2006,2008,2009,2010,2011 Alois Schloegl # $Id: eventcodes.txt,v 1.15 2009-01-20 16:09:46 schloegl Exp $ # # The latest version is available from here: # http://biosig.svn.sourceforge.net/viewvc/biosig/trunk/biosig/doc/eventcodes.txt # # BioSig is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # Version 3 of the License, or (at your option) any later version. # # Alternative license: # This table of event codes can be used in any application # (without the restrictions of GPL) under the condition that this table # is not modified, changed, converted or transformed. No # derivative of any kind are allowed. Suggestions for improvement # and changes should be addressed to the author. # ### table of event codes: lines starting with # are omitted ### add 0x8000 to indicate the end (i.e. offset) of an event # ### 0x010_ EEG artifacts 0x0101 artifact:EOG (blinks, fast, large amplitude) 0x0102 artifact:ECG 0x0103 artifact:EMG/Muscle 0x0104 artifact:Movement 0x0105 artifact:Failing Electrode 0x0106 artifact:Sweat 0x0107 artifact:50/60 Hz mains interference 0x0108 artifact:breathing 0x0109 artifact:pulse 0x010a artifact:EOG (slow, small amplitudes) #0x010f calibration ### 0x011_ EEG patterns 0x0111 eeg:Sleep spindles 0x0112 eeg:K-complexes 0x0113 eeg:Saw-tooth waves 0x0114 eeg:Idling EEG - eyes open 0x0115 eeg:Idling EEG - eyes closed 0x0116 eeg:spike 0x0117 eeg:seizure #0x0118 eeg:Electrographic seizure #0x0119 eeg:Clinical seizure #0x011a eeg:Subclinical seizure #0x011b eeg:Stimulating for seizure ### 0x012_ Stimulus for Evoked potentials 0x0121 VEP: visual EP 0x0122 AEP: auditory EP 0x0123 SEP: somato-sensory EP 0x012F TMS: transcranial magnetic stimulation ### 0x013_ Stimulus for Steady State Evoked potentials 0x0131 SSVEP 0x0132 SSAEP 0x0133 SSSEP ### 0x014_ Response code 0x0140 response code 0, or no response or false 0x0141 response code 1, or correct response 0x0142 response code 2 0x0143 response code 3 0x0144 Go, or response code 4 0x0145 NoGo, or response code 5 ### 0x02__ Neural spikes, and spike trains 0x0201 Spike onset, action potential 0x0202 Burst ### 0x03__ BCI: Trigger, cues, classlabels 0x0300 Start of Trial, Trigger at t=0s 0x0301 class1, Left hand - cue onset (BCI experiment) 0x0302 class2, Right hand - cue onset (BCI experiment) 0x0303 class3, Foot, towards Right - cue onset (BCI experiment) 0x0304 class4, Tongue - cue onset (BCI experiment) 0x0305 class5 - cue onset 0x0306 class6, towards Down - cue onset (BCI experiment) 0x0307 class7 - cue onset 0x0308 class8 - cue onset 0x0309 class9, towards Left - cue onset 0x030A class10 - cue onset 0x030B class11 - cue onset 0x030C class12, towards Up - cue onset (BCI experiment) 0x030D Feedback (continuous) - onset (BCI experiment) 0x030E Feedback (discrete) - onset (BCI experiment) 0x030F cue unknown/undefined (used for BCI competition) 0x0311 Beep (accustic stimulus, BCI experiment) 0x0312 Cross on screen (BCI experiment) 0x0313 Flashing light #0x031b - 0x037f reserved for ASCII characters #27-#127 0x0381 target hit, task successful, correct classification 0x0382 target missed, task not reached, incorrect classification 0x03ff Rejection of whole trial ### 0x040_ Respiratory Events 0x0401 Obstructive apnea/Hypopnea event (OAHE) 0x0402 RERA #(Respiratory Effort Related Arousal) 0x0403 Central Apnea/Hypopnea Event (CAHE) 0x0404 CS Breathing #(Cheyne-Stokes Breathing) 0x0405 Hypoventilation 0x0406 Apnea 0x0407 Obstructive apnea 0x0408 Central apnea 0x0409 Mixed apnea 0x040A Hypopnea 0x040B Periodic Breathing 0x040C Limb movement 0x040D PLMS 0x040E (time of) maximum inspiration 0x040F Start of inspiration, (end of expiration) ### 0x041_ Sleep stages according to Rechtschaffen&Kales and AASM'07 0x0410 Sleep stage Wake 0x0411 Sleep stage 1 0x0412 Sleep stage 2 0x0413 Sleep stage 3 0x0414 Sleep stage 4 0x0415 Sleep stage REM 0x0416 Sleep stage ? 0x0417 Movement time 0x0418 Bruxism 0x0419 RBD #(Rapid eye movement sleep behaviour disorder) 0x041A RMD #(Sleep related rhythmic movement disorder) 0x041B Sleep stage N 0x041C Sleep stage N1 0x041D Sleep stage N2 0x041E Sleep stage N3 ### 0x042_ Sleep 0x0420 Lights on #0x8420 Lights off ### 0x043_ Eye movements #0x0430 [obsolete] merged with 0x0115 0x0431 eyes left 0x0432 eyes right 0x0433 eyes up 0x0434 eyes down 0x0435 horizontal eye movement 0x0436 vertical eye movement 0x0437 eye rotation (clockwise) 0x0438 eye rotation (counterclockwise) 0x0439 eye blinks #0x043f [obsolete] merged with 0x0114 ### 0x044_ muscle activity (for checking on EEG artifacts) 0x0441 left hand movement 0x0442 right hand movement 0x0443 head movement 0x0444 tongue movement 0x0445 swallowing 0x0446 biting, chewing, teeth griding 0x0447 foot movement #0x0448 foot (right) movement 0x0449 arm movement 0x044a arm (right) movement ### 0x050_ ECG events 0x0501 ecg:Fiducial point of QRS complex 0x0502 ecg:P-wave-onset #0x8502 ecg:P-wave-end 0x0503 ecg:Q-wave-onset, QRS-onset #0x8503 ecg:Q-wave-peak, Q-wave-end 0x0504 ecg:R-point 0x0505 ecg:S-wave-onset, S-wave-peak #0x8505 ecg:S-wave-end, J-point, QRS-end 0x0506 ecg:T-wave-onset #0x8506 ecg:T-wave-end 0x0507 ecg:U-wave-onset #0x8507 ecg:U-wave-end # # related but non-concordant defintions can be found in # - WFDB/MIT-BIH http://www.physionet.org/physiotools/wfdb/lib/ecgcodes.h # - SCP-ECG http://www.centc251.org/TCmeet/doclist/TCdoc02/N02-015-prEN1064.pdf # - FEF/Vital/11073 p.83 # Unification is desired # # see also 0x2000-0x22ff: # # ### 0x058_ ergometric events 0x0580 start 0x0581 25 Watt 0x0582 50 Watt 0x0583 75 Watt 0x0584 100 Watt 0x0585 125 Watt 0x0586 150 Watt 0x0587 175 Watt 0x0588 200 Watt 0x0589 225 Watt 0x058a 250 Watt 0x058b 275 Watt 0x058c 300 Watt 0x058d 325 Watt 0x058e 350 Watt #0x8580 end ### 0x100_ neural spikes # ### 0x2000-22ff reserved for ECG events (see HL7 10102 Annotated ECG) # ### 0x00__ user specific events # Often, 1-127 are used for stimulus codes, and 129-255 for response code. # the use of the following types is discouraged, because of possible ambiguities. #0x0000 empty event, reserved for special use 0x0001 condition 1 0x0002 condition 2 0x0003 condition 3 0x0004 condition 4 0x0005 condition 5 0x0006 condition 6 0x0007 condition 7 0x0008 condition 8 0x0009 condition 9 0x000a condition 10 0x000b condition 11 0x000c condition 12 0x000d condition 13 0x000e condition 14 0x000f condition 15 0x0010 condition 16 0x0011 condition 17 0x0012 condition 18 0x0013 condition 19 0x0014 condition 20 0x0015 condition 21 0x0016 condition 22 0x0017 condition 23 0x0018 condition 24 0x0019 condition 25 0x001a condition 26 0x0020 condition 32 # 0x002f condition 47 0x0030 condition 48 0x0031 condition 49 0x0032 condition 50 0x0033 condition 51 0x0034 condition 52 0x0035 condition 53 0x0036 condition 54 0x0037 condition 55 0x0038 condition 56 0x0039 condition 57 0x003a condition 58 0x003b condition 59 0x003c condition 60 0x003d condition 61 0x003e condition 62 0x003f condition 63 0x0040 condition 64 0x0041 condition 65 0x0042 condition 66 0x0046 condition 70 0x0051 condition 81 0x0052 condition 82 0x0053 condition 83 0x005b condition 91 0x005c condition 92 0x005d condition 93 0x0060 condition 96 0x0063 condition 99 0x0080 condition 128 0x0081 condition 129 0x0082 condition 130 0x0084 condition 131 0x0085 condition 132 0x0086 condition 133 0x0087 condition 134 0x00a6 condition 166 0x00a7 condition 167 0x00a8 condition 168 0x00a9 condition 169 ### 0x4___ up to 4096 different stimuli ### 0x7f__ special codes 0x7ffe start of a new segment (after a break) 0x7fff non-equidistant sampling value # debian/rules0000755000000000000000000000455511763015404010260 0ustar #!/usr/bin/make -f # -*- makefile -*- MAKEOPTS=LIBEXT=so %: dh $@ override_dh_auto_configure: dh_auto_configure : # Use our copies ln -s debian/upstream-extern extern override_dh_auto_build: : # Build everything upstream builds by default make $(MAKEOPTS) : # Assure additional interesting to us pieces are built make $(MAKEOPTS) libbiosig.so mex4o biosig4python #make libbiosig.a save2gdf save2aecg save2scp pdp2gdf \ # biosig_client biosig_server # Later: libbiosig.so -- fails, no SONAME etc, # mex4o -- there are some copying etc # Later: Python -- depends on obsolete Numeric # biosig4python # to build for multiple Python's would need to loop # between versions with smth like make python -B PYTHONVER=2.6 override_dh_auto_test: : I: skip testing for now -- relies on download of test data # Manual crafting of installing Octave and Python bindings # TODO: proper PYTHON=$(shell pyversions -d) PYDIR=$(shell /bin/ls -d /usr/lib/$(PYTHON)/*-packages) OCTDIR=$(shell octave-config --oct-site-dir) override_dh_auto_install: dh_auto_install : I: install Python binding for current Python verion TODO: all mkdir -p debian/python-biosig$(PYDIR) install -m 0644 python/biosig.py python/_biosig.so debian/python-biosig$(PYDIR) : I: install Octave bindings mkdir -p debian/octave-biosig$(OCTDIR) : # install with executable flag so dh_{strip,...} tools could catch it to operate install mex/mexS*.mex debian/octave-biosig$(OCTDIR) [ -x /usr/bin/dh_numpy ] && dh_numpy || : override_dh_makeshlibs: dh_makeshlibs : # Provide Octave:Depends [ -e /usr/bin/octave-depends ] \ && octave-depends \ || echo 'octave:Depends=octave (>= 3.4.3-1~)' >> debian/octave-biosig.substvars override_dh_strip: dh_strip --dbg-package=libbiosig1-dbg : # Address lintian concern about location [ -d debian/libbiosig1-dbg/usr/lib/debug/usr/lib/pyshared ] && \ mv debian/libbiosig1-dbg/usr/lib/debug/usr/lib/pyshared \ debian/libbiosig1-dbg/usr/lib/debug/usr/lib/pymodules || : # Tune up permission for .mex files this late in the chain # Silly dh_strip, dh_shlibdeps do not process those since extension # is "unknown" to them and they are not executable override_dh_gencontrol: chmod a-x debian/octave-biosig$(OCTDIR)/*.mex dh_gencontrol override_dh_auto_clean: dh_auto_clean make $(MAKEOPTS) clean # distclean invoked by auto isn't enough -rm extern debian/source/0000755000000000000000000000000011763015404010467 5ustar debian/source/format0000644000000000000000000000001411763015404011675 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000065211763015404011351 0ustar biosig4c++ for Debian --------------------- Source package is generated from git repository directly, thus do not expect tarballs to match using md5sum against the ones released upstream. TinyXML ~~~~~~~ Upstream carries modified copy of tinyxml with enabled support of compression, which was not accepted upstream in tinyxml (yet, if ever). -- Yaroslav Halchenko , Wed, 24 Nov 2010 14:25:36 -0500 debian/gbp.conf0000644000000000000000000000103611763015404010606 0ustar [DEFAULT] # the default branch for upstream sources: upstream-branch = master # the default branch for the debian patch: debian-branch = debian-release # the default tag formats used: upstream-tag = upstream/%(version)s debian-tag = debian/%(version)s # Options only affecting git-buildpackage [git-buildpackage] # ignore some any non-gitted files ignore-new = True # uncomment this to automatically GPG sign tags sign-tags = True # use this for more svn-buildpackage like bahaviour: export-dir = ../build-area/ tarball-dir = ../tarballs/ debian/biosig-tools.links0000644000000000000000000000030711763015404012643 0ustar usr/share/man/man1/save2gdf.1.gz usr/share/man/man1/save2scp.1.gz usr/share/man/man1/save2gdf.1.gz usr/share/man/man1/save2aecg.1.gz usr/share/man/man1/save2gdf.1.gz usr/share/man/man1/heka2itx.1.gz debian/watch0000644000000000000000000000006611763015404010222 0ustar version=3 http://sf.net/biosig/biosig4c\+\+-(.*)\.zip