general-plot-digitizer

Official

Turn spectrum images into usable data.

Authorlearningmatter-mit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill extracts calibrated numeric X–Y data from experimental spectrum plot images, so you can avoid manually reading points off figures and graphs.

Core Features & Use Cases

  • Agent-in-the-loop plot digitization: Uses a vision-language model to inspect axes/bounding boxes/curve obstacles, then a coding pipeline to isolate curves and convert pixels into data coordinates.
  • Supports many plot types: Handles Raman, XRD, UV-Vis, IR, NMR, and similar plots with linear/log axes and inverted directions.
  • Multi-curve and stacked spectra: Extracts multiple traces from a single figure using per-curve regions, color hints, and optional per-curve normalization.

Quick Start

Run the digitization pipeline on a source plot image using provided metadata by executing: python .agents/skills/general-plot-digitizer/scripts/digitize_pipeline.py examples/source.png --full --metadata examples/metadata.json --all-curves --output-dir ./output.

Dependency Matrix

Required Modules

opencvscikit-imagenumpypandaspython-dotenvjsonschemascipy

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: general-plot-digitizer
Download link: https://github.com/learningmatter-mit/AtomisticSkills/archive/main.zip#general-plot-digitizer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.