Skip to main content

Core Kymata codebase, including statistical analysis and plotting tools

Project description

Unit Tests Passed Linting Checks Passed CodeFactor codecov

Logo

Kymata Core

Core codebase for the Kymata Atlas
Explore the docs »


Overview · Setup · Citing · Licence

Overview

Kymata Core is the central codebase underlying the Kymata Atlas.[^1] It is maintained by the Kymata Research Group.

The central pipeline includes:

  • Standard preprocessing and source localisation steps for neural sensor data (MEG, EEG, ECoG);
  • Gridsearch approaches for transform mapping;
  • Information Processing Pathway Map[^2] generation (both offline generation and evaluation);
  • Plotting functionality

The codebase is released under an MIT license to ensure the transparency of the results in the Kymata Atlas. While comments and issues are welcomed, we are unable to prioritise installation or usage support (please see our code of conduct).

(back to top)

Getting Started

This provides an overview of how to set Kymata Core locally.

Prerequisites

  • Python

    Confirm you have the correct version of Python installed. Type

    $ pyenv versions
    

    This should confirm that python 3.11 or above is installed. If it isn't already there, install it using pyenv install. You should be able to confirm you are using the correct version using

    $ python -V
    
  • Poetry

    This package uses Poetry to manage packages. See python-poetry.org for installation instructions.

Installation

  1. Clone this repository:

    $ git clone https://github.com/kymata-atlas/kymata-core.git
    
  2. To install the python packages you will need to use Poetry. Assuming you have installed Poetry, type:

    $ poetry install
    

    to load the pakages needed.

  3. At this point, you should be able to either run the xx from the terminal

    $ poetry run invokers/run_gridsearch.py
    

    or activate in this environment in an IDE such as PyCharm.

Running tests, linting, and generating documentation

This will be done automatically via Github actions.

To run the tests manually, run:

$ poetry run pytest

To run linting manually, run:

$ poetry run ruff check

To serve the documentation locally, run:

$ poetry run mkdocs serve check

(back to top)

Usage

Please refer to the documentation, or see the demos/ folder for example code, including test data.

(back to top)

Citing the codebase

Please use the following reference when citing the codebase or the kymata package:

TBC

(back to top)

Licence

Distributed under the MIT License. See LICENSE for more information.

(back to top)

References

[^1]: Thwaites, Wieser, Soltan, Wingfield, Parish, Yang, Lakra, Woolgar, Zhang (in prep) The Kymata Atlas. [^2]: Thwaites, Zhang and Woolgar (2024) Information Processing Pathway Maps: A New Frontier in Cortical Processing (2025) NeuroImage 217:121345. doi:10.1016/j.neuroimage.2025.121345.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kymata-1.0.6.tar.gz (173.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kymata-1.0.6-py3-none-any.whl (201.0 kB view details)

Uploaded Python 3

File details

Details for the file kymata-1.0.6.tar.gz.

File metadata

  • Download URL: kymata-1.0.6.tar.gz
  • Upload date:
  • Size: 173.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kymata-1.0.6.tar.gz
Algorithm Hash digest
SHA256 f2b35197660c7ce87d9fffdc255bf6b4fb3ccdab04b15feb4d39feed7ba59702
MD5 c5199937892139e5c1a3789b17641bde
BLAKE2b-256 a4217e3a2f08093b57f78070cc186574cbd1bb83a366962925652705379b9497

See more details on using hashes here.

Provenance

The following attestation bundles were made for kymata-1.0.6.tar.gz:

Publisher: publish-to-pypi.yml on kymata-atlas/kymata-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kymata-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: kymata-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 201.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for kymata-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e6d21dbea2664fa726628666f616f4aed5b5dda264caf5d8f2b2981e7e2fe974
MD5 7316bdad20629fdfaf6fcd6fa1ee90d4
BLAKE2b-256 f6b494a2c4d8d477ebc88c636a2fccd4f1fabc8ec2b5c41f8d6db4eec4b4e6b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for kymata-1.0.6-py3-none-any.whl:

Publisher: publish-to-pypi.yml on kymata-atlas/kymata-core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page