src/sensors/sensor_entropy.py
def subsystem(sensorId):
        """
        returns the subsytems corresponding to the sensorId
        that is passed as an argument.
        """
        if sensorId in TEMP_IDENTIFIER_DICT:
            return TEMP_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId in RTC_IDENTIFIER_DICT:
            return RTC_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId in GYRO_IDENTIFIER_DICT:
            return GYRO_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId in MAG_IDENTIFIER_DICT:
            return MAG_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId == ADC:
            return PAYLOAD 
        return None

        returns the subsytems corresponding to the sensorId
        that is passed as an argument.
        
returns the subsytems corresponding to the sensorId
that is passed as an argument.
returns the subsytems corresponding to the sensorId that is passed as an argument .
def subsystem(sensorId):
        if sensorId in TEMP_IDENTIFIER_DICT:
            return TEMP_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId in RTC_IDENTIFIER_DICT:
            return RTC_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId in GYRO_IDENTIFIER_DICT:
            return GYRO_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId in MAG_IDENTIFIER_DICT:
            return MAG_IDENTIFIER_DICT[sensorId][SUB]
        elif sensorId == ADC:
            return PAYLOAD 
        return None
def subsystem ( sensorId ) : if sensorId in TEMP_IDENTIFIER_DICT : return TEMP_IDENTIFIER_DICT [ sensorId ] [ SUB ] elif sensorId in RTC_IDENTIFIER_DICT : return RTC_IDENTIFIER_DICT [ sensorId ] [ SUB ] elif sensorId in GYRO_IDENTIFIER_DICT : return GYRO_IDENTIFIER_DICT [ sensorId ] [ SUB ] elif sensorId in MAG_IDENTIFIER_DICT : return MAG_IDENTIFIER_DICT [ sensorId ] [ SUB ] elif sensorId == ADC : return PAYLOAD return None
returns the subsytems corresponding to the sensorId
that is passed as an argument.
returns the subsytems corresponding to the sensorId that is passed as an argument .
"""
        returns the subsytems corresponding to the sensorId
        that is passed as an argument.
        """
sensorId