NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Public Attributes | List of all members
nest::sinusoidal_gamma_generator::Parameters_ Struct Reference

Public Member Functions

 Parameters_ ()
 Sets default parameter values. More...
 
 Parameters_ (const Parameters_ &)
 
Parameters_operator= (const Parameters_ &p)
 
void get (DictionaryDatum &) const
 Store current values in dictionary. More...
 
void set (const DictionaryDatum &, const sinusoidal_gamma_generator &)
 Set values from dicitonary. More...
 

Public Attributes

double_t om_
 Frequency in radian. More...
 
double_t phi_
 phase in radian More...
 
double_t order_
 gamma order More...
 
double_t dc_
 DC amplitude. More...
 
double_t ac_
 AC amplitude. More...
 
bool individual_spike_trains_
 Emit individual spike trains for each target, or same for all? More...
 
size_t num_trains_
 Number of targets. More...
 

Constructor & Destructor Documentation

nest::sinusoidal_gamma_generator::Parameters_::Parameters_ ( )

Sets default parameter values.

nest::sinusoidal_gamma_generator::Parameters_::Parameters_ ( const Parameters_ p)

Member Function Documentation

void nest::sinusoidal_gamma_generator::Parameters_::get ( DictionaryDatum d) const
nest::sinusoidal_gamma_generator::Parameters_ & nest::sinusoidal_gamma_generator::Parameters_::operator= ( const Parameters_ p)
void nest::sinusoidal_gamma_generator::Parameters_::set ( const DictionaryDatum d,
const sinusoidal_gamma_generator n 
)

Set values from dicitonary.

Note
State is passed so that the position can be reset if the spike_times_ vector has been filled with new data.

References nest::names::ac, nest::names::d, nest::names::dc, numerics::e, nest::names::freq, nest::names::individual_spike_trains, nest::Node::is_model_prototype(), nest::names::order, nest::names::phi, and numerics::pi.

Referenced by nest::sinusoidal_gamma_generator::set_status().

Member Data Documentation

double_t nest::sinusoidal_gamma_generator::Parameters_::ac_
double_t nest::sinusoidal_gamma_generator::Parameters_::dc_
bool nest::sinusoidal_gamma_generator::Parameters_::individual_spike_trains_

Emit individual spike trains for each target, or same for all?

Referenced by nest::sinusoidal_gamma_generator::has_proxies(), operator=(), and nest::sinusoidal_gamma_generator::send_test_event().

size_t nest::sinusoidal_gamma_generator::Parameters_::num_trains_

Number of targets.

This is a hidden parameter; must be placed in parameters, even though it is an implementation detail, since it concerns the connections and must not be affected by resets.

Note
If individual_spike_trains_ is false, this value fixed at 1. This way all code using num_trains_ (and thus all the Buffers_ arrays, does not need to check individual_spike_trains_.

Referenced by operator=(), and nest::sinusoidal_gamma_generator::send_test_event().

double_t nest::sinusoidal_gamma_generator::Parameters_::om_

Frequency in radian.

Referenced by nest::sinusoidal_gamma_generator::deltaLambda_(), and operator=().

double_t nest::sinusoidal_gamma_generator::Parameters_::order_
double_t nest::sinusoidal_gamma_generator::Parameters_::phi_

The documentation for this struct was generated from the following files: