matplotlib

This Page

simx.core.util module

simx.core.util.check_type(class_type, obj)

Checks if obj is an instance of class and raises a Type error if not

simx.core.util.get_class_name(obj)

Returns class name of given object

simx.core.util.get_internal_service_name(serv_name)

Creates and returns a core internal service name for serv_name

Keyword Arguments: serv_name – A service name for which an internal name will be generated

Output: A string having the format ‘eServ_<serv_name>.<id>’ where id starts at 0 and is incremented for each entry of serv_name.

simx.core.util.get_profile_id(profile_obj)

Returns an integer id for a dictionary profile that will be used to identify this profile inside core