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.0.tar.gz (17.9 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.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cd_analyzer-0.3.0.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cd_analyzer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a7f00dc0d18caf7a5f6b0c4917d1dd72d47530456d48894aa6fcde1319433d73
MD5 98a1117b677b8a978bb500030386439c
BLAKE2b-256 9f102d9e597fa816c90ce341b20a0ce4f58ae134a7cb7db56769e3b307a02a48

See more details on using hashes here.

Provenance

The following attestation bundles were made for cd_analyzer-0.3.0.tar.gz:

Publisher: python-publish.yml on Andachten/cd-analysis-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: cd_analyzer-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cd_analyzer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0460e0a92a71cdb8b4fd57d7d7d09259dcd44084003543649f533b092a349a3e
MD5 911267be09830e9dca8659615988327e
BLAKE2b-256 bd4376417aecd2f6d2f09a35b65624f5dc7caf59617380af3a10c5359639c493

See more details on using hashes here.

Provenance

The following attestation bundles were made for cd_analyzer-0.3.0-py3-none-any.whl:

Publisher: python-publish.yml on Andachten/cd-analysis-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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