stimulus
- class nrv.utils.stimulus(s_init=0)[source]
Stimulus class for NRV2, signals are defined as asynchronous signals, with s the values and t as occurence timings.
Methods
|
Instantiation of a stimulus object. |
|
Append a sample to the signal, internal use only. |
|
Create a biphasic pulse waveform |
|
Concatenate samples to a signal, internal use only. |
|
Ceat a constant signal |
Generic method returning all the atributes of an NRV_class instance |
|
|
Create a pulse waveform based on N harmonic |
Insert samples inside a signal and adapt values consequently |
|
Returns the length of the signal |
|
|
Generic loading method for |
|
|
|
Plot the stimulus |
|
Create pulse shape signal samples |
|
Create a ramp waveform with slop value |
|
Create a ramp waveform with bounds values |
|
Generic saving method for |
|
|
|
Generic method to set any attribute of |
|
Create a sinusoidal waveform |
|
|
Sort the signal with increasing timings |
|
|
Create a repetitive (periodic) square waveform |