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.1.tar.gz (18.3 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.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cd_analyzer-0.3.1.tar.gz
  • Upload date:
  • Size: 18.3 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.1.tar.gz
Algorithm Hash digest
SHA256 bd354bd52961d51e4ed2d7169c214ba0869de2d4bb56bea8d52955b176ea4793
MD5 38eda63b8d7c995cebf7e8ad8edbba05
BLAKE2b-256 c20d60d323c2559cac825d5747c431fb7786f32d25fb50ef3a1b489968033f94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cd_analyzer-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 20.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8236322eb2a1abd1dfb2ac267d58d778e721b7ab57f88f664b0bf018907b34d5
MD5 e999836cb169682db311b985f7158f65
BLAKE2b-256 8cfd4fa4e45ab8cddc82ef7e0ffbdc71f8bc77aa2d3bb0afbc4afd578a9e5c02

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