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
A 3D plot, showing 100 points distributed on the surface of a sphere, according to the golden sphere sampling approach

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
                              {spherical-polar-improved,random-sphere,spherical-polar-grid,golden-square,regular-square,golden-sphere,sphere-from-square-grid}

Positional Arguments

npts
sampling

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

Named Arguments

--jitter

Apply local random displacements to points

Default: False

-s, --save-plot

Save resulting plot to given filename