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 intensity profile is given … Continue reading

Posted in Uncategorized | Tagged , , | 2 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: running build_ext running build_src build_src building extension “sc_1eb4d019edb4774720031f15557074a811″ … Continue reading

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