For Developers

class sionna.phy.Object(*args, precision=None, **kwargs)[source]

Abstract class for Sionna PHY objects

Parameters:

precision (None (default) | “single” | “double”) – Precision used for internal calculations. If set to None, the default precision is used.

property cdtype

Type for complex floating point numbers

Type:

tf.complex

property precision

Precision used for all compuations

Type:

str, “single” | “double”

property rdtype

Type for real floating point numbers

Type:

tf.float

class sionna.phy.Block(*args, precision=None, **kwargs)[source]

Abstract class for Sionna PHY processing blocks

Parameters:

precision (None (default) | “single” | “double”) – Precision used for internal calculations and outputs. If set to None, the default precision is used.

build(*arg_shapes, **kwarg_shapes)[source]

Method to (optionally) initialize the block based on the inputs’ shapes

property built

Indicates if the blocks’ build function was called

Type:

bool

abstract call(*args, **kwargs)[source]

Abstract call method with arbitrary arguments and keyword arguments