flintpy-nmr

Python implementation of FLINT algorithm for NMR relaxation data.

https://github.com/rserial/flintpy

Science Score: 57.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
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary

Keywords

flint ilt nmr
Last synced: 6 months ago · JSON representation ·

Repository

Python implementation of FLINT algorithm for NMR relaxation data.

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • Open Issues: 11
  • Releases: 3
Topics
flint ilt nmr
Created over 1 year ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation Codeowners Security

README.md

Flintpy-NMR

[![PyPI - Version](https://img.shields.io/pypi/v/flintpy-nmr.svg)](https://pypi.python.org/pypi/flintpy-nmr) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/flintpy-nmr.svg)](https://pypi.python.org/pypi/flintpy-nmr) [![Tests](https://github.com/rserial/flintpy/workflows/tests/badge.svg)](https://github.com/rserial/flintpy/actions?workflow=tests) [![Codecov](https://codecov.io/gh/rserial/flintpy/branch/main/graph/badge.svg)](https://codecov.io/gh/rserial/flintpy) [![Read the Docs](https://readthedocs.org/projects/flintpy/badge/)](https://flintpy.readthedocs.io/) [![PyPI - License](https://img.shields.io/pypi/l/flintpy-nmr.svg)](https://pypi.python.org/pypi/flintpy-nmr) [![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 implementation of FLINT algorithm for NMR relaxation data.

This module provides a Python implementation of FLINT, a fast algorithm for estimating 1D/2D NMR relaxation distributions. The algorithm is based on the work of Paul Teal and C. Eccles, who developed an adaptive truncation method for matrix decompositions to efficiently estimate NMR relaxation distributions.

For more information on the FLINT algorithm, refer to the official FLINT repository (Matlab) and the paper by P.D. Teal and C. Eccles titled "Adaptive truncation of matrix decompositions and efficient estimation of NMR relaxation distributions" published in Inverse Problems (April 2015).

Features

flintpy is built around the Flint class, which provides a simple approach to perform an inverse Laplace transform for 1D and 2D relaxation NMR data. Key features include:

  • T2: T2 relaxation
  • T1IR: T1 relaxation for inversion recovery experiments
  • T1SR: T1 relaxation for saturation recovery experiments
  • T1IRT2/T1SRT2: T1-T2 2D relaxation maps for inversion/saturation recovery-T2 experiments
  • T2T2: T2-T2 2D relaxation maps T2-T2 experiments

Quickstart

Check out the notebooks directory for Jupyter notebooks demonstrating how to use this library.

Installation

pip install flintpy-nmr

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: Flintpy-NMR
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/flintpy/releases/tag/v0.1.1
    description: The Software Heritage link for version 0.1.1.
repository-code: 'https://github.com/rserial/flintpy'
abstract: Python implementation of FLINT algorithm for NMR relaxation data.
keywords:
  - flintpy
  - flintpy-nmr
  - nmr
license: MIT
version: 0.1.1

GitHub Events

Total
  • Release event: 1
  • Watch event: 1
  • Delete event: 22
  • Issue comment event: 21
  • Push event: 35
  • Pull request review event: 2
  • Pull request event: 49
  • Create event: 25
Last Year
  • Release event: 1
  • Watch event: 1
  • Delete event: 22
  • Issue comment event: 21
  • Push event: 35
  • Pull request review event: 2
  • Pull request event: 49
  • Create event: 25

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 170
  • Average time to close issues: 14 minutes
  • Average time to close pull requests: 8 days
  • Total issue authors: 1
  • Total pull request authors: 4
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.6
  • Merged pull requests: 49
  • Bot issues: 0
  • Bot pull requests: 153
Past Year
  • Issues: 1
  • Pull requests: 75
  • Average time to close issues: 14 minutes
  • Average time to close pull requests: 11 days
  • Issue authors: 1
  • Pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.49
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 74
Top Authors
Issue Authors
  • fedejaure (1)
  • dependabot[bot] (1)
Pull Request Authors
  • dependabot[bot] (167)
  • fedejaure (13)
  • github-actions[bot] (8)
  • rserial (4)
Top Labels
Issue Labels
dependencies (1) github_actions (1)
Pull Request Labels
dependencies (172) python (119) github_actions (57) bug (4) enhancement (4) documentation (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 78 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: flintpy-nmr

Python implementation of FLINT algorithm for NMR relaxation data.

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 78 Last month
Rankings
Dependent packages count: 10.5%
Downloads: 20.9%
Average: 30.2%
Dependent repos count: 59.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/codeql-analysis.yml actions
  • actions/checkout v4.1.1 composite
  • github/codeql-action/analyze v3 composite
  • github/codeql-action/autobuild v3 composite
  • github/codeql-action/init v3 composite
.github/workflows/pre-commit-autoupdate.yml actions
  • actions/checkout v4.1.1 composite
  • actions/setup-python v5.0.0 composite
  • peter-evans/create-pull-request v6.0.0 composite
.github/workflows/release.yml actions
  • actions/checkout v4.1.1 composite
  • actions/create-release v1.1.4 composite
  • actions/setup-python v5.0.0 composite
  • mindsers/changelog-reader-action v2.2.2 composite
  • pypa/gh-action-pypi-publish v1.8.11 composite
.github/workflows/tests.yml actions
  • actions/checkout v4.1.1 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v5.0.0 composite
  • actions/upload-artifact v4 composite
  • codecov/codecov-action v3.1.4 composite
docs/requirements.txt pypi
  • recommonmark ==0.7.1
  • sphinx ==7.2.6
poetry.lock pypi
  • alabaster 0.7.16
  • annotated-types 0.7.0
  • asttokens 2.4.1
  • authlib 1.3.1
  • autopep8 2.3.1
  • babel 2.15.0
  • black 24.4.2
  • bump2version 1.0.1
  • certifi 2024.7.4
  • cffi 1.16.0
  • cfgv 3.4.0
  • charset-normalizer 3.3.2
  • click 8.1.7
  • colorama 0.4.6
  • commonmark 0.9.1
  • coverage 7.5.4
  • cryptography 42.0.8
  • decorator 5.1.1
  • distlib 0.3.8
  • docutils 0.21.2
  • dparse 0.6.4b0
  • exceptiongroup 1.2.1
  • executing 2.0.1
  • filelock 3.12.4
  • identify 2.5.36
  • idna 3.7
  • imagesize 1.4.1
  • importlib-metadata 8.0.0
  • iniconfig 2.0.0
  • invoke 2.2.0
  • ipython 8.18.1
  • isort 5.13.2
  • jedi 0.19.1
  • jinja2 3.1.4
  • markdown-it-py 3.0.0
  • markupsafe 2.1.5
  • marshmallow 3.21.3
  • matplotlib-inline 0.1.7
  • mdurl 0.1.2
  • mypy 1.10.1
  • mypy-extensions 1.0.0
  • nbqa 1.8.5
  • nodeenv 1.9.1
  • packaging 24.1
  • parso 0.8.4
  • pathspec 0.12.1
  • pexpect 4.9.0
  • platformdirs 4.2.2
  • pluggy 1.5.0
  • pre-commit 3.7.1
  • prompt-toolkit 3.0.47
  • ptyprocess 0.7.0
  • pure-eval 0.2.2
  • pycodestyle 2.12.0
  • pycparser 2.22
  • pydantic 2.8.2
  • pydantic-core 2.20.1
  • pygments 2.18.0
  • pytest 8.2.2
  • pytest-cov 4.1.0
  • pyyaml 6.0.1
  • recommonmark 0.7.1
  • requests 2.32.3
  • rich 13.7.1
  • ruamel-yaml 0.18.6
  • ruamel-yaml-clib 0.2.8
  • ruff 0.2.2
  • safety 3.2.4
  • safety-schemas 0.0.2
  • setuptools 70.2.0
  • shellingham 1.5.4
  • six 1.16.0
  • snowballstemmer 2.2.0
  • sphinx 7.3.7
  • sphinxcontrib-applehelp 1.0.8
  • sphinxcontrib-devhelp 1.0.6
  • sphinxcontrib-htmlhelp 2.0.5
  • sphinxcontrib-jsmath 1.0.1
  • sphinxcontrib-qthelp 1.0.7
  • sphinxcontrib-serializinghtml 1.1.10
  • stack-data 0.6.3
  • tokenize-rt 5.2.0
  • tomli 2.0.1
  • traitlets 5.14.3
  • typer 0.12.3
  • typing-extensions 4.12.2
  • urllib3 2.2.2
  • virtualenv 20.26.3
  • watchdog 4.0.1
  • wcwidth 0.2.13
  • xdoctest 1.1.5
  • zipp 3.19.2
pyproject.toml pypi
  • bump2version ^1.0.1 develop
  • invoke ^2.2.0 develop
  • pre-commit ^3.6.1 develop
  • watchdog ^4.0.0 develop
  • recommonmark ^0.7.1 docs
  • sphinx ^7.2.6 docs
  • black ^24.2.0 linters
  • isort ^5.13.2 linters
  • nbqa ^1.8.5 linters
  • ruff ^0.2.1 linters
  • python <3.13,>=3.9
  • safety ^3.0.1 security
  • coverage ^7.4.1 test
  • pytest ^8.0.1 test
  • pytest-cov ^4.1.0 test
  • xdoctest ^1.1.3 test
  • mypy ^1.8.0 typing