Package org.neuroml.model
Class SineGenerator
java.lang.Object
org.neuroml.model.BaseWithoutId
org.neuroml.model.Base
org.neuroml.model.Standalone
org.neuroml.model.SineGenerator
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2
Generates a sinusoidally varying current after a time **delay,** for a fixed **duration.** The **period** and maximum **amplitude** of the current can be set as well as the **phase** at which to start. Scaled by **weight,** if set
\n
:param phase: Phase ( between 0 and 2*pi ) at which to start the varying current ( i. e. at time given by delay )
:type phase: none
:param delay: Delay before change in current. Current is zero prior to this.
:type delay: time
:param duration: Duration for holding current at amplitude. Current is zero after delay + duration.
:type duration: time
:param amplitude: Maximum amplitude of current
:type amplitude: current
:param period: Time period of oscillation
:type period: time
Java class for SineGenerator complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SineGenerator"> <complexContent> <extension base="{http://www.neuroml.org/schema/neuroml2}Standalone"> <attribute name="delay" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_time" /> <attribute name="phase" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_none" /> <attribute name="duration" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_time" /> <attribute name="amplitude" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_current" /> <attribute name="period" use="required" type="{http://www.neuroml.org/schema/neuroml2}Nml2Quantity_time" /> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
Fields inherited from class org.neuroml.model.Standalone
annotation, metaid, notes, property
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappend
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields
(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) Gets the value of the amplitude property.getDelay()
Gets the value of the delay property.Gets the value of the duration property.Gets the value of the period property.getPhase()
Gets the value of the phase property.void
setAmplitude
(String value) Sets the value of the amplitude property.void
Sets the value of the delay property.void
setDuration
(String value) Sets the value of the duration property.void
Sets the value of the period property.void
Sets the value of the phase property.toString()
Methods inherited from class org.neuroml.model.Standalone
getAnnotation, getMetaid, getNotes, getProperty, setAnnotation, setMetaid, setNotes
-
Field Details
-
delay
-
phase
-
duration
-
amplitude
-
period
-
-
Constructor Details
-
SineGenerator
public SineGenerator()
-
-
Method Details
-
getDelay
Gets the value of the delay property.- Returns:
- possible object is
String
-
setDelay
Sets the value of the delay property.- Parameters:
value
- allowed object isString
-
getPhase
Gets the value of the phase property.- Returns:
- possible object is
String
-
setPhase
Sets the value of the phase property.- Parameters:
value
- allowed object isString
-
getDuration
Gets the value of the duration property.- Returns:
- possible object is
String
-
setDuration
Sets the value of the duration property.- Parameters:
value
- allowed object isString
-
getAmplitude
Gets the value of the amplitude property.- Returns:
- possible object is
String
-
setAmplitude
Sets the value of the amplitude property.- Parameters:
value
- allowed object isString
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
String
-
setPeriod
Sets the value of the period property.- Parameters:
value
- allowed object isString
-
toString
- Overrides:
toString
in classStandalone
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
append
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
- Overrides:
append
in classStandalone
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFields
in interfaceorg.jvnet.jaxb2_commons.lang.ToString2
- Overrides:
appendFields
in classStandalone
-