euphonic-show-sampling

euphonic-show-sampling can be used to visualise the spherical sampling schemes implemented in euphonic.sampling. For example, to see how the ‘golden’ sphere sampling approach works for 100 points, run:

euphonic-show-sampling 100 golden-sphere

To see all the command line options, run:

euphonic-show-sampling -h

You can also see the available command line options below

Command Line Options

usage: euphonic-show-sampling [-h] [--jitter] [-s OUTPUT_FILE]
                              npts
                              {golden-sphere,sphere-from-square-grid,spherical-polar-grid,random-sphere,golden-square,regular-square,spherical-polar-improved}

Positional Arguments

npts
sampling

Possible choices: golden-sphere, sphere-from-square-grid, spherical-polar-grid, random-sphere, golden-square, regular-square, spherical-polar-improved

Named Arguments

--jitter

Apply local random displacements to points

Default: False

-s, --save-plot

Save resulting plot to given filename