@staticmethod
    def g(y, gamma=10):
        if not gamma or gamma >= inf:
            return 0.5
        return (1+np.exp(-gamma*y))/1. - 0.5
dataset/ETHPy150Open dongying/dear/dear/spectrum/auditory.py/Y2.g/swapped operands of `/`