Sure and sorry for the confusion, here’s the link to the paper’s method section (Cell type identification in spatial transcriptomics data can be improved by leveraging cell-type-informative paired tissue images using a Bayesian probabilistic model | Nucleic Acids Research | Oxford Academic). And the stan code I believe that relevant to H is here (https://github.com/asifzubair/GIST/blob/main/inst/stan/GIST_enhanced_model.stan#L55-L57). Let me know if I can clarify anything.