<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def iter_ruptures(self):
 """ Yield ruptures for the current set of indices """

        assert self.orig, '%s is not fully initialized' % self
        for ridx in range(self.start, self.stop):
            if self.orig.rate[ridx]:  # ruptures may have have zero rate
                rup = self.get_ucerf_rupture(ridx, self.src_filter)
                if rup:
                    yield rup