Hello @junpenglao! Thanks a lot for your reply.
I have been reading the interpolated example you posted but I do not understand how I could apply it here:
My 1d tensor is not a distribution I want to sample but rather a curve (which I have shifted according to the prior) and now I want to trim according to the observed data so I can compare it with.
Is there something I am missing?
Thanks again!