NumericExpr#

class nominal.experimental.compute.dsl.exprs.NumericExpr#

Bases: ChannelExpr[NumericSeries]

A compute expression for numeric channel data and derived signals.

abs() → NumericExpr#
acos() → NumericExpr#
asin() → NumericExpr#
classmethod asset_channel(asset_rid: str, data_scope_name: str, channel_name: str, additional_tags: Mapping[str, str] | None = None) → NumericExpr#
atan2(x_node: NumericExpr, /) → NumericExpr#
cos() → NumericExpr#
cumulative_sum(start_timestamp: int) → NumericExpr#
classmethod datasource_channel(datasource_rid: str, channel_name: str, tags: Mapping[str, str] | None = None) → NumericExpr#
derivative(time_unit: Literal['ns', 'us', 'ms', 's', 'm', 'h', 'd']) → NumericExpr#
divide(right_node: NumericExpr, /) → NumericExpr#
filter(ranges: RangeExpr, /) → NumericExpr#
floor_divide(right_node: NumericExpr, /) → NumericExpr#
integral(start_timestamp: int, time_unit: Literal['ns', 'us', 'ms', 's', 'm', 'h', 'd']) → NumericExpr#
ln() → NumericExpr#
log() → NumericExpr#
max(nodes: Sequence[NumericExpr], /) → NumericExpr#
mean(nodes: Sequence[NumericExpr], /) → NumericExpr#
min(nodes: Sequence[NumericExpr], /) → NumericExpr#
minus(right_node: NumericExpr, /) → NumericExpr#
modulo(right_node: NumericExpr, /) → NumericExpr#
multiply(right_node: NumericExpr, /) → NumericExpr#
offset(offset: float) → NumericExpr#
plus(right_node: NumericExpr, /) → NumericExpr#
power(exponent_node: NumericExpr, /) → NumericExpr#
product(nodes: Sequence[NumericExpr], /) → NumericExpr#
rolling(window: int, operator: Literal['mean', 'sum', 'min', 'max', 'count', 'std']) → NumericExpr#
classmethod run_channel(run_rid: str, data_scope_name: str, channel_name: str, additional_tags: Mapping[str, str] | None = None) → NumericExpr#
scale(scalar: float) → NumericExpr#
sin() → NumericExpr#
sqrt() → NumericExpr#
sum(nodes: Sequence[NumericExpr], /) → NumericExpr#
tan() → NumericExpr#
threshold(threshold: float, operator: Literal['>', '>=', '<', '<=', '==', '!=']) → RangeExpr#
time_difference(time_unit: Literal['ns', 'us', 'ms', 's', 'm', 'h', 'd'] | None = None) → NumericExpr#
value_difference() → NumericExpr#
value_map(mapping: dict[tuple[float | None, float | None], str], default: str | None, /) → EnumExpr#