Python Signal Generation

The script generate.py outputs time histories for:

  • sine
  • cosine
  • damped sine
  • sine sweep
  • white noise
  • terminal sawtooth pulse
  • symmetric sawtooth pulse
  • half-sine pulse
  • versed sine pulse
  • wavelet
  • rectangular pulse

The script requires the utility function tompy.py

The time histories have many different uses. One is to test signal processing scripts.

Another is for use as a base input or forcing function in a structural dynamics model, particularly for a modal transient analysis.

* * *

Tom Irvine

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s