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 | |
import argparse | |
from gemstat.matrix import * | |
import sys | |
import scipy as S | |
parser = argparse.ArgumentParser() |
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 | |
import BeautifulSoup as BS | |
import argparse | |
parser = argparse.ArgumentParser() | |
args, other = parser.parse_known_args() |
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
# coding: utf-8 | |
# In[1]: | |
get_ipython().magic(u'matplotlib inline') | |
# In[2]: |
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
/* Copyright (c) 2011, Peter Barrett | |
** | |
** Permission to use, copy, modify, and/or distribute this software for | |
** any purpose with or without fee is hereby granted, provided that the | |
** above copyright notice and this permission notice appear in all copies. | |
** | |
** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL | |
** WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED | |
** WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR |
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
window = (500,500) | |
mwindow = ((-1,1),(-1,1)) | |
size(window[0],window[1]) | |
pinf = float("inf") | |
ninf = float("-inf") | |
def isBad(x): | |
return x != x or x == pinf or x == ninf | |
def inMend(z,c): |
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
import scipy as S | |
import pylab | |
#My Cheap Telescope | |
APPERTURE = 0.114 | |
FOCAL_LENGTH= 0.910 | |
#http://en.wikipedia.org/wiki/Visible_spectrum | |
min_visible = 380e-9 |
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
require "formula" | |
# Documentation: https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook | |
# /usr/local/Library/Contributions/example-formula.rb | |
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | |
class Xephem < Formula | |
homepage "" | |
url "http://97.74.56.125/free/xephem-3.7.6.tar.gz" | |
sha1 "2b07e05b7ea1fe72f5f52983a15b34c7f7b2d75b" |
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
#include <Servo.h> | |
/* | |
The buttons switch in a voltage divider so that the left and right buttons both use the same pin. | |
The speed controller is a potentiometer. | |
/* | |
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 | |
import scipy as S | |
import scipy.misc as MISC | |
import pylab | |
ticks=100 | |
KP = 26 |
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
set style data lines | |
set term aqua 1 | |
set title "absolute speed" | |
plot "data" u 3 | |
set term aqua 2 | |
set title "absolute windspeed" | |
plot "data" u 4 |