code: def signal2quant(self, x, curve):
      return min(curve.keys(), key=lambda y: abs(float(curve[y]) - x))
  
imports: import pandas
  import numpy
label_desc: Use image node_id 2 for calling the cSignalQuantizer obj's underlying member method code with example usage: obj.signal2quant(x, curve) and returns: min