trendminer.sdk.commons.layer module

class trendminer.sdk.commons.layer.Layer(identifier: str, view: Any, name: str, base: bool = True, line_style: str = 'SOLID', shift: str | None = None)

Bases: ABC

TrendHub layer

view

TrendHub view to which the created layers will belong

Type:

TrendHubView

name

Layer name

Type:

str

base

Whether the layer is a base layer

Type:

bool, default True

line_style

Layer line style

Type:

str, default “SOLID”

identifier

Unique identifier to the view object on the appliance

Type:

str

shift

Object shift, impacts all data operations

Type:

str, optional

abstract property interval: Interval

Current interval described by the layer.

Returns:

An instance of the Interval

Return type:

Interval