static numpy: add support to pvbatch as well

Change-Id: Ic49115dea59fa27abcbf0588d6a104d5382d5e27