# Spinsolveproc
<div align="center">
[](https://pypi.python.org/pypi/spinsolveproc)
[](https://pypi.python.org/pypi/spinsolveproc)
[](https://github.com/rserial/spinsolveproc/actions?workflow=tests)
[](https://codecov.io/gh/rserial/spinsolveproc)
[](https://spinsolveproc.readthedocs.io/)
[](https://pypi.python.org/pypi/spinsolveproc)
[](https://github.com/psf/black)
[](https://github.com/pre-commit/pre-commit)
[](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)
</div>
Python library to process Spinsolve NMR experiments. The library can recognise both standard and expert softward files.
* GitHub repo: <https://github.com/rserial/spinsolveproc.git>
<!-- * Documentation: <https://spinsolveproc.readthedocs.io> -->
* Free software: GNU General Public License v3
## Features
The library currently supports the following NMR experiments:
- **Proton**: Computes FID spectra and exports the processed data to `./processed data`.
- **T2**: Detects peaks in the spectra and calculates the T2 decay for each peak. The data is exported to `./processed data`.
- **T2Bulk**: Constructs a T2 decay array and performs monoexponential fitting. The resulting data is exported to `./processed data`.
- **T1**: Detects peaks in the spectra and calculates the T1 decay for each peak. The data is exported to `./processed data`.
- **T1IRT2**: Process experiment and saves 2d array to `./processed data`.
- **PGSTE**: Construct a signal decay due to diffusion and performs a multiexponential fitting. The resulting data is exported to `./processed data`.
- **Reaction Monitoring**: *Currently not supported.*
## Quickstart
Install Spinsolveproc from this repo.
```
pip install git+https://github.com/rserial/spinsolveproc.git
```
## Usage from console
```
spinsolveproc process_exp [dir] [options]
```
- dir: The parent directory containing all experiment directories.
- options:
- `--all`: Process all experiments in the directory.
- `experiment_name`: Specify the experiment name (`Proton`, `T2`, `T2Bulk`,`T1`, `T1IRT2`).
## Usage from Jupyter notebooks
See [examples](./examples/)
## Credits
This package was created with [Cookiecutter][cookiecutter] and the [fedejaure/cookiecutter-modern-pypackage][cookiecutter-modern-pypackage] project template.
[cookiecutter]: https://github.com/cookiecutter/cookiecutter
[cookiecutter-modern-pypackage]: https://github.com/fedejaure/cookiecutter-modern-pypackage
Raw data
{
"_id": null,
"home_page": "https://github.com/rserial/spinsolveproc",
"name": "spinsolveproc",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.10",
"maintainer_email": null,
"keywords": "spinsolveproc",
"author": "Raquel Serial",
"author_email": "raquel.serial@tuhh.de",
"download_url": "https://files.pythonhosted.org/packages/bb/5d/b3177fb1bc92d962d532206b62ae7ee48c66261bccfe510b75be3a227991/spinsolveproc-0.2.1.tar.gz",
"platform": null,
"description": "\n# Spinsolveproc\n\n\n<div align=\"center\">\n\n[](https://pypi.python.org/pypi/spinsolveproc)\n[](https://pypi.python.org/pypi/spinsolveproc)\n[](https://github.com/rserial/spinsolveproc/actions?workflow=tests)\n[](https://codecov.io/gh/rserial/spinsolveproc)\n[](https://spinsolveproc.readthedocs.io/)\n[](https://pypi.python.org/pypi/spinsolveproc)\n\n[](https://github.com/psf/black)\n[](https://github.com/pre-commit/pre-commit)\n[](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)\n\n</div>\n\n\nPython library to process Spinsolve NMR experiments. The library can recognise both standard and expert softward files.\n\n* GitHub repo: <https://github.com/rserial/spinsolveproc.git>\n<!-- * Documentation: <https://spinsolveproc.readthedocs.io> -->\n* Free software: GNU General Public License v3\n\n## Features\n\nThe library currently supports the following NMR experiments:\n\n- **Proton**: Computes FID spectra and exports the processed data to `./processed data`.\n- **T2**: Detects peaks in the spectra and calculates the T2 decay for each peak. The data is exported to `./processed data`.\n- **T2Bulk**: Constructs a T2 decay array and performs monoexponential fitting. The resulting data is exported to `./processed data`.\n- **T1**: Detects peaks in the spectra and calculates the T1 decay for each peak. The data is exported to `./processed data`.\n- **T1IRT2**: Process experiment and saves 2d array to `./processed data`.\n- **PGSTE**: Construct a signal decay due to diffusion and performs a multiexponential fitting. The resulting data is exported to `./processed data`.\n- **Reaction Monitoring**: *Currently not supported.*\n\n## Quickstart\nInstall Spinsolveproc from this repo.\n\n```\npip install git+https://github.com/rserial/spinsolveproc.git\n```\n\n## Usage from console\n\n```\nspinsolveproc process_exp [dir] [options]\n```\n- dir: The parent directory containing all experiment directories.\n\n- options:\n - `--all`: Process all experiments in the directory.\n - `experiment_name`: Specify the experiment name (`Proton`, `T2`, `T2Bulk`,`T1`, `T1IRT2`).\n\n## Usage from Jupyter notebooks\n\nSee [examples](./examples/)\n\n## Credits\n\nThis package was created with [Cookiecutter][cookiecutter] and the [fedejaure/cookiecutter-modern-pypackage][cookiecutter-modern-pypackage] project template.\n\n[cookiecutter]: https://github.com/cookiecutter/cookiecutter\n[cookiecutter-modern-pypackage]: https://github.com/fedejaure/cookiecutter-modern-pypackage\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Python library to process Spinsolve NMR experiments.",
"version": "0.2.1",
"project_urls": {
"Bug Tracker": "https://github.com/rserial/spinsolveproc/issues",
"Documentation": "https://spinsolveproc.readthedocs.io",
"Homepage": "https://github.com/rserial/spinsolveproc",
"Repository": "https://github.com/rserial/spinsolveproc"
},
"split_keywords": [
"spinsolveproc"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a8fc392f2dbf3d646656ff385f50a9027fba1d8f9af51f430b9492a1a50d0e74",
"md5": "e931df8483086732aee331974b90c3be",
"sha256": "859fdc09eb22c6ed18b12332f40b6ee841278c85fdc3b51f8e65dda35dc400db"
},
"downloads": -1,
"filename": "spinsolveproc-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e931df8483086732aee331974b90c3be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.10",
"size": 24060,
"upload_time": "2024-11-03T21:25:10",
"upload_time_iso_8601": "2024-11-03T21:25:10.004402Z",
"url": "https://files.pythonhosted.org/packages/a8/fc/392f2dbf3d646656ff385f50a9027fba1d8f9af51f430b9492a1a50d0e74/spinsolveproc-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bb5db3177fb1bc92d962d532206b62ae7ee48c66261bccfe510b75be3a227991",
"md5": "543d77a948b8eccb321ac0508ea598f6",
"sha256": "3905231f6b9926ecc5ea817db31ee8a6fdf626ab8950d677e63bd935ca76af6e"
},
"downloads": -1,
"filename": "spinsolveproc-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "543d77a948b8eccb321ac0508ea598f6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.10",
"size": 22650,
"upload_time": "2024-11-03T21:25:10",
"upload_time_iso_8601": "2024-11-03T21:25:10.973464Z",
"url": "https://files.pythonhosted.org/packages/bb/5d/b3177fb1bc92d962d532206b62ae7ee48c66261bccfe510b75be3a227991/spinsolveproc-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-03 21:25:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rserial",
"github_project": "spinsolveproc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "spinsolveproc"
}