2016年10月14日 星期五

SciPy FAQ

SciPy FAQ
How to use curve_fit function to evaluate a curve (view)


別再用 Java/C/C++ 重做別人已經完成的工作. 我們應該花寶貴的時間在重要的演算法開發上, 應該花重要精神在了解別人解決問題的觀念和思考模式, 花費最多時間發展與組織概念, 快速驗證概念! 別再花費大量時間在程式的實作細節, 再解那些 null point exception 上.


過去, 你需要的是 Matlab, 現在你可以用 Node.js 或者是 SciPy.


Google doc: This document.



General Question

  1. [api, pyplot] Where is the pyplot api (ref)
  2. [api, artists] Where is the artist api (ref)
  3. [debug] How to debug the scipy
    1. ipython --pylab
    2. Print "patch.center=",  patch.center
  4. How to install Scipy (view)
  5. [matplotlib, version] How to check the matplotlib version (view)
  1. [matplotlib, upgrade] How to upgrade matplotlib (ref)
  2. [array, example] Lots of array example (ref)
  3. [array] How to get X array (view)
  4. [array, linspace] How to setup a linespace array (view)
  5. [array, create ,1d] How to create a 1D array with 40 elements (view)
  1. [array, create, 2d] How to create a 2D array (view)
  2. [array, col] How to grab an entire column, column vector (view)
  1. [array, col, 20] How to get 20 elements from a column (view)
  1. [array, mean] How to get the mean for a giving array (view)
  1. [fun, arg, list] How to pass a list to function (view)
  1. [chinese in code] How to add utf-8 character in python (ref)
  2. [3d] How to plot pixels in 3D (ref)
  3. [plot, examples] Lots of plot examples (ref)
  4. [circle] How to draw circles (view)
  1. [axis, range] How to change the axis range (view)
  1. [file, csv] How to read csv file (view)
  1. [circle, examples] Lots of circle examples (ref)
  2. [animation, move circle] How to move a circle (view)
  3. [animation, move circle] How to move a circle around a center (view)
  1. [animation, rain] How to use matplotlib animation (view)
  1. [animation, examples] Lots of animation examles (ref)
  2. [ax, clean] How to clean the screen -- gca(), ax.cla()
  3. [ax, range] How to setup axis range -- ax.set_xlim(0,10), ax.set_ylim(0,10)
  4. [opt, curve_fit] How to use curve_fit function to evalute a curve (view)

  1. [feature, mfcc] How to get the mfcc feature -- library (ref)
  2. [feature, mfcc] How to get the mfcc feature using pysci -- lots figure (ref)



Python Language
Coding Style
General
  1. [core] Python official site (link)
  2. [ide, all in one] Anaconda  (link)
  3. [ide] liClips (link), ActivePython (link)
  4. [ide] spyder (ref) (installation)  (download)
  5. [function] function usage (view)
  6. [add] victor add (view)
  7. [update] How to update the dictionary (view)
  8. [print] How to print value (view)
  9. [arg] How to get the argument from command line (view)
  10. [bash] How to calling an external command in Python -- subprocess (view)

String
  1. [replace] Search and replace a string in file (view)
  2. [parser, SafeConfigParser] How to parsing ini format configure file using SafeConfigParser (view)
  3. [parser, configobj] How to use configobj to parse INI-based configuration file -- for vmx format  (view)
  4. [parser, extract number] How to extract number from a string (view)
  5. [parser, awk] How to split a string like awk (view)
  6. [parser, visualstudio version] How to extract version number from a string (view)
  7. [parser, grep] How to implement grep from python (ref)
  8. [parser, sed] How is the sed function in Python (view) (ref)

Graph
Data Structure
  1. how to use dict (view)

File I/O
  1. [line] How to write a line (view)
  2. Walk Through a XML File (view)
  3. file pattern match (view)
  4. split directory demo (view)

Authentication

Plot
  1. matplotlib (view) (installation) (plotfile_demo)
  2. [iso 8601 date format] csv plot (view)

Document
Python & Excel (view)