Rename and update readme

This commit is contained in:
2022-02-20 11:58:12 -06:00
parent 74c8cafd81
commit f2b5d9e1b7
7 changed files with 52 additions and 15 deletions

View File

@@ -55,6 +55,7 @@ public class Plate {
List<Integer[]> well = new ArrayList<>();
for (int j = 0; j < concentrations[section]; j++) {
do {
//inverse transform sampling: for random number u in [0,1), x = log(1-u) / (-lambda)
m = (Math.log10((1 - rand.nextDouble()))/(-lambda)) * Math.sqrt(cells.size());
} while (m >= cells.size() || m < 0);
n = (int) Math.floor(m);