def retrieve_measure(self, port=None):
    self.port_error_check(port)
    if (port != None):
        value = parse_spice_list('timing', '{0}{1}'.format(self.name.lower(), port))
    else:
        value = parse_spice_list('timing', '{0}'.format(self.name.lower()))
    if ((type(value) != float) or (self.measure_scale == None)):
        return value
    else:
        return (value * self.measure_scale)
def retrieve_measure(self, port=None):
    self.port_error_check(port)
    if (port != None):
        value = parse_spice_list('timing', '{0}{1}'.format(self.name.lower(), port))
    else:
        value = parse_spice_list('timing', '{0}'.format(self.name.lower()))
    if ((type(value) != float) or (self.measure_scale == None)):
        return value
    else:
        return (value * self.measure_scale)