<jupyter_start><jupyter_text>And now for the problem of Manuel<jupyter_code>def loadVolume(dirPath):
    files = glob.glob(dirPath + '/*.tif')
    volume = np.zeros((140, 140, 140))
    for i,filename in enumerate(files):
        img = Image.open(filename)
        # print filename
        pixels = np.asarray(img)
        volume[i,:,:] = pixels
    volume = volume > 128
    return volume.astype(np.int)

volume = loadVolume('01_xz')
# plotVolume(volume)
X,Y,Z = volume.nonzero()
c,fxy = cubeness_mz(X,Y,Z)
print c<jupyter_output>0.629101969423
{'fraction_non_alphanumeric': 0.13944954128440368, 'fraction_numerical': 0.04954128440366973, 'mean_word_length': 3.6666666666666665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '252888', 'license': 'Apache-2.0', 'n_tokens_mistral': 225, 'n_tokens_neox': 203, 'n_words': 41, 'path': 'Load tiff.ipynb', 'repo_name': 'c-martinez/compactness', 'size': '545'}