Predicting Acute Hypotensive Episodes: The PhysioNet/Computing in Cardiology Challenge 2009 1.0.0

File: <base>/ahe-detect-1.0/printahe (282 bytes)
#! /bin/bash
# file: printahe	G. Moody	9 April 2009
#
# find AHEs in a MIMIC II record and print their times of occurrence
#
# For example, to find AHEs in mimic2db/a44005/a44005, run:
#    printahe a44005

NREC=mimic2db/${1}/${1}n

rdsamp -r $NREC -s "ABP Mean" -p | findahe $NREC