Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

numm.getting-started(7) [debian man page]

getting-started(7)						  Numm Tutorials						getting-started(7)

NAME
getting started - numm installation and usage SYNOPSIS
numm-run FILE import numm DESCRIPTION
numm is a python library -- the bastard child of Processing.org and MATLAB, if you will -- that fuses python, numpy, and gstreamer together to create a numerical-computing environment for multimedia generation, analysis, and interaction. Installation A Debian package is provided for ease of installation on Debian and derivative operating systems, such as Ubuntu; we recommend you abandon alternative systems and install Debian, but in the interim direct your attention to virtualization software such as VirtualBox. The following command downloads and installs numm: % wget http://numm.org/numm/releases/python-numm_0.1-1_all.deb % sudo dpkg -i python-numm_0.1-1_all.deb Usage At its simplest, numm provides three pairs of invertable functions that connect common media formats with numpy: Images represented as (height, width, color) numpy.uint8 arrays. o image2np(path) -> np o np2image(np, path) Sounds as (frames, channels) numpy.int16s o sound2np(path) -> np o np2sound(np, path) # XXX: must be .wav Videos as (frames, height, width, color) numpy.uint8s o video2np(path) -> np o np2video(np, path) # XXX: must be .mkv For rapid-prototyping of interactive numpy-based audio-visual experiments, the numm package has a real-time mode. The numm package installs a program named numm-run, which launches (and reloads on modification) python scripts that may implement any subset of the follow- ing functions, which are asynchronously called as needed: o video_in(a) # webcam o video_out(a) # mutate a in-place to set video o audio_in(a) # mic o audio_out(a) # mutate a for audio output o mouse_in(type, px, py, button) o keyboard_in(type, key) SEE ALSO
numm-run(1), numm.one-bit-instrument(7), numm.spectral-analysis(7) numm February 2012 getting-started(7)

Check Out this Related Man Page

UPDATE-PYTHON-MODULES(8)				      System Manager's Manual					  UPDATE-PYTHON-MODULES(8)

NAME
update-python-modules - byte-compile python modules SYNOPSIS
update-python-modules [options] [package.public [...]] DESCRIPTION
The update-python-modules command is part of the python-support bundle. update-python-modules is responsible for the byte-compilation of python modules. When used in byte-compilation mode, it will byte-compile modules references in the files given on the command line. When used in installation mode, it will byte-compile them once for each installed python version, and will make them available for all of them. At each invocation, with or without arguments, update-python-modules will check for installed python versions, and will build or remove modules according to new or removed versions since the last time it was run. ARGUMENTS
Arguments must be files or directories located in the /usr/share/python-support directory. Depending on their extension, they are treated differently. package.public A file listing public modules to install for each version. These modules must lie in /usr/share/pyshared or /usr/lib/pyshared. package.private A file listing private modules to byte-compile for one Python version. package/ A legacy directory hierarchy of public modules. The C extensions and portions that change with the Python version are to be found in /usr/lib/python-support/pythonX.Y/package/. package.dirs A legacy file listing directories where to find private modules. OPTIONS
-h, --help Show summary of options. -v, --verbose Detail all actions while they are performed. -b, --bytecompile Only accept to work on private modules. When given this option, update-python-modules will fail if passed references to public mod- ules. -i, --install Only accept to work on public modules. When given this option, update-python-modules will fail if passed references to public mod- ules. -c, --clean Clean modules instead of installing them. -a, --rebuild-all Rebuild all private modules. This is necessary when the default python version was changed, for example. -f, --force-rebuild-all Clean all modules (public and private), and rebuild them. FILES
/usr/lib/pymodules/pythonX.Y/ These directories contain the byte-compiled modules for version pythonX.Y. SEE ALSO
/usr/share/doc/python-support/README.gz AUTHOR
Josselin Mouette <joss@debian.org>. 18 Feb 2009 UPDATE-PYTHON-MODULES(8)
Man Page