def intersect(self, other):
if not isinstance(other, self.__class__):<EOL><INDENT>m = "<STR_LIT>"<EOL>raise StriplogError(m)<EOL><DEDENT>result = []<EOL>for iv in self:<EOL><INDENT>for jv in other:<EOL><INDENT>try:<EOL><INDENT>result.append(iv.intersect(jv))<EOL><DEDENT>except IntervalError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>return Striplog(result)<EOL>
Makes a striplog of all intersections.

Args:
    Striplog. The striplog instance to intersect with.

Returns:
    Striplog. The result of the intersection.