ucl.physiol.neuroconstruct.simulation
Class RandomSpikeTrainSettings

java.lang.Object
  extended by ucl.physiol.neuroconstruct.simulation.StimulationSettings
      extended by 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)
           
 
Method Summary
 Object clone()
           
 ElectricalInput getElectricalInput()
           
 NumberGenerator getRate()
           
 String getSynapseType()
           
static void main(String[] args)
           
 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); }
 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

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. 

Method Detail

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)