CSVScalar#

Source: user_tensors/CSVTensor.py

Load a single column from CSV as a Scalar with shape (N,).

Other options#

csv_file — str · required

Path to the CSV file. Resolved relative to the input file’s directory when not absolute.

variable — str

Column-name prefix expanded via the per-type suffix convention (e.g. stress -> stress_xx, stress_yy, … for SR2). Mutually exclusive with column_names.

column_names — list

Explicit whitespace-separated list of CSV column names; bypasses the variable suffix expansion. Mutually exclusive with variable.