I have a file containing data for a large number of particles (approx 10^8), that need to be put into both size and density bins - similar to a 2D histogram.
The density variations is linear so I can just split this easily into 10(ish) bins, but The sizes vary on a log scale (somewhere around the nanometer to millimetre range) and the upper and lower bounds can drastically change between datasets and hence need to be calculated instead of hard-coded.
I am skimming through the file to find the minimum and maximum radius present so that I can define the upper and lower bounds of my histogram (which works fine). My next step is to take these values to create the upper and lower bounds, butI have no idea how to do this!
Can anybody help or already know of a method??
Thanks in Advance!