spinsolveproc

Python library to process Spinsolve experiments

https://github.com/rserial/spinsolveproc

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary

Keywords

magritek nmr python relaxation-nmr spinsolve spinsolve-nmr time-domain-nmr
Last synced: 6 months ago · JSON representation ·

Repository

Python library to process Spinsolve experiments

Basic Info
  • Host: GitHub
  • Owner: rserial
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 113 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 12
  • Releases: 2
Topics
magritek nmr python relaxation-nmr spinsolve spinsolve-nmr time-domain-nmr
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Codeowners Security

README.md

Spinsolveproc

[![PyPI - Version](https://img.shields.io/pypi/v/spinsolveproc.svg)](https://pypi.python.org/pypi/spinsolveproc) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/spinsolveproc.svg)](https://pypi.python.org/pypi/spinsolveproc) [![Tests](https://github.com/rserial/spinsolveproc/workflows/tests/badge.svg)](https://github.com/rserial/spinsolveproc/actions?workflow=tests) [![Codecov](https://codecov.io/gh/rserial/spinsolveproc/branch/main/graph/badge.svg)](https://codecov.io/gh/rserial/spinsolveproc) [![Read the Docs](https://readthedocs.org/projects/spinsolveproc/badge/)](https://spinsolveproc.readthedocs.io/) [![PyPI - License](https://img.shields.io/pypi/l/spinsolveproc.svg)](https://pypi.python.org/pypi/spinsolveproc) [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)

Python library to process Spinsolve NMR experiments. The library can recognise both standard and expert softward files.

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

Credits

This package was created with Cookiecutter and the fedejaure/cookiecutter-modern-pypackage project template.

Owner

  • Name: Raquel Serial
  • Login: rserial
  • Kind: user
  • Location: Hamburg

MRI scientist

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Spinsolveproc
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Raquel
    family-names: Serial
    alias: fedejaure
identifiers:
  - type: url
    value: >-
      https://github.com/rserial/spinsolveproc/releases/tag/v0.2.1
    description: The Software Heritage link for version 0.2.1.
repository-code: 'https://github.com/rserial/spinsolveproc'
abstract: Cookiecutter template for a modern Python package.
keywords:
  - spinsolveproc
license: MIT
version: 0.2.1

GitHub Events

Total
  • Create event: 61
  • Release event: 1
  • Issues event: 1
  • Delete event: 53
  • Issue comment event: 53
  • Push event: 147
  • Pull request review event: 75
  • Pull request event: 115
Last Year
  • Create event: 61
  • Release event: 1
  • Issues event: 1
  • Delete event: 53
  • Issue comment event: 53
  • Push event: 147
  • Pull request review event: 75
  • Pull request event: 115

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 29
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.69
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 29
Past Year
  • Issues: 0
  • Pull requests: 29
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 month
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.69
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 29
Top Authors
Issue Authors
  • dependabot[bot] (2)
  • fedejaure (1)
  • github-actions[bot] (1)
Pull Request Authors
  • dependabot[bot] (114)
  • fedejaure (10)
  • github-actions[bot] (4)
  • rserial (1)
Top Labels
Issue Labels
dependencies (2) python (1) bug (1) github_actions (1)
Pull Request Labels
dependencies (117) python (73) github_actions (43) bug (2) enhancement (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 15 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: spinsolveproc

Python library to process Spinsolve NMR experiments.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 15 Last month
Rankings
Dependent packages count: 10.1%
Average: 33.5%
Dependent repos count: 56.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/codeql-analysis.yml actions
  • actions/checkout v3.3.0 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/pre-commit-autoupdate.yml actions
  • actions/checkout v3.3.0 composite
  • actions/setup-python v4.5.0 composite
  • peter-evans/create-pull-request v4.2.3 composite
.github/workflows/release.yml actions
  • actions/checkout v3.3.0 composite
  • actions/create-release v1.1.4 composite
  • actions/setup-python v4.5.0 composite
  • mindsers/changelog-reader-action v2.2.2 composite
  • pypa/gh-action-pypi-publish v1.4.2 composite
.github/workflows/tests.yml actions
  • actions/checkout v3.3.0 composite
  • actions/download-artifact v2.0.10 composite
  • actions/setup-python v4.5.0 composite
  • actions/upload-artifact v2.2.4 composite
  • codecov/codecov-action v2.0.2 composite
docs/requirements.txt pypi
  • recommonmark ==0.7.1
  • sphinx ==6.1.3
poetry.lock pypi
  • 102 dependencies
pyproject.toml pypi
  • black ^23.1.0 develop
  • bump2version ^1.0.1 develop
  • coverage ^7.2.1 develop
  • darglint ^1.8.1 develop
  • flake8 >=4.0.1,<5.0.0 develop
  • flake8-annotations ^2.9.1 develop
  • flake8-bandit ^3.0.0 develop
  • flake8-blind-except ^0.2.1 develop
  • flake8-broken-line ^0.6.0 develop
  • flake8-bugbear ^23.2.13 develop
  • flake8-builtins ^2.1.0 develop
  • flake8-docstrings ^1.7.0 develop
  • flake8-logging-format ^0.9.0 develop
  • flakeheaven ^3.2.1 develop
  • invoke ^2.2.0 develop
  • isort ^5.12.0 develop
  • mypy ^1.0.1 develop
  • pre-commit ^3.1.1 develop
  • pytest ^7.2.2 develop
  • pytest-cov ^3.0.0 develop
  • recommonmark ^0.7.1 develop
  • safety ^2.4.0b1 develop
  • sphinx ^6.1.3 develop
  • watchdog ^2.3.1 develop
  • xdoctest ^1.1.1 develop
  • click ^8.1.3
  • h5py ^3.9.0
  • invoke ^2.2.0
  • nmrglue ^0.9
  • nox ^2023.4.22
  • nox-poetry ^1.0.3
  • numpy 1.22
  • pandas 1.5.0
  • plotly ^5.17.0
  • python <3.12,>=3.8