<jupyter_start><jupyter_text>Test exampleusing deformetrica skulls<jupyter_code>base_dir = "/home/face3d/programs/deformetrica_examples/atlas/landmark/2d/skulls/"<jupyter_output><empty_output><jupyter_text>Pré-processing Atlas estimation<jupyter_code>ae = ssm.atlas.DeformetricaAtlasEstimation(
        idir=base_dir + "data/",
        odir="out_skull/",
        name="skull",
        initial_guess=0,
        kwd=40.,
        kwg=20.,
        noise=1.)
ae.object_type = "polyline"
ae.attachment_type = "varifold"
print(ae.initial_guess)
ae.save_parameters()
ae.estimate()
sp.call(["paraview", "--data=" + ae.odir + "output/DeterministicAtlas__EstimatedParameters__Template_" + ae.id + ".vtk"])<jupyter_output><empty_output><jupyter_text>ResultsPCA<jupyter_code>ao = ssm.pca.DeformetricaAtlasPCA(
    idir = ae.odir + "output/",
    odir = ae.odir + "pca/")
ao.compute_pca(with_plots=True)
f0 = ao.save_eigv(0, with_controlpoints=True)
f1 = ao.save_eigv(1, with_controlpoints=True)
ae.shooting(f0 + ".txt", ae.odir + "pca/shoot0/")
ae.shooting(f1 + ".txt", ae.odir + "pca/shoot1/")<jupyter_output><empty_output><jupyter_text>warping mesh to template<jupyter_code>fmmt, fctp = ae.momenta_from_sbj_to_atlas(0, ae.odir + "sbj{}/".format(0), do_warpback=True)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.154863813229572, 'fraction_numerical': 0.014007782101167316, 'mean_word_length': 5.527918781725888, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '286070', 'license': 'FSFAP', 'n_tokens_mistral': 559, 'n_tokens_neox': 544, 'n_words': 59, 'path': 'python/SSM - demo.ipynb', 'repo_name': 'ClinicalCardiovascEngGroup/SSM', 'size': '1285'}