<jupyter_start><jupyter_text>Define the directories<jupyter_code>data_filename = 'server/data/data.hdf5'
static_directory = 'server/static'<jupyter_output><empty_output><jupyter_text>Define the notebook URL (modify accordingly)<jupyter_code>notebook_url = 'localhost:8892'<jupyter_output><empty_output><jupyter_text>Multiple arrays<jupyter_code>def modify_doc(doc):
    view = spav.utils.ExpressionOnArrays(data_filename,static_directory)
    doc.add_root(view.layout)
    
show(modify_doc,notebook_url=notebook_url)<jupyter_output><empty_output><jupyter_text>Single array<jupyter_code>def modify_doc(doc):
    view = spav.utils.ExpressionOnArray(data_filename,static_directory)
    doc.add_root(view.layout)
    
show(modify_doc,notebook_url=notebook_url)<jupyter_output><empty_output><jupyter_text>Common coordinate<jupyter_code>def modify_doc(doc):
    view = spav.utils.ExpressionInCommonCoordinate(data_filename)
    doc.add_root(view.layout)
    
show(modify_doc,notebook_url=notebook_url)<jupyter_output><empty_output><jupyter_text>Coefficients grouped by AAR<jupyter_code>def modify_doc(doc):
    view = spav.utils.LevelExpressionCoefficients(data_filename)
    doc.add_root(view.layout)
    
show(modify_doc,notebook_url=notebook_url)<jupyter_output><empty_output><jupyter_text>Coefficients grouped by the level 1 variables<jupyter_code>def modify_doc(doc):
    view = spav.utils.AARExpressionCoefficients(data_filename)
    doc.add_root(view.layout)
    
show(modify_doc,notebook_url=notebook_url)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1014964216005205, 'fraction_numerical': 0.003903708523096942, 'mean_word_length': 9.534246575342467, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, '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': '7', 'dir': 'jupyter-structured-clean-dedup', 'id': '106693', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 576, 'n_tokens_neox': 557, 'n_words': 49, 'path': 'Notebook.ipynb', 'repo_name': 'tare/Spav', 'size': '1537'}