|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Neuroml2GENESIS
Class to hold the method neuroml2genesis, used to convert a neuroml (xml) string into a string that holds a GENESIS script to create a channel.
Field Summary | |
private static double |
Erest
Optional parameter (default value = 0.0) for the resting potential of the cell containing the channel. |
private static java.lang.String |
errorMsg
|
private static java.lang.String |
tab4
|
private static java.lang.String |
tab8
|
Constructor Summary | |
Neuroml2GENESIS()
|
Method Summary | |
private static java.lang.String |
convertConditional(java.lang.String inString)
|
private static double[] |
equation2array(double xmin,
double xmax,
int xpts,
java.lang.String eqn)
Given an equation that is a function of the variable x, parse it with the Java Expression Parser (JEP from http://jep.sourceforge.net/). |
private static java.lang.String |
getParamList(java.lang.String gateName,
ParameterizedHHRate rate)
Creates a space-separated list of parameters to be used by the GENESIS setupalpha or setuptau functions. |
private static java.lang.String |
getRates(java.lang.Object go)
Generate the code to fill the tabchannel rate tables |
static java.lang.String |
neuroml2genesis(java.lang.String xmlString)
Parse the xml to get a model object, convert to GENESIS script |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static double Erest
private static java.lang.String tab4
private static java.lang.String tab8
private static java.lang.String errorMsg
Constructor Detail |
public Neuroml2GENESIS()
Method Detail |
public static java.lang.String neuroml2genesis(java.lang.String xmlString)
xmlString
- The NeuroML channel description
private static java.lang.String getRates(java.lang.Object go)
private static java.lang.String getParamList(java.lang.String gateName, ParameterizedHHRate rate)
private static double[] equation2array(double xmin, double xmax, int xpts, java.lang.String eqn)
private static java.lang.String convertConditional(java.lang.String inString)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |