Contents:
Generates a pulse signal which is 1 between start and end times and 0 everwhere else
fs (float) – Sample rate of signal in Hz.
T (float) – Period of the signal in seconds.
start_time (float) – Start time of the box signal in seconds
end_time (float) – End time of the box signal in seconds
initial_time (float) – time at waveform start in seconds, default is 0.
A tuple comprising (i) an array of time values in seconds and (ii) an array of signal values