THIS README IS FOR THE GRID_MESH DIRECTORY, EACH SUB-DIRECTORY WILL ALSO CONTAIN IT'S OWN README FILE.

THIS DIRECTORY CONTAINS THE DATA AND CODE FOR THE IMPLEMENTATION OF THE GRID-MESH OPTIMISATION METHOD AND THE OUTPUTS FROM THIS METHOD (DISCUSSED IN CHAPTERS 3 AND 4 AS WELL AS IN APPENDICES C AND D) FOR THE TWO EXAMPLES ON A REGULAR POLYGON, GAUSSIAN AND LGCP, AS WELL AS THE LGCP IMPLEMENTATION ON THE LOS ANGELES POLYGON, EACH SPLIT INTO THEIR OWN SUB-DIRECTORY

- GAUSSIAN: this contains 3 sub-directories which contains the data, code, output and analysis of the outputs from the grid-mesh optimisation (Chapter 3, Example 1) for a simple Gaussian process over a regular polygon.

- REGULAR_POLYGON_LGCP: this contains 3 sub-directories which contains the data, code, output and analysis of the outputs from the grid-mesh optimisation (Chapter 3, Example 2) for a LGCP over a regular polygon.

- IRREGULAR_POLYGON_LGCP: this contains 3 sub-directories which contains the data, code, output and analysis of the outputs from the grid-mesh optimisation (Chapter 4) for an LGCP over an irregular polygon, specifically the Los Angeles city polgyon.

THIS DIRECTORY ALSO CONTAINS AN R SCRIPT WHICH IS USED TO MERGE THE OUTPUTS OF EACH SIMULATION STUDY WHERE THE SIMULATIONS WERE SPREAD ACROSS MULTIPLE NODES IN ORDER TO COMBINE INTO A SINGLE OUTPUT FILE FOR EACH OF THE TWO SIMULATION STUDIES FOR EACH OF THE SCENARIOS (GAUSSIAN, LGCP OVER REGULAR AND IRREGULAR POLYGONS). THERE IS ALSO AN R SCRIPT THAT ALLOWS US TO CHECK THE BEHAVIOUR OF THE SIMULATED RANGE PARAMETER, RHO, FOR DIFFERENT HYPER-PARAMETER VALUES.

- BalenaOutputCombined_final.R: combines the outputs from both the traditional and SBC simulation studies into single outputs for each simulation study as the simulations are spread across multiple nodes.

- rangepriortest_final.R: this just simulates the range multiple times from the PC prior to assess its behaviour for different hyperparameter values.