I have the following problem: I would like to display a heatmap of several ROIs with their time course using PyQtGraph. This works beautifully using the pq.image
function. However, I would like to click on a heatmap pixel and then, the corresponding ROI (np array row) should be returned.
Is there an easy way to accomplish this? I think probably via Qt directly, but a solution inside PyQtGraph would be preferrable.
Thanks a lot for your help, all the best.