aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-08-17 02:50:48 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-08-17 02:51:36 +0000
commitdf70b7efede8c1936ae5c1867aa0910b99c34ab9 (patch)
treef152e299656d49a6223e784e7accad87c6f2f3ea
parente8ede160c06ff6f5c757ce4f31ea5e23bd1a2f1f (diff)
downloadports-df70b7efede8c1936ae5c1867aa0910b99c34ab9.tar.gz
ports-df70b7efede8c1936ae5c1867aa0910b99c34ab9.zip
biology/biosig: New port: Library for reading and writing different biosignal data format
-rw-r--r--biology/Makefile1
-rw-r--r--biology/biosig/Makefile34
-rw-r--r--biology/biosig/distinfo3
-rw-r--r--biology/biosig/files/patch-biosig4c++_biosig-dev.h21
-rw-r--r--biology/biosig/files/patch-biosig4c++_biosig.c43
-rw-r--r--biology/biosig/files/patch-biosig4c++_t220_sopen__scp__write.c28
-rw-r--r--biology/biosig/pkg-descr10
-rw-r--r--biology/biosig/pkg-plist320
8 files changed, 460 insertions, 0 deletions
diff --git a/biology/Makefile b/biology/Makefile
index 13f0cd294ee5..81760e9e66a3 100644
--- a/biology/Makefile
+++ b/biology/Makefile
@@ -13,6 +13,7 @@
SUBDIR += biococoa
SUBDIR += biolibc
SUBDIR += bioparser
+ SUBDIR += biosig
SUBDIR += biosoup
SUBDIR += biostar-tools
SUBDIR += bolt-lmm
diff --git a/biology/biosig/Makefile b/biology/biosig/Makefile
new file mode 100644
index 000000000000..f77bfdbb11a7
--- /dev/null
+++ b/biology/biosig/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= biosig
+DISTVERSION= 2.3.3
+DISTVERSIONSUFFIX= .src
+CATEGORIES= biology
+MASTER_SITES= SF/${PORTNAME}/BioSig%20for%20C_C%2B%2B/src/
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library for reading and writing different biosignal data format
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libb64.so:converters/libb64 \
+ libcholmod.so:math/suitesparse-cholmod \
+ libiconv.so:converters/libiconv \
+ libtinyxml.so:textproc/tinyxml
+
+USES= gmake iconv localbase:ldflags
+USE_LDCONFIG= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+
+GNU_CONFIGURE= yes
+
+CFLAGS+= -D__BYTE_ORDER=BYTE_ORDER -D__LITTLE_ENDIAN=LITTLE_ENDIAN -D__BIG_ENDIAN=BIG_ENDIAN \
+ -Dbswap_16=bswap16 -Dbswap_32=bswap32 -Dbswap_64=bswap64
+LDFLAGS+= -liconv
+
+post-install:
+.for f in bin/biosig_fhir bin/biosig2gdf bin/physicalunits bin/save2gdf lib/libbiosig.so.3
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/biology/biosig/distinfo b/biology/biosig/distinfo
new file mode 100644
index 000000000000..af035532c834
--- /dev/null
+++ b/biology/biosig/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629098745
+SHA256 (biosig-2.3.3.src.tar.gz) = ecff695e912265cbb817b936209086d1b5854afeb44ed58e701feeb2e0b1b33e
+SIZE (biosig-2.3.3.src.tar.gz) = 2525173
diff --git a/biology/biosig/files/patch-biosig4c++_biosig-dev.h b/biology/biosig/files/patch-biosig4c++_biosig-dev.h
new file mode 100644
index 000000000000..39fedc40975c
--- /dev/null
+++ b/biology/biosig/files/patch-biosig4c++_biosig-dev.h
@@ -0,0 +1,21 @@
+--- biosig4c++/biosig-dev.h.orig 2021-08-13 09:17:15 UTC
++++ biosig4c++/biosig-dev.h
+@@ -35,6 +35,8 @@
+ #include <time.h>
+ #include "physicalunits.h"
+
++#include <sys/endian.h>
++#include <machine/endian.h> // for betoh16, etc.
+
+ #ifdef __cplusplus
+ extern "C" {
+@@ -549,6 +551,9 @@ HDRTYPE* sopen_extended(const char* FileName, const ch
+ #elif defined(__linux__)
+ # include <endian.h>
+ # include <byteswap.h>
++
++#elif defined(__FreeBSD__)
++# include <machine/endian.h>
+
+ #elif defined(__GLIBC__) // for Hurd
+ # include <endian.h>
diff --git a/biology/biosig/files/patch-biosig4c++_biosig.c b/biology/biosig/files/patch-biosig4c++_biosig.c
new file mode 100644
index 000000000000..06f8a056571d
--- /dev/null
+++ b/biology/biosig/files/patch-biosig4c++_biosig.c
@@ -0,0 +1,43 @@
+--- biosig4c++/biosig.c.orig 2021-08-13 09:17:15 UTC
++++ biosig4c++/biosig.c
+@@ -631,7 +631,7 @@ int ifsetpos(HDRTYPE* hdr, size_t *pos) {
+ // gnu linux on sparc needs this
+ fpos_t p;
+ p.__pos = *pos;
+-#elif __sparc__ || __APPLE__ || __MINGW32__ || ANDROID || __NetBSD__ || __CYGWIN__
++#elif __sparc__ || __APPLE__ || __MINGW32__ || ANDROID || __NetBSD__ || __CYGWIN__ || __FreeBSD__
+ fpos_t p = *pos;
+ #else
+ fpos_t p;
+@@ -652,7 +652,7 @@ int ifsetpos(HDRTYPE* hdr, size_t *pos) {
+ #if __gnu_linux__
+ // gnu linux on sparc needs this
+ *pos = p.__pos;
+-#elif __sparc__ || __APPLE__ || __MINGW32__ || ANDROID || __NetBSD__ || __CYGWIN__
++#elif __sparc__ || __APPLE__ || __MINGW32__ || ANDROID || __NetBSD__ || __CYGWIN__ || __FreeBSD__
+ *pos = p;
+ #else
+ *pos = p.__pos;
+@@ -678,7 +678,7 @@ int ifgetpos(HDRTYPE* hdr, size_t *pos) {
+ #if __gnu_linux__
+ // gnu linux on sparc needs this
+ *pos = p.__pos; // ugly hack but working
+-#elif __sparc__ || __APPLE__ || __MINGW32__ || ANDROID || __NetBSD__ || __CYGWIN__
++#elif __sparc__ || __APPLE__ || __MINGW32__ || ANDROID || __NetBSD__ || __CYGWIN__ || __FreeBSD__
+ *pos = p;
+ #else
+ *pos = p.__pos; // ugly hack but working
+@@ -1219,8 +1219,11 @@ HDRTYPE* constructHDR(const unsigned NS, const unsigne
+ hdr->data.size[0] = 0; // rows
+ hdr->data.size[1] = 0; // columns
+ hdr->data.block = NULL;
+- hdr->T0 = t_time2gdf_time(time(NULL)-timezone); // localtime
+- hdr->tzmin = -timezone/60; // convert from seconds west of UTC to minutes east;
++
++ time_t t=time(NULL);
++ struct tm *tt = localtime(&t);
++ hdr->tzmin = tt->tm_gmtoff/60;
++ hdr->T0 = t_time2gdf_time(time(NULL)-tt->tm_gmtoff); // localtime
+
+ {
+ uint8_t Equipment[8] = "b4c_1.5 ";
diff --git a/biology/biosig/files/patch-biosig4c++_t220_sopen__scp__write.c b/biology/biosig/files/patch-biosig4c++_t220_sopen__scp__write.c
new file mode 100644
index 000000000000..20cb7ed4f3b8
--- /dev/null
+++ b/biology/biosig/files/patch-biosig4c++_t220_sopen__scp__write.c
@@ -0,0 +1,28 @@
+--- biosig4c++/t220/sopen_scp_write.c.orig 2021-08-13 09:17:15 UTC
++++ biosig4c++/t220/sopen_scp_write.c
+@@ -388,10 +388,8 @@ int sopen_SCP_write(HDRTYPE* hdr) {
+ if (VERBOSE_LEVEL>7) fprintf(stdout,"Section 1 Tag 25 \n");
+
+ gdf_time T1 = hdr->T0;
+-#ifndef __APPLE__
+- T1 += (int32_t)ldexp(timezone/86400.0,32);
+-#endif
+- T0_tm = gdf_time2tm_time(T1);
++ T0_tm = gdf_time2tm_time(hdr->T0);
++ T0_tm->tm_gmtoff = hdr->tzmin*60;
+
+ *(ptr+sectionStart+curSectLen) = 25; // tag
+ leu16a(4, ptr+sectionStart+curSectLen+1); // length
+@@ -719,10 +717,8 @@ int sopen_SCP_write(HDRTYPE* hdr) {
+
+ // Recording Date and Time
+ gdf_time T1 = hdr->T0;
+-#ifndef __APPLE__
+- T1 += (int32_t)ldexp(timezone/86400.0,32);
+-#endif
+- T0_tm = gdf_time2tm_time(T1);
++ T0_tm = gdf_time2tm_time(hdr->T0);
++ T0_tm->tm_gmtoff = hdr->tzmin*60;
+
+ leu16a(T0_tm->tm_year+1900, PtrCurSect+10); // year
+ PtrCurSect[12] = (uint8_t)(T0_tm->tm_mon + 1); // month
diff --git a/biology/biosig/pkg-descr b/biology/biosig/pkg-descr
new file mode 100644
index 000000000000..5a12322fe229
--- /dev/null
+++ b/biology/biosig/pkg-descr
@@ -0,0 +1,10 @@
+BioSig is an open source software library for biomedical signal processing,
+featuring for example the analysis of biosignals such as the
+electroencephalogram (EEG), electrocorticogram (ECoG), electrocardiogram (ECG),
+electrooculogram (EOG), electromyogram (EMG), respiration, and so on. Major
+application areas are: Neuroinformatics, brain-computer interfaces,
+neurophysiology, psychology, cardiovascular systems and sleep research. The aim
+of the BioSig project is to foster research in biomedical signal processing by
+providing open source software tools for many different applications.
+
+WWW: http://biosig.sourceforge.net/
diff --git a/biology/biosig/pkg-plist b/biology/biosig/pkg-plist
new file mode 100644
index 000000000000..fca3a09eb6fe
--- /dev/null
+++ b/biology/biosig/pkg-plist
@@ -0,0 +1,320 @@
+bin/bin2rec
+bin/biosig2gdf
+bin/biosig_fhir
+bin/heka2itx
+bin/physicalunits
+bin/rec2bin
+bin/save2aecg
+bin/save2gdf
+bin/save2scp
+include/biosig-dev.h
+include/biosig.h
+include/biosig2.h
+include/gdftime.h
+include/physicalunits.h
+lib/libbiosig.a
+lib/libbiosig.so
+lib/libbiosig.so.3
+lib/libphysicalunits.a
+libdata/pkgconfig/libbiosig.pc
+man/man1/bin2rec.1.gz
+man/man1/biosig2gdf.1.gz
+man/man1/biosig_fhir.1.gz
+man/man1/heka2itx.1.gz
+man/man1/mexSLOAD.1.gz
+man/man1/physicalunits.1.gz
+man/man1/rec2bin.1.gz
+man/man1/save2aecg.1.gz
+man/man1/save2gdf.1.gz
+man/man1/save2scp.1.gz
+man/man1/sigviewer.1.gz
+%%DATADIR%%/matlab/Contents.m
+%%DATADIR%%/matlab/INDEX
+%%DATADIR%%/matlab/INSTALL
+%%DATADIR%%/matlab/LICENSE
+%%DATADIR%%/matlab/PKG_ADD
+%%DATADIR%%/matlab/PKG_DEL
+%%DATADIR%%/matlab/README
+%%DATADIR%%/matlab/demo/Contents.m
+%%DATADIR%%/matlab/demo/batch.m
+%%DATADIR%%/matlab/demo/bench_biosig.m
+%%DATADIR%%/matlab/demo/demo1.m
+%%DATADIR%%/matlab/demo/demo10.m
+%%DATADIR%%/matlab/demo/demo11.m
+%%DATADIR%%/matlab/demo/demo2.m
+%%DATADIR%%/matlab/demo/demo3.m
+%%DATADIR%%/matlab/demo/demo4.m
+%%DATADIR%%/matlab/demo/demo5.m
+%%DATADIR%%/matlab/demo/demo6.m
+%%DATADIR%%/matlab/demo/demo7.m
+%%DATADIR%%/matlab/demo/demo8.m
+%%DATADIR%%/matlab/demo/demo9.m
+%%DATADIR%%/matlab/demo/make_cc7.m
+%%DATADIR%%/matlab/demo/scptest.m
+%%DATADIR%%/matlab/demo/simulate_epsp.m
+%%DATADIR%%/matlab/demo/slope_evaluation.m
+%%DATADIR%%/matlab/doc/11073-10102-AnnexB.txt
+%%DATADIR%%/matlab/doc/Contents.m
+%%DATADIR%%/matlab/doc/DecimalFactors.txt
+%%DATADIR%%/matlab/doc/ManufacturerInformation.cfg
+%%DATADIR%%/matlab/doc/elecpos.txt
+%%DATADIR%%/matlab/doc/eventcodes.txt
+%%DATADIR%%/matlab/doc/header.txt
+%%DATADIR%%/matlab/doc/leadidtable_scpecg.txt
+%%DATADIR%%/matlab/doc/units.csv
+%%DATADIR%%/matlab/eeglab/1ST_README.txt
+%%DATADIR%%/matlab/eeglab/eegplugin_biosig.m
+%%DATADIR%%/matlab/eeglab/pop_biosig.m
+%%DATADIR%%/matlab/eeglab/pop_readbdf.m
+%%DATADIR%%/matlab/eeglab/pop_readedf.m
+%%DATADIR%%/matlab/install.m
+%%DATADIR%%/matlab/t200_FileAccess/Contents.m
+%%DATADIR%%/matlab/t200_FileAccess/adb2event.m
+%%DATADIR%%/matlab/t200_FileAccess/bdf2biosig_events.m
+%%DATADIR%%/matlab/t200_FileAccess/biosig_str2double.m
+%%DATADIR%%/matlab/t200_FileAccess/bkropen.m
+%%DATADIR%%/matlab/t200_FileAccess/bni2hdr.m
+%%DATADIR%%/matlab/t200_FileAccess/bv2biosig_events.m
+%%DATADIR%%/matlab/t200_FileAccess/cntopen.m
+%%DATADIR%%/matlab/t200_FileAccess/convert2single_sweep_atf.m
+%%DATADIR%%/matlab/t200_FileAccess/edfannot2evt.m
+%%DATADIR%%/matlab/t200_FileAccess/eload.m
+%%DATADIR%%/matlab/t200_FileAccess/famosopen.m
+%%DATADIR%%/matlab/t200_FileAccess/fefopen.m
+%%DATADIR%%/matlab/t200_FileAccess/fepi2gdf.m
+%%DATADIR%%/matlab/t200_FileAccess/fltopen.m
+%%DATADIR%%/matlab/t200_FileAccess/gdfdatatype.m
+%%DATADIR%%/matlab/t200_FileAccess/get_current_username.m
+%%DATADIR%%/matlab/t200_FileAccess/getfiletype.m
+%%DATADIR%%/matlab/t200_FileAccess/gtfopen.m
+%%DATADIR%%/matlab/t200_FileAccess/hdr2ascii.m
+%%DATADIR%%/matlab/t200_FileAccess/iopen.m
+%%DATADIR%%/matlab/t200_FileAccess/iread.m
+%%DATADIR%%/matlab/t200_FileAccess/leadidcodexyz.m
+%%DATADIR%%/matlab/t200_FileAccess/loadlexi.m
+%%DATADIR%%/matlab/t200_FileAccess/mat2sel.m
+%%DATADIR%%/matlab/t200_FileAccess/matread.m
+%%DATADIR%%/matlab/t200_FileAccess/mwfopen.m
+%%DATADIR%%/matlab/t200_FileAccess/nk2hyp.m
+%%DATADIR%%/matlab/t200_FileAccess/opendicom.m
+%%DATADIR%%/matlab/t200_FileAccess/openeep.m
+%%DATADIR%%/matlab/t200_FileAccess/openiff.m
+%%DATADIR%%/matlab/t200_FileAccess/openldr.m
+%%DATADIR%%/matlab/t200_FileAccess/openxlt.m
+%%DATADIR%%/matlab/t200_FileAccess/openxml.m
+%%DATADIR%%/matlab/t200_FileAccess/physicalunits.m
+%%DATADIR%%/matlab/t200_FileAccess/save2bkr.m
+%%DATADIR%%/matlab/t200_FileAccess/save2gdf.m
+%%DATADIR%%/matlab/t200_FileAccess/save2mm.m
+%%DATADIR%%/matlab/t200_FileAccess/sclose.m
+%%DATADIR%%/matlab/t200_FileAccess/scpopen.m
+%%DATADIR%%/matlab/t200_FileAccess/seof.m
+%%DATADIR%%/matlab/t200_FileAccess/sload.m
+%%DATADIR%%/matlab/t200_FileAccess/sopen.m
+%%DATADIR%%/matlab/t200_FileAccess/sread.m
+%%DATADIR%%/matlab/t200_FileAccess/srewind.m
+%%DATADIR%%/matlab/t200_FileAccess/ssave.m
+%%DATADIR%%/matlab/t200_FileAccess/sseek.m
+%%DATADIR%%/matlab/t200_FileAccess/stell.m
+%%DATADIR%%/matlab/t200_FileAccess/swrite.m
+%%DATADIR%%/matlab/t200_FileAccess/tload.m
+%%DATADIR%%/matlab/t200_FileAccess/tlvread.m
+%%DATADIR%%/matlab/t200_FileAccess/wscore2event.m
+%%DATADIR%%/matlab/t210_Events/Contents.m
+%%DATADIR%%/matlab/t210_Events/add_events.m
+%%DATADIR%%/matlab/t210_Events/select_events.m
+%%DATADIR%%/matlab/t210_Events/sort_events.m
+%%DATADIR%%/matlab/t210_Events/unselect_events.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/Contents.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/artifact_selection.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/burstanalysis.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/detect_sharp_wave_ripple.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/detect_spikes_bursts.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/detectmuscle.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/eeg2hist.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/get_inter_spike_intervals.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/get_regress_eog.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/gettrigger.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/hist2limits.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/hist2res.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/identify_eog_channels.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/maxdistance.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/optimum_isi_spike_burst_separation.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/qc_histo.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/regress_eog.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/remove5060hz.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/resample_matrix.mat
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/rotary_decoder.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/rs.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/spatialfilter.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/spikes2bursts.m
+%%DATADIR%%/matlab/t250_ArtifactPreProcessingQualityControl/trigg.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/Contents.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/abp.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/ap_detect.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/arspectrum.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/baccala2001.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/bandpower.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/barlow.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/berger.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/brainrate.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/bss.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/burst_onset_phase.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/cfm.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/correlation_with_reference.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/csp.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/desatur.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/ecg_wave_analysis.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/ectbcorr.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/evoked_potential.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/get_local_maxima_above_threshold.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/getar0.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/heartratevariability.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/hjorth.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/hurst.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/lumped.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/nqrsdetect.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/oahe.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/paynter.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/processing.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/qrscorr.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/qrsdetect.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/respdetect.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/signal_deconvolution.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/synthetic_ecg.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/tdp.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/teager.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/tfmvar.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/tvaar.m
+%%DATADIR%%/matlab/t300_FeatureExtraction/wackermann.m
+%%DATADIR%%/matlab/t310_ERDSMaps/Manual/erds.pdf
+%%DATADIR%%/matlab/t310_ERDSMaps/Manual/erds.tex
+%%DATADIR%%/matlab/t310_ERDSMaps/bootts.m
+%%DATADIR%%/matlab/t310_ERDSMaps/calcAveVar.m
+%%DATADIR%%/matlab/t310_ERDSMaps/calcCombiMap.m
+%%DATADIR%%/matlab/t310_ERDSMaps/calcErdsMap.m
+%%DATADIR%%/matlab/t310_ERDSMaps/calcErdsMapBP.m
+%%DATADIR%%/matlab/t310_ERDSMaps/calcErdsMapFFT.m
+%%DATADIR%%/matlab/t310_ERDSMaps/erdscolormap.mat
+%%DATADIR%%/matlab/t310_ERDSMaps/getErds.m
+%%DATADIR%%/matlab/t310_ERDSMaps/getMontage.m
+%%DATADIR%%/matlab/t310_ERDSMaps/plotAveVar.m
+%%DATADIR%%/matlab/t310_ERDSMaps/plotCombiMap.m
+%%DATADIR%%/matlab/t310_ERDSMaps/plotErdsMap.m
+%%DATADIR%%/matlab/t310_ERDSMaps/prepareData.m
+%%DATADIR%%/matlab/t310_ERDSMaps/sample.gdf
+%%DATADIR%%/matlab/t320_Nirs/Contents.m
+%%DATADIR%%/matlab/t320_Nirs/Illustration_multichannel_spectra.m
+%%DATADIR%%/matlab/t320_Nirs/adaptPulseremove.m
+%%DATADIR%%/matlab/t320_Nirs/calcBPlin.m
+%%DATADIR%%/matlab/t320_Nirs/calcInfluence.m
+%%DATADIR%%/matlab/t320_Nirs/calcNIRSspectra.m
+%%DATADIR%%/matlab/t320_Nirs/demo_t320_nirs.m
+%%DATADIR%%/matlab/t320_Nirs/diadetect.m
+%%DATADIR%%/matlab/t320_Nirs/remNoiseCAR.m
+%%DATADIR%%/matlab/t320_Nirs/remNoiseICA.m
+%%DATADIR%%/matlab/t320_Nirs/remNoiseTF.m
+%%DATADIR%%/matlab/t320_Nirs/sysdetect.m
+%%DATADIR%%/matlab/t330_StimFit/Contents.m
+%%DATADIR%%/matlab/t330_StimFit/demo_stimfit.m
+%%DATADIR%%/matlab/t330_StimFit/microstimfit.m
+%%DATADIR%%/matlab/t330_StimFit/simul001.m
+%%DATADIR%%/matlab/t330_StimFit/simul002.m
+%%DATADIR%%/matlab/t340_MachineLearningOptimalDetection/README.md
+%%DATADIR%%/matlab/t340_MachineLearningOptimalDetection/demo_mod.m
+%%DATADIR%%/matlab/t340_MachineLearningOptimalDetection/minidet2gdf.m
+%%DATADIR%%/matlab/t340_MachineLearningOptimalDetection/mod_optimal_detection_filter.m
+%%DATADIR%%/matlab/t400_Classification/Contents.m
+%%DATADIR%%/matlab/t400_Classification/classify.m
+%%DATADIR%%/matlab/t400_Classification/covm.m
+%%DATADIR%%/matlab/t400_Classification/covm_mex.cpp
+%%DATADIR%%/matlab/t400_Classification/decovm.m
+%%DATADIR%%/matlab/t400_Classification/fc0.m
+%%DATADIR%%/matlab/t400_Classification/findclassifier.m
+%%DATADIR%%/matlab/t400_Classification/findclassifier1.m
+%%DATADIR%%/matlab/t400_Classification/findclassifier2.m
+%%DATADIR%%/matlab/t400_Classification/getclassifier.m
+%%DATADIR%%/matlab/t400_Classification/perm.m
+%%DATADIR%%/matlab/t400_Classification/sumskipnan.m
+%%DATADIR%%/matlab/t400_Classification/sumskipnan_mex.cpp
+%%DATADIR%%/matlab/t400_Classification/test_sc.m
+%%DATADIR%%/matlab/t400_Classification/train_lda_sparse.m
+%%DATADIR%%/matlab/t400_Classification/train_sc.m
+%%DATADIR%%/matlab/t400_Classification/untrain_sc.m
+%%DATADIR%%/matlab/t400_Classification/xval.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/Contents.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/bh95.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/bl01.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/exakteM_A.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/exakteM_B.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/fdp.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/fdr.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/gFWE.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/globtest.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/homhof.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/lehrom.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/nextcomb.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/perm_gfwe.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/pwerte.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/signtest.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/ttest3.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/ttestC.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/u_test.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/umord.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/vereinM_A.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/vereinM_B.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/wilcoxon_test.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/zahlen.m
+%%DATADIR%%/matlab/t450_MultipleTestStatistic/zweistufen.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/Contents.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/DavisBouldinIndex.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/auc.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/bci3eval.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/bci4eval.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/criteria2005IIIb.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/criteria4asyncbci.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/criteria4momentarybci.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/evaluate_event_detection.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/kappa.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/mutinfo.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/qcmahal.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/roc.m
+%%DATADIR%%/matlab/t490_EvaluationCriteria/wolpaw_entropy.m
+%%DATADIR%%/matlab/t500_Visualization/Contents.m
+%%DATADIR%%/matlab/t500_Visualization/elpos.m
+%%DATADIR%%/matlab/t500_Visualization/elpos3.m
+%%DATADIR%%/matlab/t500_Visualization/plota.m
+%%DATADIR%%/matlab/t500_Visualization/sview.m
+%%DATADIR%%/matlab/t500_Visualization/topo2.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/Contents.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/locphys2locphys.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/locs_247
+%%DATADIR%%/matlab/t501_VisualizeCoupling/main.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/mk_sensors_plane.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/plot_coherence_dots.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/plot_coherence_rand.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/plot_coupling.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/select_chans.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/sensor3d2sensor2d.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/showfield_general.m
+%%DATADIR%%/matlab/t501_VisualizeCoupling/sphfit.m
+%%DATADIR%%/matlab/viewer/help/detection.htm
+%%DATADIR%%/matlab/viewer/help/index.htm
+%%DATADIR%%/matlab/viewer/help/introduction.htm
+%%DATADIR%%/matlab/viewer/help/loadevent.htm
+%%DATADIR%%/matlab/viewer/help/menu.htm
+%%DATADIR%%/matlab/viewer/help/shortcuts.htm
+%%DATADIR%%/matlab/viewer/help/sviewer.htm
+%%DATADIR%%/matlab/viewer/sviewer.m
+%%DATADIR%%/matlab/viewer/utils/detcolor.mat
+%%DATADIR%%/matlab/viewer/utils/detpatch.m
+%%DATADIR%%/matlab/viewer/utils/sviewer.fig
+%%DATADIR%%/matlab/viewer/utils/sviewer_channel.fig
+%%DATADIR%%/matlab/viewer/utils/sviewer_channel.m
+%%DATADIR%%/matlab/viewer/utils/sviewer_channel_conf.fig
+%%DATADIR%%/matlab/viewer/utils/sviewer_channel_conf.m
+%%DATADIR%%/matlab/viewer/utils/sviewer_display.fig
+%%DATADIR%%/matlab/viewer/utils/sviewer_display.m
+%%DATADIR%%/matlab/viewer/utils/sviewer_fileinfo.fig
+%%DATADIR%%/matlab/viewer/utils/sviewer_fileinfo.m
+%%DATADIR%%/matlab/viewer/viewedf.m