From 6acf8a8285649a03f598e8de1eb8a2a24df2f908 Mon Sep 17 00:00:00 2001 From: Sudipta Basak Date: Sun, 18 Feb 2024 14:22:57 +0100 Subject: [PATCH 1/2] fixed columns array size --- DAS/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DAS/simulator.py b/DAS/simulator.py index 50b7289..f4be995 100644 --- a/DAS/simulator.py +++ b/DAS/simulator.py @@ -59,7 +59,7 @@ class Simulator: rows = list(range(self.shape.blockSizeC)) * (int(totalRows/self.shape.blockSizeC)+1) columns = list(range(self.shape.blockSizeR)) * (int(totalColumns/self.shape.blockSizeR)+1) rows = rows[0:totalRows] - columns = columns[0:totalRows] + columns = columns[0:totalColumns] random.shuffle(rows) random.shuffle(columns) offsetR = lightVal*self.shape.chiR From 88f8d1f1c4b771614874251382f4116c459a10d5 Mon Sep 17 00:00:00 2001 From: Sudipta Basak Date: Sun, 18 Feb 2024 16:31:10 +0100 Subject: [PATCH 2/2] README.md Fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 97846ce..e4e9841 100644 --- a/README.md +++ b/README.md @@ -22,5 +22,5 @@ $ pip3 install -r DAS/requirements.txt ## Run the simulator ``` -$ python3 study.py config.das +$ python3 study.py smallConf.py ```