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

DH_PYSUPPORT(1) 						  python-support						   DH_PYSUPPORT(1)

NAME
dh_pysupport - use the python-support framework to handle Python modules SYNOPSIS
dh_pysupport [debhelper options] [-V X.Y] [-X item [...]] [-n] [module dirs ...] DESCRIPTION
dh_pysupport is a debhelper program that will scan your package, detect public modules in /usr/lib/pythonX.Y/site-packages, and move them to the shared Python modules location. It will generate appropriate postinst/prerm scripts to byte-compile modules installed there for all available python versions. It will also look for private Python modules and will byte-compile them with the current Python version. You may have to list the directories containing private Python modules. If a file named debian/pyversions exists, it is used to determine the python versions with which the package can work. Appropriate dependencies on python-support, python and pythonX.Y are put in ${python:Depends}. The ${python:Versions} and ${python:Provides} optional substitution variables are made available as well. OPTIONS
module dirs If your package installs private python modules in non-standard directories, you can make dh_pysupport check those directories by passing their names on the command line. By default, it will check /usr/lib/$PACKAGE, /usr/share/$PACKAGE, /usr/lib/games/$PACKAGE and /usr/share/games/$PACKAGE -n, --noscripts Do not modify postinst/postrm scripts. -d This option is deprecated. -V X.Y Force private modules to be bytecompiled with the specific X.Y python version, regardless of the default python version on the system. -X item, --exclude=item Exclude files that contain "item" anywhere in their filename from being taken into account to generate the python dependency. It also excludes them from byte-compilation. You may use this option multiple times to build up a list of things to exclude. CONFORMS TO
Python policy as of 2006-08-10 SEE ALSO
debhelper(7) This program is a part of python-support but is made to work with debhelper. AUTHORS
Josselin Mouette <joss@debian.org>, Raphael Hertzog <hertzog@debian.org> 1.0.15 2012-06-30 DH_PYSUPPORT(1)
Man Page