import slider.py from astrometry/projects/slider, formerly known as projects/phat/duh.py