def __init__(self,
                 dt, dt_max,
                 norm=True,
                 allow_instantaneous=False):

        self.dt = dt
        self.dt_max = dt_max
        self.allow_instantaneous = allow_instantaneous
        self.norm = norm
        self.B = int(dt_max // dt)

        if allow_instantaneous:
            self.B += 1

        # The length is always the current time bin + dt_max / dt
        self.L = dt_max // dt + 1

        # Save allow instantaneous
        self.basis = self.create_basis()
dataset/ETHPy150Open slinderman/pyhawkes/pyhawkes/utils/basis.py/IdentityBasis.__init__/original