@classmethod
def from_lmax_linear(NmtBin, lmax, nlb, is_Dell=False):
    """
        Convenience constructor for generic linear binning.

        :param int lmax: integer value corresponding to the maximum             multipole used by these bandpowers.
        :param int nlb: integer value corresponding to a constant             bandpower width. I.e. the bandpowers will be defined as             consecutive sets of nlb multipoles from l=2 to l=lmax             with equal weights.
        :param boolean is_Dell: if True, the output of all pseudo-Cl             computations carried out using this bandpower scheme (e.g.             from :py:meth:`pymaster.workspaces.NmtWorkspace.decouple_cell`)             will be multiplied by `ell * (ell + 1) / 2 * PI`, where `ell`             is the multipole order (no prefactor otherwise).
        """
    return NmtBin(lmax=lmax, nlb=nlb, is_Dell=is_Dell)
