Location: Andre's Hodgkin Huxley model @ 1f279bed1a35 / experiments / runAll.pl

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-25 14:48:06+12:00
Desc:
updates with more information from the presentation
Permanent Source URI:
https://models.cellml.org/w/andre/HH/rawfile/1f279bed1a35a70dcac0f000174185f827c5cc91/experiments/runAll.pl

#!/usr/bin/perl

use strict;

my $exe = "$ENV{HOME}/sf.net/CellMLSimulator/build/release/CellMLSimulator";
my $output = "generated";

mkdir $output;

my @experiments = ("IK-gating-kinetics","INa-gating-kinetics",
                   "periodic-stimulus","voltage-clamp");

foreach my $exp (@experiments) {
  my $o = $output . "/" . $exp;
  my $g = $exp . "-graphs.xml";
  mkdir $o;
  system("$exe --graph-directory=$o --reference-description --data=$o/data.h5 $g");
}