Author Archives: eric
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
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.
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
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
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
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
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
Software list in linux
Linux OS: Linux Mint (Cinnamon), Ubuntu File manager (mainly for synchronizing files ): nemo Avant Window Navigator: good dock GTK+theme: Mediterranean /usr/share/themes/ Image editor : GIMP; Inkscape (vector-based); Screen capture: Ksnapshot; (there is a default one, but not as good as this … Continue reading
Cisco VPN problem during installation
Problem: Cisco Anyconnect client does not give an option to override the “invalid certificate error” and go ahead using the current certificate of the server. Reason: The current libraries used by Anyconnect client does not support this feature. Fix: Add … Continue reading