Process2D (Node)

Process a 2D histogram
Context Analysis
Name Required? Yes
Branches Normalisation

Overview

The Process2D node is used to process histogram data generated by the Collect2D and expose it for visualisation and export.

Description

Once a Collect2D node has accumulated a histogram, the Process2D node can process it into something meaningful to the user, adjusting, scaling, and normalising as appropriate. It also lets axis names be assigned to the data, and converts the original histogram data into a form suitable for plotting and/or export.

Scaling, normalisation, and other operations on the data can be performed through the the node’s local branch (see below).

The Process2D node is intended to appear at the very end of a procedure, preparing the collected data for consumption.

Branching

The Process* nodes all have a branch with the “Operate” context (accessed through the hidden Normalisation keyword) which is always executed, and can be used to perform mathematical operations via a sequence of Operate* nodes.

Options

Source

Keyword Arguments Default Description
SourceData name

Required

The name of a Collect2D node containing the histogram data to process.

Labels

Keyword Arguments Default Description
LabelValue label "Counts" Label for the value axis
LabelX label "X" Label for the x axis
LabelY label "Y" Label for the y axis

Export

Keyword Arguments Default Description
Export Data2DFileAndFormat File format and file name under which to save processed data.
Last modified March 28, 2023: Update Examples 2023 (#1379) (0b33faf6b)