Measure devel notes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→DSP) |
||
Line 41: | Line 41: | ||
==DSP== |
==DSP== |
||
===Filtering using sinc=== |
|||
* http://www.dspguide.com/ch16/2.htm |
|||
* I will precompute h[i] for all the three ranges and apply it to all the three ranges |
|||
* I have selected fc = and M = |
Revision as of 18:47, 23 October 2007
Development notes. For the official page, please see Measure
Metadata file associated with Logs
Measure Activity logs metadata file Filename Filename Filename Logname Logname Logname
Log file format
sec/minute/hour/snapshot 2232 3445 stop
Draw dotted log
context.move_to(x,y) context.arc(x,y,r,0,2*pi)
Convert #RRGGBB to an (R, G, B) tuple
colorstring = colorstring.strip() if colorstring[0] == '#': colorstring = colorstring[1:] r, g, b = colorstring[:2], colorstring[2:4], colorstring[4:] r, g, b = [int(n, 16) for n in (r, g, b)] return (r, g, b)
Get the XO colors
from sugar import profile color=profile.get_color() fill = color.get_fill_color() stroke = color.get_stroke_color()
DSP
Filtering using sinc
- http://www.dspguide.com/ch16/2.htm
- I will precompute h[i] for all the three ranges and apply it to all the three ranges
- I have selected fc = and M =