I have a plot of a DensityHistogram
from a dataset collected in the lab (stored as {{x1,y1},{x2,y2},...}
). The data used to construct the histogram is convolved with the impulse response of the detector in the measurement, and I want to deconvolve the data. Is there a way to extract the underlying data from DensityHistogram
as a matrix/list of lists so that I can deconvolve it with ListDeconvolve
?
Here is an example with a list of random numbers (I chose about 30% of the size of the dataset I am using to make everything a bit quicker). I am not doing any post-processing and the underlying structure of my data is NOT random, but I think this would be enough to generate a similar sort of plot.
data = RandomVariate[BinormalDistribution[{1000, 1000}, {100, 1000}, 0], 10000];
DensityHistogram[data, {100}, PlotRange -> All, ColorFunction -> "Rainbow"]