Wykres commitów

137 Commity (09680525661579bc7d6064a76e2187a0cfbc7187)

Autor SHA1 Wiadomość Data
nyanpasu64 0968052566 Switch from per-channel to global background color
Figure-global backgrounds are reasonably fast, while axes-specific
background color causes performance drop.
2018-08-16 22:21:18 -07:00
nyanpasu64 b648f9755b Add background/line color support to renderer 2018-08-16 22:21:18 -07:00
nyanpasu64 f0da6c682e Add FFmpeg input buffering 2018-08-16 22:16:59 -07:00
nyanpasu64 6e7b7f4048 Rearrange renderer unit tests 2018-08-15 22:39:48 -07:00
nyanpasu64 58f8515967 Remove unused import 2018-08-15 22:28:05 -07:00
nyanpasu64 85d98a4167 Add --profile CLI option to generate cprofile files 2018-08-15 22:27:58 -07:00
nyanpasu64 d669e37044 Always get frame from renderer, even without outputs
Enables more realistic render benchmarking.
2018-08-15 18:36:18 -07:00
nyanpasu64 0149b79a7c Speed up rendering, remove bytes-to-ndarray conversion 2018-08-15 18:35:48 -07:00
nyanpasu64 fb7ac5d006 Remove unused numpy reshape from MatplotlibRenderer 2018-08-15 17:38:16 -07:00
nyanpasu64 fccfb61649 ProcessOutput.write_frame() takes ndarray, not bytes 2018-08-15 17:38:16 -07:00
nyanpasu64 961356bd3f Mark MatplotlibRenderer.set_layout as protected 2018-08-14 23:57:07 -07:00
nyanpasu64 596e9812c7 Merge pull request #22 from nyanpasu64/renderer-layout
Add renderer layout orientation field, add class LayoutConfig
2018-08-14 21:31:27 -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 c8aa456136 Add comment about avoiding `-movflags faststart` 2018-07-31 02:17:49 -07:00
nyanpasu64 fc7014750b Precompute Gaussian windows for CorrelationTrigger objects 2018-07-29 06:36:00 -07:00
nyanpasu64 042c8a3be5 Fix crash when loading YAML (disable type checking) 2018-07-29 06:35:58 -07:00
nyanpasu64 4b231eaf5d Faster ffmpeg video encoder options 2018-07-29 06:35:56 -07:00
nyanpasu64 5dfeca7a23 Add command-line help and edit doc comment (help) 2018-07-29 06:35:55 -07:00
nyanpasu64 8f10848761 Fix passing paths with backslashes or spaces into master_audio
or --audio
2018-07-29 06:35:53 -07:00
nyanpasu64 3c08f12405 Edit CorrelationTrigger to window input, more when subsampling 2018-07-29 06:35:50 -07:00
nyanpasu64 45bdf96391 Add support for render_subsampling 2018-07-29 06:35:49 -07:00
nyanpasu64 8cce1d1414 Add support for subsampling in CorrelationTrigger and Wave 2018-07-29 06:35:47 -07:00
nyanpasu64 17ef07fb93 Remove config print statement 2018-07-29 06:35:45 -07:00
nyanpasu64 bdacafc33a Remove ffmpeg_subprocess_test.py (already implemented as FFmpegOutput) 2018-07-29 06:35:42 -07:00
nyanpasu64 86d6252f34 Remove TODO MPVOutput (moved to #16) 2018-07-29 06:35:41 -07:00
nyanpasu64 be57d5765f Add unified ITrigger constructor, [wip] trigger subsampling 2018-07-29 06:35:39 -07:00
nyanpasu64 88361bab7b cleanup imports 2018-07-29 06:35:37 -07:00
nyanpasu64 f2af4299b2 Import dataclass from config (either dataclasses or keyword_dataclasses) 2018-07-29 06:35:35 -07:00
nyanpasu64 7304464560 Rewrite CLI and Ovgenpy() using Channel class 2018-07-29 06:35:33 -07:00
nyanpasu64 992702f317 misc 2018-07-29 06:35:31 -07:00
nyanpasu64 a096f0ffe9 wat
# wave_folder must not be used, except to to initialize wave_prefix and channels.
# When exporting YAML, this is exported as a comment.
wave_folder: str = ''
# Remove this field, create @classmethod constructors for loading from
# [glob/wave]... wave_folder will not be present in saved yaml files.
2018-07-29 06:35:29 -07:00
nyanpasu64 e66d3cb58c Switch to custom keyword_dataclasses.py
Whenever non-default arguments follow default arguments, they are marked
as keyword-only: f(a=1, *, b)
2018-07-29 06:35:27 -07:00
nyanpasu64 965ba169de Fix and update ChannelConfig 2018-07-29 06:35:25 -07:00
nyanpasu64 18140572f6 Rename Wave(wcfg) to cfg 2018-07-29 06:35:23 -07:00
nyanpasu64 be0aa5791c Rename Config.wave_dir to wave_folder 2018-07-29 06:35:21 -07:00
nyanpasu64 201b05cc30 Rename WaveConfig to _WaveConfig, don't expose via YAML 2018-07-29 06:35:19 -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 960770fec0 Merge branch 'channel' into yaml 2018-07-29 06:35:02 -07:00
nyanpasu64 ceb673dcf1 Remove main() command line, add YAML dumping test 2018-07-29 06:33:52 -07:00
nyanpasu64 3bc7fdf81d Rename cfg.audio_path to master_audio 2018-07-25 05:25:53 -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 34921d5699 [cleanup] Add KDE Dolphin .directory to .gitignore 2018-07-25 05:19:12 -07:00
nyanpasu64 f5cf52d606 [cleanup] Update PyCharm files 2018-07-25 05:18:45 -07:00