private void buildLogTable() {
		logtable = new double[chunkSize + 1];
		double logtwo = Math.log(2.0);
		double chunkfloat = chunkSize;
		for (int i = 1; i < chunkSize; ++i) {
			double prob = i / chunkfloat;
			logtable[i] = -prob * (Math.log(prob) / logtwo);
		}
		logtable[0] = 0.0;
		logtable[chunkSize] = 0.0;
	}
Service for associating colors with a programs address's based on an Entropy computation for
the bytes in a chunk around the given address.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/entropy/EntropyOverviewColorService.java