Skip to content

Node Library

Workflow nodes are the building blocks of SpectraSherpa analyses. They are grouped by what they do rather than by implementation package.

This section documents the built-in nodes from the current workflow registry. Each category page lists the node's expected inputs, outputs, and configuration knobs so you can decide whether it belongs in a workflow before wiring it.

Reading Node Tables

Most spectroscopy workflows pass SpectralDataset objects between nodes. A SpectralDataset is a numeric matrix with sample rows, spectral-variable columns, axis metadata, and processing history. Supervised nodes also consume targets such as concentrations or class labels.

Term Meaning
SpectralDataset Spectral matrix, usually samples by wavenumbers or Raman shifts, with axis metadata.
TargetMatrix Continuous target values such as concentration, property value, or response matrix.
Categorical Class labels, sample groups, or QC categories.
ScoreMatrix Scores from PCA, PLS, PCR, clustering embeddings, or similar latent-variable methods.
LoadingMatrix Loadings or component vectors associated with latent-variable models.
FittedModel Generic trained model object.
RegressionModel Trained model that predicts continuous targets.
ClassificationModel Trained model that predicts class labels or class distances.
Visualization Plot-ready payload consumed by output nodes and the report view.
ValidationResult Metrics, limits, diagnostics, or validation tables.

Optional inputs are marked with ? in the tables. The default port is the normal single input or output when a node does not need a named port.

Choosing Nodes

Categories

  • data, synthesis, and deployment helpers
  • preprocessing and calibration transfer
  • exploratory, clustering, and decomposition
  • regression
  • classification
  • selection and validation
  • output
  • optional SpectroChemPy-backed nodes