ucl.physiol.neuroconstruct.project.stimulation
Class RandomSpikeTrain

java.lang.Object
  extended by ucl.physiol.neuroconstruct.project.stimulation.ElectricalInput
      extended by ucl.physiol.neuroconstruct.project.stimulation.RandomSpikeTrain

public class RandomSpikeTrain
extends ElectricalInput

Settings specifically for single NetStim/randomspike like stimulation

Author:
Padraig Gleeson

Field Summary
static String TYPE
           
 
Constructor Summary
RandomSpikeTrain()
           
RandomSpikeTrain(NumberGenerator rate, float noise, String synapseType)
          Deprecated. 
RandomSpikeTrain(NumberGenerator rate, String synapseType)
           
 
Method Summary
 Object clone()
           
 String getDescription()
           
 NumberGenerator getRate()
           
 String getSynapseType()
           
 void setRate(NumberGenerator rate)
          This is left in to cope with old code where rate was always fixed public void setRate(float fixedRate) { //System.out.println("Spiking rate being set at a fixed rate: "+fixedRate); this.rate = new NumberGenerator(fixedRate); }
 void setSynapseType(String synapseType)
           
 String toLinkedString()
           
 String toString()
           
 
Methods inherited from class ucl.physiol.neuroconstruct.project.stimulation.ElectricalInput
getType, setType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

RandomSpikeTrain

public RandomSpikeTrain()

RandomSpikeTrain

public RandomSpikeTrain(NumberGenerator rate,
                        String synapseType)

RandomSpikeTrain

@Deprecated
public RandomSpikeTrain(NumberGenerator rate,
                                   float noise,
                                   String synapseType)
Deprecated. 

Method Detail

clone

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

getRate

public NumberGenerator getRate()

setRate

public void setRate(NumberGenerator rate)
This is left in to cope with old code where rate was always fixed public void setRate(float fixedRate) { //System.out.println("Spiking rate being set at a fixed rate: "+fixedRate); this.rate = new NumberGenerator(fixedRate); }


toString

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

toLinkedString

public String toLinkedString()
Specified by:
toLinkedString in class ElectricalInput

getDescription

public String getDescription()

getSynapseType

public String getSynapseType()

setSynapseType

public void setSynapseType(String synapseType)