Your inner loop would probably be what goes into the PyMC stepper yes.
What exactly are you concerned about?
My suggestion would be to write it first and then see if something can be rewritten more idiomatically, instead of worrying about that first.