- Code cleanup (yapf, flake8, no unused imports, no stubs, useful comments)
- Slider positions need to be updated during zoom; have not figured out a "clean" way to do this that doesn't involve signals or unnecessary inter-object communication. I may remove the event filter completely.
- Fix FitToView and ZoomToFit idempotency.
- Related to slider-to-pixel transform having an offset of slider_width/2 pixels.
- At large zooms, the sliders start taking the wrong positions due to floating point errors?
- Check that recalculating the zoom transform in fact has a relative error of 10^-15, not absolute error. If latter, rethink transform.
- Remove asserts (or catch AssertionFailure) and just refuse to honor zooms at some point.
This file contains 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
name: Stabilizer | |
# all but repository_dispatch won't work because of the missing github.event.client_payload | |
on: | |
push: | |
branches: [stabilizer] | |
pull_request: | |
branches: [stabilizer] | |
repository_dispatch: | |
types: [stabilizer] |
This file contains 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
Cargo.lock | 1 - | |
Cargo.toml | 5 +++-- | |
openocd.gdb | 26 ++++++++++++++++++++------ | |
src/main.rs | 15 ++++++++++----- | |
stabilizer.cfg | 5 +++-- | |
5 files changed, 36 insertions(+), 16 deletions(-) | |
diff --git a/Cargo.lock b/Cargo.lock | |
index 6133b9e..cc91d7c 100644 | |
--- a/Cargo.lock |
This file contains 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
# glbl_cfg1_swrst[0:0] = 0x0 | |
dut.write(0x0, 0x0) | |
# glbl_cfg1_sleep[0:0] = 0x0 | |
# glbl_cfg1_restart[1:1] = 0x0 | |
# sysr_cfg1_pulsor_req[2:2] = 0x0 | |
# grpx_cfg1_mute[3:3] = 0x0 | |
# dist_cfg1_perf_floor[6:6] = 0x0 | |
# sysr_cfg1_reseed_req[7:7] = 0x0 | |
dut.write(0x1, 0x0) |
This file contains 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 -*- | |
# | |
# Copyright 2013-2015 Robert Jordens <jordens@gmail.com> | |
# | |
# This file is part of pdq2. | |
# | |
# pdq2 is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |
This file contains 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
# Robert Jordens <jordens@gmail.com>, 2016 | |
import numpy as np | |
import unittest | |
class Ticker: | |
def __init__(self, n=2, dynamic=3, steps=(5, 2, 1, .5), base=10): | |
# .5 for rounding errors | |
self.n = n |
I hereby claim:
- I am jordens on github.
- I am rjo (https://keybase.io/rjo) on keybase.
- I have a public key whose fingerprint is E524 A475 02C9 B6E4 9C60 8340 25B5 2E54 F0D7 5620
To claim this, I am signing this object: