# with SciPy, how to generate waveform with common pulse shapes?

With Python/Scipy, if I have a simply BPSK signal sequence [1, -1, -1, 1, ...], how can I generate a real-valued baseband waveforms with oversampling rate m, and common pulse shapes such as root raised cosine, Nyquist, etc.?

In Matlab I found this fdesign.pulseshaping function, is there an equivalent function in SciPy? If not how can I implement this myself?

I think in other words, how can I find filter coefficient b and a of root raised cosine or Nyquist filters so I use signal.filtfilt?