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 |
| Store current values in dictionary. | |
| 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.
| nest::step_rate_generator::Parameters_::Parameters_ | ( | const Parameters_ & | , |
| Buffers_ & | |||
| ) |
| nest::step_rate_generator::Parameters_::Parameters_ | ( | const Parameters_ & | p | ) |
| void nest::step_rate_generator::Parameters_::get | ( | Dictionary & | d | ) | const |
Store current values in dictionary.
References nest::names::allow_offgrid_times(), nest::names::amplitude_times(), and nest::names::amplitude_values().
Referenced by nest::step_rate_generator::get_status().
| step_rate_generator::Parameters_ & nest::step_rate_generator::Parameters_::operator= | ( | const Parameters_ & | p | ) |
| void nest::step_rate_generator::Parameters_::set | ( | const Dictionary & | d, |
| Buffers_ & | b, | ||
| Node * | |||
| ) |
Set values from dictionary.
References nest::names::allow_offgrid_times(), nest::names::amplitude_times(), and nest::names::amplitude_values().
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 nest::Time::is_grid_time().
| bool nest::step_rate_generator::Parameters_::allow_offgrid_amp_times_ |
Allow and round up amplitude times not on steps.
| std::vector< Time > nest::step_rate_generator::Parameters_::amp_time_stamps_ |
Times of amplitude changes.
Referenced by nest::step_rate_generator::set_data_from_stimulation_backend(), and nest::step_rate_generator::update().
| std::vector< double > nest::step_rate_generator::Parameters_::amp_values_ |
Amplitude values activated at given times.
Referenced by nest::step_rate_generator::set_data_from_stimulation_backend(), and nest::step_rate_generator::update().