Store independent parameters of the model. More...
Public Member Functions | |
| Parameters_ () | |
| Sets default parameter values. | |
| Parameters_ (const Parameters_ &, Buffers_ &) | |
| Parameters_ (const Parameters_ &) | |
| Parameters_ & | operator= (const Parameters_ &p) |
| void | get (Dictionary &) const |
| void | set (const Dictionary &, Buffers_ &, Node *) |
| Set values from dictionary. | |
| Time | validate_time_ (double, const Time &) |
| Return time as Time object if valid, otherwise throw BadProperty. | |
Public Attributes | |
| std::vector< Time > | amp_time_stamps_ |
| Times of amplitude changes. | |
| std::vector< double > | amp_values_ |
| Amplitude values activated at given times. | |
| bool | allow_offgrid_amp_times_ |
| Allow and round up amplitude times not on steps. | |
Store independent parameters of the model.
| nest::step_rate_generator::Parameters_::Parameters_ | ( | ) |
Sets default parameter values.
References allow_offgrid_amp_times_, amp_time_stamps_, and amp_values_.
Referenced by operator=(), Parameters_(), and Parameters_().
| nest::step_rate_generator::Parameters_::Parameters_ | ( | const Parameters_ & | , |
| Buffers_ & | ) |
| nest::step_rate_generator::Parameters_::Parameters_ | ( | const Parameters_ & | p | ) |
References allow_offgrid_amp_times_, amp_time_stamps_, amp_values_, and Parameters_().
| void nest::step_rate_generator::Parameters_::get | ( | Dictionary & | d | ) | const |
Store current values in dictionary
References allow_offgrid_amp_times_, nest::names::allow_offgrid_times(), amp_time_stamps_, amp_values_, nest::names::amplitude_times(), and nest::names::amplitude_values().
| step_rate_generator::Parameters_ & nest::step_rate_generator::Parameters_::operator= | ( | const Parameters_ & | p | ) |
References allow_offgrid_amp_times_, amp_time_stamps_, amp_values_, and Parameters_().
| void nest::step_rate_generator::Parameters_::set | ( | const Dictionary & | d, |
| Buffers_ & | b, | ||
| Node * | ) |
Set values from dictionary.
References allow_offgrid_amp_times_, nest::names::allow_offgrid_times(), amp_time_stamps_, amp_values_, nest::names::amplitude_times(), nest::names::amplitude_values(), and validate_time_().
Referenced by nest::step_rate_generator::set_data_from_stimulation_backend(), and nest::step_rate_generator::set_status().
Return time as Time object if valid, otherwise throw BadProperty.
| amplitude | time, ms |
| previous | time stamp |
References allow_offgrid_amp_times_, nest::Time::is_grid_time(), nest::Time::ms, and nest::Time::ms_stamp.
Referenced by set().
| bool nest::step_rate_generator::Parameters_::allow_offgrid_amp_times_ |
Allow and round up amplitude times not on steps.
Referenced by get(), operator=(), Parameters_(), Parameters_(), set(), and validate_time_().
| std::vector< Time > nest::step_rate_generator::Parameters_::amp_time_stamps_ |
Times of amplitude changes.
Referenced by get(), operator=(), Parameters_(), Parameters_(), and set().
| std::vector< double > nest::step_rate_generator::Parameters_::amp_values_ |
Amplitude values activated at given times.
Referenced by get(), operator=(), Parameters_(), Parameters_(), and set().