@property
    def gen(self):
        raise NotImplementedError("(%s).gen" % self)
simple division check to avoid ZeroDivisionError
dataset/ETHPy150Open sympy/sympy/sympy/series/sequences.py/SeqBase.gen--crossover with--dataset/ETHPy150Open xraypy/xraylarch/plugins/io/specfiledata.py/_checkZeroDiv