
Recent Posts
 angles angular position astrometry bearing cog coordinate conversion docutils epoch equinox FITS formatted tables Gregorian calendar IRAF J2000 Julian calendar julian date labelling plots latex latex equations leap year lineid_plot paver position angle pyephem PyFITS pygments refractive index reStructuredText scipy separation skyctran statistics sympy tables wave length conversion
Categories
 Astronomy (11)
 Python (13)
 Uncategorized (1)
Archives
Subscribe to RSS
Category Archives: Python
Latex equations using SymPy
Latex equations using SymPy SymPy is a symbolic mathematics package in Python. Even if you are not interested in performing symbolic mathematical calculations, you should probably install it for one very useful function: sympy.latex(). sympy.latex() converts mathematical expressions into Latex … Continue reading
Refractive index of air and wave length conversion
Refractive index of air Contents Examples Converting wave length of light from vacuum to that in air Converting wave length of light from air to that in vacuum Refractive index Installation Details Comparison with IDLASTRO code The Python module ref_index … Continue reading
Line id plot
[Update 2012/04/22: Following suggestions from Jane Rigby (see comments below), I have created a couple of functions for changing properties of labels. These exists as separate code in the following Github Gist: https://gist.github.com/2326396 .] Manually placing labels in a plot, … Continue reading