Skip to main content

Neuralyzer::TensorDesign::ColumnRecipe

Neuralyzer::TensorDesign::ColumnRecipe

Describes how one tensor column is computed. More…

#include <TensorColumnBuilders.hpp>

Public Attributes

Name
std::string column_name
Display name for this column.
std::string source_key
DataManager key for the source data (empty for interval-property columns).
std::string pipeline_json
JSON string describing the TransformPipeline (empty for passthrough).
std::string row_pipeline_json
std::optional< IntervalProperty > interval_property
std::vector< PipelineValueBindingRecipe > pipeline_value_bindings
Row-aligned iterable DataObject bindings for per-row pipeline execution.

Detailed Description

struct Neuralyzer::TensorDesign::ColumnRecipe;

Describes how one tensor column is computed.

A ColumnRecipe captures all the information needed to build a ColumnProviderFn closure. It is JSON-serializable (via reflect-cpp) for save/load of TensorDesigner configurations.

The recipe does NOT store the closure itself — closures capture runtime pointers (DataManager*, shared_ptrs) that are not serializable. Use buildProviderFromRecipe() to reconstruct the closure at runtime.

Public Attributes Documentation

variable column_name

std::string column_name;

Display name for this column.

variable source_key

std::string source_key;

DataManager key for the source data (empty for interval-property columns).

variable pipeline_json

std::string pipeline_json;

JSON string describing the TransformPipeline (empty for passthrough).

variable row_pipeline_json

std::string row_pipeline_json;

JSON string describing a row TransformPipeline for per-column geometry. Empty means current row-source geometry is used; interval-row pipelines may produce row-aligned DigitalIntervalSeries gather windows.

variable interval_property

std::optional< IntervalProperty > interval_property;

If this is an interval-property column, which property to extract. nullopt means this is a data-source column, not an interval-property column.

variable pipeline_value_bindings

std::vector< PipelineValueBindingRecipe > pipeline_value_bindings;

Row-aligned iterable DataObject bindings for per-row pipeline execution.


Updated on 2026-11-13 at 20:25:41 +0000