Predicting Acute Hypotensive Episodes: The PhysioNet/Computing in Cardiology Challenge 2009 1.0.0
(440 bytes)
#! /bin/bash
# file: ahemap G. Moody 9 April 2009
#
# label AHEs in a MIMIC II record and map them
#
# For example, to make maps of AHEs in mimic2db/a44005/a44005, run:
# ahemap a44005
# Outputs of this command are a44005.ps, a44005.png, a44005n.ps, a44005n.png
REC=$1
WREC=mimic2db/$REC/$REC
NREC=${WREC}n
shift
ahelabel $NREC
rdann -r $NREC -a ahe | wrann -r $WREC -a ahe 2>/dev/null
map-record $NREC -a ahe
map-record $WREC -a ahe