Skip to main content

Transient Nutation Analyser for EPR spectroscopy

Project description

Transient Nutation Analysis (TNA)

A Python package for the analysis of transient nutation data, including pre-processing, signal reconstruction, and Fourier transformation.

The package provides both a scripting interface and a graphical user interface for interactive data analysis.


Features

  • Processing of 1D and 2D transient nutation datasets
  • Configurable preprocessing pipeline:
    • baseline correction
    • autoregressive signal reconstruction
    • window functions (Hamming, Kaiser, Dolph–Chebyshev, Sine-bell, Lorentz–Gauss)
    • mean subtraction
  • Fourier transformation with zero-filling and frequency scaling
  • GUI for interactive data exploration
  • Script-based workflow for reproducible analysis

Installation

Requirements

  • Python 3.9 or higher
  • pip

Setup

pip install transient-nutation-analysis

or via download from GitHub

git clone https://github.com/TheresiaQuintes/tna_transient_nutation_analysis
cd tna_transient_nutation_analysis
pip install .

For a more detailed setup (including virtual environments), see the documentation.


Quick start

import tna.classes as cl
import tna.functions as fun
from pathlib import Path
import matplotlib.pyplot as plt

params = cl.Parameters(
    two_d=True,
    path=Path("your_dataset.DSC"),
    reconstruction=True,
    mean_subtraction=True,
    wdw_hamming=True,
    zero_filling=True,
    reference_freq=True
)

data = fun.run_tna_2d(params.path, params)

plt.plot(data.freq, data.freq_signal[0])
plt.show()

GUI

Start the graphical interface with:

tna-gui

Documentation

Full documentation is available at:

https://theresiaquintes.github.io/tna_transient_nutation_analysis/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transient_nutation_analysis-1.0.0.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transient_nutation_analysis-1.0.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file transient_nutation_analysis-1.0.0.tar.gz.

File metadata

File hashes

Hashes for transient_nutation_analysis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 939900c114842117f6f77cc20bc9b99501fe90346a69f9061821d5d33045148f
MD5 149f8ea629bb92601678ba115b1a4122
BLAKE2b-256 6e8d5e4e99d68621c7c8db705aeb5a311498903c822774bc5abc27466d105d4c

See more details on using hashes here.

File details

Details for the file transient_nutation_analysis-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for transient_nutation_analysis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a14312057a57b63ed218f5e961455c8b4f692f55f0652a9489618590d15a412
MD5 0ef13a8a2acca2e99357285cca9c5abb
BLAKE2b-256 033cad3ab19ed2e148f7f72ed88f26db6c793b158c7050066a7d94194c4f4639

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page