def _getScaledValue(self, inpt):
if inpt == SENTINEL_VALUE_FOR_MISSING_DATA:<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>val = inpt<EOL>if val < self.minval:<EOL><INDENT>val = self.minval<EOL><DEDENT>elif val > self.maxval:<EOL><INDENT>val = self.maxval<EOL><DEDENT>scaledVal = math.log10(val)<EOL>return scaledVal<EOL><DEDENT>
Convert the input, which is in normal space, into log space