Metadata-Version: 2.1
Name: kyutils
Version: 0.1.18
Summary: kyu's utils
License: MIT
Author: Kyu Hyun Lee
Author-email: kyuhyun9056@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Provides-Extra: figurl
Requires-Dist: matplotlib (>=3.7.2,<4.0.0)
Requires-Dist: numpy (>=1.24.0,<2.0.0)
Requires-Dist: probeinterface (>=0.2.17,<0.3.0)
Requires-Dist: scikit-learn (>=1.0.1,<2.0.0)
Requires-Dist: scipy (>=1.7.1,<2.0.0)
Requires-Dist: spikeinterface (>=0.98.2,<0.99.0)
Description-Content-Type: text/markdown

# kyutils

kyu's utils

some examples:
- probe generator: generates `probeinterface.Probe` objects for the 15um and 20um versions of the Livermore polymer probes
- trodesconf generators:
  - generates a trodesconf file based on a list of Livermore probe types; e.g. if implanting three Livermore probes (one 15um type and two 20um type) in alternating order, can pass the list `[20, 15, 20]` and will generate a trodesconf file with the contacts arranged geometrically
  - generate a trodesconf file given the number of channels; good for reconfiguring
- header parser: parses the header of a SpikeGadgets `rec` file
- behavior parser: given the extracted DIO dat files from a SpikeGadgets `rec` file, plots the time course of the animal's decisions in the W-track task and indicates rewarded trials

installation:
`pip install kyutils`

for the version that creates figurl, `pip install "kyutils[figurl]"` and set up kachery cloud.
