ucl.physiol.neuroconstruct.psics
Class PsicsFileManager

java.lang.Object
  extended by ucl.physiol.neuroconstruct.psics.PsicsFileManager

public class PsicsFileManager
extends Object

Main file for generating the PSICS files

Author:
Padraig Gleeson

Constructor Summary
PsicsFileManager(Project project)
           
 
Method Summary
 void generateThePsicsFiles(SimConfig simConfig, int seed)
           
 float getCurrentGenTime()
           
 int getCurrentRandomSeed()
           
static String getFileHeader()
           
 String getMainPsicsFileName()
           
 String getNextColour(String plotFrame)
           
 String getNextColourHex(String plotFrame)
           
static void main(String[] args)
           
 void reset()
           
 void resetColours()
           
 void runFile(boolean copyToSimDataDir, boolean htmlSummary, boolean showPlot, boolean showConsole)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsicsFileManager

public PsicsFileManager(Project project)
Method Detail

reset

public void reset()

generateThePsicsFiles

public void generateThePsicsFiles(SimConfig simConfig,
                                  int seed)
                           throws PsicsException,
                                  IOException
Throws:
PsicsException
IOException

resetColours

public void resetColours()

getNextColour

public String getNextColour(String plotFrame)

getNextColourHex

public String getNextColourHex(String plotFrame)

getCurrentRandomSeed

public int getCurrentRandomSeed()

getCurrentGenTime

public float getCurrentGenTime()

getFileHeader

public static String getFileHeader()

runFile

public void runFile(boolean copyToSimDataDir,
                    boolean htmlSummary,
                    boolean showPlot,
                    boolean showConsole)
             throws PsicsException
Throws:
PsicsException

getMainPsicsFileName

public String getMainPsicsFileName()
                            throws PsicsException
Throws:
PsicsException

main

public static void main(String[] args)