ucl.physiol.neuroconstruct.simulation
Class RandomSpikeTrainExtSettings

java.lang.Object
  extended by ucl.physiol.neuroconstruct.simulation.StimulationSettings
      extended by ucl.physiol.neuroconstruct.simulation.RandomSpikeTrainExtSettings

public class RandomSpikeTrainExtSettings
extends StimulationSettings

Settings specifically for extended NetStim/randomspike like stimulation Note: not the best package for this, but unfortunately the stored XML project files reference this class...

Author:
Padraig Gleeson

Constructor Summary
RandomSpikeTrainExtSettings()
           
RandomSpikeTrainExtSettings(String reference, String cellGroup, CellChooser cellChooser, int segmentID, NumberGenerator rate, String synapseType, NumberGenerator delay, NumberGenerator duration, boolean repeat)
           
RandomSpikeTrainExtSettings(String reference, String cellGroup, CellChooser cellChooser, SegmentLocationChooser segs, NumberGenerator rate, String synapseType, NumberGenerator delay, NumberGenerator duration, boolean repeat)
           
 
Method Summary
 Object clone()
           
 NumberGenerator getDelay()
           
 NumberGenerator getDuration()
           
 ElectricalInput getElectricalInput()
           
 NumberGenerator getRate()
           
 String getSynapseType()
           
 boolean isRepeat()
           
static void main(String[] args)
           
 void setDelay(float fixedDelay)
           
 void setDelay(NumberGenerator delay)
           
 void setDuration(float duration)
           
 void setDuration(NumberGenerator duration)
           
 void setNoise(float noise)
           
 void setRate(float fixedRate)
          This is to cope with the old code, where rate was always fixed
 void setRate(NumberGenerator rate)
           
 void setRepeat(boolean repeat)
           
 void setSynapseType(String synapseType)
           
 String toString()
           
 
Methods inherited from class ucl.physiol.neuroconstruct.simulation.StimulationSettings
getCellChooser, getCellGroup, getFractionAlong, getReference, getSegChooser, setCellChooser, setCellGroup, setCellNumberString, setFractionAlong, setReference, setSegChooser, setSegmentID, toLongString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomSpikeTrainExtSettings

public RandomSpikeTrainExtSettings()

RandomSpikeTrainExtSettings

public RandomSpikeTrainExtSettings(String reference,
                                   String cellGroup,
                                   CellChooser cellChooser,
                                   int segmentID,
                                   NumberGenerator rate,
                                   String synapseType,
                                   NumberGenerator delay,
                                   NumberGenerator duration,
                                   boolean repeat)

RandomSpikeTrainExtSettings

public RandomSpikeTrainExtSettings(String reference,
                                   String cellGroup,
                                   CellChooser cellChooser,
                                   SegmentLocationChooser segs,
                                   NumberGenerator rate,
                                   String synapseType,
                                   NumberGenerator delay,
                                   NumberGenerator duration,
                                   boolean repeat)
Method Detail

clone

public Object clone()
Specified by:
clone in class StimulationSettings

getElectricalInput

public ElectricalInput getElectricalInput()
Specified by:
getElectricalInput in class StimulationSettings

isRepeat

public boolean isRepeat()

setRepeat

public void setRepeat(boolean repeat)

getDelay

public NumberGenerator getDelay()

getDuration

public NumberGenerator getDuration()

setDelay

public void setDelay(float fixedDelay)

setDelay

public void setDelay(NumberGenerator delay)

setDuration

public void setDuration(float duration)

setDuration

public void setDuration(NumberGenerator duration)

getRate

public NumberGenerator getRate()

setRate

public void setRate(float fixedRate)
This is to cope with the old code, where rate was always fixed


setRate

public void setRate(NumberGenerator rate)

setNoise

public void setNoise(float noise)

toString

public String toString()
Specified by:
toString in class StimulationSettings

getSynapseType

public String getSynapseType()

setSynapseType

public void setSynapseType(String synapseType)

main

public static void main(String[] args)