Skip to content

mindmap-synaptome

Part of the mindmap collection: installed as mindmap-synaptome, imported as synaptome.

Collect, store and share a research study's analysis-ready data as one object, and ask it questions: tests, estimates and figures that know the study's design.

import synaptome as syn

study = syn.datasets.method_comparison()          # a toy study; syn.load("study.syn") for yours
q = study.compare("error", by="method", reference="proposed", subset={"sensors": "eeg"},
                  reduce={"source": "median"}, higher_is_better=False)
r = q.test("wilcoxon", alternative="less")        # per pair, Holm-corrected, with effect sizes
print(r.to_markdown())                            # an APA-style table for a paper
r.plot()                                          # the groups, each subject joined, significance brackets

Three layers

You work with It holds You get
a study (Study) units, a data dictionary, values; identity, protocol, attachments one .syn file, views as pandas tables
a question (study.compare(...)) what is compared on which data, no numbers its design (paired or not, units, pairs) and analysis table
a result (q.test(...), q.estimate(...)) the answer, its settings and the fingerprint of its data tables, formatted tables, figures

The study never holds results; a result can always be checked against the study (study.verify(result)).

Where to go next