Skip to main content

Core Kymata codebase, including statistical analysis and plotting tools

Project description

Unit Tests Passed Linting Checks Passed

Logo

Kymata Core

Core codebase for the Kymata Atlas
Explore the docs »


Overview · Setup · Citing · Licence

About The Project

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 function 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 (2024) The Kymata Atlas (In Prep.) [^2]: Thwaites, Zhang and Woolgar (2024) Information Processing Pathway Maps: A New Frontier in Cortical Processing (In Prep.)

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-0.1.15.tar.gz (72.6 kB view details)

Uploaded Source

Built Distribution

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

kymata-0.1.15-py3-none-any.whl (86.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kymata-0.1.15.tar.gz
  • Upload date:
  • Size: 72.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for kymata-0.1.15.tar.gz
Algorithm Hash digest
SHA256 b54c36082d1355312c437e8df19720fa6de1a414cc756c335ca256c6f592d446
MD5 ecda51fda43d5a16134c1a6d2be19e3f
BLAKE2b-256 c5fac5b49f1a375b448b7b52be3fe567fadf634827d7686d75fc5b483a447b6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kymata-0.1.15-py3-none-any.whl
  • Upload date:
  • Size: 86.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for kymata-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 f45adac1c7da1fd395dd12e679615ece8765cd0d4e0521827a855f2735ec3540
MD5 4290a443fd02a248591293d675b085a3
BLAKE2b-256 5d65d09a0e7bf3b5b483e2465122cdbb881de752f73bea1ace7d18618d3c8820

See more details on using hashes here.

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