Skip to content

Instantly share code, notes, and snippets.

View alpha-beta-soup's full-sized avatar
🌏

Richard Law alpha-beta-soup

🌏
View GitHub Profile
@alpha-beta-soup
alpha-beta-soup / raster-benchmarks.py
Created May 8, 2024 22:42
Generating random raster landscapes for generating performance benchmarking cases
import numpy as np
import random
import sys
from nlmpy import nlmpy
np.random.seed(0) # So that the same NLMs are produced each time
nRow = 100 # Number of rows
nCol = 100 # Number of columns