Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NUS schedule generator

Simple Python3 wrapper to access programmatically to the NUS sampling schedule generator from Powers group at Univeristy of Nebraska-Lincoln. The web version can be found here.

The original work is based on the 2015 publication by Bradley Worley and Robert Powers (PDF).

Installation

git clone https://github.com/BioStruct-UdeM/nuslist_generator.git
cd nuslist_generator
pip install -r requirements.txt

Usage

usage: nuslist_generator.py [-h] --schedule_type {SB,SG,PG} --ndims {2,3,4} --density DENSITY --nx NX [--ny NY]
                            [--nz NZ]

optional arguments:
  -h, --help            show this help message and exit
  --schedule_type {SB,SG,PG}
                        schedule type: Sine-burst (SB), Sine-gap (SG), Poisson-gap (PG)
  --ndims {2,3,4}       number of dimensions: 2, 3 or 4
  --density DENSITY     density of the sampling
  --nx NX               number of points in first NUS dimension
  --ny NY               number of points in second NUS dimension
  --nz NZ               number of points in third NUS dimension
python nuslist_generator.py --schedule_type SB --ndims 2 --density 25 --nx 64 --ny 128

About

Python script to generate a NUS schedule using various sampling methods

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages