NEST main@caf0ae8
 
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
 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.
 

Detailed Description

Store independent parameters of the model.

Constructor & Destructor Documentation

◆ Parameters_() [1/3]

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

Sets default parameter values.

◆ Parameters_() [2/3]

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

◆ Parameters_() [3/3]

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

Member Function Documentation

◆ get()

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

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

◆ operator=()

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

◆ set()

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

Here is the call 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.

◆ amp_time_stamps_

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

◆ amp_values_

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

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