Location: Andre's Hodgkin Huxley model @ 8ab1ec7d863d / experiments / runAll.pl

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2012-09-26 15:20:08+12:00
Desc:
adding a bit more to the tutorial regarding instantiation in a simulation experiment. Adding a basic SED-ML for the action potential simulation and images of the results calculated using the SED-ML web tools.
Permanent Source URI:
https://models.cellml.org/w/andre/HH/rawfile/8ab1ec7d863da476b8ab55a47eac203ade558a60/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");
}