Monthly Archives: February 2011

Half-Light Radii for Various Profiles

For a radial profile of , the enclosed flux within the radius is given by     I’m only concerned about azimuthal symmetric cases, so .  The idea is to solve     for . Gaussian Profile Say the Gaussian … Continue reading

Posted in Uncategorized | Tagged , , , | 5 Comments

SciPy Weave Bug in Debian Squeeze

I was trying to remove a bottleneck by converting a portion of Python code into C++ via scipy.weave.inline, and encountered a bug. Here is my code: And this is what I get: Fortunately there is a fix: The fix for … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment