Monthly Archives: November 2012

Boot repair

Boot-Repair can be installed & used from any Ubuntu session (normal session, or live-CD, or live-USB). Install Boot-Repair on ubuntu Open the terminal and run the following commands sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install boot-repair After completing … Continue reading

Posted in Linux | 1 Comment

Display multiple figures using matplotlib

display multiple windows of figures for plotting, put show() out of loop! otherwise, only one will be displayed once unless.

Tagged , | Leave a comment

Change Linux mint 32bit to 64bit version

1. Download iso file; 2. use imagewriter which is a default software of mint to write iso to usb stick; 3. boot from usb and enter the mint system to install 4. start installation. Choose partition where the old linux … Continue reading

Posted in Linux | Leave a comment

Find & Replace across multiple files in linux

Find & Replace across multiple files in linux I was trying to find a solution todo a find & replace across multiple files which was purely command line based. There are plenty of scripts out there which will accomplish this … Continue reading

Posted in Linux | Leave a comment

signal smooth filtering (include moving average algorithm)

import numpy def smooth(x,window_len=5,window=’hanning’): “””smooth the data using a window with requested size. This method is based on the convolution of a scaled window with the signal. The signal is prepared by introducing reflected copies of the signal (with the … Continue reading

Posted in Fundamental | 2 Comments

Savitzky Golay Filtering . py

A useful filter for signal smoothing def savitzky_golay(y, window_size, order, deriv=0, rate=1): r”””Smooth (and optionally differentiate) data with a Savitzky-Golay filter. The Savitzky-Golay filter removes high frequency noise from data. It has the advantage of preserving the original shape and … Continue reading

Posted in Fundamental | Tagged | Leave a comment

Signal Smoothing

Source: http://www.chem.uoa.gr/applets/appletsmooth/appl_smooth2.html Signal Smoothing Algorithms   Theory The signal-to-noise ratio (SNR) of a signal can be enhanced by either hardware or software techniques. The wide use of personal computers in chemical instrumentation and their inherent programming flexibility make software signal … Continue reading

Posted in Fundamental | 1 Comment

Music I like

许飞 寻水的鱼 我们终究会牵手旅行 明年依然好时节

Tagged | Leave a comment