Gap sampling
The DGS package provides a few small command-line utilities for generating deterministic Poisson-gap, stochastic Poisson-gap, and deterministic burst-augmented gap sampling schedules over multidimensional grids. This page outlines how to install and use the DGS utilities.
Introduction
Obtaining dgs
You can download the dgs source code by clicking here.
Installing dgs
The utilities in dgs are a set of command-line open-source C programs. The software will run basically anywhere. Once you have the source code, run these commands to install it:
cd /path/to/source/tarball tar xf dgs-YYYYMMDD.tar.gz cd dgs-YYYYMMDD make sudo install -v -m 755 -o root -g root spg dpg dbag /usr/local/bin/
Using a dgs utility
Once the programs are compiled and installed, you can run them from anywhere, e.g.:
dpg 0.1 512 512
All the utilities have the same argument syntax: the first argument is the sampling density, and the remaining arguments specify the size of the sampling grid. The code is currently soft-limited to generating 3D grids, but you can remove this restriction by editing dgs.c and recompiling/reinstalling.