pub fn pulse_train(
period: usize,
width: usize,
length: usize,
) -> Result<Vec<f64>, ErrorsJSL>Expand description
Convenience: length samples of a pulse train with an integer period (>= 2) and pulse
width in samples (0 to period).