Just a quick note: `erf` and `erfc` ufunc from scipy.special raise ValueError ``` >>> erf(range(10) * pq.dimensionless) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-12-513cf3bec89d> in <module>() ----> 1 erf(range(10) * pq.dimensionless) c:\Python27\lib\site-packages\quantities\quantity.pyc in __array_prepare__(self, obj, context) 234 """ufunc %r not supported by quantities 235 please file a bug report at https://github.com/python-quantities --> 236 """ 237 ) 238 return res ValueError: ufunc %r not supported by quantities please file a bug report at https://github.com/python-quantities ```
Activity
mikofski commentedon Dec 10, 2013
This can be fixed by adding a
erfanderfctop_dictin dimensionality.py near line 357 and by importingerfanderfcfromscipy.specialnear the topAdded support for erf and erfc