This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from upload_tagged_photos import ImageUploader | |
def TestUploadWiki(): | |
url = "http://clevelandwiki.org/api/" | |
user_name = raw_input("What is your username?") | |
api_key = getpassword("What is your api_key?") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
function [frequency, amplitude] = fast_fourier(time, signal, sample_rate, varargin) | |
% function [frequency, amplitude] = fast_fourier(time, signal, sample_rate, varargin) | |
% | |
% Parameter | |
% ========= | |
% time : double, size: 1 x n | |
% The time vector. | |
% signal : double, size: 1 x n | |
% The signal as a function of time. | |
% sample_rate : double, size 1 x 1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
"""This script makes a plot showing the the difference in filtering a signal | |
with a Butterworth filter if you select the digital cutoff frequency ratio | |
with respect to incorrect Nyquist frequency values. The cutoff frequency for | |
digital filters should be `cutoff/nyquist` where the `cutoff` is the desired | |
cutoff frequency for the filter and `nyquist` is the Nyquist frequency of | |
the data you are filtering, i.e. half the sample rate.""" | |
from numpy import sin, cos, pi, array, absolute, ones, log10, linspace | |
from numpy.random import normal | |
from scipy.signal import butter, freqz, filtfilt |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
moorepants@moorepants-2170p:pydy-code-gen(master)$ ipython | |
Python 2.7.5+ (default, Sep 19 2013, 13:48:49) | |
Type "copyright", "credits" or "license" for more information. | |
IPython 1.1.0 -- An enhanced Interactive Python. | |
? -> Introduction and overview of IPython's features. | |
%quickref -> Quick reference. | |
help -> Python's own help system. | |
object? -> Details about 'object', use 'object??' for extra details. |