# Modules

These are more general-purpose modules, intended to be imported into other python scripts.

- GLOEspy
- A python implementation of Barry Madore's GLOEs algorithm. Use it to get a smooth interpolation of heterogeneously sampled 1- or 2-D data.
- fit_poly
- Python module for fitting a 1- or 2-D polynomial (McLauren series) to a set of data.
- myiraf.py
- A library of custom-made iraf-related routines. This will, of course, require you install pyaf. You also need ReadSex.py and stats.py
- stats.py
- Collection of statistics routines. These are mostly covered by scipy, but if you don't want to install scipy...
- ReadSex
- Routine for reading in sextractor output.
- spline2
- A python wrapper for spline2 (aka hyper-spline) by B. Thijsse et al. Uses the Durbin-Watson statistic rather than chi-square as a test for the number of knots in the approximating spline, which is supposed to be less sensitive to incorrect variances in the data. Requires Numeric python.