new file:   magdalene_curve.py