ephys_link.common

Commonly used functions and dictionaries

Contains globally used helper functions and typed dictionaries (to be used as callback parameters)

Functions

dprint

Print message if debug is enabled.

vector4_to_array

Convert a Vector4 to a list of floats.

dprint(message: str) None[source]

Print message if debug is enabled.

Parameters:

message (str) – Message to print.

Returns:

None

vector4_to_array(vector4: Vector4) list[float][source]

Convert a Vector4 to a list of floats.

Parameters:

vector4 (vbl_aquarium.models.unity.Vector4) – Vector4 to convert.

Returns:

List of floats.

Return type:

list[float]