Wykres commitów

882 Commity (disable-codecov-comments)

Autor SHA1 Wiadomość Data
nyanpasu64 9ddd0e4db3 Extract variable: renderer cfg 2019-01-29 00:23:04 -08:00
nyanpasu64 2bfe39e21a Add support for h/v midlines (slow) 2019-01-29 00:19:12 -08:00
nyanpasu64 46af5ef82b Save background and only redraw lines (massive speed boost) (#164) 2019-01-29 00:13:22 -08:00
nyanpasu64 a60b3c121f Create config directory parents if missing (#161)
For example, if ~/.local/share/corrscope missing.

Fixes #159 hopefully.
2019-01-28 16:55:13 -08:00
nyanpasu64 43892912ed Use float32 for math operations (#163)
Theoretically improves performance, in practice no difference.

* data_taper = FLOAT (not double)

* Use FLOAT (float32) for scipy/windows.py
numpy FFT is still float64 and likely slow.
2019-01-28 16:54:47 -08:00
nyanpasu64 9c6efccf8e Print frame duration as well as FPS 2019-01-27 22:04:43 -08:00
nyanpasu64 85011ccf2b Simplify unrecognized field message 2019-01-27 20:56:24 -08:00
nyanpasu64 e90ccd853a Make unrecognized fields yield warning, not exception (#160) 2019-01-27 20:38:23 -08:00
nyanpasu64 9160958257 Use Mypy checking (#154)
Major changes:
- LayoutConfig._calc_layout() improved
- register_enum() replaced with DumpEnumAsStr (*very* iffy multiple inheritance)

i configured mypy to not care about missing annotations...
but most files are fully annotated via MonkeyType = big PR diff.
2019-01-25 22:50:19 -08:00
nyanpasu64 e3cddd7e69 Move scipy-imported files to scipy/ subdir (#153)
So I can exclude it from mypy.
2019-01-25 19:27:46 -08:00
nyanpasu64 dbd1f7c4ec [gui] Document broken rgetattr(default) behavior 2019-01-24 22:47:09 -08:00
nyanpasu64 f2edb528a4 Merge pull request #113 from nyanpasu64/stereo
Stereo Subtraction
2019-01-24 22:34:35 -08:00
nyanpasu64 de285317f8 Remove unneeded Wave validation, switch from Flag to Enum 2019-01-24 22:27:36 -08:00
nyanpasu64 d5a1479751 Improve stereo unit test 2019-01-24 22:15:57 -08:00
nyanpasu64 d8eb93ef07 Remove Flatten modes: "sum/diff without averaging" 2019-01-23 23:55:17 -08:00
nyanpasu64 4b394ab465 Add stereo options to GUI 2019-01-23 23:46:11 -08:00
nyanpasu64 b2a228ea53 Allow dumping Flatten to yaml 2019-01-23 23:46:11 -08:00
nyanpasu64 c9a62e12bb Add test to ensure `end_time: null` is not dumped 2019-01-23 23:46:11 -08:00
nyanpasu64 40b2b31d76 Split CorrScope.waves into trigger/render_waves 2019-01-23 23:46:11 -08:00
nyanpasu64 269f9b2acc Remove class _WaveConfig, replace with kwargs 2019-01-23 23:46:10 -08:00
nyanpasu64 4c60a240c7 Replace Wave.flatten/set_flatten with property setter 2019-01-23 23:45:51 -08:00
nyanpasu64 651fd34191 Add stereo Flatten support to Wave/corrscope
Also fix Config(always_dump).
2019-01-23 23:44:48 -08:00
nyanpasu64 15252948b3 Add stereo flatten tests [wip] 2019-01-23 23:44:48 -08:00
nyanpasu64 cc564586f9 [ui] Add menu underline to "Tools/Separate Render Folder" 2019-01-23 23:22:12 -08:00
nyanpasu64 ca4b0a5b52 [ui] Move video size to Appearance group 2019-01-23 23:22:12 -08:00
nyanpasu64 8e6596186f Merge pull request #143 from nyanpasu64/appdata-prefs
Add program prefs in appdata
2019-01-22 15:14:18 -08:00
nyanpasu64 be2ee858aa Remove project dir from default render filename 2019-01-22 15:00:12 -08:00
nyanpasu64 d238b3faea Add "separate render dir" toggle to GUI 2019-01-22 15:00:12 -08:00
nyanpasu64 43ce84c5be Make file dialogs load/save folder to GlobalPrefs 2019-01-22 15:00:06 -08:00
nyanpasu64 b77127ccda [gui] Add GlobalPrefs attrib to MainWindow 2019-01-22 14:58:35 -08:00
nyanpasu64 ad458e8792 Add GlobalPrefs and Ref type 2019-01-21 22:57:13 -08:00
nyanpasu64 ec0177f96a Merge pull request #151 from nyanpasu64/cleanup
Cleanup code
2019-01-21 22:56:53 -08:00
nyanpasu64 84dc85316d gui/data_bind.py: Add DumpableAttrs type hint 2019-01-21 21:07:43 -08:00
nyanpasu64 67653ee6b3 Appease mypy, create empty __init__.py 2019-01-21 21:07:43 -08:00
nyanpasu64 ee22dfdb5d Optimize imports (corrscope.py) 2019-01-21 21:07:43 -08:00
nyanpasu64 def820ef0c Configure Pycharm closer to Black code style 2019-01-21 21:07:43 -08:00
nyanpasu64 b4e68a1ec7 Merge pull request #150 from nyanpasu64/faster-render-tests
test_output.py: Speed up rendering, reorganize tests
2019-01-20 17:05:13 -08:00
nyanpasu64 1082be3b97 Speed up rendering tests using smaller image dimensions 2019-01-20 16:47:59 -08:00
nyanpasu64 7d2fe9eace Reorganize output tests and remove duplicate 2019-01-20 16:47:57 -08:00
nyanpasu64 e058a6caa0 [gui] When starting app, load config in GUI, not CLI (#149)
If loading invalid config via command line,
show error via GUI dialog instead of CLI stacktrace/etc.
2019-01-20 16:42:44 -08:00
nyanpasu64 80ec450dc9 Add test for cfg round-trip dump+load 2019-01-20 16:21:36 -08:00
nyanpasu64 b0da03cc47 Refactor config system to use inheritance, not decorator
Validate DumpableAttrs always_dump strings
2019-01-20 16:21:36 -08:00
nyanpasu64 3a987f6b7d [pycharm] Suppress false-positive attr/dataclass errors 2019-01-19 02:15:40 -08:00
nyanpasu64 883e6ac639 Remove "from typing import *" 2019-01-19 02:15:40 -08:00
nyanpasu64 a2a9bfb9ac Merge pull request #145 from nyanpasu64/fix-ffplay-exceptions
Fix FFplay exceptions,  silence FFmpeg output messages, add tests
2019-01-18 16:14:17 -08:00
nyanpasu64 2e316d46d1 Add test to ensure FFplayOutput returns Stop if window closed 2019-01-18 15:42:43 -08:00
nyanpasu64 d059cf4303 Add test to ensure corrscope closes output using context manager 2019-01-18 15:42:43 -08:00
nyanpasu64 ec2c3a9573 Fix random exceptions when closing ffplay on Windows 2019-01-18 15:40:42 -08:00
nyanpasu64 e2218f29b4 Remove mysterious TODO 2019-01-18 15:40:42 -08:00
nyanpasu64 2a4946bd30 Silence FFmpeg output messages 2019-01-18 15:40:42 -08:00