Are you talking about the batchsd
function? That is what is used to calculate the MC error in PyMC 2. Its located in the pymc.database.base
module, and can be used on any array, really.
The pymc.diagnostics
module contains all the convergence diagnostics functions, and should work on numpy arrays.