#! /bin/bash
set -ex

# Usage: e.g. ./debug.sh test_debugscript 1
# - Using the imv image viewer, change it to reflect whatever you want.

# - If you change the area in gpconfig.h from World to something else,
#  you need to change it on the line below as well.

# - The plot_field_and_unc plots GP marginals and uncertainties. If
# - you are training covariance parameters or mean function
# - parameters, you don't want to use that script.
./gproc.sh $1 $2 && ./plotting/plot_field_and_unc.py experiments/$1 World && imv-wayland experiments/$1/img_0000.jpg
