From cb69d2e1c7ced951cbf7a31ee286b0ed92cab8a8 Mon Sep 17 00:00:00 2001 From: rcoh Date: Fri, 18 Feb 2011 16:56:43 -0500 Subject: Adding Epydoc generated docs. --- html/SmootLight.pixelcore.PixelStrip-pysrc.html | 135 ++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 html/SmootLight.pixelcore.PixelStrip-pysrc.html (limited to 'html/SmootLight.pixelcore.PixelStrip-pysrc.html') diff --git a/html/SmootLight.pixelcore.PixelStrip-pysrc.html b/html/SmootLight.pixelcore.PixelStrip-pysrc.html new file mode 100644 index 0000000..e12ca76 --- /dev/null +++ b/html/SmootLight.pixelcore.PixelStrip-pysrc.html @@ -0,0 +1,135 @@ + + + + + SmootLight.pixelcore.PixelStrip + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Package SmootLight :: + Package pixelcore :: + Module PixelStrip + + + + + + +
[hide private]
[frames] | no frames]
+
+

Source Code for Module SmootLight.pixelcore.PixelStrip

+
+ 1  from pixelcore.Pixel import * 
+ 2  import util.Strings as Strings 
+ 3  import util.Geo as Geo 
+ 4  from pixelevents.StepEvent import * 
+ 5  import math 
+ 6  import pdb 
+
7 -class PixelStrip: +
8 """Python class representing a single Pixel strip (usually 50 Pixels)""" + 9 +
10 - def __init__(self, layoutEngine): +
11 self.initStrip(layoutEngine) +12 self.argDict = layoutEngine.getStripArgs() +
13 +
14 - def initStrip(self, layoutEngine): +
15 pixelLocations = layoutEngine.getPixelLocations() +16 self.pixels = [Pixel(l) for l in pixelLocations] +
17 +
18 - def __iter__(self): +
19 return self.pixels.__iter__() +
20 +
+
+ + + + + + + + + + + + + + + + + + + + + + + +
+ + + + -- cgit v1.2.3