Robust Detection of Heart Beats in Multimodal Data: The PhysioNet/Computing in Cardiology Challenge 2014 1.0.0

File: <base>/octave/entry/next.sh (542 bytes)
#! /bin/bash

# file: next.sh

# This bash script analyzes the record named in its command-line argument ($1),
# saving the results as an annotation file for the record, with annotator 'qrs'.
# This script is run once for each record in the Challenge test set.

# For example, if invoked as
#    next.sh 100
# it analyzes record 100 using 'gqrs', and saves the results as an annotation
# file named '100.qrs'.

OCTAVE='octave --quiet --eval '
RECORD=$1
RPATH=`pwd`
STR="${OCTAVE} \"challenge('$RECORD'); quit;\" 2>&1"
echo "$STR"
eval ${STR}