How to obtain the posterior probability of 2D distribution?

I understand. Thanks for your answer.
I still have two questions:

  1. How to jointly? Is it possible to embed the model in both the first and second ways (jointly and specify a reasonable maximum)?
  2. Can I include the depth and velocity dimensions as regularization priors in the coefficient matrix? If so how can I implement this in pymc?