|
Project Information
Members
Featured
Wiki pages
Links
|
A collection of astronomy-related python codes. I tried to change the hosting to mercurial, but was unable to convert the wiki to hg. Since there are many important comments on the wiki and issues pages, I elected to give up. I'm unhappy with this situation, so tips are welcome. MATURE CODE:readcol - ASCII column-reading code. More powerful than IDL's readcol: has the ability to read a data table with labeled columns as a dict. This code is now mostly superceded by atpy and asciitable but may still be easier to use for many simple applications. grep - really simple, greps for things... tries to be similar to | grep on bash cmd line but isn't all that useful. I mostly use this to find substrings in large lists of dictionary keys. However, "python grep" is the most common google search term to get to my website.... gaussfitter - one and two dimensional Gaussian fitting using the Levenberg-Marquardt algorithm. SCIENCE TOOLS:
h2fit - fits H2 infrared lines by creating a synthetic spectrum (gaussians)
luminosity - SED integrator intended for mid-IR to sub-mm
SUB-PACKAGESAG_fft_tools
Also includes a power-spectrum and power-spectral-density (PSD) code. AG_image_toolsRadial Profile functions, as per discussion on [www.astrobetter.com/fourier-transforms-of-images-in-python/ astrobetter] SEMI-ABANDONED:collapse_gaussfit.py collapseplot.py cubes.py subim_gaussfit.py plfit_v1.py - non-class version of plfit Other people's code that I've modded slightly or are needed as prereqs for other pieces of code here: combineRGB mpfit mad Abandoned: fitshow.py DEPENDENCIES: From astrolib:
|