def make_pack(outfile, subj, types=("inflated",), method='raw', level=0,
              decimate=False, disp_layers=['rois'],extra_disp=None):

    ctm = BrainCTM(subj, decimate=decimate)
    ctm.addCurvature()
    for name in types:
        ctm.addSurf(name)

    if not os.path.exists(os.path.split(outfile)[0]):
        os.makedirs(os.path.split(outfile)[0])

    return ctm.save(os.path.splitext(outfile)[0],
                    method=method,
                    level=level,
                    disp_layers=disp_layers,
                    extra_disp=extra_disp)
Return prefix length from the bitwise netmask.
dataset/ETHPy150Open gallantlab/pycortex/cortex/brainctm.py/make_pack--crossover with--dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/ipaddress.py/_IPAddressBase._prefix_from_ip_int