class SensorStructure(object):
    """Class to store sensor data from various sources.

    Attributes
    ----------
    self.selected: str
        The selected sensor reference name ('internal', 'external', 'user').
    self.internal: SensorData
        Contains the data from the internal sensor, object of SensorData
    self.external: SensorData
        Contains the data from an external sensor, object of SensorData
    self.user: SensorData
        Contains user supplied value, object of SensorData
    """
    
    def __init__(self):
        """Initialize class and set variable to None."""

        self.selected = None  # The selected sensor reference name ('internal', 'external', 'user')
        self.internal = None  # Contains the data from the internal sensor
        self.external = None  # Contains the data from an external sensor
        self.user = None  # Contains user supplied value
        
    def set_selected(self, selected_name):
        """Set the selected source for the specified object

        Parameters
        ----------
        selected_name: str
            Type of data (internal, external, user).
        """
        self.selected = selected_name

class SensorStructure(object):
    """Class to store sensor data from various sources.

    Attributes
    ----------
    self.selected: str
        The selected sensor reference name ('internal', 'external', 'user').
    self.internal: SensorData
        Contains the data from the internal sensor, object of SensorData
    self.external: SensorData
        Contains the data from an external sensor, object of SensorData
    self.user: SensorData
        Contains user supplied value, object of SensorData
    """
    
    def __init__(self):
        """Initialize class and set variable to None."""

        self.selected = None  # The selected sensor reference name ('internal', 'external', 'user')
        self.internal = None  # Contains the data from the internal sensor
        self.external = None  # Contains the data from an external sensor
        self.user = None  # Contains user supplied value
        
    def set_selected(self, selected_name):
        """Set the selected source for the specified object

        Parameters
        ----------
        selected_name: str
            Type of data (internal, external, user).
        """
        self.selected = selected_name

Class to store sensor data from various sources.      Attributes     ----------     self.selected: str         The selected sensor reference name ('internal', 'external', 'user').     self.internal: SensorData         Contains the data from the internal sensor, object of SensorData     self.external: SensorData         Contains the data from an external sensor, object of SensorData     self.user: SensorData         Contains user supplied value, object of SensorData Initialize class and set variable to None. # The selected sensor reference name ('internal', 'external', 'user') # Contains the data from the internal sensor # Contains the data from an external sensor # Contains user supplied value Set the selected source for the specified object          Parameters         ----------         selected_name: str             Type of data (internal, external, user).