Skip to content

Python script to generate a NUS schedule using various sampling methods

License

Notifications You must be signed in to change notification settings

BioStruct-UdeM/nuslist_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages