Wykres commitów

191 Commity (26c9b4edb81da253f1678fa030fa5507f0fd9edd)

Autor SHA1 Wiadomość Data
nyanpasu64 a172fc33a9 Add test for nsamp and render_subsampling used for rendering 2018-08-24 01:47:23 -07:00
nyanpasu64 a2237e09d6 Cleanup unit-test files 2018-08-24 01:46:33 -07:00
nyanpasu64 ce3849cd54 Rename Wave.get_around(region_len) to region_nsamp 2018-08-24 01:05:46 -07:00
nyanpasu64 8466b9ab93 Add tests for subsampling 2018-08-24 00:05:57 -07:00
nyanpasu64 e9c0a21469 Remove unused Config.wav_prefix and update tests
It was intended that Channel.wav_path was stored and loaded relative to
Config.wav_prefix, but this was never implemented (neither saving nor
loading.)

This change simplifies code, and eliminates some inconsistency (Config.
master_audio was never planned to be relative to Config.wav_prefix).
2018-08-20 01:13:47 -07:00
nyanpasu64 245704256a Alter unit tests for CLI working directory YAML 2018-08-20 01:02:55 -07:00
nyanpasu64 55573852e6 Add unit tests for loading folders via CLI 2018-08-20 00:38:20 -07:00
nyanpasu64 2a19afce5f [wip] Add unit tests for CLI parser 2018-08-20 00:38:13 -07:00
nyanpasu64 d9555c101e Add unit test for YAML config loading validation 2018-08-19 16:15:51 -07:00
nyanpasu64 3cec61a2ac Ensure that Ovgen.outputs are closed upon exceptions
channels and outputs are loaded upon Ovgen.play(), not __init__ creation
2018-08-18 02:57:03 -07:00
nyanpasu64 6f09710999 Add tests to ensure Outputs are closed upon exceptions 2018-08-18 02:57:03 -07:00
nyanpasu64 3324ed1568 [renderer] Test default colors, and channel line-color overrides 2018-08-17 00:00:36 -07:00
nyanpasu64 74f47a6525 Add test for rendering to output 2018-08-16 22:21:18 -07:00
nyanpasu64 5f94be0329 Add test for renderer background/foreground colors 2018-08-16 22:21:18 -07:00
nyanpasu64 6e7b7f4048 Rearrange renderer unit tests 2018-08-15 22:39:48 -07:00
nyanpasu64 21d739cd4f Move layout rows/columns to class LayoutConfig 2018-08-14 21:24:09 -07:00
nyanpasu64 2f4ebece70 Move renderer layout calculation to class RendererLayout 2018-08-14 21:23:40 -07:00
nyanpasu64 4a25b41d22 Move MatplotlibRenderer.create_window parameter into cfg 2018-08-14 21:23:19 -07:00
nyanpasu64 06159555a1 Disable test for config type checking 2018-08-14 02:20:07 -07:00
nyanpasu64 8cce1d1414 Add support for subsampling in CorrelationTrigger and Wave 2018-07-29 06:35:47 -07:00
nyanpasu64 bdacafc33a Remove ffmpeg_subprocess_test.py (already implemented as FFmpegOutput) 2018-07-29 06:35:42 -07:00
nyanpasu64 be57d5765f Add unified ITrigger constructor, [wip] trigger subsampling 2018-07-29 06:35:39 -07:00
nyanpasu64 f2af4299b2 Import dataclass from config (either dataclasses or keyword_dataclasses) 2018-07-29 06:35:35 -07:00
nyanpasu64 7f0e1ccaba (Config YAML) Add support for always dumping default fields
@register_config(always_dump='field names || *')
2018-07-29 06:35:17 -07:00
nyanpasu64 1124c46f1e Type-check fields, when loading config dataclasses from YAML 2018-07-29 06:35:15 -07:00
nyanpasu64 648829b4d9 Exclude default fields from YAML dumping. Add dumping unit tests. 2018-07-25 05:19:46 -07:00
nyanpasu64 a87642b38c Rename register_dataclass to register_config 2018-07-25 05:19:45 -07:00
nyanpasu64 65655b2645 [wip] Make config classes dumpable via YAML, rename base configs 2018-07-25 05:19:45 -07:00
nyanpasu64 e1dfdd13da Fix benchmark_trigger.py 2018-07-25 05:19:23 -07:00
nyanpasu64 4fa9cbb615 Fix test_renderer.py 2018-07-24 04:52:12 -07:00
nyanpasu64 e4399640bc whatever 2018-07-22 03:51:29 -07:00
nyanpasu64 9816001f9d [wip] Frame capture and FFmpeg video output 2018-07-22 02:06:10 -07:00
nyanpasu64 4b91be9120 WIP code for piping images into ffmpeg (subprocess.Popen) 2018-07-22 00:38:20 -07:00
nyanpasu64 054ba642eb Test to ensure no FutureWarning when determining Wave type 2018-07-20 15:30:24 -07:00
nyanpasu64 980d375b34 Add trigger speed benchmark.
Results: single takes .77 ms, double takes .99 ms (with some variability).
So single precision float is significantly faster.
2018-07-20 02:07:07 -07:00
nyanpasu64 7a818c0cd3 Add unit tests for Wave 2018-07-20 01:23:41 -07:00
nyanpasu64 26e3f36375 Optimize imports 2018-07-20 01:11:56 -07:00
nyanpasu64 2ad624be03 RendererConfig calculates orientation based on nrows or ncols.
- Ensure either nrows or ncols is set.
- If neither, set ncols=1 (single column).
- Remove rows_first flag.

Add test_renderer.py
2018-07-15 23:42:17 -07:00
nyanpasu64 0bb26a1c20 Fix unit tests, add CorrelationTrigger.Config.use_edge_trigger 2018-07-15 06:04:50 -07:00
nyanpasu64 0e575d9792 Fix CorrelationTrigger 2018-07-14 15:42:10 -07:00
nyanpasu64 cd33fcee6e Add unit tests (interactive for now) 2018-07-14 03:36:49 -07:00