Standard is a rectangle based on coordinates of outer hydros +- the buffer in meters Returns a vector of lenght 6: c(x_min, x_max, y_min, y_max, eps, pen). Limits are given in UTM coordinates.
getBbox(hydros, buffer = 5, eps = 0.001, pen = 1)
hydros | Dataframe from simHydros() or Dataframe with columns hx and hy containing positions of the receivers. Translate the coordinates to get the grid centre close to (0;0). |
---|---|
buffer | Number of meters the spatial domain extends beyound the outer hydros. |
eps | Specifies how well-defined the borders are (eps=1E-2 is very sharp, eps=100 is very soft). |
pen | Specifies the penalty multiplier. |