ucl.physiol.neuroconstruct.simulation
Class RandomSpikeTrainSettings
java.lang.Object
ucl.physiol.neuroconstruct.simulation.StimulationSettings
ucl.physiol.neuroconstruct.simulation.RandomSpikeTrainSettings
public class RandomSpikeTrainSettings
- extends StimulationSettings
Settings specifically for 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 |
RandomSpikeTrainSettings()
|
RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
int segmentID,
NumberGenerator rate,
float noise,
String synapseType)
Deprecated. |
RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
int segmentID,
NumberGenerator rate,
String synapseType)
|
RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
SegmentLocationChooser segs,
NumberGenerator rate,
float noise,
String synapseType)
Deprecated. |
RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
SegmentLocationChooser segs,
NumberGenerator rate,
String synapseType)
|
| Methods inherited from class ucl.physiol.neuroconstruct.simulation.StimulationSettings |
getCellChooser, getCellGroup, getFractionAlong, getReference, getSegChooser, setCellChooser, setCellGroup, setCellNumberString, setFractionAlong, setReference, setSegChooser, setSegmentID, toLongString |
RandomSpikeTrainSettings
public RandomSpikeTrainSettings()
RandomSpikeTrainSettings
public RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
int segmentID,
NumberGenerator rate,
String synapseType)
RandomSpikeTrainSettings
@Deprecated
public RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
int segmentID,
NumberGenerator rate,
float noise,
String synapseType)
- Deprecated.
RandomSpikeTrainSettings
public RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
SegmentLocationChooser segs,
NumberGenerator rate,
String synapseType)
RandomSpikeTrainSettings
@Deprecated
public RandomSpikeTrainSettings(String reference,
String cellGroup,
CellChooser cellChooser,
SegmentLocationChooser segs,
NumberGenerator rate,
float noise,
String synapseType)
- Deprecated.
clone
public Object clone()
- Specified by:
clone in class StimulationSettings
getElectricalInput
public ElectricalInput getElectricalInput()
- Specified by:
getElectricalInput in class StimulationSettings
getRate
public NumberGenerator getRate()
setRate
public void setRate(NumberGenerator rate)
- This is to cope with the old code, where rate was always fixed
public void setRate(float fixedRate)
{
//System.out.println("Spiking rate being set at a fixed rate: "+fixedRate);
NumberGenerator rate = new NumberGenerator(fixedRate);
randomSpikeTrain.setRate(rate);
}
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)