Blog: High Performance Python tutorial v0.2 (from EuroPython 2011)
Ian Ozsvald has released an excellent High Performance Python tutorial (55 page PDF) which walks through different ways of making Python code run much faster. Read more in the original blog post, look at the source on github, or watch the slides.
Topics covered:
- Python profiling (cProfile, RunSnake, line_profiler) – find bottlenecks
- PyPy – Python’s new Just In Time compiler, a note on the new numpy module
- Cython ...
Resource: deproject
Description: Deproject 3-d cluster properties from 2-d data
Homepage URL: http://cxc.harvard.edu/contrib/deproject/
Version: 0.1
Deproject is a CIAO Sherpa extension package to facilitate deprojection of two-dimensional annular X-ray spectra to recover the three-dimensional source properties. For typical thermal models this would include the radial temperature and density profiles. This basic method has been used extensively for X-ray cluster analysis and is the basis ...