module documentation
Undocumented
Function | generate |
Generates an array with time points at sampling rate fs with start- and end-time |
Function | get |
Compute sampling frequency from t when fs is None, else simply returns fs |
Function | position |
Small helper to get start- and end-time from center-position and duration |
Function | start |
Small helper to get start- and end-time from start and duration |
Generates an array with time points at sampling rate fs with start- and end-time
Parameters | |
start:float | start time in seconds |
end:float | end time in seconds (non-inclusive) |
fs:int|float | sampling rate |
Returns | |
np.ndarray | numpy array with time points |
Compute sampling frequency from t when fs is None, else simply returns fs
Parameters | |
fs:(int|float)|None | sampling frequency |
t:Union[ | time vector |
Returns | |
int |