ucl.physiol.neuroconstruct.project.stimulation
Class RandomSpikeTrain
java.lang.Object
ucl.physiol.neuroconstruct.project.stimulation.ElectricalInput
ucl.physiol.neuroconstruct.project.stimulation.RandomSpikeTrain
public class RandomSpikeTrain
- extends ElectricalInput
Settings specifically for single NetStim/randomspike like stimulation
- Author:
- Padraig Gleeson
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
RandomSpikeTrain
public RandomSpikeTrain()
RandomSpikeTrain
public RandomSpikeTrain(NumberGenerator rate,
String synapseType)
RandomSpikeTrain
@Deprecated
public RandomSpikeTrain(NumberGenerator rate,
float noise,
String synapseType)
- Deprecated.
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)