Python tidbits that may be useful
Code is a mixture of freshly-authored stuff, and pieces taken from across the internet space. I have attemped to credit authors where appropriate, and do not claim copyright for any other people's code.
- matplotlibwidget.py: plug-in Qt plot widget for QtDesigner
- startup.py: default interactive session
- fitting.py: general fitting frmework with uncertainties, using scipy optimisation
- mayatools.py: useful pieces for using mayavi 3D plotting
- vtk_simple.py: example of simplest VTK interaction
- general_rebin.py: simple rebinnning of arrays
- websocket_log_server.py: logging over a socket, displayed in browser (http://code.activestate.com/recipes/577025-loggingwebmonitor-a-central-logging-server-and-mon/ )
- socket_log_server.py: logging over a socket, to console
- launch.py: open any file using system calls
- xkcd.py: sketch-style plots (see http://nbviewer.ipython.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb )
- lomb.py: the Lonb-Scargle periodogram
- smooth.py: some data smoothign functions