This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Classes for frequency warping""" | |
import numpy as np | |
import scipy | |
def create_pl_warping_func(x, srcx, tgtx): | |
"""Creates a piece-wise linear warping function | |
Parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from earlpipeline.backends import base | |
# nipype imports | |
# ... | |
hello_iface=Function(input_names=[], | |
output_names=['out_file'], | |
function=Hello) | |
class HelloUnit(base.GenericUnit): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- matplotlib-1.0.1/src/_png.cpp 2010-10-12 19:14:42.000000000 +0300 | |
+++ matplotlib-1.0.1.patched/src/_png.cpp 2012-04-03 20:27:10.310604265 +0300 | |
@@ -1,3 +1,4 @@ | |
+/* -*- mode: c++; c-basic-offset: 4 -*- */ | |
/* For linux, png.h must be imported before Python.h because | |
png.h needs to be the one to define setjmp. | |
@@ -350,10 +351,10 @@ | |
png_set_sig_bytes(png_ptr, 8); | |
png_read_info(png_ptr, info_ptr); |