data_loader =========== .. py:module:: data_loader Functions --------- .. autoapisummary:: data_loader.class_to_instance_name data_loader.create_device_instance data_loader.read Module Contents --------------- .. py:function:: class_to_instance_name(class_name, typ) .. py:function:: create_device_instance(class_name, instance_name, typ) Ensures an instance with a specific name exists in globals(). If not, searches through all scripts in the specified subpackage to find and load the class. :param class_name: Name of the class as a string. :param instance_name: Desired instance name in snake_case. :param typ: Desired type 'sim' or 'est'. :return: The instance, or raises an ImportError if not found. .. py:function:: read(file, typ: str) Read the contents from .txt files