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 math | |
| import numpy as np | |
| # very simple discrete "convolution" of 1D filter [1,1,0] over input B | |
| # example: input: 00010 | |
| # output: 00110 | |
| # input: 01110 | |
| # output: 12210 | |
| def convoleBasic(a,b): |
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
| # Draws shape to modelspace | |
| def drawShape(shape,msp): | |
| if(shape.type == 'Polygon'): | |
| drawLineRing(shape.exterior,msp) | |
| for linering in shape.interiors: |
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 sys | |
| import string | |
| import matplotlib.dates as mdates | |
| #lines, warnings, errors | |
| timeBuckets = [[],[],[]] | |
| hoursList = [] |
OlderNewer