Python Signal Analysis Package GUI

Here is a signal analysis package GUI written using Tkinter: vibrationdata_gui_python.zip It is compatible with Python versions 2.7 to 3.3, and hopefully future 3.x versions. vibrationdata.py is the main script. The remaining scripts are supporting functions. These scripts demonstrate the use of multiple windows. *… Read more

Webinar 8 – Waterfall FFT

PowerPoint File: Webinar_8_Waterfall_FFT.ppt Audio/Visual File:  NESC Academy Waterfall FFT – Recommend viewing in Firefox with Sliverlight plugin * * * Data Each of the following has two columns: time(sec) & accel(G) terrier_black_brant_2KHz_lpf_x.zip solid_motor_flight.txt Fwd_Dome_ignition.txt Orion_PA1_LS51v.txt * * * Terrier Black Brant Video * * * Matlab script:… Read more

Webinar Unit 1 – Natural Frequencies

We held our first Shock & Vibration Webinar on January 17, 2014. This presentation was sponsored by the NASA Engineering and Safety Center, to which I express gratitude. A link to the audio/visual recording will be posted here in the near future. In addition, here… Read more

Data Curve-Fitting

Here is a good website for curve-fitting:  zunzun From the website… Here you can curve fit and surface fit your 2D and 3D data online with a rich set of error histograms, error plots, curve plots, surface plots, contour plots, VRML, auto-generated source code, and… Read more

Cython

Cython is a compiler which compiles Python-like code files to C code. The resulting functions can then be imported into other Python scripts. This method can be used to increase the execution speed of a Python script, particularly if the script uses for-loops. I have… Read more

Python Blog

With the encouragement of my NASA colleagues, I have started a Python Blog at: Vibrationdata Python Blog Please visit this site and contribute your own experience. Thank you, Tom Irvine

Python: reading two columns of numerical data with an arbitrary number of header & blank lines

Here is my current method. Please let me know if you have a better one. The input data may be either space, tab, or comma delimited. ########################################################################## import os import re from numpy import array,zeros,concatenate,linspace,std from sys import stdin import matplotlib.pyplot as plt ######################################################################## def… Read more

Python on Linux

I have installed Linux Ubuntu on my 64-bit Windows PC, turning it into a dual boot configuration. The link is:  http://www.ubuntu.com/download/ubuntu/windows-installer * * * I have also installed the Linux versions of Python & Spyder. Here is a Python installation method from Nick Smith: Part… Read more

Python Tip

Every Python book and website tutorial recommends the following command for prompting the user for input: raw_input() But I have found that this command is buggy and unreliable. Specifically, I wrote a long, complex code that had several raw_input() commands. The code ran successfully in… Read more