Functions
wirecell.util.functions Namespace Reference

Functions

def unitify (valstr, unit="")
 

Function Documentation

def wirecell.util.functions.unitify (   valstr,
  unit = "" 
)

Definition at line 5 of file functions.py.

5 def unitify(valstr, unit=""):
6  if unit:
7  valstr += "*" + unit
8  return eval(valstr, units.__dict__)
9 
def unitify(valstr, unit="")
Definition: functions.py:5