Skip to main content

CD spectroscopy data analysis toolkit — parse .dsx files, batch fit protein thermal melting curves, global spectral fitting, calculate thermodynamic parameters

Project description

cd-analyzer

CD spectroscopy data analysis toolkit — parse .dsx binary files, fit protein thermal melting curves, global spectral fitting, and calculate thermodynamic parameters (Tm, ΔH, ΔG).

Install

pip install cd-analyzer

Quick start

# Single-sample analysis
cdanalyzer analyze ./my_data/
cdanalyzer spectral ./my_data/
cdanalyzer svd ./my_data/

# Batch analysis across multiple samples
cdanalyzer batch ./experiment/ ./output/

Python API

from cdanalyzer import help_read_multifile, spectral_global_fit, batch_analyze

# Parse and fit
data = help_read_multifile("my_data/")
result = spectral_global_fit(data)
print(result["Tm (°C)"], result["ΔH (kJ/mol)"])

# Batch process all samples
batch_analyze("experiment/", "output/")

Output per sample:

  • reports.md — summary table with Tm, ΔH, R²
  • spectra_low_T.png — low-temperature CD spectrum
  • analysis.png — 4-panel diagnostic (spectra, fit curve, populations, SVD)
  • data.xlsx — raw data, fit parameters, SVD results

Features

  • Binary .dsx parser — native JASCO CD spectrometer format
  • Single-wavelength fit — van't Hoff two-state model with linear baselines
  • Global spectral fit — shared Tm/ΔH across all wavelengths for robust estimates
  • SVD analysis — assess two-state vs multi-state transitions
  • Batch processing — auto-discover {sample}/[temp*.dsx][buffer.dsx] directory layout

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

cd_analyzer-0.3.2.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

cd_analyzer-0.3.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file cd_analyzer-0.3.2.tar.gz.

File metadata

  • Download URL: cd_analyzer-0.3.2.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for cd_analyzer-0.3.2.tar.gz
Algorithm Hash digest
SHA256 0a168bac02ec1f47737605a6b9757b7bbd830ad29a5d63510adccc05cd4780fb
MD5 1c83770616d79ccef71f187f23a2af4c
BLAKE2b-256 5d2006743d893adfcf6b8d33610142ef55c038771886c36c02c3f92a5772b68d

See more details on using hashes here.

File details

Details for the file cd_analyzer-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: cd_analyzer-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for cd_analyzer-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c4266aac3e0fa6a15875160c32211d151a9c9df8c3936bf99ba3a6f2b41dbd4
MD5 7b80ddd82bca1abba1b52e2dc62923f7
BLAKE2b-256 b72da3d36554e7a8ab5bb4b3be3a06082a669ce566168f44c9bf582c5cfe5cc6

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