NEST main@f146f75
Loading...
Searching...
No Matches
nest::step_current_generator::Parameters_ Struct Reference

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.

Detailed Description

Store independent parameters of the model.

Constructor & Destructor Documentation

◆ Parameters_() [1/3]

nest::step_current_generator::Parameters_::Parameters_ ( )

Sets default parameter values.

References allow_offgrid_amp_times_, amp_time_stamps_, and amp_values_.

Referenced by operator=(), Parameters_(), and Parameters_().

Here is the caller graph for this function:

◆ Parameters_() [2/3]

nest::step_current_generator::Parameters_::Parameters_ ( const Parameters_ & ,
Buffers_ &  )

References Parameters_().

Here is the call graph for this function:

◆ Parameters_() [3/3]

nest::step_current_generator::Parameters_::Parameters_ ( const Parameters_ & p)

References allow_offgrid_amp_times_, amp_time_stamps_, amp_values_, and Parameters_().

Here is the call graph for this function:

Member Function Documentation

◆ get()

void nest::step_current_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().

Here is the call graph for this function:

◆ operator=()

step_current_generator::Parameters_ & nest::step_current_generator::Parameters_::operator= ( const Parameters_ & p)

References allow_offgrid_amp_times_, amp_time_stamps_, amp_values_, and Parameters_().

Here is the call graph for this function:

◆ set()

void nest::step_current_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_current_generator::set_data_from_stimulation_backend(), and nest::step_current_generator::set_status().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ validate_time_()

Time nest::step_current_generator::Parameters_::validate_time_ ( double t,
const Time & t_previous )

Return time as Time object if valid, otherwise throw BadProperty.

Parameters
amplitudetime, ms
previoustime stamp

References allow_offgrid_amp_times_, nest::Time::is_grid_time(), nest::Time::ms, and nest::Time::ms_stamp.

Referenced by set().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ allow_offgrid_amp_times_

bool nest::step_current_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_().

◆ amp_time_stamps_

std::vector< Time > nest::step_current_generator::Parameters_::amp_time_stamps_

Times of amplitude changes.

Referenced by get(), operator=(), Parameters_(), Parameters_(), and set().

◆ amp_values_

std::vector< double > nest::step_current_generator::Parameters_::amp_values_

Amplitude values activated at given times.

Referenced by get(), operator=(), Parameters_(), Parameters_(), and set().


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