#! /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
