implement type checking for analogsignal t_start, sampling_period, and sampling_rate