Metadata-Version: 2.4
Name: hbmep
Version: 0.8.0
Summary: Hierarchical Bayesian estimation of motor-evoked potential recruitment curves
Author-email: Vishweshwar Tyagi <vt2353@columbia.edu>, "James R. McIntosh" <jrm2263@cumc.columbia.edu>
License: MIT License
        
        Copyright (c) 2024 hbmep
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/hbmep/hbmep
Project-URL: Bug Tracker, https://github.com/hbmep/hbmep/issues
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy<2.0,>=1.24.2
Requires-Dist: jax>=0.4.24
Requires-Dist: numpyro>=0.13.2
Requires-Dist: pandas>=2.0.2
Requires-Dist: scikit-learn>=1.2.1
Requires-Dist: arviz>=0.18.0
Requires-Dist: matplotlib>=3.7.0
Requires-Dist: seaborn>=0.12.2
Requires-Dist: joblib>=1.3.2
Provides-Extra: dev
Requires-Dist: notebook>=7.3.2; extra == "dev"
Requires-Dist: pytest>=7.4.0; extra == "dev"
Requires-Dist: pytest-pycodestyle>=2.3.1; extra == "dev"
Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
Requires-Dist: Sphinx==7.3.7; extra == "dev"
Requires-Dist: sphinx-autobuild==2024.04.16; extra == "dev"
Requires-Dist: sphinx-book-theme==1.1.3; extra == "dev"
Requires-Dist: sphinxcontrib.bibtex==2.6.2; extra == "dev"
Requires-Dist: sphinx-copybutton==0.5.2; extra == "dev"
Requires-Dist: myst_nb==1.1.0; extra == "dev"
Provides-Extra: gpu-cuda12
Requires-Dist: jax[cuda12]>=0.4.24; extra == "gpu-cuda12"
Dynamic: license-file

# hbMEP

hbMEP is a Python library for hierarchical Bayesian estimation of motor-evoked potential (MEP) size recruitment curves.

[![Cite](https://img.shields.io/badge/DOI-10.1016%2Fj.brs.2025.09.008-blue.svg)](https://doi.org/10.1016/j.brs.2025.09.008)
[![Cite](https://img.shields.io/badge/stats.AP-arXiv:2407.08709-B31B1B.svg)](http://doi.org/10.48550/arXiv.2407.08709)
[![Docs](https://github.com/hbmep/hbmep/actions/workflows/documentation.yaml/badge.svg)](https://github.com/hbmep/hbmep/actions/workflows/documentation.yaml)
[![pages-build-deployment](https://github.com/hbmep/hbmep/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/hbmep/hbmep/actions/workflows/pages/pages-build-deployment)

## Documentation

Read the docs at [hbmep.github.io/hbmep/](https://hbmep.github.io/hbmep/)

## Citation

Please cite [Tyagi et al., 2025](https://doi.org/10.1016/j.brs.2025.09.008) if you find this code useful in your research. The BibTeX entry for the paper is:

```
@article{tyagi_hierarchical_2025,
    title = {Hierarchical {Bayesian} estimation of motor-evoked potential recruitment curves yields accurate and robust estimates},
    author = {Tyagi, Vishweshwar and Murray, Lynda M. and Asan, Ahmet S. and Mandigo, Christopher and Virk, Michael S. and Harel, Noam Y. and Carmel, Jason B. and McIntosh, James R.},
    journal = {Brain Stimulation},
    year = {2025},
    doi = {10.1016/j.brs.2025.09.008},
}
```

## License

hbMEP is free software made available under the MIT License. For details see
the LICENSE file.
