From 87ae7dfcb35d9a55950eecc2116d13d73b2b9ece Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 17 Apr 2020 17:59:08 +0200 Subject: fw simulator: WIP --- controller/fw/tools/cwt_wavelet_header_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller/fw/tools/cwt_wavelet_header_gen.py') diff --git a/controller/fw/tools/cwt_wavelet_header_gen.py b/controller/fw/tools/cwt_wavelet_header_gen.py index e9713a7..8be785b 100644 --- a/controller/fw/tools/cwt_wavelet_header_gen.py +++ b/controller/fw/tools/cwt_wavelet_header_gen.py @@ -18,7 +18,7 @@ if __name__ == '__main__': print(f'const float {varname}[{args.n}] = {{') win = sig.ricker(args.n, args.w) - par = ' '.join(f'{f:>015.8g}f,' for f in win) + par = ' '.join(f'{f:>015.12e}f,' for f in win) print(textwrap.fill(par, initial_indent=' '*4, subsequent_indent=' '*4, width=120, -- cgit