Next Previous Contents

4. Script

This is a script which you can use to call SJBstrongmatrix:

#!/bin/bash
# generates a vectorfile
# calls "SJBStrongMatrix"
# output: $SJB$1.map.vector
# $1...name of SOM

SJB=SJB
NAME=$SJB$1

echo generating $NAME...
cat $NAME.mapping | sort -k 3 >$NAME.map.sort
sjbstrongmatrix $NAME.map.sort >$NAME.map.vector
rm $NAME.map.sort


Next Previous Contents