.. _auto_curve_user_defined: *CREATE A CURVE WITH CUSTOM DEFINITION* ======================================= Creates a curve from a user-supplied PHP-style code snippet that returns an array of (x, y) point pairs. Use this worker when a curve cannot be expressed by a standard mathematical template and requires custom procedural logic to generate its data points. When to use ----------- Classification: **process**. Tagged: ``code_editor``, ``curve``, ``custom_curve``, ``php``, ``points``, ``transformation``, ``user_defined``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve Name - curve_name - scalar - — - ✓ - Display name assigned to the generated curve; used as a label in downstream plots and reports. Accepts any free-text string; leave blank to use the worker default. * - Definition - definition - text - `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curve_user_defined. Schema hash: 5bd5a52ad281. Hand-curated docs in workerexamples/ override this page when present.