How rbiswasgroup/resrijan works
ReSrijan digitises scientific figures, supports hand correction and analysis/fitting, and redraws data in journal styles; it also composes new multi-panel figures. The principal workflow runs from CLI or GUI through input loading, detection and extraction, checks, reporting, and plotting. The README documents capabilities beyond the sampled code; edges for those branches are included only where the README or source index supports them. Unsampled implementations are represented by their exact tree paths, and their internal links are omitted where evidence is unavailable.
Main entry points: pipeline.py Digitisation pipeline · engine.py Plot engine · cli.py Command line · mainwindow.py Desktop application
Components 24
User entry points
- Command line
resrijan/cli.py - Desktop application
resrijan/gui/mainwindow.py - Digitize page
resrijan/gui/pages/digitize.py
Figure digitisation
- Figure loader
resrijan/io/loader.py - Digitisation pipeline
resrijan/pipeline.py - Axes detection
resrijan/detect/axes.py - Axis calibration
resrijan/detect/calibration.py - Label OCR
resrijan/detect/ocr.py - Vector extraction
resrijan/detect/vector.py - Curve extraction
resrijan/extract/curves.py - Bar extraction
resrijan/extract/bars.py - Heatmap extraction
resrijan/extract/heatmap.py - Image figures
resrijan/extract/imagefig.py - Micrograph analysis
resrijan/extract/micrograph.py - Anomaly checks
resrijan/anomaly.py - Extraction report
resrijan/report.py
Data workbench
- Data editor
resrijan/gui/editor.py - Data analysis
resrijan/analysis.py - Curve fitting
resrijan/curvefit.py
Figure generation
- Plot engine
resrijan/plot/engine.py - Journal templates
resrijan/plot/templates.py - Panel layout
resrijan/plot/layout.py - Figure composition
resrijan/gui/pages/compose.py
Other components
- Researcher
Connections 27
- Researcher → Command line: runs command
resrijan/cli.py - Researcher → Desktop application: opens application
- Desktop application → Digitize page: hosts page
resrijan/gui/mainwindow.py - Digitize page → Digitisation pipeline: runs digitisation
resrijan/gui/pages/digitize.py - Command line → Digitisation pipeline: runs digitisation
resrijan/cli.py - Digitisation pipeline → Figure loader: loads figures
resrijan/pipeline.py - Digitisation pipeline → Axes detection: detects axes
resrijan/pipeline.py - Axes detection → Label OCR: reads labels
resrijan/detect/axes.py - Axes detection → Axis calibration: calibrates ticks
resrijan/detect/axes.py - Digitisation pipeline → Vector extraction: extracts vector data
resrijan/pipeline.py - Digitisation pipeline → Curve extraction: extracts curves
resrijan/pipeline.py - Digitisation pipeline → Bar extraction: extracts bars
resrijan/pipeline.py - Digitisation pipeline → Heatmap extraction: extracts heatmaps
resrijan/pipeline.py - Digitisation pipeline → Image figures: analyses image panels
resrijan/pipeline.py - Image figures → Micrograph analysis: analyses micrographs
resrijan/extract/imagefig.py - Digitisation pipeline → Anomaly checks: checks results
resrijan/pipeline.py - Digitisation pipeline → Extraction report: writes report
resrijan/pipeline.py - Digitisation pipeline → Plot engine: creates replot
resrijan/pipeline.py - Digitize page → Data editor: opens corrections
resrijan/gui/pages/digitize.py - Command line → Data analysis: runs analysis
resrijan/cli.py - Command line → Curve fitting: runs fitting
resrijan/cli.py - Data analysis → Plot engine: uses plotting
resrijan/analysis.py - Curve fitting → Plot engine: uses plotting
resrijan/curvefit.py - Plot engine → Journal templates: applies styles
resrijan/plot/engine.py - Plot engine → Panel layout: arranges panels
resrijan/plot/engine.py - Desktop application → Figure composition: offers composition
resrijan/gui/mainwindow.py - Figure composition → Plot engine: builds figures