Gap sampling: Difference between revisions
(Created page with "The DGS package provides a few small command-line utilities for generating deterministic Poisson-gap, stochastic Poisson-gap, and deterministic burst-augmented gap sampling sc...") |
No edit summary |
||
Line 3: | Line 3: | ||
= Introduction = | = Introduction = | ||
== Obtaining '' | == Obtaining ''gaputil'' == | ||
You can download the '' | You can download the ''gaputil'' source code on its [http://github.com/geekysuavo/gaputil GitHub page]. | ||
== Installing '' | == Installing ''gaputil'' == | ||
The | The ''gaputil'' binary is a command-line open-source C program. The software will run basically anywhere. Once you have the source code, run these commands to install it: | ||
git clone git://github.com/geekysuavo/gaputil.git | |||
cd gaputil | |||
cd | |||
make | make | ||
sudo install | sudo make install | ||
== Using | == Using ''gaputil'' == | ||
Once the programs are compiled and installed, you can run them from anywhere, ''e.g.'': | Once the programs are compiled and installed, you can run them from anywhere, ''e.g.'': | ||
gaputil 0.1 512 512 'L*x' | |||
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 ''' | 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 final argument is the gap equation string to use when constructing the schedule. The code is currently soft-limited to generating 3D grids, but you can remove this restriction by editing '''term.c''' and recompiling/reinstalling. | ||
[[category:Protocols]] | [[category:Protocols]] |
Revision as of 18:46, 13 July 2015
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 gaputil
You can download the gaputil source code on its GitHub page.
Installing gaputil
The gaputil binary is a command-line open-source C program. The software will run basically anywhere. Once you have the source code, run these commands to install it:
git clone git://github.com/geekysuavo/gaputil.git cd gaputil make sudo make install
Using gaputil
Once the programs are compiled and installed, you can run them from anywhere, e.g.:
gaputil 0.1 512 512 'L*x'
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 final argument is the gap equation string to use when constructing the schedule. The code is currently soft-limited to generating 3D grids, but you can remove this restriction by editing term.c and recompiling/reinstalling.