See also RawTherapee 5.9 released - #24 by kmilos, there is perhaps some vertical crop needed at both top and bottom as well…
You can further add the dcraw_matrix
values from there, and maybe black/white levels…
Also, this is identical for X-H2 which can be added to make_model
as well.
P.S. There are both X-T5 and X-H2 samples on RPU one can test on, or also convert to DNG (supported in latest version 15) for verification.