class TMSiSDK.device.devices.saga.saga_structures.saga_info.SagaInfo(id=65535, dr_serial_number=0, ds_serial_number=0, dr_interface=DeviceInterfaceType.none, ds_interface=DeviceInterfaceType.none)#

Bases: object

Class to handle the information of the Saga.

__init__(id=65535, dr_serial_number=0, ds_serial_number=0, dr_interface=DeviceInterfaceType.none, ds_interface=DeviceInterfaceType.none)#

Methods

__init__([id, dr_serial_number, ...])

get_available_recordings()

Get available recordings of the Saga.

get_dr_interface()

Get dr interface type of the Saga.

get_dr_serial_number()

Get the serial number of the dr.

get_ds_interface()

Get ds interface type of the Saga.

get_ds_serial_number()

Get the serial number of the ds.

get_id()

Get id of the Saga.

get_interface_bandwidth()

Get interface bandwidth

get_name()

Get the name of the Saga

get_num_active_channels()

Get the number of active channels.

get_num_active_imp_channels()

Get the number of active impedance channels.

get_num_channels()

Get the number of channels.

get_num_sensors()

Get the number of sensors.

get_state()

Get the state of the Saga.

set_device_config(device_config)

Set device configuration

set_device_status_report(device_status_report)

Set the device status report.

set_dr_interface(dr_interface)

Set the dr interface of the dr.

set_dr_serial_number(dr_serial_number)

Set the serial number of the dr.

set_ds_interface(ds_interface)

Set the ds interface of the ds.

set_ds_serial_number(ds_serial_number)

Set the serial number of the ds.

set_id(id)

Set the id of the Saga.

set_num_active_channels(num_active_channels)

Set the number of active channels

set_num_active_imp_channels(...)

Set the number of active channels

set_state(state)

Set the state of the device.

get_available_recordings()#

Get available recordings of the Saga.

Returns:

available recordings of the Saga.

Return type:

int

get_dr_interface()#

Get dr interface type of the Saga.

Returns:

dr interface type of the Saga.

Return type:

DeviceInterfaceType

get_dr_serial_number()#

Get the serial number of the dr.

Returns:

serial number of the dr.

Return type:

int

get_ds_interface()#

Get ds interface type of the Saga.

Returns:

ds interface type of the Saga.

Return type:

DeviceInterfaceType

get_ds_serial_number()#

Get the serial number of the ds.

Returns:

serial number of the ds.

Return type:

int

get_id()#

Get id of the Saga.

Returns:

id

Return type:

int

get_interface_bandwidth()#

Get interface bandwidth

Returns:

interface bandwidth

Return type:

int

get_name()#

Get the name of the Saga

Returns:

name

Return type:

str

get_num_active_channels()#

Get the number of active channels.

Returns:

number of active channels.

Return type:

int

get_num_active_imp_channels()#

Get the number of active impedance channels.

Returns:

number of active impedance channels.

Return type:

int

get_num_channels()#

Get the number of channels.

Returns:

number of channels.

Return type:

int

get_num_sensors()#

Get the number of sensors.

Returns:

number of sensors.

Return type:

int

get_state()#

Get the state of the Saga.

Returns:

state of the Saga.

Return type:

DeviceState

set_device_config(device_config)#

Set device configuration

Parameters:

device_config (TMSiDevGetConfig) – configuration of the device.

set_device_status_report(device_status_report)#

Set the device status report.

Parameters:

device_status_report (TMSiDevStatReport) – status report from the Saga.

set_dr_interface(dr_interface)#

Set the dr interface of the dr.

Parameters:

dr_interface (DeviceInterface) – dr interface of the dr.

set_dr_serial_number(dr_serial_number)#

Set the serial number of the dr.

Parameters:

dr_serial_number (int) – serial number.

set_ds_interface(ds_interface)#

Set the ds interface of the ds.

Parameters:

ds_interface (DeviceInterface) – ds interface of the Saga.

set_ds_serial_number(ds_serial_number)#

Set the serial number of the ds.

Parameters:

dr_serial_number (int) – serial number.

set_id(id)#

Set the id of the Saga.

Parameters:

id (int) – id of the Saga.

set_num_active_channels(num_active_channels: int)#

Set the number of active channels

Parameters:

num_active_channels (int) – number of active channels

set_num_active_imp_channels(num_active_imp_channels: int)#

Set the number of active channels

Parameters:

num_active_imp_channels (int) – number of active impedance channels

set_state(state)#

Set the state of the device.

Parameters:

state (DeviceState) – state of the device.