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

Positional Arguments

npts
sampling

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

Named Arguments

--jitter

Apply local random displacements to points

Default: False

-s, --save-plot

Save resulting plot to given filename