emolch/pyrocko — pull request #21 by HerrMuellerluedenscheid (2014-01-17 18:49:06+00:00)
Title: misfit bug

The additional Exception gives the programmer a little more clarity if the misfit fails in the corresponding case.
The additional snap is needed if the misfit routine requires a fresh copy of self, for example, if tmin of the former candidate was smaller than the current candidate's tmin.