python-samplerate Documentation

Size: px
Start display at page:

Download "python-samplerate Documentation"

Transcription

1 python-samplerate Documentation Release ga9b5d2a Tino Wagner February 24, 2017

2

3 Contents 1 Installation 3 2 Usage 5 3 See also 7 4 License 9 5 API documentation samplerate module documentation Change Log Change Log Indices and tables 19 Python Module Index 21 i

4 ii

5 This is a wrapper around Erik de Castro Lopo s libsamplerate (aka Secret Rabbit Code) for high-quality sample rate conversion. It implements all three APIs available in libsamplerate: Simple API: for resampling a large chunk of data with a single library call Full API: for obtaining the resampled signal from successive chunks of data Callback API: like Full API, but input samples are provided by a callback function Library calls to libsamplerate are performed using CFFI. Contents 1

6 2 Contents

7 CHAPTER 1 Installation $ pip install samplerate Binaries of libsamplerate for macos and Windows (32 and 64 bit) are included and used if not present on the system. On Linux systems, you should also install libsamplerate0 (Debian derivatives), libsamplerate (Arch), or similar. 3

8 4 Chapter 1. Installation

9 CHAPTER 2 Usage import numpy as np import samplerate # Synthesize data fs = t = np.arange(fs * 2) / fs input_data = np.sin(2 * np.pi * 5 * t) # Simple API ratio = 1.5 converter = 'sinc_best' # or 'sinc_fastest',... output_data_simple = samplerate.resample(input_data, ratio, converter) # Full API resampler = samplerate.resampler(converter, channels=1) output_data_full = resampler.process(input_data, ratio, end_of_input=true) # The result is the same for both APIs. assert np.allclose(output_data_simple, output_data_full) # See `samplerate.callbackresampler` for the Callback API, or # `examples/play_modulation.py` for an example. See samplerate.resample, samplerate.resampler, and samplerate.callbackresampler in the API documentation for details. 5

10 6 Chapter 2. Usage

11 CHAPTER 3 See also scikits.samplerate implements only the Simple API and uses Cython for extern calls. The resample function of scikits.samplerate and this package share the same function signature for compatiblity. resampy: sample rate conversion in Python + Cython. 7

12 8 Chapter 3. See also

13 CHAPTER 4 License This project is licensed under the MIT license. As of version 0.1.9, libsamplerate is licensed under the 2-clause BSD license. 9

14 10 Chapter 4. License

15 CHAPTER 5 API documentation samplerate module documentation samplerate Python bindings for libsamplerate based on CFFI and NumPy Simple API samplerate.resample() See samplerate.converters.resample(). Full API class samplerate.resampler See samplerate.converters.resampler(). Callback API class samplerate.callbackresampler See samplerate.converters.callbackresampler(). Exceptions class samplerate.resamplingerror See samplerate.converters.callbackresampler(). samplerate.converters Sample rate converters Converter types class samplerate.converters.convertertype Enum of samplerate converter types. Pass any of the members, or their string or value representation, as converter_type in the resamplers. linear = <ConverterType.linear: 4> sinc_best = <ConverterType.sinc_best: 0> 11

16 sinc_fastest = <ConverterType.sinc_fastest: 2> sinc_medium = <ConverterType.sinc_medium: 1> zero_order_hold = <ConverterType.zero_order_hold: 3> Sample rate converters Simple samplerate.converters.resample(input_data, ratio, converter_type= sinc_best, verbose=false) Resample the signal in input_data at once. Parameters input_data (ndarray) Input data. A single channel is provided as a 1D array of num_frames length. Input data with several channels is represented as a 2D array of shape (num_frames, num_channels). For use with libsamplerate, input_data is converted to 32-bit float and C (row-major) memory order. ratio (float) Conversion ratio = output sample rate / input sample rate. converter_type (ConverterType, str, or int) Sample rate converter. verbose (bool) If True, print additional information about the conversion. Returns output_data Resampled input data. Return type ndarray Note: If samples are to be processed in chunks, Resampler and CallbackResampler will provide better results and allow for variable conversion ratios. Full API class samplerate.converters.resampler(converter_type= sinc_fastest, channels=1) Resampler. Parameters converter_type (ConverterType, str, or int) Sample rate converter. num_channels (int) Number of channels. channels Number of channels. converter_type Converter type. process(input_data, ratio, end_of_input=false, verbose=false) Resample the signal in input_data. Parameters input_data (ndarray) Input data. A single channel is provided as a 1D array of num_frames length. Input data with several channels is represented as a 2D array of shape (num_frames, num_channels). For use with libsamplerate, input_data is converted to 32- bit float and C (row-major) memory order. 12 Chapter 5. API documentation

17 ratio (float) Conversion ratio = output sample rate / input sample rate. end_of_input (int) Set to True if no more data is available, or to False otherwise. verbose (bool) If True, print additional information about the conversion. Returns output_data Resampled input data. Return type ndarray reset() Reset internal state. set_ratio(new_ratio) Set a new conversion ratio immediately. Callback API class samplerate.converters.callbackresampler(callback, ratio, converter_type= sinc_fastest, channels=1) CallbackResampler. Parameters callback (function) Function that returns new frames on each call, or None otherwise. A single channel is provided as a 1D array of num_frames length. Input data with several channels is represented as a 2D array of shape (num_frames, num_channels). For use with libsamplerate, input_data is converted to 32-bit float and C (row-major) memory order. ratio (float) Conversion ratio = output sample rate / input sample rate. converter_type (ConverterType, str, or int) Sample rate converter. channels (int) Number of channels. ratio Conversion ratio = output sample rate / input sample rate. read(num_frames) Read a number of frames from the resampler. reset() Reset state. Parameters num_frames (int) Number of frames to read. Returns output_data Resampled frames as a (num_output_frames, num_channels) or (num_output_frames,) array. Note that this may return fewer frames than requested, for example when no more input is available. Return type ndarray set_starting_ratio(ratio) Set the starting conversion ratio for the next read call. samplerate.exceptions Sample rate exceptions class samplerate.exceptions.resamplingerror(error) Runtime exception of libsamplerate 5.1. samplerate module documentation 13

18 samplerate.lowlevel Lowlevel wrappers around libsamplerate Lowlevel wrappers around libsamplerate. The docstrings of the src_* functions are adapted from the libsamplerate header file. samplerate.lowlevel.src_callback_new(callback, converter_type, channels) Initialisation for the callback based API. Parameters Returns callback (function) Called whenever new frames are to be read. Must return a NumPy array of shape (num_frames, channels). converter_type (int) Converter to be used. channels (int) Number of channels. state An anonymous pointer to the internal state of the converter. handle A CFFI handle to the callback data. error (int) Error code. samplerate.lowlevel.src_callback_read(state, ratio, frames, data) Read up to frames worth of data using the callback API. Returns frames Number of frames read or -1 on error. Return type int samplerate.lowlevel.src_delete(state) Release state. Cleanup all internal allocations. samplerate.lowlevel.src_error(state) Return an error number. samplerate.lowlevel.src_get_description(converter_type) Return the description of the converter given by converter_type. samplerate.lowlevel.src_get_name(converter_type) Return the name of the converter given by converter_type. samplerate.lowlevel.src_get_version() Return the version string of libsamplerate. samplerate.lowlevel.src_is_valid_ratio(ratio) Return True if ratio is a valid conversion ratio, False otherwise. samplerate.lowlevel.src_new(converter_type, channels) Initialise a new sample rate converter. Parameters Returns converter_type (int) Converter to be used. channels (int) Number of channels. state An anonymous pointer to the internal state of the converter. error (int) Error code. 14 Chapter 5. API documentation

19 samplerate.lowlevel.src_process(state, input_data, output_data, ratio, end_of_input=0) Standard processing function. Returns non zero on error. samplerate.lowlevel.src_reset(state) Reset the internal SRC state. Does not modify the quality settings. Does not free any memory allocations. Returns non zero on error. samplerate.lowlevel.src_set_ratio(state, new_ratio) Set a new SRC ratio. This allows step responses in the conversion ratio. Returns non zero on error. samplerate.lowlevel.src_simple(input_data, output_data, ratio, converter_type, channels) Perform a single conversion from an input buffer to an output buffer. Simple interface for performing a single conversion from input buffer to output buffer at a fixed conversion ratio. Simple interface does not require initialisation as it can only operate on a single buffer worth of audio. samplerate.lowlevel.src_strerror(error) Convert the error number into a string samplerate module documentation 15

20 16 Chapter 5. API documentation

21 CHAPTER 6 Change Log Change Log Initial release. 17

22 18 Chapter 6. Change Log

23 CHAPTER 7 Indices and tables genindex modindex search 19

24 20 Chapter 7. Indices and tables

25 Python Module Index s samplerate, 11 samplerate.converters, 11 samplerate.exceptions, 13 samplerate.lowlevel, 14 21

26 22 Python Module Index

27 Index C CallbackResampler (class in samplerate.converters), 13 channels (samplerate.converters.resampler attribute), 12 converter_type (samplerate.converters.resampler attribute), 12 ConverterType (class in samplerate.converters), 11 L linear (samplerate.converters.convertertype attribute), 11 P process() (samplerate.converters.resampler method), 12 R ratio (samplerate.converters.callbackresampler attribute), 13 read() (samplerate.converters.callbackresampler method), 13 resample() (in module samplerate.converters), 12 Resampler (class in samplerate.converters), 12 ResamplingError (class in samplerate.exceptions), 13 reset() (samplerate.converters.callbackresampler method), 13 reset() (samplerate.converters.resampler method), 13 S samplerate (module), 11 samplerate.callbackresampler (class in samplerate), 11 samplerate.converters (module), 11 samplerate.exceptions (module), 13 samplerate.lowlevel (module), 14 samplerate.resample() (in module samplerate), 11 samplerate.resampler (class in samplerate), 11 samplerate.resamplingerror (class in samplerate), 11 set_ratio() (samplerate.converters.resampler method), 13 set_starting_ratio() (samplerate.converters.callbackresampler method), 13 sinc_best (samplerate.converters.convertertype attribute), 11 sinc_fastest (samplerate.converters.convertertype attribute), 11 sinc_medium (samplerate.converters.convertertype attribute), 12 src_callback_new() (in module samplerate.lowlevel), 14 src_callback_read() (in module samplerate.lowlevel), 14 src_delete() (in module samplerate.lowlevel), 14 src_error() (in module samplerate.lowlevel), 14 src_get_description() (in module samplerate.lowlevel), 14 src_get_name() (in module samplerate.lowlevel), 14 src_get_version() (in module samplerate.lowlevel), 14 src_is_valid_ratio() (in module samplerate.lowlevel), 14 src_new() (in module samplerate.lowlevel), 14 src_process() (in module samplerate.lowlevel), 14 src_reset() (in module samplerate.lowlevel), 15 src_set_ratio() (in module samplerate.lowlevel), 15 src_simple() (in module samplerate.lowlevel), 15 src_strerror() (in module samplerate.lowlevel), 15 Z zero_order_hold (samplerate.converters.convertertype attribute), 12 23

prompt Documentation Release Stefan Fischer

prompt Documentation Release Stefan Fischer prompt Documentation Release 0.4.1 Stefan Fischer Nov 14, 2017 Contents: 1 Examples 1 2 API 3 3 Indices and tables 7 Python Module Index 9 i ii CHAPTER 1 Examples 1. Ask for a floating point number: >>>

More information

PySoundFile Documentation Release 0.6.0

PySoundFile Documentation Release 0.6.0 PySoundFile Documentation Release 0.6.0 Bastian Bechtold, Matthias Geier January 30, 2015 Contents 1 Breaking Changes 1 2 Installation 1 3 Read/Write Functions 2 4 Block Processing 2 5 SoundFile Objects

More information

python-lz4 Documentation

python-lz4 Documentation python-lz4 Documentation Release 2.0.2.dev12+gf16962a Jonathan Underwood Jul 31, 2018 Contents 1 Contents 1 1.1 Introduction............................................... 1 1.2 Install...................................................

More information

PySoundFile Documentation Release g8f1fecc

PySoundFile Documentation Release g8f1fecc PySoundFile Documentation Release 0.9.0-24-g8f1fecc Bastian Bechtold, Matthias Geier Aug 23, 2017 Contents 1 Breaking Changes 1 2 Installation 1 3 Read/Write Functions 2 4 Block Processing 2 5 SoundFile

More information

picrawler Documentation

picrawler Documentation picrawler Documentation Release 0.1.1 Ikuya Yamada October 07, 2013 CONTENTS 1 Installation 3 2 Getting Started 5 2.1 PiCloud Setup.............................................. 5 2.2 Basic Usage...............................................

More information

WordEmbeddingLoader Documentation

WordEmbeddingLoader Documentation WordEmbeddingLoader Documentation Release 0.2.0 Yuta Koreeda Aug 14, 2017 Modules 1 Issues with encoding 3 2 Development 5 3 CHANGELOG 7 3.1 v0.2.................................................... 7

More information

tolerance Documentation

tolerance Documentation tolerance Documentation Release Alisue Apr 1, 217 Contents 1 tolerance 1 1.1 Features.................................................. 1 1.2 Installation................................................

More information

imread Documentation Release 0.6 Luis Pedro Coelho

imread Documentation Release 0.6 Luis Pedro Coelho imread Documentation Release 0.6 Luis Pedro Coelho Sep 27, 2017 Contents 1 Citation 3 1.1 INSTALL................................................. 3 1.2 Bug Reports...............................................

More information

python-twitch-stream Documentation

python-twitch-stream Documentation python-twitch-stream Documentation Release 0.0.dev1 Jonas Degrave October 26, 2017 Contents 1 Installation 3 2 Support 5 3 Contents 7 3.1 twitchstream.chat........................................ 7 3.2

More information

edeposit.amqp.antivirus Release 1.0.1

edeposit.amqp.antivirus Release 1.0.1 edeposit.amqp.antivirus Release 1.0.1 February 05, 2015 Contents 1 Installation 3 1.1 Initialization............................................... 3 2 Usage 5 3 Content 7 3.1 Standalone script.............................................

More information

bottle-rest Release 0.5.0

bottle-rest Release 0.5.0 bottle-rest Release 0.5.0 February 18, 2017 Contents 1 API documentation 3 1.1 bottle_rest submodule.......................................... 3 2 What is it 5 2.1 REST in bottle..............................................

More information

NiFpga Example Documentation

NiFpga Example Documentation NiFpga Example Documentation Release 18.0.0 National Instruments Apr 03, 2018 User Documentation 1 About 3 2 Bugs / Feature Requests 5 2.1 Information to Include When Asking For Help.............................

More information

TPS Documentation. Release Thomas Roten

TPS Documentation. Release Thomas Roten TPS Documentation Release 0.1.0 Thomas Roten Sep 27, 2017 Contents 1 TPS: TargetProcess in Python! 3 2 Installation 5 3 Contributing 7 3.1 Types of Contributions..........................................

More information

PyDREAM Documentation

PyDREAM Documentation PyDREAM Documentation Release 1.0 Erin Shockley Feb 24, 2018 Contents 1 Installing PyDREAM 3 1.1 Requirements............................................... 3 2 pydream package 5 2.1 pydream.dream module.........................................

More information

pyeemd Documentation Release Perttu Luukko

pyeemd Documentation Release Perttu Luukko pyeemd Documentation Release 1.3.1 Perttu Luukko August 10, 2016 Contents 1 Contents: 3 1.1 Installing pyeemd............................................ 3 1.2 Tutorial..................................................

More information

UM1641 User manual. Sampling rate conversion SRC236 library software expansion for STM32Cube. Introduction

UM1641 User manual. Sampling rate conversion SRC236 library software expansion for STM32Cube. Introduction UM1641 User manual Sampling rate conversion SRC236 library software expansion for STM32Cube Introduction The sampling rate conversion SRC236 library user manual describes the software interface and requirements

More information

Avpy Documentation. Release sydh

Avpy Documentation. Release sydh Avpy Documentation Release 0.1.3 sydh May 01, 2016 Contents 1 Overview 1 2 Getting Help 3 3 Issues 5 4 Changes 7 5 Contributions 9 6 Indices and tables 11 6.1 Examples.................................................

More information

PyEFD Documentation. Release 1.0. Henrik Blidh

PyEFD Documentation. Release 1.0. Henrik Blidh PyEFD Documentation Release 1.0 Henrik Blidh Jun 13, 2018 Contents 1 Installation 3 2 Usage 5 2.1 General usage examples......................................... 5 2.2 OpenCV example............................................

More information

edeposit.amqp.calibre Release 1.1.4

edeposit.amqp.calibre Release 1.1.4 edeposit.amqp.calibre Release 1.1.4 August 17, 2015 Contents 1 Installation 3 2 API 5 2.1 Data structures.............................................. 5 2.2 Calibre package.............................................

More information

span Documentation Release 0.2 Phillip Cloud

span Documentation Release 0.2 Phillip Cloud span Documentation Release 0.2 Phillip Cloud August 30, 2013 CONTENTS 1 Introduction 3 1.1 Name......................................... 3 1.2 Motivation...................................... 3 1.3 Disclaimer......................................

More information

nptdms Documentation Release Adam Reeve

nptdms Documentation Release Adam Reeve nptdms Documentation Release 0.11.4 Adam Reeve Dec 01, 2017 Contents 1 Contents 3 1.1 Installation and Quick Start....................................... 3 1.2 Reading TDMS files...........................................

More information

PyTables. An on- disk binary data container. Francesc Alted. May 9 th 2012, Aus=n Python meetup

PyTables. An on- disk binary data container. Francesc Alted. May 9 th 2012, Aus=n Python meetup PyTables An on- disk binary data container Francesc Alted May 9 th 2012, Aus=n Python meetup Overview What PyTables is? Data structures in PyTables The one million song dataset Advanced capabili=es in

More information

Mixed Python/C programming with Cython September /14. Mixed Python/C programming with Cython Ben Dudson, 22nd September 2017

Mixed Python/C programming with Cython September /14. Mixed Python/C programming with Cython Ben Dudson, 22nd September 2017 Mixed Python/C programming with Cython September 2017 1/14 Mixed Python/C programming with Cython Ben Dudson, 22nd September 2017 Mixed Python/C programming with Cython September 2017 2/14 Cython http://cython.org/

More information

When.py Documentation

When.py Documentation When.py Documentation Release 0.4.0 Andy Dirnberger February 27, 2016 Contents 1 Usage 3 2 A note about future and past 9 3 Indices and tables 11 Python Module Index 13 i ii When.py provides user-friendly

More information

Python Finite State Machine. Release 0.1.5

Python Finite State Machine. Release 0.1.5 Python Finite State Machine Release 0.1.5 Sep 15, 2017 Contents 1 Overview 1 1.1 Installation................................................ 1 1.2 Documentation..............................................

More information

Mutation Testing in Patterns Documentation

Mutation Testing in Patterns Documentation Mutation Testing in Patterns Documentation Release 1.0 Alexander Todorov Aug 18, 2016 Contents 1 Make sure your tools work 3 2 Make sure your tests work 5 3 Divide and conquer 7 4 Fail fast 9 5 Python:

More information

obfuscator Documentation

obfuscator Documentation obfuscator Documentation Release 1.1.5 Timothy McFadden July 17, 2015 Contents 1 Introduction 3 2 Install 5 3 Usage 7 4 Auto Generated API Documentation 9 4.1 obfuscator.file..............................................

More information

cursesmenu Documentation

cursesmenu Documentation cursesmenu Documentation Release 0.5.0 Author March 04, 2016 Contents 1 Installation 3 2 Usage 5 2.1 Getting a selection............................................ 6 3 API Reference 7 3.1 CursesMenu

More information

JACK Audio Connection Kit (JACK) Client for Python Release 0.2.0

JACK Audio Connection Kit (JACK) Client for Python Release 0.2.0 JACK Audio Connection Kit (JACK) Client for Python Release 0.2.0 Matthias Geier June 11, 2015 Contents 1 Requirements 1 2 Installation 2 3 Usage 2 4 API Documentation 3 5 Version History 17 This Python

More information

xtensor-io Sep 20, 2018

xtensor-io Sep 20, 2018 Sep 20, 2018 INSTALLATION 1 Enabling xtensor-io in your C++ libraries 3 2 Licensing 5 2.1 Installation................................................ 5 2.2 Basic Usage...............................................

More information

Cuckoo Monitor Documentation

Cuckoo Monitor Documentation Cuckoo Monitor Documentation Release 1.3 Jurriaan Bremer Oct 03, 2017 Contents 1 Requirements 3 2 Required packages 5 3 Compilation 7 4 Components 9 4.1 C Framework...............................................

More information

python-crfsuite Documentation

python-crfsuite Documentation python-crfsuite Documentation Release 0.4 Terry Peng, Mikhail Korobov May 28, 2014 Contents 1 Installation 3 2 Usage 5 2.1 API Reference.............................................. 5 3 Indices and tables

More information

CSC Advanced Scientific Computing, Fall Numpy

CSC Advanced Scientific Computing, Fall Numpy CSC 223 - Advanced Scientific Computing, Fall 2017 Numpy Numpy Numpy (Numerical Python) provides an interface, called an array, to operate on dense data buffers. Numpy arrays are at the core of most Python

More information

Python Working with files. May 4, 2017

Python Working with files. May 4, 2017 Python Working with files May 4, 2017 So far, everything we have done in Python was using in-memory operations. After closing the Python interpreter or after the script was done, all our input and output

More information

fixnc Documentation Release Nikolay Koldunov

fixnc Documentation Release Nikolay Koldunov fixnc Documentation Release 0.0.1 Nikolay Koldunov Sep 23, 2016 Contents 1 Quick start: 3 2 Documentation 5 2.1 Installation................................................ 5 2.1.1 Required dependencies.....................................

More information

NI-XNET Python API Documentation

NI-XNET Python API Documentation NI-XNET Python API Documentation Release 0.3.0 National Instruments Oct 08, 2018 Table of Contents: 1 Quick Start 3 2 Resources 5 2.1 Product Support............................................. 5 2.2

More information

C++: Const Function Overloading Constructors and Destructors Enumerations Assertions

C++: Const Function Overloading Constructors and Destructors Enumerations Assertions C++: Const Function Overloading Constructors and Destructors Enumerations Assertions Const const float pi=3.14159; const int* pheight; // defines pointer to // constant int value cannot be changed // pointer

More information

streamio Documentation

streamio Documentation streamio Documentation Release 0.1.0.dev James Mills April 17, 2014 Contents 1 About 3 1.1 Examples................................................. 3 1.2 Requirements...............................................

More information

PyTables. An on- disk binary data container, query engine and computa:onal kernel. Francesc Alted

PyTables. An on- disk binary data container, query engine and computa:onal kernel. Francesc Alted PyTables An on- disk binary data container, query engine and computa:onal kernel Francesc Alted Tutorial for the PyData Conference, October 2012, New York City 10 th anniversary of PyTables Hi!, PyTables

More information

Implicit Documentation

Implicit Documentation Implicit Documentation Release 0.3.6 Ben Frederickson Jun 26, 2018 Contents: 1 Implicit 3 1.1 Installation................................................ 3 1.2 Basic Usage...............................................

More information

python-docker-machine Documentation

python-docker-machine Documentation python-docker-machine Documentation Release 0.2.4 Gijs Molenaar Aug 25, 2017 Contents 1 Introduction 3 2 installation 5 3 Usage 7 4 Indices and tables 11 Python Module Index 13 i ii python-docker-machine

More information

PyZabbixObj Documentation

PyZabbixObj Documentation PyZabbixObj Documentation Release 0.1 Fabio Toscano Aug 26, 2017 Contents Python Module Index 3 i ii PyZabbixObj Documentation, Release 0.1 PyZabbixObj is a Python module for working with Zabbix API,

More information

TelFit Documentation. Release Kevin Gullikson

TelFit Documentation. Release Kevin Gullikson TelFit Documentation Release 1.3.0 Kevin Gullikson June 23, 2015 Contents 1 Introduction to Telluric Modeling with TelFit 3 2 Installation 5 3 TelFit Tutorial 7 3.1 Generating a Telluric Model with TelFit.................................

More information

The NumPy Array: A Structure for Efficient Numerical Computation

The NumPy Array: A Structure for Efficient Numerical Computation The NumPy Array: A Structure for Efficient Numerical Computation Presented at the G-Node Autumn School on Advanced Scientific Programming in Python, held in Kiel, Germany Stéfan van der Walt UC Berkeley

More information

PyWin32ctypes Documentation

PyWin32ctypes Documentation PyWin32ctypes Documentation Release 0.1.3.dev1 David Cournapeau, Ioannis Tziakos Sep 01, 2017 Contents 1 Usage 3 2 Development setup 5 3 Reference 7 3.1 PyWin32 Compatibility Layer......................................

More information

pvextractor Documentation

pvextractor Documentation pvextractor Documentation Release 0.0.dev289 Adam Ginsburg and Thomas Robitaille Sep 12, 2017 Contents I Extracting slices programmatically 3 1 Defining a path 5 2 Extracting a slice 7 3 Saving the slice

More information

Type Checking. Prof. James L. Frankel Harvard University

Type Checking. Prof. James L. Frankel Harvard University Type Checking Prof. James L. Frankel Harvard University Version of 7:10 PM 27-Feb-2018 Copyright 2018, 2016, 2015 James L. Frankel. All rights reserved. C Types C Types Type Category Type Category Type

More information

Interfacing With Other Programming Languages Using Cython

Interfacing With Other Programming Languages Using Cython Lab 19 Interfacing With Other Programming Languages Using Cython Lab Objective: Learn to interface with object files using Cython. This lab should be worked through on a machine that has already been configured

More information

json2xls Documentation

json2xls Documentation json2xls Documentation Release 0.1.3c axiaoxin Aug 10, 2017 Contents 1 3 2 5 3 API 9 i ii json2xls Documentation, Release 0.1.3c jsonexceljsonexceljson jsonjsonurljsonjson Contents 1 json2xls Documentation,

More information

Python Release September 11, 2014

Python Release September 11, 2014 Python Release September 11, 2014 Contents 1 Overview 3 2 History 5 3 Changes 7 4 API 9 4.1 Basic usage................................................ 9 4.2 Exceptions................................................

More information

elastique efficient time stretching SDK by zplane.development (c) 2017 zplane.development GmbH & Co. KG

elastique efficient time stretching SDK by zplane.development (c) 2017 zplane.development GmbH & Co. KG elastique efficient time stretching SDK by zplane.development (c) 2017 zplane.development GmbH & Co. KG May 23, 2017 Contents 1 elastique Efficient 3.x Documentation 2 1.1 Introduction...............................

More information

TONART by zplane.development (c) 2018 zplane.development GmbH & Co. KG

TONART by zplane.development (c) 2018 zplane.development GmbH & Co. KG TONART 3.0.3 by zplane.development (c) 2018 zplane.development GmbH & Co. KG February 13, 2018 Contents 1 TONART key detection SDK Documentation 2 1.1 Introduction............................... 2 1.2

More information

dota2api Documentation

dota2api Documentation dota2api Documentation Release 1 Joshua Duffy March 04, 2015 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Tutorial..................................................

More information

certbot-dns-rfc2136 Documentation

certbot-dns-rfc2136 Documentation certbot-dns-rfc2136 Documentation Release 0 Certbot Project Aug 29, 2018 Contents: 1 Named Arguments 3 2 Credentials 5 2.1 Sample BIND configuration....................................... 6 3 Examples

More information

iris-grib Documentation

iris-grib Documentation iris-grib Documentation Release 0.9.0 Met Office August 12, 2016 Contents 1 Loading 3 2 Saving 5 3 Indices and tables 7 3.1 iris_grib.................................................. 7 3.2 iris_grib.message.............................................

More information

Numba: A Compiler for Python Functions

Numba: A Compiler for Python Functions Numba: A Compiler for Python Functions Stan Seibert Director of Community Innovation @ Anaconda My Background 2008: Ph.D. on the Sudbury Neutrino Observatory 2008-2013: Postdoc working on SNO, SNO+, LBNE

More information

BanzaiDB Documentation

BanzaiDB Documentation BanzaiDB Documentation Release 0.3.0 Mitchell Stanton-Cook Jul 19, 2017 Contents 1 BanzaiDB documentation contents 3 2 Indices and tables 11 i ii BanzaiDB is a tool for pairing Microbial Genomics Next

More information

python-hologram-api Documentation

python-hologram-api Documentation python-hologram-api Documentation Release 0.1.6 Victor Yap Oct 27, 2017 Contents 1 python-hologram-api 3 1.1 Installation................................................ 3 1.2 Documentation..............................................

More information

C - extensions. only a small part of application benefits from compiled code

C - extensions. only a small part of application benefits from compiled code C - EXTENSIONS C - extensions Some times there are time critical parts of code which would benefit from compiled language 90/10 rule: 90 % of time is spent in 10 % of code only a small part of application

More information

Django Map Widgets Documentation

Django Map Widgets Documentation Django Map Widgets Documentation Release 0.1.8 Erdem Ozkol Mar 06, 2017 Contents 1 Achievements 3 1.1 Index................................................... 3 2 Indices and tables 11 i ii Configurable,

More information

Bitdock. Release 0.1.0

Bitdock. Release 0.1.0 Bitdock Release 0.1.0 August 07, 2014 Contents 1 Installation 3 1.1 Building from source........................................... 3 1.2 Dependencies............................................... 3

More information

goose3 Documentation Release maintainers

goose3 Documentation Release maintainers goose3 Documentation Release 3.1.6 maintainers Oct 20, 2018 Contents: 1 Goose3 API 1 1.1 Goose3.................................................. 1 1.2 Configuration...............................................

More information

HyDe Documentation. Release 0.4.1a. Paul Blischak and Laura Kubatko

HyDe Documentation. Release 0.4.1a. Paul Blischak and Laura Kubatko HyDe Documentation Release 041a Paul Blischak and Laura Kubatko Apr 16, 2018 Contents 1 Getting help 3 2 Features 5 3 Documentation 7 4 Indices and tables 19 i ii HyDe Documentation, Release 041a HyDe

More information

PyOTP Documentation. Release PyOTP contributors

PyOTP Documentation. Release PyOTP contributors PyOTP Documentation Release 0.0.1 PyOTP contributors Jun 10, 2017 Contents 1 Quick overview of using One Time Passwords on your phone 3 2 Installation 5 3 Usage 7 3.1 Time-based OTPs............................................

More information

Python wrapper for Viscosity.app Documentation

Python wrapper for Viscosity.app Documentation Python wrapper for Viscosity.app Documentation Release Paul Kremer March 08, 2014 Contents 1 Python wrapper for Viscosity.app 3 1.1 Features.................................................. 3 2 Installation

More information

gpib-ctypes Documentation

gpib-ctypes Documentation gpib-ctypes Documentation Release 0.1.0dev Tomislav Ivek Apr 08, 2018 Contents 1 gpib-ctypes 3 1.1 Features.................................................. 3 1.2 Testing..................................................

More information

Django-CSP Documentation

Django-CSP Documentation Django-CSP Documentation Release 3.0 James Socol, Mozilla September 06, 2016 Contents 1 Installing django-csp 3 2 Configuring django-csp 5 2.1 Policy Settings..............................................

More information

pysox Documentation Release 0.1 Rachel Bittner

pysox Documentation Release 0.1 Rachel Bittner pysox Documentation Release 0.1 Rachel Bittner Apr 16, 2017 Contents 1 Examples 1 1.1 Transformer Example.......................................... 1 1.2 Combiner Example............................................

More information

RETUNE by zplane.development (c) 2018 zplane.development GmbH & Co. KG

RETUNE by zplane.development (c) 2018 zplane.development GmbH & Co. KG RETUNE 1.0.4 by zplane.development (c) 2018 zplane.development GmbH & Co. KG February 9, 2018 Contents 1 retune Documentation 2 1.1 Introduction............................... 2 1.2 API Documentation...........................

More information

Ensure Documentation. Release Andrey Kislyuk

Ensure Documentation. Release Andrey Kislyuk Ensure Documentation Release 0.0.1 Andrey Kislyuk Nov 06, 2018 Contents 1 Installation 3 2 Synopsis 5 2.1 Notes................................................... 5 2.2 Raising custom exceptions........................................

More information

NumPy quick reference

NumPy quick reference John W. Shipman 2016-05-30 12:28 Abstract A guide to the more common functions of NumPy, a numerical computation module for the Python programming language. This publication is available in Web form1 and

More information

python-snap7 Documentation

python-snap7 Documentation python-snap7 Documentation Release 0.5 Gijs Molenaar, Stephan Preeker February 12, 2017 Contents 1 Introduction 3 2 Installation 5 2.1 Snap7................................................... 5 2.2 snap7-python...............................................

More information

Python-Tempo Documentation

Python-Tempo Documentation Python-Tempo Documentation Release 0.1.0 Andrew Pashkin October 25, 2015 Contents 1 Links 3 2 Features 5 3 Quick example 7 4 Schedule model 9 4.1 Example.................................................

More information

[auftakt] V3 Reference Manual. Tim Flohrer (c) 2010 by zplane.development

[auftakt] V3 Reference Manual. Tim Flohrer (c) 2010 by zplane.development [auftakt] V3 Reference Manual Tim Flohrer (c) 2010 by zplane.development January 6, 2010 CONTENTS i Contents 1 [auftakt] V3 Tempo and Beat Tracking SDK Documentation 2 1.1 Introduction...............................

More information

petfinder-api Documentation

petfinder-api Documentation petfinder-api Documentation Release 0.1 Greg Taylor Jun 01, 2017 Contents 1 Assorted Info 3 2 User Guide 5 2.1 Installation................................................ 5 2.1.1 Distribute & Pip.........................................

More information

pytest-benchmark Release 2.5.0

pytest-benchmark Release 2.5.0 pytest-benchmark Release 2.5.0 September 13, 2015 Contents 1 Overview 3 1.1 pytest-benchmark............................................ 3 2 Installation 7 3 Usage 9 4 Reference 11 4.1 pytest_benchmark............................................

More information

maya-cmds-help Documentation

maya-cmds-help Documentation maya-cmds-help Documentation Release Andres Weber May 28, 2017 Contents 1 1.1 Synopsis 3 1.1 1.1.1 Features.............................................. 3 2 1.2 Installation 5 2.1 1.2.1 Windows, etc............................................

More information

python-unrar Documentation

python-unrar Documentation python-unrar Documentation Release 0.3 Matias Bordese August 18, 2016 Contents 1 rarfile Work with RAR archives 3 1.1 RarFile Objects.............................................. 3 1.2 RarInfo Objects.............................................

More information

QUIZ. 1. Explain the meaning of the angle brackets in the declaration of v below:

QUIZ. 1. Explain the meaning of the angle brackets in the declaration of v below: QUIZ 1. Explain the meaning of the angle brackets in the declaration of v below: This is a template, used for generic programming! QUIZ 2. Why is the vector class called a container? 3. Explain how the

More information

Lazarus Documentation

Lazarus Documentation Lazarus Documentation Release 0.6.3 Lazarus Authors December 09, 2014 Contents 1 Lazarus 3 1.1 Features.................................................. 3 1.2 Examples.................................................

More information

Problem Based Learning 2018

Problem Based Learning 2018 Problem Based Learning 2018 Introduction to Machine Learning with Python L. Richter Department of Computer Science Technische Universität München Monday, Jun 25th L. Richter PBL 18 1 / 21 Overview 1 2

More information

dicompyler-core Documentation

dicompyler-core Documentation dicompyler-core Documentation Release 0.5.3 Aditya Panchal Nov 08, 2017 Contents 1 dicompyler-core 3 1.1 Other information............................................ 3 1.2 Dependencies...............................................

More information

RawSocketPy Documentation

RawSocketPy Documentation RawSocketPy Documentation Release 1.2.1 Alexis Paques Nov 15, 2018 Contents: 1 Installation 1 2 Quicktest 3 3 API 5 4 Low level socket 11 5 Make it a server 13 6 Go asynchronous 15 7 Indices and tables

More information

Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Programming in C++ Indian Institute of Technology, Kharagpur

Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Programming in C++ Indian Institute of Technology, Kharagpur Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Programming in C++ Indian Institute of Technology, Kharagpur Lecture 14 Default Parameters and Function Overloading

More information

PRESENTED BY: SANTOSH SANGUMANI & SHARAN NARANG

PRESENTED BY: SANTOSH SANGUMANI & SHARAN NARANG PRESENTED BY: SANTOSH SANGUMANI & SHARAN NARANG Table of contents Introduction Binary Disassembly Return Address Defense Prototype Implementation Experimental Results Conclusion Buffer Over2low Attacks

More information

pylog Documentation Release nir0s

pylog Documentation Release nir0s pylog Documentation Release 0.1.4 nir0s August 03, 2014 Contents 1 Quick Start 3 2 Installation 5 3 CLI 7 4 Configuration 9 5 Advanced Configuration 11 6 Formatters 13 7 Transports 15 8 API 17 9 Indices

More information

helper Documentation Release Gavin M. Roy

helper Documentation Release Gavin M. Roy helper Documentation Release 2.1.0 Gavin M. Roy September 24, 2013 CONTENTS i ii helper is a command-line/daemon application wrapper package with the aim of creating a consistent and fast way to creating

More information

OpenCL Overview Benedict R. Gaster, AMD

OpenCL Overview Benedict R. Gaster, AMD Copyright Khronos Group, 2011 - Page 1 OpenCL Overview Benedict R. Gaster, AMD March 2010 The BIG Idea behind OpenCL OpenCL execution model - Define N-dimensional computation domain - Execute a kernel

More information

sainsmart Documentation

sainsmart Documentation sainsmart Documentation Release 0.3.1 Victor Yap Jun 21, 2017 Contents 1 sainsmart 3 1.1 Install................................................... 3 1.2 Usage...................................................

More information

pybtsync Documentation

pybtsync Documentation pybtsync Documentation Release 0.0.1 Tiago Macarios December 04, 2014 Contents 1 Tutorial and Walkthrough 3 1.1 Getting Started.............................................. 3 2 pybtsync module classes

More information

Microlab Instruments Documentation

Microlab Instruments Documentation Microlab Instruments Documentation Release 0.1.0 Kristofer Monisit May 19, 2016 Contents 1 Quick start 1 2 Contents 3 2.1 Microlab Instruments........................................... 3 2.1.1 Features.............................................

More information

Platypus Analytics Documentation

Platypus Analytics Documentation Platypus Analytics Documentation Release 0.1.0 Platypus LLC December 24, 2015 Contents 1 platypus package 3 1.1 Subpackages............................................... 3 1.2 Module contents.............................................

More information

22c:111 Programming Language Concepts. Fall Types I

22c:111 Programming Language Concepts. Fall Types I 22c:111 Programming Language Concepts Fall 2008 Types I Copyright 2007-08, The McGraw-Hill Company and Cesare Tinelli. These notes were originally developed by Allen Tucker, Robert Noonan and modified

More information

Orange Documentation. Release 3.0. Biolab

Orange Documentation. Release 3.0. Biolab Orange Documentation Release 3.0 Biolab November 10, 2014 Contents 1 Data model (data) 1 1.1 Data Storage (storage)........................................ 1 1.2 Data Table (table)...........................................

More information

notify2 Documentation

notify2 Documentation notify2 Documentation Release 0.3 Thomas Kluyver Nov 13, 2017 Contents 1 License and Contributors 3 2 Creating and showing notifications 5 3 Extra parameters 7 4 Callbacks 9 5 Constants 11 6 Indices and

More information

PyROOT Automatic Python bindings for ROOT. Enric Tejedor, Stefan Wunsch, Guilherme Amadio for the ROOT team ROOT. Data Analysis Framework

PyROOT Automatic Python bindings for ROOT. Enric Tejedor, Stefan Wunsch, Guilherme Amadio for the ROOT team ROOT. Data Analysis Framework PyROOT Automatic Python bindings for ROOT Enric Tejedor, Stefan Wunsch, Guilherme Amadio for the ROOT team PyHEP 2018 Sofia, Bulgaria ROOT Data Analysis Framework https://root.cern Outline Introduction:

More information

Airence C Library v1.2 for Windows

Airence C Library v1.2 for Windows Airence C Library v1.2 for Windows Let the Airence control your Radio Automation Software! Document Version 1.2-2014-09-16 D&R Electronica Weesp BV Rijnkade 15B 1382GS Weesp The Netherlands Phone: +31

More information

Data Science with Python Course Catalog

Data Science with Python Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com Table of Contents Syllabus Overview

More information

Django QR Code Documentation

Django QR Code Documentation Django QR Code Documentation Release 0.3.3 Philippe Docourt Nov 12, 2017 Contents: 1 Django QR Code 1 1.1 Installation................................................ 1 1.2 Usage...................................................

More information

Creating New Neuron Models for SpiNNaker

Creating New Neuron Models for SpiNNaker Introduction Creating New Neuron Models for SpiNNaker This manual will guide you in the creation of new neuron models to be run on SpiNNaker. This includes the C code that will be compiled to run on the

More information