diff testPrograms/testOME.m @ 38:c2204b18f4a2 tip

End nov big change
author Ray Meddis <rmeddis@essex.ac.uk>
date Mon, 28 Nov 2011 13:34:28 +0000
parents 25d53244d5c8
children
line wrap: on
line diff
--- a/testPrograms/testOME.m	Thu Oct 06 15:43:20 2011 +0100
+++ b/testPrograms/testOME.m	Mon Nov 28 13:34:28 2011 +0000
@@ -1,16 +1,24 @@
 function testOME(paramsName, paramChanges)
-% testOME compute the stapes response at a number of frequencies
-%  and compares the stapes displacement with in vivo data
+% testOME compute the external resonance and 
+%  stapes response at a number of frequencies
+% It compares the stapes displacement against human in vivo data
 %  collected by Huber et al.2001.
-% e.g.
+% paramsName: name of file in parameterStore containing model parameters
+% paramchanges: string array of changes to parameters. 
+%    this can be omitted or {} is acceptable argument
+% 
 % testOME('Normal',{})
 
 savePath=path;
 addpath (['..' filesep 'utilities'],['..' filesep 'MAP'])
 
+% default arguments
 if nargin<2
     paramChanges=[];
 end
+if nargin<1
+    paramsName='Normal';
+end
 
 sampleRate=50000;