diff --git a/.gitignore b/.gitignore index 4eec6a8..d93038f 100644 --- a/.gitignore +++ b/.gitignore @@ -239,4 +239,12 @@ device_firmware/cart_firmware/captures/ device_firmware/cart_firmware/.vscode/c_cpp_properties.json device_firmware/cart_firmware/.vscode/launch.json device_firmware/cart_firmware/.vscode/ipch/ -device_firmware/cart_firmware/.vscode/.browse.c_cpp.db* \ No newline at end of file +device_firmware/cart_firmware/.vscode/.browse.c_cpp.db* +# --- device_firmware: комплект воспроизведения прошивок LibreVNA --- +# Корневые `build*` / `build/` иначе молча выбрасывают сам build.sh и эталонные +# прошивки STM32, на которые ссылается reproduce/SHA256SUMS. Каталог сборки +# приходится разыгнорить целиком: git не умеет возвращать файл, у которого +# исключён родительский каталог. +!device_firmware/multi_libreVNA_firmware/reproduce/build.sh +!device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/VNA_embedded/build/ +!device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/VNA_embedded/build_external_lo_slave/ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/.gitignore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/.gitignore new file mode 100644 index 0000000..dd882c6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/.gitignore @@ -0,0 +1,15 @@ +*.s#* +*.b#* +*.log +*.net +*.op.raw +*.raw +*.vnafw +*.aux +*.log +*.synctex.gz +*.xcf +*.out +*.toc +*.pyc +Hardware/Renderings diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/AssembleFirmware.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/AssembleFirmware.py new file mode 100755 index 0000000..ee35885 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/AssembleFirmware.py @@ -0,0 +1,118 @@ +#!/usr/bin/env python3 + +import argparse +import binascii +from pathlib import Path + + +DEFAULT_FPGA_BITSTREAM = "FPGA/VNA/top.bin" +DEFAULT_OUTPUT = "combined.vnafw" +DEFAULT_MCU_CANDIDATES = [ + "Software/VNA_embedded/Debug/VNA_embedded.bin", + "Software/VNA_embedded/Release/VNA_embedded.bin", + "Software/VNA_embedded/build/VNA_embedded.bin", +] + +HEADER_SIZE = 24 + + +def parse_args() -> argparse.Namespace: + parser = argparse.ArgumentParser( + description="Assemble a combined LibreVNA firmware image.", + ) + parser.add_argument( + "--bitstream", + default=DEFAULT_FPGA_BITSTREAM, + help=f"FPGA bitstream to package (default: {DEFAULT_FPGA_BITSTREAM})", + ) + parser.add_argument( + "--output", + default=DEFAULT_OUTPUT, + help=f"Output firmware image path (default: {DEFAULT_OUTPUT})", + ) + parser.add_argument( + "--mcu", + help="Explicit MCU firmware .bin path. If omitted, the newest known build is used.", + ) + return parser.parse_args() + + +def select_mcu_firmware(explicit_path: str | None) -> Path: + if explicit_path is not None: + path = Path(explicit_path) + if not path.is_file(): + raise FileNotFoundError(f"MCU firmware not found: {path}") + return path + + latest_modification = 0.0 + newest_mcu: Path | None = None + for candidate in DEFAULT_MCU_CANDIDATES: + path = Path(candidate) + if not path.is_file(): + continue + modified_time = path.stat().st_mtime + if modified_time >= latest_modification: + latest_modification = modified_time + newest_mcu = path + + if newest_mcu is None: + raise FileNotFoundError("Couldn't find MCU firmware file") + return newest_mcu + + +def crc32_from_file(filename: Path, initial_crc: int) -> int: + buffer = filename.read_bytes() + return binascii.crc32(buffer, initial_crc) & 0xFFFFFFFF + + +def main() -> int: + args = parse_args() + + bitstream_path = Path(args.bitstream) + if not bitstream_path.is_file(): + raise FileNotFoundError(f"FPGA bitstream not found: {bitstream_path}") + + mcu_firmware_path = select_mcu_firmware(args.mcu) + output_path = Path(args.output) + + print(f"Using {mcu_firmware_path} as MCU firmware") + + size_fpga = bitstream_path.stat().st_size + size_mcu = mcu_firmware_path.stat().st_size + print(f"Got FPGA bitstream of size {size_fpga}") + print(f"Got MCU firmware of size {size_mcu}") + + crc = crc32_from_file(bitstream_path, 0xFFFFFFFF) + crc = crc32_from_file(mcu_firmware_path, crc) + print(f"Calculating CRC...:{hex(crc)}") + + output_path.parent.mkdir(parents=True, exist_ok=True) + with output_path.open("wb") as firmware_image: + firmware_image.write(b"VNA!") + firmware_image.write((HEADER_SIZE).to_bytes(4, byteorder="little")) + firmware_image.write(size_fpga.to_bytes(4, byteorder="little")) + firmware_image.write((HEADER_SIZE + size_fpga).to_bytes(4, byteorder="little")) + firmware_image.write(size_mcu.to_bytes(4, byteorder="little")) + firmware_image.write(crc.to_bytes(4, byteorder="little")) + + if firmware_image.tell() != HEADER_SIZE: + raise RuntimeError( + "Incorrect header size " + f"(defined as {HEADER_SIZE} but actual header is {firmware_image.tell()})" + ) + + firmware_image.write(bitstream_path.read_bytes()) + firmware_image.write(mcu_firmware_path.read_bytes()) + + if firmware_image.tell() % 256 != 0: + padding = 256 - firmware_image.tell() % 256 + firmware_image.write(bytearray(padding)) + + final_size = firmware_image.tell() + + print(f"Created combined firmware file at {output_path} with size {final_size}") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/EmbeddedFirmware-hw-rev-B-v1.6.5-2026-04-08-18-04-39/VNA_embedded.elf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/EmbeddedFirmware-hw-rev-B-v1.6.5-2026-04-08-18-04-39/VNA_embedded.elf new file mode 100644 index 0000000..9e3ee43 Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/EmbeddedFirmware-hw-rev-B-v1.6.5-2026-04-08-18-04-39/VNA_embedded.elf differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/EmbeddedFirmware-hw-rev-B-v1.6.5-2026-04-08-18-04-39/combined.vnafw b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/EmbeddedFirmware-hw-rev-B-v1.6.5-2026-04-08-18-04-39/combined.vnafw new file mode 100644 index 0000000..942500d Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/EmbeddedFirmware-hw-rev-B-v1.6.5-2026-04-08-18-04-39/combined.vnafw differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/.gitignore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/.gitignore new file mode 100644 index 0000000..b9cf525 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/.gitignore @@ -0,0 +1,12 @@ +* +!.gitignore +!*/ +!*.vhd +!*.ucf +!*.ipf +!*.gise +!*.xise +!*.py +!*.bin +!VNA/*.dat + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/AMAttenuationCalculator.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/AMAttenuationCalculator.py new file mode 100755 index 0000000..b97047e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/AMAttenuationCalculator.py @@ -0,0 +1,45 @@ +#!/usr/bin/env python3 + +import math + +# Adapt these constants to the step attenuator +BITS_OF_ATTENUATION = 7 +LSB_ATTENUATOR_DB = 0.25 +NUMBER_LINEAR_ATTENUATION_STEPS = 128 + +file = open("AMdepth.dat", "w") + +def bindigits(n, bits): + s = bin(n & int("1"*bits, 2))[2:] + return ("{0:0>%s}" % (bits)).format(s) + +for i in range(NUMBER_LINEAR_ATTENUATION_STEPS): + # calculate percentage of attenuation + percent = float(i) / (NUMBER_LINEAR_ATTENUATION_STEPS - 1) + # calculate attenuation in dB + if percent < 1: + required_dB = -20*math.log10(1 - percent) + else: + required_dB = 999 + # round to attenuator steps + attenuator_dB = round(required_dB / LSB_ATTENUATOR_DB) * LSB_ATTENUATOR_DB + # convert to digital attenuator value + attenuator_step = int(attenuator_dB / LSB_ATTENUATOR_DB) + # constrain + if attenuator_step < 0: + attenuator_step = 0 + elif attenuator_step >= pow(2, BITS_OF_ATTENUATION): + attenuator_step = pow(2, BITS_OF_ATTENUATION) - 1 + output = bindigits(attenuator_step, BITS_OF_ATTENUATION) + file.write(output+"\n") + + # Calculate actual attenuation + actual_dB = attenuator_step * LSB_ATTENUATOR_DB + actual_percent = 1 - pow(10, -actual_dB/20) + + percent_desired = round(percent*100, 2) + percent_actual = round(actual_percent*100, 2) + + print(f'Target modulation: {percent_desired:.2f}, target dB: {required_dB:.2f}, attenuator setting: {attenuator_step}, achieved dB: {actual_dB}, achieved modulation: {percent_actual:.2f}') + +file.close() diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/AMMult.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/AMMult.gise new file mode 100644 index 0000000..f5c03b0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/AMMult.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/AMMult.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/AMMult.vhd new file mode 100644 index 0000000..4354992 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/AMMult.vhd @@ -0,0 +1,102 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2022 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file AMMult.vhd when simulating +-- the core, AMMult. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY AMMult IS + PORT ( + clk : IN STD_LOGIC; + a : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(6 DOWNTO 0); + ce : IN STD_LOGIC; + p : OUT STD_LOGIC_VECTOR(14 DOWNTO 0) + ); +END AMMult; + +ARCHITECTURE AMMult_a OF AMMult IS +-- synthesis translate_off +COMPONENT wrapped_AMMult + PORT ( + clk : IN STD_LOGIC; + a : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(6 DOWNTO 0); + ce : IN STD_LOGIC; + p : OUT STD_LOGIC_VECTOR(14 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_AMMult USE ENTITY XilinxCoreLib.mult_gen_v11_2(behavioral) + GENERIC MAP ( + c_a_type => 1, + c_a_width => 8, + c_b_type => 1, + c_b_value => "10000001", + c_b_width => 7, + c_ccm_imp => 0, + c_ce_overrides_sclr => 0, + c_has_ce => 1, + c_has_sclr => 0, + c_has_zero_detect => 0, + c_latency => 1, + c_model_type => 0, + c_mult_type => 1, + c_optimize_goal => 1, + c_out_high => 14, + c_out_low => 0, + c_round_output => 0, + c_round_pt => 0, + c_verbosity => 0, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_AMMult + PORT MAP ( + clk => clk, + a => a, + b => b, + ce => ce, + p => p + ); +-- synthesis translate_on + +END AMMult_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.gise new file mode 100644 index 0000000..6042a80 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.gise @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.ucf new file mode 100644 index 0000000..f3c5cec --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.ucf @@ -0,0 +1,59 @@ +# file: DFT_CLK.ucf +# +# (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +# +# This file contains confidential and proprietary information +# of Xilinx, Inc. and is protected under U.S. and +# international copyright and other intellectual property +# laws. +# +# DISCLAIMER +# This disclaimer is not a license and does not grant any +# rights to the materials distributed herewith. Except as +# otherwise provided in a valid license issued to you by +# Xilinx, and to the maximum extent permitted by applicable +# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +# WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +# (2) Xilinx shall not be liable (whether in contract or tort, +# including negligence, or under any other theory of +# liability) for any loss or damage of any kind or nature +# related to, arising under or in connection with these +# materials, including for any direct, or any indirect, +# special, incidental, or consequential loss or damage +# (including loss of data, profits, goodwill, or any type of +# loss or damage suffered as a result of any action brought +# by a third party) even if such damage or loss was +# reasonably foreseeable or Xilinx had been advised of the +# possibility of the same. +# +# CRITICAL APPLICATIONS +# Xilinx products are not designed or intended to be fail- +# safe, or for use in any application requiring fail-safe +# performance, such as life-support or safety devices or +# systems, Class III medical devices, nuclear facilities, +# applications related to the deployment of airbags, or any +# other applications that could lead to death, personal +# injury, or severe property or environmental damage +# (individually and collectively, "Critical +# Applications"). Customer assumes the sole risk and +# liability of any use of Xilinx products in Critical +# Applications, subject only to applicable laws and +# regulations governing limitations on product liability. +# +# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +# PART OF THIS FILE AT ALL TIMES. +# + +# Input clock periods. These duplicate the values entered for the +# input clocks. You can use these to time your system +#---------------------------------------------------------------- +NET "CLK_IN1" TNM_NET = "CLK_IN1"; +TIMESPEC "TS_CLK_IN1" = PERIOD "CLK_IN1" 62.5 ns HIGH 50% INPUT_JITTER 625.0ps; + + +# FALSE PATH constraints +PIN "RESET" TIG; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.vhd new file mode 100644 index 0000000..0f40de0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK.vhd @@ -0,0 +1,169 @@ +-- file: DFT_CLK.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- +------------------------------------------------------------------------------ +-- User entered comments +------------------------------------------------------------------------------ +-- None +-- +------------------------------------------------------------------------------ +-- "Output Output Phase Duty Pk-to-Pk Phase" +-- "Clock Freq (MHz) (degrees) Cycle (%) Jitter (ps) Error (ps)" +------------------------------------------------------------------------------ +-- CLK_OUT1___160.000______0.000______50.0______336.927____150.000 +-- +------------------------------------------------------------------------------ +-- "Input Clock Freq (MHz) Input Jitter (UI)" +------------------------------------------------------------------------------ +-- __primary______________16____________0.010 + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; + +library unisim; +use unisim.vcomponents.all; + +entity DFT_CLK is +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Clock out ports + CLK_OUT1 : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end DFT_CLK; + +architecture xilinx of DFT_CLK is + attribute CORE_GENERATION_INFO : string; + attribute CORE_GENERATION_INFO of xilinx : architecture is "DFT_CLK,clk_wiz_v3_6,{component_name=DFT_CLK,use_phase_alignment=true,use_min_o_jitter=false,use_max_i_jitter=false,use_dyn_phase_shift=false,use_inclk_switchover=false,use_dyn_reconfig=false,feedback_source=FDBK_AUTO,primtype_sel=DCM_SP,num_out_clk=1,clkin1_period=62.5,clkin2_period=62.5,use_power_down=false,use_reset=true,use_locked=true,use_inclk_stopped=false,use_status=false,use_freeze=false,use_clk_valid=false,feedback_type=SINGLE,clock_mgr_type=AUTO,manual_override=false}"; + -- Input clock buffering / unused connectors + signal clkin1 : std_logic; + -- Output clock buffering + signal clkfb : std_logic; + signal clk0 : std_logic; + signal clkfx : std_logic; + signal clkfbout : std_logic; + signal locked_internal : std_logic; + signal status_internal : std_logic_vector(7 downto 0); +begin + + + -- Input buffering + -------------------------------------- + clkin1 <= CLK_IN1; + + + -- Clocking primitive + -------------------------------------- + + -- Instantiation of the DCM primitive + -- * Unused inputs are tied off + -- * Unused outputs are labeled unused + dcm_sp_inst: DCM_SP + generic map + (CLKDV_DIVIDE => 2.000, + CLKFX_DIVIDE => 1, + CLKFX_MULTIPLY => 10, + CLKIN_DIVIDE_BY_2 => FALSE, + CLKIN_PERIOD => 62.5, + CLKOUT_PHASE_SHIFT => "NONE", + CLK_FEEDBACK => "1X", + DESKEW_ADJUST => "SYSTEM_SYNCHRONOUS", + PHASE_SHIFT => 0, + STARTUP_WAIT => FALSE) + port map + -- Input clock + (CLKIN => clkin1, + CLKFB => clkfb, + -- Output clocks + CLK0 => clk0, + CLK90 => open, + CLK180 => open, + CLK270 => open, + CLK2X => open, + CLK2X180 => open, + CLKFX => clkfx, + CLKFX180 => open, + CLKDV => open, + -- Ports for dynamic phase shift + PSCLK => '0', + PSEN => '0', + PSINCDEC => '0', + PSDONE => open, + -- Other control and status signals + LOCKED => locked_internal, + STATUS => status_internal, + RST => RESET, + -- Unused pin, tie low + DSSEN => '0'); + + LOCKED <= locked_internal; + + + + -- Output buffering + ------------------------------------- + clkf_buf : BUFG + port map + (O => clkfb, + I => clk0); + + + clkout1_buf : BUFG + port map + (O => CLK_OUT1, + I => clkfx); + + + +end xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/example_design/DFT_CLK_exdes.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/example_design/DFT_CLK_exdes.ucf new file mode 100644 index 0000000..bacff37 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/example_design/DFT_CLK_exdes.ucf @@ -0,0 +1,60 @@ +# file: DFT_CLK_exdes.ucf +# +# (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +# +# This file contains confidential and proprietary information +# of Xilinx, Inc. and is protected under U.S. and +# international copyright and other intellectual property +# laws. +# +# DISCLAIMER +# This disclaimer is not a license and does not grant any +# rights to the materials distributed herewith. Except as +# otherwise provided in a valid license issued to you by +# Xilinx, and to the maximum extent permitted by applicable +# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +# WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +# (2) Xilinx shall not be liable (whether in contract or tort, +# including negligence, or under any other theory of +# liability) for any loss or damage of any kind or nature +# related to, arising under or in connection with these +# materials, including for any direct, or any indirect, +# special, incidental, or consequential loss or damage +# (including loss of data, profits, goodwill, or any type of +# loss or damage suffered as a result of any action brought +# by a third party) even if such damage or loss was +# reasonably foreseeable or Xilinx had been advised of the +# possibility of the same. +# +# CRITICAL APPLICATIONS +# Xilinx products are not designed or intended to be fail- +# safe, or for use in any application requiring fail-safe +# performance, such as life-support or safety devices or +# systems, Class III medical devices, nuclear facilities, +# applications related to the deployment of airbags, or any +# other applications that could lead to death, personal +# injury, or severe property or environmental damage +# (individually and collectively, "Critical +# Applications"). Customer assumes the sole risk and +# liability of any use of Xilinx products in Critical +# Applications, subject only to applicable laws and +# regulations governing limitations on product liability. +# +# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +# PART OF THIS FILE AT ALL TIMES. +# + +# Input clock periods. These duplicate the values entered for the +# input clocks. You can use these to time your system +#---------------------------------------------------------------- +NET "CLK_IN1" TNM_NET = "CLK_IN1"; +TIMESPEC "TS_CLK_IN1" = PERIOD "CLK_IN1" 62.5 ns HIGH 50% INPUT_JITTER 625.0ps; + + +# FALSE PATH constraints +PIN "COUNTER_RESET" TIG; +PIN "RESET" TIG; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/example_design/DFT_CLK_exdes.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/example_design/DFT_CLK_exdes.vhd new file mode 100644 index 0000000..ed2c2d6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/example_design/DFT_CLK_exdes.vhd @@ -0,0 +1,192 @@ +-- file: DFT_CLK_exdes.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- + +------------------------------------------------------------------------------ +-- Clocking wizard example design +------------------------------------------------------------------------------ +-- This example design instantiates the created clocking network, where each +-- output clock drives a counter. The high bit of each counter is ported. +------------------------------------------------------------------------------ + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; + +library unisim; +use unisim.vcomponents.all; + +entity DFT_CLK_exdes is +generic ( + TCQ : in time := 100 ps); +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Reset that only drives logic in example design + COUNTER_RESET : in std_logic; + CLK_OUT : out std_logic_vector(1 downto 1) ; + -- High bits of counters driven by clocks + COUNT : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end DFT_CLK_exdes; + +architecture xilinx of DFT_CLK_exdes is + + -- Parameters for the counters + --------------------------------- + -- Counter width + constant C_W : integer := 16; + + + -- When the clock goes out of lock, reset the counters + signal locked_int : std_logic; + signal reset_int : std_logic := '0'; + + -- Declare the clocks and counter + signal clk : std_logic; + signal clk_int : std_logic; + signal clk_n : std_logic; + signal counter : std_logic_vector(C_W-1 downto 0) := (others => '0'); + + -- Need to buffer input clocks that aren't already buffered + signal clk_in1_buf : std_logic; + signal rst_sync : std_logic; + signal rst_sync_int : std_logic; + signal rst_sync_int1 : std_logic; + signal rst_sync_int2 : std_logic; + + +component DFT_CLK is +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Clock out ports + CLK_OUT1 : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end component; + +begin + -- Alias output to internally used signal + LOCKED <= locked_int; + + -- When the clock goes out of lock, reset the counters + reset_int <= (not locked_int) or RESET or COUNTER_RESET; + + + process (clk, reset_int) begin + if (reset_int = '1') then + rst_sync <= '1'; + rst_sync_int <= '1'; + rst_sync_int1 <= '1'; + rst_sync_int2 <= '1'; + elsif (clk 'event and clk='1') then + rst_sync <= '0'; + rst_sync_int <= rst_sync; + rst_sync_int1 <= rst_sync_int; + rst_sync_int2 <= rst_sync_int1; + end if; + end process; + + + -- Insert BUFGs on all input clocks that don't already have them + ---------------------------------------------------------------- + clkin1_buf : BUFG + port map + (O => clk_in1_buf, + I => CLK_IN1); + + -- Instantiation of the clocking network + ---------------------------------------- + clknetwork : DFT_CLK + port map + (-- Clock in ports + CLK_IN1 => clk_in1_buf, + -- Clock out ports + CLK_OUT1 => clk_int, + -- Status and control signals + RESET => RESET, + LOCKED => locked_int); + + clk_n <= not clk; + clkout_oddr : ODDR2 + port map + (Q => CLK_OUT(1), + C0 => clk, + C1 => clk_n, + CE => '1', + D0 => '1', + D1 => '0', + R => '0', + S => '0'); + + -- Connect the output clocks to the design + ------------------------------------------- + clk <= clk_int; + + -- Output clock sampling + ------------------------------------- + process (clk, rst_sync_int2) begin + if (rst_sync_int2 = '1') then + counter <= (others => '0') after TCQ; + elsif (rising_edge(clk)) then + counter <= counter + 1 after TCQ; + end if; + end process; + -- alias the high bit to the output + COUNT <= counter(C_W-1); + + +end xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/simulation/DFT_CLK_tb.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/simulation/DFT_CLK_tb.vhd new file mode 100644 index 0000000..d425375 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/simulation/DFT_CLK_tb.vhd @@ -0,0 +1,197 @@ +-- file: DFT_CLK_tb.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- + +------------------------------------------------------------------------------ +-- Clocking wizard demonstration testbench +------------------------------------------------------------------------------ +-- This demonstration testbench instantiates the example design for the +-- clocking wizard. Input clocks are toggled, which cause the clocking +-- network to lock and the counters to increment. +------------------------------------------------------------------------------ + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; +use ieee.std_logic_textio.all; + +library std; +use std.textio.all; + +library work; +use work.all; + +entity DFT_CLK_tb is +end DFT_CLK_tb; + +architecture test of DFT_CLK_tb is + + -- Clock to Q delay of 100 ps + constant TCQ : time := 100 ps; + -- timescale is 1ps + constant ONE_NS : time := 1 ns; + -- how many cycles to run + constant COUNT_PHASE : integer := 1024 + 1; + + + -- we'll be using the period in many locations + constant PER1 : time := 62.5 ns; + + + -- Declare the input clock signals + signal CLK_IN1 : std_logic := '1'; + -- The high bit of the sampling counter + signal COUNT : std_logic; + -- Status and control signals + signal RESET : std_logic := '0'; + signal LOCKED : std_logic; + signal COUNTER_RESET : std_logic := '0'; +-- signal defined to stop mti simulation without severity failure in the report + signal end_of_sim : std_logic := '0'; + signal CLK_OUT : std_logic_vector(1 downto 1); +--Freq Check using the M & D values setting and actual Frequency generated + +component DFT_CLK_exdes +generic ( + TCQ : in time := 100 ps); +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Reset that only drives logic in example design + COUNTER_RESET : in std_logic; + CLK_OUT : out std_logic_vector(1 downto 1) ; + -- High bits of counters driven by clocks + COUNT : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end component; + +begin + + -- Input clock generation + -------------------------------------- + process begin + CLK_IN1 <= not CLK_IN1; wait for (PER1/2); + end process; + + -- Test sequence + process + + procedure simtimeprint is + variable outline : line; + begin + write(outline, string'("## SYSTEM_CYCLE_COUNTER ")); + write(outline, NOW/PER1); + write(outline, string'(" ns")); + writeline(output,outline); + end simtimeprint; + + procedure simfreqprint (period : time; clk_num : integer) is + variable outputline : LINE; + variable str1 : string(1 to 16); + variable str2 : integer; + variable str3 : string(1 to 2); + variable str4 : integer; + variable str5 : string(1 to 4); + begin + str1 := "Freq of CLK_OUT("; + str2 := clk_num; + str3 := ") "; + str4 := 1000000 ps/period ; + str5 := " MHz" ; + write(outputline, str1 ); + write(outputline, str2); + write(outputline, str3); + write(outputline, str4); + write(outputline, str5); + writeline(output, outputline); + end simfreqprint; + + begin + RESET <= '1'; + wait for (PER1*6); + RESET <= '0'; + wait until LOCKED = '1'; + COUNTER_RESET <= '1'; + wait for (PER1*20); + COUNTER_RESET <= '0'; + wait for (PER1*COUNT_PHASE); + + + simtimeprint; + end_of_sim <= '1'; + wait for 1 ps; + report "Simulation Stopped." severity failure; + wait; + end process; + + -- Instantiation of the example design containing the clock + -- network and sampling counters + ----------------------------------------------------------- + dut : DFT_CLK_exdes + generic map ( + TCQ => TCQ) + port map + (-- Clock in ports + CLK_IN1 => CLK_IN1, + -- Reset for logic in example design + COUNTER_RESET => COUNTER_RESET, + CLK_OUT => CLK_OUT, + -- High bits of the counters + COUNT => COUNT, + -- Status and control signals + RESET => RESET, + LOCKED => LOCKED); + +-- Freq Check + +end test; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/simulation/timing/DFT_CLK_tb.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/simulation/timing/DFT_CLK_tb.vhd new file mode 100644 index 0000000..7d7055c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DFT_CLK/simulation/timing/DFT_CLK_tb.vhd @@ -0,0 +1,220 @@ +-- file: DFT_CLK_tb.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- + +------------------------------------------------------------------------------ +-- Clocking wizard demonstration testbench +------------------------------------------------------------------------------ +-- This demonstration testbench instantiates the example design for the +-- clocking wizard. Input clocks are toggled, which cause the clocking +-- network to lock and the counters to increment. +------------------------------------------------------------------------------ + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; +use ieee.std_logic_textio.all; + +library std; +use std.textio.all; + +library work; +use work.all; + +entity DFT_CLK_tb is +end DFT_CLK_tb; + +architecture test of DFT_CLK_tb is + + -- Clock to Q delay of 100 ps + constant TCQ : time := 100 ps; + -- timescale is 1ps + constant ONE_NS : time := 1 ns; + -- how many cycles to run + constant COUNT_PHASE : integer := 1024 + 1; + + + -- we'll be using the period in many locations + constant PER1 : time := 62.5 ns; + + + -- Declare the input clock signals + signal CLK_IN1 : std_logic := '1'; + -- The high bit of the sampling counter + signal COUNT : std_logic; + -- Status and control signals + signal RESET : std_logic := '0'; + signal LOCKED : std_logic; + signal COUNTER_RESET : std_logic := '0'; + signal timeout_counter : std_logic_vector (13 downto 0) := (others => '0'); +-- signal defined to stop mti simulation without severity failure in the report + signal end_of_sim : std_logic := '0'; + signal CLK_OUT : std_logic_vector(1 downto 1); +--Freq Check using the M & D values setting and actual Frequency generated + +component DFT_CLK_exdes +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Reset that only drives logic in example design + COUNTER_RESET : in std_logic; + CLK_OUT : out std_logic_vector(1 downto 1) ; + -- High bits of counters driven by clocks + COUNT : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end component; + +begin + + -- Input clock generation + -------------------------------------- + process begin + CLK_IN1 <= not CLK_IN1; wait for (PER1/2); + end process; + + -- Test sequence + process + + procedure simtimeprint is + variable outline : line; + begin + write(outline, string'("## SYSTEM_CYCLE_COUNTER ")); + write(outline, NOW/PER1); + write(outline, string'(" ns")); + writeline(output,outline); + end simtimeprint; + + procedure simfreqprint (period : time; clk_num : integer) is + variable outputline : LINE; + variable str1 : string(1 to 16); + variable str2 : integer; + variable str3 : string(1 to 2); + variable str4 : integer; + variable str5 : string(1 to 4); + begin + str1 := "Freq of CLK_OUT("; + str2 := clk_num; + str3 := ") "; + str4 := 1000000 ps/period ; + str5 := " MHz" ; + write(outputline, str1 ); + write(outputline, str2); + write(outputline, str3); + write(outputline, str4); + write(outputline, str5); + writeline(output, outputline); + end simfreqprint; + + begin + report "Timing checks are not valid" severity note; + RESET <= '1'; + wait for (PER1*6); + RESET <= '0'; + wait until LOCKED = '1'; + wait for (PER1*20); + COUNTER_RESET <= '1'; + wait for (PER1*19.5); + COUNTER_RESET <= '0'; + wait for (PER1*1); + report "Timing checks are valid" severity note; + wait for (PER1*COUNT_PHASE); + + + simtimeprint; + end_of_sim <= '1'; + wait for 1 ps; + report "Simulation Stopped." severity failure; + wait; + end process; + + process (CLK_IN1) + procedure simtimeprint is + variable outline : line; + begin + write(outline, string'("## SYSTEM_CYCLE_COUNTER ")); + write(outline, NOW/PER1); + write(outline, string'(" ns")); + writeline(output,outline); + end simtimeprint; + begin + if (CLK_IN1'event and CLK_IN1='1') then + timeout_counter <= timeout_counter + '1'; + if (timeout_counter = "10000000000000") then + if (LOCKED /= '1') then + simtimeprint; + report "NO LOCK signal" severity failure; + end if; + end if; + end if; + end process; + + + -- Instantiation of the example design containing the clock + -- network and sampling counters + ----------------------------------------------------------- + dut : DFT_CLK_exdes + port map + (-- Clock in ports + CLK_IN1 => CLK_IN1, + -- Reset for logic in example design + COUNTER_RESET => COUNTER_RESET, + CLK_OUT => CLK_OUT, + -- High bits of the counters + COUNT => COUNT, + -- Status and control signals + RESET => RESET, + LOCKED => LOCKED); + +-- Freq Check + +end test; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP48.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP48.gise new file mode 100644 index 0000000..93248ea --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP48.gise @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP48.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP48.vhd new file mode 100644 index 0000000..5895fe1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP48.vhd @@ -0,0 +1,139 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2020 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file DSP48.vhd when simulating +-- the core, DSP48. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY DSP48 IS + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END DSP48; + +ARCHITECTURE DSP48_a OF DSP48 IS +-- synthesis translate_off +COMPONENT wrapped_DSP48 + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_DSP48 USE ENTITY XilinxCoreLib.xbip_dsp48_macro_v2_1(behavioral) + GENERIC MAP ( + c_a_width => 18, + c_b_width => 18, + c_c_width => 48, + c_concat_width => 48, + c_constant_1 => 1, + c_d_width => 18, + c_has_a => 1, + c_has_acin => 0, + c_has_acout => 0, + c_has_b => 1, + c_has_bcin => 0, + c_has_bcout => 0, + c_has_c => 1, + c_has_carrycascin => 0, + c_has_carrycascout => 0, + c_has_carryin => 0, + c_has_carryout => 0, + c_has_ce => 1, + c_has_cea => 0, + c_has_ceb => 0, + c_has_cec => 0, + c_has_ceconcat => 0, + c_has_ced => 0, + c_has_cem => 0, + c_has_cep => 0, + c_has_cesel => 0, + c_has_concat => 0, + c_has_d => 0, + c_has_indep_ce => 0, + c_has_indep_sclr => 0, + c_has_pcin => 0, + c_has_pcout => 0, + c_has_sclr => 0, + c_has_sclra => 0, + c_has_sclrb => 0, + c_has_sclrc => 0, + c_has_sclrconcat => 0, + c_has_sclrd => 0, + c_has_sclrm => 0, + c_has_sclrp => 0, + c_has_sclrsel => 0, + c_latency => -1, + c_model_type => 0, + c_opmodes => "0000000000010000000,0000001100010000000", + c_p_lsb => 0, + c_p_msb => 47, + c_reg_config => "00000000000011100111100111100100", + c_sel_width => 1, + c_test_core => 0, + c_verbosity => 0, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_DSP48 + PORT MAP ( + clk => clk, + ce => ce, + sel => sel, + a => a, + b => b, + c => c, + p => p + ); +-- synthesis translate_on + +END DSP48_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP_SLICE.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP_SLICE.gise new file mode 100644 index 0000000..edc3d0f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP_SLICE.gise @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP_SLICE.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP_SLICE.vhd new file mode 100644 index 0000000..c378c8c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/DSP_SLICE.vhd @@ -0,0 +1,139 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2020 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file DSP_SLICE.vhd when simulating +-- the core, DSP_SLICE. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY DSP_SLICE IS + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END DSP_SLICE; + +ARCHITECTURE DSP_SLICE_a OF DSP_SLICE IS +-- synthesis translate_off +COMPONENT wrapped_DSP_SLICE + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_DSP_SLICE USE ENTITY XilinxCoreLib.xbip_dsp48_macro_v2_1(behavioral) + GENERIC MAP ( + c_a_width => 18, + c_b_width => 18, + c_c_width => 48, + c_concat_width => 48, + c_constant_1 => 1, + c_d_width => 18, + c_has_a => 1, + c_has_acin => 0, + c_has_acout => 0, + c_has_b => 1, + c_has_bcin => 0, + c_has_bcout => 0, + c_has_c => 1, + c_has_carrycascin => 0, + c_has_carrycascout => 0, + c_has_carryin => 0, + c_has_carryout => 0, + c_has_ce => 1, + c_has_cea => 0, + c_has_ceb => 0, + c_has_cec => 0, + c_has_ceconcat => 0, + c_has_ced => 0, + c_has_cem => 0, + c_has_cep => 0, + c_has_cesel => 0, + c_has_concat => 0, + c_has_d => 0, + c_has_indep_ce => 0, + c_has_indep_sclr => 0, + c_has_pcin => 0, + c_has_pcout => 0, + c_has_sclr => 0, + c_has_sclra => 0, + c_has_sclrb => 0, + c_has_sclrc => 0, + c_has_sclrconcat => 0, + c_has_sclrd => 0, + c_has_sclrm => 0, + c_has_sclrp => 0, + c_has_sclrsel => 0, + c_latency => -1, + c_model_type => 0, + c_opmodes => "0000000000010000000,0000001100010000000", + c_p_lsb => 0, + c_p_msb => 47, + c_reg_config => "00000000000011100111100111100100", + c_sel_width => 1, + c_test_core => 0, + c_verbosity => 0, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_DSP_SLICE + PORT MAP ( + clk => clk, + ce => ce, + sel => sel, + a => a, + b => b, + c => c, + p => p + ); +-- synthesis translate_on + +END DSP_SLICE_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/ModulationMemory.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/ModulationMemory.gise new file mode 100644 index 0000000..f652c16 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/ModulationMemory.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/ModulationMemory.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/ModulationMemory.vhd new file mode 100644 index 0000000..0c4ec46 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/ModulationMemory.vhd @@ -0,0 +1,149 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2022 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file ModulationMemory.vhd when simulating +-- the core, ModulationMemory. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY ModulationMemory IS + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(143 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(143 DOWNTO 0) + ); +END ModulationMemory; + +ARCHITECTURE ModulationMemory_a OF ModulationMemory IS +-- synthesis translate_off +COMPONENT wrapped_ModulationMemory + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(143 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(143 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_ModulationMemory USE ENTITY XilinxCoreLib.blk_mem_gen_v7_3(behavioral) + GENERIC MAP ( + c_addra_width => 8, + c_addrb_width => 8, + c_algorithm => 1, + c_axi_id_width => 4, + c_axi_slave_type => 0, + c_axi_type => 1, + c_byte_size => 9, + c_common_clk => 0, + c_default_data => "0", + c_disable_warn_bhv_coll => 0, + c_disable_warn_bhv_range => 0, + c_enable_32bit_address => 0, + c_family => "spartan6", + c_has_axi_id => 0, + c_has_ena => 0, + c_has_enb => 0, + c_has_injecterr => 0, + c_has_mem_output_regs_a => 0, + c_has_mem_output_regs_b => 0, + c_has_mux_output_regs_a => 0, + c_has_mux_output_regs_b => 0, + c_has_regcea => 0, + c_has_regceb => 0, + c_has_rsta => 0, + c_has_rstb => 0, + c_has_softecc_input_regs_a => 0, + c_has_softecc_output_regs_b => 0, + c_init_file => "BlankString", + c_init_file_name => "no_coe_file_loaded", + c_inita_val => "0", + c_initb_val => "0", + c_interface_type => 0, + c_load_init_file => 0, + c_mem_type => 1, + c_mux_pipeline_stages => 0, + c_prim_type => 1, + c_read_depth_a => 256, + c_read_depth_b => 256, + c_read_width_a => 144, + c_read_width_b => 144, + c_rst_priority_a => "CE", + c_rst_priority_b => "CE", + c_rst_type => "SYNC", + c_rstram_a => 0, + c_rstram_b => 0, + c_sim_collision_check => "ALL", + c_use_bram_block => 0, + c_use_byte_wea => 0, + c_use_byte_web => 0, + c_use_default_data => 0, + c_use_ecc => 0, + c_use_softecc => 0, + c_wea_width => 1, + c_web_width => 1, + c_write_depth_a => 256, + c_write_depth_b => 256, + c_write_mode_a => "WRITE_FIRST", + c_write_mode_b => "WRITE_FIRST", + c_write_width_a => 144, + c_write_width_b => 144, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_ModulationMemory + PORT MAP ( + clka => clka, + wea => wea, + addra => addra, + dina => dina, + clkb => clkb, + addrb => addrb, + doutb => doutb + ); +-- synthesis translate_on + +END ModulationMemory_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.gise new file mode 100644 index 0000000..2143394 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.gise @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.ucf new file mode 100644 index 0000000..609adfb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.ucf @@ -0,0 +1,59 @@ +# file: PLL.ucf +# +# (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +# +# This file contains confidential and proprietary information +# of Xilinx, Inc. and is protected under U.S. and +# international copyright and other intellectual property +# laws. +# +# DISCLAIMER +# This disclaimer is not a license and does not grant any +# rights to the materials distributed herewith. Except as +# otherwise provided in a valid license issued to you by +# Xilinx, and to the maximum extent permitted by applicable +# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +# WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +# (2) Xilinx shall not be liable (whether in contract or tort, +# including negligence, or under any other theory of +# liability) for any loss or damage of any kind or nature +# related to, arising under or in connection with these +# materials, including for any direct, or any indirect, +# special, incidental, or consequential loss or damage +# (including loss of data, profits, goodwill, or any type of +# loss or damage suffered as a result of any action brought +# by a third party) even if such damage or loss was +# reasonably foreseeable or Xilinx had been advised of the +# possibility of the same. +# +# CRITICAL APPLICATIONS +# Xilinx products are not designed or intended to be fail- +# safe, or for use in any application requiring fail-safe +# performance, such as life-support or safety devices or +# systems, Class III medical devices, nuclear facilities, +# applications related to the deployment of airbags, or any +# other applications that could lead to death, personal +# injury, or severe property or environmental damage +# (individually and collectively, "Critical +# Applications"). Customer assumes the sole risk and +# liability of any use of Xilinx products in Critical +# Applications, subject only to applicable laws and +# regulations governing limitations on product liability. +# +# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +# PART OF THIS FILE AT ALL TIMES. +# + +# Input clock periods. These duplicate the values entered for the +# input clocks. You can use these to time your system +#---------------------------------------------------------------- +NET "CLK_IN1" TNM_NET = "CLK_IN1"; +TIMESPEC "TS_CLK_IN1" = PERIOD "CLK_IN1" 62.5 ns HIGH 50% INPUT_JITTER 625.0ps; + + +# FALSE PATH constraints +PIN "RESET" TIG; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.vhd new file mode 100644 index 0000000..5b1fe31 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL.vhd @@ -0,0 +1,172 @@ +-- file: PLL.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- +------------------------------------------------------------------------------ +-- User entered comments +------------------------------------------------------------------------------ +-- None +-- +------------------------------------------------------------------------------ +-- "Output Output Phase Duty Pk-to-Pk Phase" +-- "Clock Freq (MHz) (degrees) Cycle (%) Jitter (ps) Error (ps)" +------------------------------------------------------------------------------ +-- CLK_OUT1___102.400______0.000______50.0_____1274.405____150.000 +-- +------------------------------------------------------------------------------ +-- "Input Clock Freq (MHz) Input Jitter (UI)" +------------------------------------------------------------------------------ +-- __primary______________16____________0.010 + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; + +library unisim; +use unisim.vcomponents.all; + +entity PLL is +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Clock out ports + CLK_OUT1 : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end PLL; + +architecture xilinx of PLL is + attribute CORE_GENERATION_INFO : string; + attribute CORE_GENERATION_INFO of xilinx : architecture is "PLL,clk_wiz_v3_6,{component_name=PLL,use_phase_alignment=true,use_min_o_jitter=false,use_max_i_jitter=false,use_dyn_phase_shift=false,use_inclk_switchover=false,use_dyn_reconfig=false,feedback_source=FDBK_AUTO,primtype_sel=DCM_SP,num_out_clk=1,clkin1_period=62.5,clkin2_period=62.5,use_power_down=false,use_reset=true,use_locked=true,use_inclk_stopped=false,use_status=false,use_freeze=false,use_clk_valid=false,feedback_type=SINGLE,clock_mgr_type=AUTO,manual_override=false}"; + -- Input clock buffering / unused connectors + signal clkin1 : std_logic; + -- Output clock buffering + signal clkfb : std_logic; + signal clk0 : std_logic; + signal clkfx : std_logic; + signal clkfbout : std_logic; + signal locked_internal : std_logic; + signal status_internal : std_logic_vector(7 downto 0); +begin + + + -- Input buffering + -------------------------------------- + clkin1_buf : IBUFG + port map + (O => clkin1, + I => CLK_IN1); + + + -- Clocking primitive + -------------------------------------- + + -- Instantiation of the DCM primitive + -- * Unused inputs are tied off + -- * Unused outputs are labeled unused + dcm_sp_inst: DCM_SP + generic map + (CLKDV_DIVIDE => 2.000, + CLKFX_DIVIDE => 5, + CLKFX_MULTIPLY => 32, + CLKIN_DIVIDE_BY_2 => FALSE, + CLKIN_PERIOD => 62.5, + CLKOUT_PHASE_SHIFT => "NONE", + CLK_FEEDBACK => "1X", + DESKEW_ADJUST => "SYSTEM_SYNCHRONOUS", + PHASE_SHIFT => 0, + STARTUP_WAIT => FALSE) + port map + -- Input clock + (CLKIN => clkin1, + CLKFB => clkfb, + -- Output clocks + CLK0 => clk0, + CLK90 => open, + CLK180 => open, + CLK270 => open, + CLK2X => open, + CLK2X180 => open, + CLKFX => clkfx, + CLKFX180 => open, + CLKDV => open, + -- Ports for dynamic phase shift + PSCLK => '0', + PSEN => '0', + PSINCDEC => '0', + PSDONE => open, + -- Other control and status signals + LOCKED => locked_internal, + STATUS => status_internal, + RST => RESET, + -- Unused pin, tie low + DSSEN => '0'); + + LOCKED <= locked_internal; + + + + -- Output buffering + ------------------------------------- + clkf_buf : BUFG + port map + (O => clkfb, + I => clk0); + + + clkout1_buf : BUFG + port map + (O => CLK_OUT1, + I => clkfx); + + + +end xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/example_design/PLL_exdes.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/example_design/PLL_exdes.ucf new file mode 100644 index 0000000..7b69c75 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/example_design/PLL_exdes.ucf @@ -0,0 +1,60 @@ +# file: PLL_exdes.ucf +# +# (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +# +# This file contains confidential and proprietary information +# of Xilinx, Inc. and is protected under U.S. and +# international copyright and other intellectual property +# laws. +# +# DISCLAIMER +# This disclaimer is not a license and does not grant any +# rights to the materials distributed herewith. Except as +# otherwise provided in a valid license issued to you by +# Xilinx, and to the maximum extent permitted by applicable +# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +# WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +# (2) Xilinx shall not be liable (whether in contract or tort, +# including negligence, or under any other theory of +# liability) for any loss or damage of any kind or nature +# related to, arising under or in connection with these +# materials, including for any direct, or any indirect, +# special, incidental, or consequential loss or damage +# (including loss of data, profits, goodwill, or any type of +# loss or damage suffered as a result of any action brought +# by a third party) even if such damage or loss was +# reasonably foreseeable or Xilinx had been advised of the +# possibility of the same. +# +# CRITICAL APPLICATIONS +# Xilinx products are not designed or intended to be fail- +# safe, or for use in any application requiring fail-safe +# performance, such as life-support or safety devices or +# systems, Class III medical devices, nuclear facilities, +# applications related to the deployment of airbags, or any +# other applications that could lead to death, personal +# injury, or severe property or environmental damage +# (individually and collectively, "Critical +# Applications"). Customer assumes the sole risk and +# liability of any use of Xilinx products in Critical +# Applications, subject only to applicable laws and +# regulations governing limitations on product liability. +# +# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +# PART OF THIS FILE AT ALL TIMES. +# + +# Input clock periods. These duplicate the values entered for the +# input clocks. You can use these to time your system +#---------------------------------------------------------------- +NET "CLK_IN1" TNM_NET = "CLK_IN1"; +TIMESPEC "TS_CLK_IN1" = PERIOD "CLK_IN1" 62.5 ns HIGH 50% INPUT_JITTER 625.0ps; + + +# FALSE PATH constraints +PIN "COUNTER_RESET" TIG; +PIN "RESET" TIG; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/example_design/PLL_exdes.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/example_design/PLL_exdes.vhd new file mode 100644 index 0000000..7feb2bc --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/example_design/PLL_exdes.vhd @@ -0,0 +1,182 @@ +-- file: PLL_exdes.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- + +------------------------------------------------------------------------------ +-- Clocking wizard example design +------------------------------------------------------------------------------ +-- This example design instantiates the created clocking network, where each +-- output clock drives a counter. The high bit of each counter is ported. +------------------------------------------------------------------------------ + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; + +library unisim; +use unisim.vcomponents.all; + +entity PLL_exdes is +generic ( + TCQ : in time := 100 ps); +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Reset that only drives logic in example design + COUNTER_RESET : in std_logic; + CLK_OUT : out std_logic_vector(1 downto 1) ; + -- High bits of counters driven by clocks + COUNT : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end PLL_exdes; + +architecture xilinx of PLL_exdes is + + -- Parameters for the counters + --------------------------------- + -- Counter width + constant C_W : integer := 16; + + + -- When the clock goes out of lock, reset the counters + signal locked_int : std_logic; + signal reset_int : std_logic := '0'; + + -- Declare the clocks and counter + signal clk : std_logic; + signal clk_int : std_logic; + signal clk_n : std_logic; + signal counter : std_logic_vector(C_W-1 downto 0) := (others => '0'); + signal rst_sync : std_logic; + signal rst_sync_int : std_logic; + signal rst_sync_int1 : std_logic; + signal rst_sync_int2 : std_logic; + + +component PLL is +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Clock out ports + CLK_OUT1 : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end component; + +begin + -- Alias output to internally used signal + LOCKED <= locked_int; + + -- When the clock goes out of lock, reset the counters + reset_int <= (not locked_int) or RESET or COUNTER_RESET; + + + process (clk, reset_int) begin + if (reset_int = '1') then + rst_sync <= '1'; + rst_sync_int <= '1'; + rst_sync_int1 <= '1'; + rst_sync_int2 <= '1'; + elsif (clk 'event and clk='1') then + rst_sync <= '0'; + rst_sync_int <= rst_sync; + rst_sync_int1 <= rst_sync_int; + rst_sync_int2 <= rst_sync_int1; + end if; + end process; + + + -- Instantiation of the clocking network + ---------------------------------------- + clknetwork : PLL + port map + (-- Clock in ports + CLK_IN1 => CLK_IN1, + -- Clock out ports + CLK_OUT1 => clk_int, + -- Status and control signals + RESET => RESET, + LOCKED => locked_int); + + clk_n <= not clk; + clkout_oddr : ODDR2 + port map + (Q => CLK_OUT(1), + C0 => clk, + C1 => clk_n, + CE => '1', + D0 => '1', + D1 => '0', + R => '0', + S => '0'); + + -- Connect the output clocks to the design + ------------------------------------------- + clk <= clk_int; + + -- Output clock sampling + ------------------------------------- + process (clk, rst_sync_int2) begin + if (rst_sync_int2 = '1') then + counter <= (others => '0') after TCQ; + elsif (rising_edge(clk)) then + counter <= counter + 1 after TCQ; + end if; + end process; + -- alias the high bit to the output + COUNT <= counter(C_W-1); + + +end xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/simulation/PLL_tb.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/simulation/PLL_tb.vhd new file mode 100644 index 0000000..3448143 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/simulation/PLL_tb.vhd @@ -0,0 +1,197 @@ +-- file: PLL_tb.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- + +------------------------------------------------------------------------------ +-- Clocking wizard demonstration testbench +------------------------------------------------------------------------------ +-- This demonstration testbench instantiates the example design for the +-- clocking wizard. Input clocks are toggled, which cause the clocking +-- network to lock and the counters to increment. +------------------------------------------------------------------------------ + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; +use ieee.std_logic_textio.all; + +library std; +use std.textio.all; + +library work; +use work.all; + +entity PLL_tb is +end PLL_tb; + +architecture test of PLL_tb is + + -- Clock to Q delay of 100 ps + constant TCQ : time := 100 ps; + -- timescale is 1ps + constant ONE_NS : time := 1 ns; + -- how many cycles to run + constant COUNT_PHASE : integer := 1024 + 1; + + + -- we'll be using the period in many locations + constant PER1 : time := 62.5 ns; + + + -- Declare the input clock signals + signal CLK_IN1 : std_logic := '1'; + -- The high bit of the sampling counter + signal COUNT : std_logic; + -- Status and control signals + signal RESET : std_logic := '0'; + signal LOCKED : std_logic; + signal COUNTER_RESET : std_logic := '0'; +-- signal defined to stop mti simulation without severity failure in the report + signal end_of_sim : std_logic := '0'; + signal CLK_OUT : std_logic_vector(1 downto 1); +--Freq Check using the M & D values setting and actual Frequency generated + +component PLL_exdes +generic ( + TCQ : in time := 100 ps); +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Reset that only drives logic in example design + COUNTER_RESET : in std_logic; + CLK_OUT : out std_logic_vector(1 downto 1) ; + -- High bits of counters driven by clocks + COUNT : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end component; + +begin + + -- Input clock generation + -------------------------------------- + process begin + CLK_IN1 <= not CLK_IN1; wait for (PER1/2); + end process; + + -- Test sequence + process + + procedure simtimeprint is + variable outline : line; + begin + write(outline, string'("## SYSTEM_CYCLE_COUNTER ")); + write(outline, NOW/PER1); + write(outline, string'(" ns")); + writeline(output,outline); + end simtimeprint; + + procedure simfreqprint (period : time; clk_num : integer) is + variable outputline : LINE; + variable str1 : string(1 to 16); + variable str2 : integer; + variable str3 : string(1 to 2); + variable str4 : integer; + variable str5 : string(1 to 4); + begin + str1 := "Freq of CLK_OUT("; + str2 := clk_num; + str3 := ") "; + str4 := 1000000 ps/period ; + str5 := " MHz" ; + write(outputline, str1 ); + write(outputline, str2); + write(outputline, str3); + write(outputline, str4); + write(outputline, str5); + writeline(output, outputline); + end simfreqprint; + + begin + RESET <= '1'; + wait for (PER1*6); + RESET <= '0'; + wait until LOCKED = '1'; + COUNTER_RESET <= '1'; + wait for (PER1*20); + COUNTER_RESET <= '0'; + wait for (PER1*COUNT_PHASE); + + + simtimeprint; + end_of_sim <= '1'; + wait for 1 ps; + report "Simulation Stopped." severity failure; + wait; + end process; + + -- Instantiation of the example design containing the clock + -- network and sampling counters + ----------------------------------------------------------- + dut : PLL_exdes + generic map ( + TCQ => TCQ) + port map + (-- Clock in ports + CLK_IN1 => CLK_IN1, + -- Reset for logic in example design + COUNTER_RESET => COUNTER_RESET, + CLK_OUT => CLK_OUT, + -- High bits of the counters + COUNT => COUNT, + -- Status and control signals + RESET => RESET, + LOCKED => LOCKED); + +-- Freq Check + +end test; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/simulation/timing/PLL_tb.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/simulation/timing/PLL_tb.vhd new file mode 100644 index 0000000..e04f5b6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/PLL/simulation/timing/PLL_tb.vhd @@ -0,0 +1,220 @@ +-- file: PLL_tb.vhd +-- +-- (c) Copyright 2008 - 2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- + +------------------------------------------------------------------------------ +-- Clocking wizard demonstration testbench +------------------------------------------------------------------------------ +-- This demonstration testbench instantiates the example design for the +-- clocking wizard. Input clocks are toggled, which cause the clocking +-- network to lock and the counters to increment. +------------------------------------------------------------------------------ + +library ieee; +use ieee.std_logic_1164.all; +use ieee.std_logic_unsigned.all; +use ieee.std_logic_arith.all; +use ieee.numeric_std.all; +use ieee.std_logic_textio.all; + +library std; +use std.textio.all; + +library work; +use work.all; + +entity PLL_tb is +end PLL_tb; + +architecture test of PLL_tb is + + -- Clock to Q delay of 100 ps + constant TCQ : time := 100 ps; + -- timescale is 1ps + constant ONE_NS : time := 1 ns; + -- how many cycles to run + constant COUNT_PHASE : integer := 1024 + 1; + + + -- we'll be using the period in many locations + constant PER1 : time := 62.5 ns; + + + -- Declare the input clock signals + signal CLK_IN1 : std_logic := '1'; + -- The high bit of the sampling counter + signal COUNT : std_logic; + -- Status and control signals + signal RESET : std_logic := '0'; + signal LOCKED : std_logic; + signal COUNTER_RESET : std_logic := '0'; + signal timeout_counter : std_logic_vector (13 downto 0) := (others => '0'); +-- signal defined to stop mti simulation without severity failure in the report + signal end_of_sim : std_logic := '0'; + signal CLK_OUT : std_logic_vector(1 downto 1); +--Freq Check using the M & D values setting and actual Frequency generated + +component PLL_exdes +port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Reset that only drives logic in example design + COUNTER_RESET : in std_logic; + CLK_OUT : out std_logic_vector(1 downto 1) ; + -- High bits of counters driven by clocks + COUNT : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); +end component; + +begin + + -- Input clock generation + -------------------------------------- + process begin + CLK_IN1 <= not CLK_IN1; wait for (PER1/2); + end process; + + -- Test sequence + process + + procedure simtimeprint is + variable outline : line; + begin + write(outline, string'("## SYSTEM_CYCLE_COUNTER ")); + write(outline, NOW/PER1); + write(outline, string'(" ns")); + writeline(output,outline); + end simtimeprint; + + procedure simfreqprint (period : time; clk_num : integer) is + variable outputline : LINE; + variable str1 : string(1 to 16); + variable str2 : integer; + variable str3 : string(1 to 2); + variable str4 : integer; + variable str5 : string(1 to 4); + begin + str1 := "Freq of CLK_OUT("; + str2 := clk_num; + str3 := ") "; + str4 := 1000000 ps/period ; + str5 := " MHz" ; + write(outputline, str1 ); + write(outputline, str2); + write(outputline, str3); + write(outputline, str4); + write(outputline, str5); + writeline(output, outputline); + end simfreqprint; + + begin + report "Timing checks are not valid" severity note; + RESET <= '1'; + wait for (PER1*6); + RESET <= '0'; + wait until LOCKED = '1'; + wait for (PER1*20); + COUNTER_RESET <= '1'; + wait for (PER1*19.5); + COUNTER_RESET <= '0'; + wait for (PER1*1); + report "Timing checks are valid" severity note; + wait for (PER1*COUNT_PHASE); + + + simtimeprint; + end_of_sim <= '1'; + wait for 1 ps; + report "Simulation Stopped." severity failure; + wait; + end process; + + process (CLK_IN1) + procedure simtimeprint is + variable outline : line; + begin + write(outline, string'("## SYSTEM_CYCLE_COUNTER ")); + write(outline, NOW/PER1); + write(outline, string'(" ns")); + writeline(output,outline); + end simtimeprint; + begin + if (CLK_IN1'event and CLK_IN1='1') then + timeout_counter <= timeout_counter + '1'; + if (timeout_counter = "10000000000000") then + if (LOCKED /= '1') then + simtimeprint; + report "NO LOCK signal" severity failure; + end if; + end if; + end if; + end process; + + + -- Instantiation of the example design containing the clock + -- network and sampling counters + ----------------------------------------------------------- + dut : PLL_exdes + port map + (-- Clock in ports + CLK_IN1 => CLK_IN1, + -- Reset for logic in example design + COUNTER_RESET => COUNTER_RESET, + CLK_OUT => CLK_OUT, + -- High bits of the counters + COUNT => COUNT, + -- Status and control signals + RESET => RESET, + LOCKED => LOCKED); + +-- Freq Check + +end test; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SampleMemory.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SampleMemory.gise new file mode 100644 index 0000000..1b9c9e1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SampleMemory.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SampleMemory.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SampleMemory.vhd new file mode 100644 index 0000000..8f6e7e1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SampleMemory.vhd @@ -0,0 +1,149 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2022 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file SampleMemory.vhd when simulating +-- the core, SampleMemory. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY SampleMemory IS + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(10 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(10 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(7 DOWNTO 0) + ); +END SampleMemory; + +ARCHITECTURE SampleMemory_a OF SampleMemory IS +-- synthesis translate_off +COMPONENT wrapped_SampleMemory + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(10 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(10 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(7 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_SampleMemory USE ENTITY XilinxCoreLib.blk_mem_gen_v7_3(behavioral) + GENERIC MAP ( + c_addra_width => 11, + c_addrb_width => 11, + c_algorithm => 1, + c_axi_id_width => 4, + c_axi_slave_type => 0, + c_axi_type => 1, + c_byte_size => 9, + c_common_clk => 0, + c_default_data => "0", + c_disable_warn_bhv_coll => 0, + c_disable_warn_bhv_range => 0, + c_enable_32bit_address => 0, + c_family => "spartan6", + c_has_axi_id => 0, + c_has_ena => 0, + c_has_enb => 0, + c_has_injecterr => 0, + c_has_mem_output_regs_a => 0, + c_has_mem_output_regs_b => 0, + c_has_mux_output_regs_a => 0, + c_has_mux_output_regs_b => 0, + c_has_regcea => 0, + c_has_regceb => 0, + c_has_rsta => 0, + c_has_rstb => 0, + c_has_softecc_input_regs_a => 0, + c_has_softecc_output_regs_b => 0, + c_init_file => "BlankString", + c_init_file_name => "no_coe_file_loaded", + c_inita_val => "0", + c_initb_val => "0", + c_interface_type => 0, + c_load_init_file => 0, + c_mem_type => 1, + c_mux_pipeline_stages => 0, + c_prim_type => 1, + c_read_depth_a => 2048, + c_read_depth_b => 2048, + c_read_width_a => 8, + c_read_width_b => 8, + c_rst_priority_a => "CE", + c_rst_priority_b => "CE", + c_rst_type => "SYNC", + c_rstram_a => 0, + c_rstram_b => 0, + c_sim_collision_check => "ALL", + c_use_bram_block => 0, + c_use_byte_wea => 0, + c_use_byte_web => 0, + c_use_default_data => 0, + c_use_ecc => 0, + c_use_softecc => 0, + c_wea_width => 1, + c_web_width => 1, + c_write_depth_a => 2048, + c_write_depth_b => 2048, + c_write_mode_a => "WRITE_FIRST", + c_write_mode_b => "WRITE_FIRST", + c_write_width_a => 8, + c_write_width_b => 8, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_SampleMemory + PORT MAP ( + clka => clka, + wea => wea, + addra => addra, + dina => dina, + clkb => clkb, + addrb => addrb, + doutb => doutb + ); +-- synthesis translate_on + +END SampleMemory_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SinCos.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SinCos.gise new file mode 100644 index 0000000..f561140 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SinCos.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SinCos.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SinCos.vhd new file mode 100644 index 0000000..77f6c2b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SinCos.vhd @@ -0,0 +1,106 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2020 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file SinCos.vhd when simulating +-- the core, SinCos. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY SinCos IS + PORT ( + clk : IN STD_LOGIC; + phase_in : IN STD_LOGIC_VECTOR(11 DOWNTO 0); + cosine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0); + sine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0) + ); +END SinCos; + +ARCHITECTURE SinCos_a OF SinCos IS +-- synthesis translate_off +COMPONENT wrapped_SinCos + PORT ( + clk : IN STD_LOGIC; + phase_in : IN STD_LOGIC_VECTOR(11 DOWNTO 0); + cosine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0); + sine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_SinCos USE ENTITY XilinxCoreLib.dds_compiler_v4_0(behavioral) + GENERIC MAP ( + c_accumulator_width => 12, + c_amplitude => 0, + c_channels => 1, + c_has_ce => 0, + c_has_channel_index => 0, + c_has_phase_out => 0, + c_has_phasegen => 0, + c_has_rdy => 0, + c_has_rfd => 0, + c_has_sclr => 0, + c_has_sincos => 1, + c_latency => -1, + c_mem_type => 1, + c_negative_cosine => 0, + c_negative_sine => 0, + c_noise_shaping => 0, + c_optimise_goal => 0, + c_output_width => 16, + c_outputs_required => 2, + c_phase_angle_width => 12, + c_phase_increment => 2, + c_phase_increment_value => "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + c_phase_offset => 0, + c_phase_offset_value => "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0", + c_por_mode => 0, + c_use_dsp48 => 0, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_SinCos + PORT MAP ( + clk => clk, + phase_in => phase_in, + cosine => cosine, + sine => sine + ); +-- synthesis translate_on + +END SinCos_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem.gise new file mode 100644 index 0000000..faea9f1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem.vhd new file mode 100644 index 0000000..78c5afa --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem.vhd @@ -0,0 +1,152 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2020 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file SweepConfigMem.vhd when simulating +-- the core, SweepConfigMem. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY SweepConfigMem IS + PORT ( + clka : IN STD_LOGIC; + ena : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(95 DOWNTO 0) + ); +END SweepConfigMem; + +ARCHITECTURE SweepConfigMem_a OF SweepConfigMem IS +-- synthesis translate_off +COMPONENT wrapped_SweepConfigMem + PORT ( + clka : IN STD_LOGIC; + ena : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(95 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_SweepConfigMem USE ENTITY XilinxCoreLib.blk_mem_gen_v7_3(behavioral) + GENERIC MAP ( + c_addra_width => 13, + c_addrb_width => 13, + c_algorithm => 1, + c_axi_id_width => 4, + c_axi_slave_type => 0, + c_axi_type => 1, + c_byte_size => 9, + c_common_clk => 0, + c_default_data => "0", + c_disable_warn_bhv_coll => 0, + c_disable_warn_bhv_range => 0, + c_enable_32bit_address => 0, + c_family => "spartan6", + c_has_axi_id => 0, + c_has_ena => 1, + c_has_enb => 0, + c_has_injecterr => 0, + c_has_mem_output_regs_a => 0, + c_has_mem_output_regs_b => 0, + c_has_mux_output_regs_a => 0, + c_has_mux_output_regs_b => 0, + c_has_regcea => 0, + c_has_regceb => 0, + c_has_rsta => 0, + c_has_rstb => 0, + c_has_softecc_input_regs_a => 0, + c_has_softecc_output_regs_b => 0, + c_init_file => "BlankString", + c_init_file_name => "no_coe_file_loaded", + c_inita_val => "0", + c_initb_val => "0", + c_interface_type => 0, + c_load_init_file => 0, + c_mem_type => 1, + c_mux_pipeline_stages => 0, + c_prim_type => 1, + c_read_depth_a => 4501, + c_read_depth_b => 4501, + c_read_width_a => 96, + c_read_width_b => 96, + c_rst_priority_a => "CE", + c_rst_priority_b => "CE", + c_rst_type => "SYNC", + c_rstram_a => 0, + c_rstram_b => 0, + c_sim_collision_check => "ALL", + c_use_bram_block => 0, + c_use_byte_wea => 0, + c_use_byte_web => 0, + c_use_default_data => 0, + c_use_ecc => 0, + c_use_softecc => 0, + c_wea_width => 1, + c_web_width => 1, + c_write_depth_a => 4501, + c_write_depth_b => 4501, + c_write_mode_a => "WRITE_FIRST", + c_write_mode_b => "WRITE_FIRST", + c_write_width_a => 96, + c_write_width_b => 96, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_SweepConfigMem + PORT MAP ( + clka => clka, + ena => ena, + wea => wea, + addra => addra, + dina => dina, + clkb => clkb, + addrb => addrb, + doutb => doutb + ); +-- synthesis translate_on + +END SweepConfigMem_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_exdes.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_exdes.ucf new file mode 100644 index 0000000..3762632 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_exdes.ucf @@ -0,0 +1,61 @@ +################################################################################ +# +# (c) Copyright 2002 - 2010 Xilinx, Inc. All rights reserved. +# +# This file contains confidential and proprietary information +# of Xilinx, Inc. and is protected under U.S. and +# international copyright and other intellectual property +# laws. +# +# DISCLAIMER +# This disclaimer is not a license and does not grant any +# rights to the materials distributed herewith. Except as +# otherwise provided in a valid license issued to you by +# Xilinx, and to the maximum extent permitted by applicable +# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +# WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +# (2) Xilinx shall not be liable (whether in contract or tort, +# including negligence, or under any other theory of +# liability) for any loss or damage of any kind or nature +# related to, arising under or in connection with these +# materials, including for any direct, or any indirect, +# special, incidental, or consequential loss or damage +# (including loss of data, profits, goodwill, or any type of +# loss or damage suffered as a result of any action brought +# by a third party) even if such damage or loss was +# reasonably foreseeable or Xilinx had been advised of the +# possibility of the same. +# +# CRITICAL APPLICATIONS +# Xilinx products are not designed or intended to be fail- +# safe, or for use in any application requiring fail-safe +# performance, such as life-support or safety devices or +# systems, Class III medical devices, nuclear facilities, +# applications related to the deployment of airbags, or any +# other applications that could lead to death, personal +# injury, or severe property or environmental damage +# (individually and collectively, "Critical +# Applications"). Customer assumes the sole risk and +# liability of any use of Xilinx products in Critical +# Applications, subject only to applicable laws and +# regulations governing limitations on product liability. +# +# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +# PART OF THIS FILE AT ALL TIMES. +# +################################################################################ + +# Tx Core Period Constraint. This constraint can be modified, and is +# valid as long as it is met after place and route. +NET "CLKA" TNM_NET = "CLKA"; + +NET "CLKB" TNM_NET = "CLKB"; + +TIMESPEC "TS_CLKA" = PERIOD "CLKA" 25 MHZ; + +TIMESPEC "TS_CLKB" = PERIOD "CLKB" 25 MHZ; + +################################################################################ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_exdes.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_exdes.vhd new file mode 100644 index 0000000..e9cbba1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_exdes.vhd @@ -0,0 +1,182 @@ + + + + + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7.1 Core - Top-level core wrapper +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006-2010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: SweepConfigMem_exdes.vhd +-- +-- Description: +-- This is the actual BMG core wrapper. +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: August 31, 2005 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY UNISIM; +USE UNISIM.VCOMPONENTS.ALL; + +-------------------------------------------------------------------------------- +-- Entity Declaration +-------------------------------------------------------------------------------- +ENTITY SweepConfigMem_exdes IS + PORT ( + --Inputs - Port A + ENA : IN STD_LOGIC; --opt port + + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + + DINA : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + + CLKA : IN STD_LOGIC; + + + --Inputs - Port B + ADDRB : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + CLKB : IN STD_LOGIC + + ); + +END SweepConfigMem_exdes; + + +ARCHITECTURE xilinx OF SweepConfigMem_exdes IS + + COMPONENT BUFG IS + PORT ( + I : IN STD_ULOGIC; + O : OUT STD_ULOGIC + ); + END COMPONENT; + + COMPONENT SweepConfigMem IS + PORT ( + --Port A + ENA : IN STD_LOGIC; --opt port + + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + + DINA : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + + + CLKA : IN STD_LOGIC; + + + --Port B + ADDRB : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + CLKB : IN STD_LOGIC + + + ); + END COMPONENT; + + SIGNAL CLKA_buf : STD_LOGIC; + SIGNAL CLKB_buf : STD_LOGIC; + SIGNAL S_ACLK_buf : STD_LOGIC; + +BEGIN + + bufg_A : BUFG + PORT MAP ( + I => CLKA, + O => CLKA_buf + ); + + bufg_B : BUFG + PORT MAP ( + I => CLKB, + O => CLKB_buf + ); + + + bmg0 : SweepConfigMem + PORT MAP ( + --Port A + ENA => ENA, + + WEA => WEA, + ADDRA => ADDRA, + + DINA => DINA, + + CLKA => CLKA_buf, + + + --Port B + ADDRB => ADDRB, + DOUTB => DOUTB, + CLKB => CLKB_buf + + ); + +END xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_prod.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_prod.vhd new file mode 100644 index 0000000..246b568 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/example_design/SweepConfigMem_prod.vhd @@ -0,0 +1,277 @@ + + + + + + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7.1 Core - Top-level wrapper +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006-2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- +-------------------------------------------------------------------------------- +-- +-- Filename: SweepConfigMem_prod.vhd +-- +-- Description: +-- This is the top-level BMG wrapper (over BMG core). +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: August 31, 2005 - First Release +-------------------------------------------------------------------------------- +-- +-- Configured Core Parameter Values: +-- (Refer to the SIM Parameters table in the datasheet for more information on +-- the these parameters.) +-- C_FAMILY : spartan6 +-- C_XDEVICEFAMILY : spartan6 +-- C_INTERFACE_TYPE : 0 +-- C_ENABLE_32BIT_ADDRESS : 0 +-- C_AXI_TYPE : 1 +-- C_AXI_SLAVE_TYPE : 0 +-- C_AXI_ID_WIDTH : 4 +-- C_MEM_TYPE : 1 +-- C_BYTE_SIZE : 9 +-- C_ALGORITHM : 1 +-- C_PRIM_TYPE : 1 +-- C_LOAD_INIT_FILE : 0 +-- C_INIT_FILE_NAME : no_coe_file_loaded +-- C_USE_DEFAULT_DATA : 0 +-- C_DEFAULT_DATA : 0 +-- C_RST_TYPE : SYNC +-- C_HAS_RSTA : 0 +-- C_RST_PRIORITY_A : CE +-- C_RSTRAM_A : 0 +-- C_INITA_VAL : 0 +-- C_HAS_ENA : 1 +-- C_HAS_REGCEA : 0 +-- C_USE_BYTE_WEA : 0 +-- C_WEA_WIDTH : 1 +-- C_WRITE_MODE_A : WRITE_FIRST +-- C_WRITE_WIDTH_A : 96 +-- C_READ_WIDTH_A : 96 +-- C_WRITE_DEPTH_A : 4501 +-- C_READ_DEPTH_A : 4501 +-- C_ADDRA_WIDTH : 13 +-- C_HAS_RSTB : 0 +-- C_RST_PRIORITY_B : CE +-- C_RSTRAM_B : 0 +-- C_INITB_VAL : 0 +-- C_HAS_ENB : 0 +-- C_HAS_REGCEB : 0 +-- C_USE_BYTE_WEB : 0 +-- C_WEB_WIDTH : 1 +-- C_WRITE_MODE_B : WRITE_FIRST +-- C_WRITE_WIDTH_B : 96 +-- C_READ_WIDTH_B : 96 +-- C_WRITE_DEPTH_B : 4501 +-- C_READ_DEPTH_B : 4501 +-- C_ADDRB_WIDTH : 13 +-- C_HAS_MEM_OUTPUT_REGS_A : 0 +-- C_HAS_MEM_OUTPUT_REGS_B : 0 +-- C_HAS_MUX_OUTPUT_REGS_A : 0 +-- C_HAS_MUX_OUTPUT_REGS_B : 0 +-- C_HAS_SOFTECC_INPUT_REGS_A : 0 +-- C_HAS_SOFTECC_OUTPUT_REGS_B : 0 +-- C_MUX_PIPELINE_STAGES : 0 +-- C_USE_ECC : 0 +-- C_USE_SOFTECC : 0 +-- C_HAS_INJECTERR : 0 +-- C_SIM_COLLISION_CHECK : ALL +-- C_COMMON_CLK : 0 +-- C_DISABLE_WARN_BHV_COLL : 0 +-- C_DISABLE_WARN_BHV_RANGE : 0 + +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY UNISIM; +USE UNISIM.VCOMPONENTS.ALL; + +-------------------------------------------------------------------------------- +-- Entity Declaration +-------------------------------------------------------------------------------- +ENTITY SweepConfigMem_prod IS + PORT ( + --Port A + CLKA : IN STD_LOGIC; + RSTA : IN STD_LOGIC; --opt port + ENA : IN STD_LOGIC; --optional port + REGCEA : IN STD_LOGIC; --optional port + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DINA : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + DOUTA : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + + --Port B + CLKB : IN STD_LOGIC; + RSTB : IN STD_LOGIC; --opt port + ENB : IN STD_LOGIC; --optional port + REGCEB : IN STD_LOGIC; --optional port + WEB : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRB : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DINB : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + + --ECC + INJECTSBITERR : IN STD_LOGIC; --optional port + INJECTDBITERR : IN STD_LOGIC; --optional port + SBITERR : OUT STD_LOGIC; --optional port + DBITERR : OUT STD_LOGIC; --optional port + RDADDRECC : OUT STD_LOGIC_VECTOR(12 DOWNTO 0); --optional port + -- AXI BMG Input and Output Port Declarations + + -- AXI Global Signals + S_ACLK : IN STD_LOGIC; + S_AXI_AWID : IN STD_LOGIC_VECTOR(3 DOWNTO 0); + S_AXI_AWADDR : IN STD_LOGIC_VECTOR(31 DOWNTO 0); + S_AXI_AWLEN : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + S_AXI_AWSIZE : IN STD_LOGIC_VECTOR(2 DOWNTO 0); + S_AXI_AWBURST : IN STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_AWVALID : IN STD_LOGIC; + S_AXI_AWREADY : OUT STD_LOGIC; + S_AXI_WDATA : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + S_AXI_WSTRB : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + S_AXI_WLAST : IN STD_LOGIC; + S_AXI_WVALID : IN STD_LOGIC; + S_AXI_WREADY : OUT STD_LOGIC; + S_AXI_BID : OUT STD_LOGIC_VECTOR(3 DOWNTO 0):= (OTHERS => '0'); + S_AXI_BRESP : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_BVALID : OUT STD_LOGIC; + S_AXI_BREADY : IN STD_LOGIC; + + -- AXI Full/Lite Slave Read (Write side) + S_AXI_ARID : IN STD_LOGIC_VECTOR(3 DOWNTO 0); + S_AXI_ARADDR : IN STD_LOGIC_VECTOR(31 DOWNTO 0); + S_AXI_ARLEN : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + S_AXI_ARSIZE : IN STD_LOGIC_VECTOR(2 DOWNTO 0); + S_AXI_ARBURST : IN STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_ARVALID : IN STD_LOGIC; + S_AXI_ARREADY : OUT STD_LOGIC; + S_AXI_RID : OUT STD_LOGIC_VECTOR(3 DOWNTO 0):= (OTHERS => '0'); + S_AXI_RDATA : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + S_AXI_RRESP : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_RLAST : OUT STD_LOGIC; + S_AXI_RVALID : OUT STD_LOGIC; + S_AXI_RREADY : IN STD_LOGIC; + + -- AXI Full/Lite Sideband Signals + S_AXI_INJECTSBITERR : IN STD_LOGIC; + S_AXI_INJECTDBITERR : IN STD_LOGIC; + S_AXI_SBITERR : OUT STD_LOGIC; + S_AXI_DBITERR : OUT STD_LOGIC; + S_AXI_RDADDRECC : OUT STD_LOGIC_VECTOR(12 DOWNTO 0); + S_ARESETN : IN STD_LOGIC + + + ); + +END SweepConfigMem_prod; + + +ARCHITECTURE xilinx OF SweepConfigMem_prod IS + + COMPONENT SweepConfigMem_exdes IS + PORT ( + --Port A + ENA : IN STD_LOGIC; --opt port + + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + + DINA : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + + + CLKA : IN STD_LOGIC; + + + --Port B + ADDRB : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + CLKB : IN STD_LOGIC + + + + ); + END COMPONENT; + +BEGIN + + bmg0 : SweepConfigMem_exdes + PORT MAP ( + --Port A + ENA => ENA, + + WEA => WEA, + ADDRA => ADDRA, + + DINA => DINA, + + CLKA => CLKA, + + --Port B + ADDRB => ADDRB, + DOUTB => DOUTB, + CLKB => CLKB + + + + ); +END xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/SweepConfigMem_synth.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/SweepConfigMem_synth.vhd new file mode 100644 index 0000000..9404e23 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/SweepConfigMem_synth.vhd @@ -0,0 +1,329 @@ + + + + + + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Synthesizable Testbench +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: SweepConfigMem_synth.vhd +-- +-- Description: +-- Synthesizable Testbench +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.NUMERIC_STD.ALL; +USE IEEE.STD_LOGIC_MISC.ALL; + +LIBRARY STD; +USE STD.TEXTIO.ALL; + +--LIBRARY unisim; +--USE unisim.vcomponents.ALL; + +LIBRARY work; +USE work.ALL; +USE work.BMG_TB_PKG.ALL; + +ENTITY SweepConfigMem_synth IS +PORT( + CLK_IN : IN STD_LOGIC; + CLKB_IN : IN STD_LOGIC; + RESET_IN : IN STD_LOGIC; + STATUS : OUT STD_LOGIC_VECTOR(8 DOWNTO 0) := (OTHERS => '0') --ERROR STATUS OUT OF FPGA + ); +END ENTITY; + +ARCHITECTURE SweepConfigMem_synth_ARCH OF SweepConfigMem_synth IS + + +COMPONENT SweepConfigMem_exdes + PORT ( + --Inputs - Port A + ENA : IN STD_LOGIC; --opt port + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DINA : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + CLKA : IN STD_LOGIC; + + --Inputs - Port B + ADDRB : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(95 DOWNTO 0); + CLKB : IN STD_LOGIC + + ); + +END COMPONENT; + + + SIGNAL CLKA: STD_LOGIC := '0'; + SIGNAL RSTA: STD_LOGIC := '0'; + SIGNAL ENA: STD_LOGIC := '0'; + SIGNAL ENA_R: STD_LOGIC := '0'; + SIGNAL WEA: STD_LOGIC_VECTOR(0 DOWNTO 0) := (OTHERS => '0'); + SIGNAL WEA_R: STD_LOGIC_VECTOR(0 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ADDRA: STD_LOGIC_VECTOR(12 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ADDRA_R: STD_LOGIC_VECTOR(12 DOWNTO 0) := (OTHERS => '0'); + SIGNAL DINA: STD_LOGIC_VECTOR(95 DOWNTO 0) := (OTHERS => '0'); + SIGNAL DINA_R: STD_LOGIC_VECTOR(95 DOWNTO 0) := (OTHERS => '0'); + SIGNAL CLKB: STD_LOGIC := '0'; + SIGNAL RSTB: STD_LOGIC := '0'; + SIGNAL ADDRB: STD_LOGIC_VECTOR(12 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ADDRB_R: STD_LOGIC_VECTOR(12 DOWNTO 0) := (OTHERS => '0'); + SIGNAL DOUTB: STD_LOGIC_VECTOR(95 DOWNTO 0); + SIGNAL CHECKER_EN : STD_LOGIC:='0'; + SIGNAL CHECKER_EN_R : STD_LOGIC:='0'; + SIGNAL STIMULUS_FLOW : STD_LOGIC_VECTOR(22 DOWNTO 0) := (OTHERS =>'0'); + SIGNAL clk_in_i: STD_LOGIC; + + SIGNAL RESET_SYNC_R1 : STD_LOGIC:='1'; + SIGNAL RESET_SYNC_R2 : STD_LOGIC:='1'; + SIGNAL RESET_SYNC_R3 : STD_LOGIC:='1'; + + SIGNAL clkb_in_i: STD_LOGIC; + SIGNAL RESETB_SYNC_R1 : STD_LOGIC := '1'; + SIGNAL RESETB_SYNC_R2 : STD_LOGIC := '1'; + SIGNAL RESETB_SYNC_R3 : STD_LOGIC := '1'; + SIGNAL ITER_R0 : STD_LOGIC := '0'; + SIGNAL ITER_R1 : STD_LOGIC := '0'; + SIGNAL ITER_R2 : STD_LOGIC := '0'; + + SIGNAL ISSUE_FLAG : STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ISSUE_FLAG_STATUS : STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + + BEGIN + +-- clk_buf: bufg +-- PORT map( +-- i => CLK_IN, +-- o => clk_in_i +-- ); + clk_in_i <= CLK_IN; + CLKA <= clk_in_i; + +-- clkb_buf: bufg +-- PORT map( +-- i => CLKB_IN, +-- o => clkb_in_i +-- ); + clkb_in_i <= CLKB_IN; + CLKB <= clkb_in_i; + RSTA <= RESET_SYNC_R3 AFTER 50 ns; + + + PROCESS(clk_in_i) + BEGIN + IF(RISING_EDGE(clk_in_i)) THEN + RESET_SYNC_R1 <= RESET_IN; + RESET_SYNC_R2 <= RESET_SYNC_R1; + RESET_SYNC_R3 <= RESET_SYNC_R2; + END IF; + END PROCESS; + + RSTB <= RESETB_SYNC_R3 AFTER 50 ns; + + PROCESS(clkb_in_i) + BEGIN + IF(RISING_EDGE(clkb_in_i)) THEN + RESETB_SYNC_R1 <= RESET_IN; + RESETB_SYNC_R2 <= RESETB_SYNC_R1; + RESETB_SYNC_R3 <= RESETB_SYNC_R2; + END IF; + END PROCESS; + +PROCESS(CLKA) +BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + ISSUE_FLAG_STATUS<= (OTHERS => '0'); + ELSE + ISSUE_FLAG_STATUS <= ISSUE_FLAG_STATUS OR ISSUE_FLAG; + END IF; + END IF; +END PROCESS; + +STATUS(7 DOWNTO 0) <= ISSUE_FLAG_STATUS; + + + + + BMG_DATA_CHECKER_INST: ENTITY work.CHECKER + GENERIC MAP ( + WRITE_WIDTH => 96, + READ_WIDTH => 96 ) + PORT MAP ( + CLK => clkb_in_i, + RST => RSTB, + EN => CHECKER_EN_R, + DATA_IN => DOUTB, + STATUS => ISSUE_FLAG(0) + ); + + PROCESS(clkb_in_i) + BEGIN + IF(RISING_EDGE(clkb_in_i)) THEN + IF(RSTB='1') THEN + CHECKER_EN_R <= '0'; + ELSE + CHECKER_EN_R <= CHECKER_EN AFTER 50 ns; + END IF; + END IF; + END PROCESS; + + + BMG_STIM_GEN_INST:ENTITY work.BMG_STIM_GEN + PORT MAP( + CLKA => clk_in_i, + CLKB => clkb_in_i, + TB_RST => RSTA, + ADDRA => ADDRA, + DINA => DINA, + ENA => ENA, + WEA => WEA, + ADDRB => ADDRB, + CHECK_DATA => CHECKER_EN + ); + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + STATUS(8) <= '0'; + iter_r2 <= '0'; + iter_r1 <= '0'; + iter_r0 <= '0'; + ELSE + STATUS(8) <= iter_r2; + iter_r2 <= iter_r1; + iter_r1 <= iter_r0; + iter_r0 <= STIMULUS_FLOW(8); + END IF; + END IF; + END PROCESS; + + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + STIMULUS_FLOW <= (OTHERS => '0'); + ELSIF(WEA(0)='1') THEN + STIMULUS_FLOW <= STIMULUS_FLOW+1; + END IF; + END IF; + END PROCESS; + + + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + ENA_R <= '0' AFTER 50 ns; + WEA_R <= (OTHERS=>'0') AFTER 50 ns; + DINA_R <= (OTHERS=>'0') AFTER 50 ns; + + + ELSE + ENA_R <= ENA AFTER 50 ns; + WEA_R <= WEA AFTER 50 ns; + DINA_R <= DINA AFTER 50 ns; + + END IF; + END IF; + END PROCESS; + + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + ADDRA_R <= (OTHERS=> '0') AFTER 50 ns; + ADDRB_R <= (OTHERS=> '0') AFTER 50 ns; + ELSE + ADDRA_R <= ADDRA AFTER 50 ns; + ADDRB_R <= ADDRB AFTER 50 ns; + END IF; + END IF; + END PROCESS; + + + BMG_PORT: SweepConfigMem_exdes PORT MAP ( + --Port A + ENA => ENA_R, + WEA => WEA_R, + ADDRA => ADDRA_R, + DINA => DINA_R, + CLKA => CLKA, + --Port B + ADDRB => ADDRB_R, + DOUTB => DOUTB, + CLKB => CLKB + + ); +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/SweepConfigMem_tb.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/SweepConfigMem_tb.vhd new file mode 100644 index 0000000..2b09608 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/SweepConfigMem_tb.vhd @@ -0,0 +1,142 @@ +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Top File for the Example Testbench +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- Filename: SweepConfigMem_tb.vhd +-- Description: +-- Testbench Top +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.ALL; + +ENTITY SweepConfigMem_tb IS +END ENTITY; + + +ARCHITECTURE SweepConfigMem_tb_ARCH OF SweepConfigMem_tb IS + SIGNAL STATUS : STD_LOGIC_VECTOR(8 DOWNTO 0); + SIGNAL CLK : STD_LOGIC := '1'; + SIGNAL CLKB : STD_LOGIC := '1'; + SIGNAL RESET : STD_LOGIC; + + BEGIN + + + CLK_GEN: PROCESS BEGIN + CLK <= NOT CLK; + WAIT FOR 100 NS; + CLK <= NOT CLK; + WAIT FOR 100 NS; + END PROCESS; + CLKB_GEN: PROCESS BEGIN + CLKB <= NOT CLKB; + WAIT FOR 100 NS; + CLKB <= NOT CLKB; + WAIT FOR 100 NS; + END PROCESS; + + RST_GEN: PROCESS BEGIN + RESET <= '1'; + WAIT FOR 1000 NS; + RESET <= '0'; + WAIT; + END PROCESS; + + +--STOP_SIM: PROCESS BEGIN +-- WAIT FOR 200 US; -- STOP SIMULATION AFTER 1 MS +-- ASSERT FALSE +-- REPORT "END SIMULATION TIME REACHED" +-- SEVERITY FAILURE; +--END PROCESS; +-- +PROCESS BEGIN + WAIT UNTIL STATUS(8)='1'; + IF( STATUS(7 downto 0)/="0") THEN + ASSERT false + REPORT "Test Completed Successfully" + SEVERITY NOTE; + REPORT "Simulation Failed" + SEVERITY FAILURE; + ELSE + ASSERT false + REPORT "TEST PASS" + SEVERITY NOTE; + REPORT "Test Completed Successfully" + SEVERITY FAILURE; + END IF; + +END PROCESS; + + SweepConfigMem_synth_inst:ENTITY work.SweepConfigMem_synth + PORT MAP( + CLK_IN => CLK, + CLKB_IN => CLK, + RESET_IN => RESET, + STATUS => STATUS + ); + +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/addr_gen.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/addr_gen.vhd new file mode 100644 index 0000000..62706ca --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/addr_gen.vhd @@ -0,0 +1,117 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Address Generator +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: addr_gen.vhd +-- +-- Description: +-- Address Generator +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.ALL; + +ENTITY ADDR_GEN IS + GENERIC ( C_MAX_DEPTH : INTEGER := 1024 ; + RST_VALUE : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS=> '0'); + RST_INC : INTEGER := 0); + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + LOAD :IN STD_LOGIC; + LOAD_VALUE : IN STD_LOGIC_VECTOR (31 DOWNTO 0) := (OTHERS => '0'); + ADDR_OUT : OUT STD_LOGIC_VECTOR (31 DOWNTO 0) --OUTPUT VECTOR + ); +END ADDR_GEN; + +ARCHITECTURE BEHAVIORAL OF ADDR_GEN IS + SIGNAL ADDR_TEMP : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS =>'0'); +BEGIN + ADDR_OUT <= ADDR_TEMP; + PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST='1') THEN + ADDR_TEMP<= RST_VALUE + conv_std_logic_vector(RST_INC,32 ); + ELSE + IF(EN='1') THEN + IF(LOAD='1') THEN + ADDR_TEMP <=LOAD_VALUE; + ELSE + IF(ADDR_TEMP = C_MAX_DEPTH-1) THEN + ADDR_TEMP<= RST_VALUE + conv_std_logic_vector(RST_INC,32 ); + ELSE + ADDR_TEMP <= ADDR_TEMP + '1'; + END IF; + END IF; + END IF; + END IF; + END IF; + END PROCESS; +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/bmg_stim_gen.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/bmg_stim_gen.vhd new file mode 100644 index 0000000..461f496 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/bmg_stim_gen.vhd @@ -0,0 +1,436 @@ + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Stimulus Generator For Simple Dual Port RAM +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: bmg_stim_gen.vhd +-- +-- Description: +-- Stimulus Generation For SDP Configuration +-- 100 Writes and 100 Reads will be performed in a repeatitive loop till the +-- simulation ends +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; +USE IEEE.STD_LOGIC_MISC.ALL; + + LIBRARY work; +USE work.ALL; +USE work.BMG_TB_PKG.ALL; + + +ENTITY REGISTER_LOGIC IS + PORT( + Q : OUT STD_LOGIC; + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + D : IN STD_LOGIC + ); +END REGISTER_LOGIC; + +ARCHITECTURE REGISTER_ARCH OF REGISTER_LOGIC IS +SIGNAL Q_O : STD_LOGIC :='0'; +BEGIN + Q <= Q_O; + FF_BEH: PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST ='1') THEN + Q_O <= '0'; + ELSE + Q_O <= D; + END IF; + END IF; + END PROCESS; +END REGISTER_ARCH; + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; +USE IEEE.STD_LOGIC_MISC.ALL; + +LIBRARY work; +USE work.ALL; +USE work.BMG_TB_PKG.ALL; + + +ENTITY BMG_STIM_GEN IS + PORT ( + CLKA : IN STD_LOGIC; + CLKB : IN STD_LOGIC; + TB_RST : IN STD_LOGIC; + ADDRA: OUT STD_LOGIC_VECTOR(12 DOWNTO 0) := (OTHERS => '0'); + DINA : OUT STD_LOGIC_VECTOR(95 DOWNTO 0) := (OTHERS => '0'); + ENA : OUT STD_LOGIC :='0'; + WEA : OUT STD_LOGIC_VECTOR (0 DOWNTO 0) := (OTHERS => '0'); + ADDRB: OUT STD_LOGIC_VECTOR(12 DOWNTO 0) := (OTHERS => '0'); + CHECK_DATA: OUT STD_LOGIC:='0' + ); +END BMG_STIM_GEN; + + +ARCHITECTURE BEHAVIORAL OF BMG_STIM_GEN IS + +CONSTANT ZERO : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS => '0'); +SIGNAL WRITE_ADDR : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS => '0'); +SIGNAL READ_ADDR : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS => '0'); +SIGNAL DINA_INT : STD_LOGIC_VECTOR(95 DOWNTO 0) := (OTHERS => '0'); +SIGNAL DO_WRITE : STD_LOGIC := '0'; +SIGNAL DO_READ : STD_LOGIC := '0'; +SIGNAL DO_READ_R : STD_LOGIC := '0'; +SIGNAL DO_READ_REG : STD_LOGIC_VECTOR(5 DOWNTO 0) :=(OTHERS => '0'); +SIGNAL PORTA_WR : STD_LOGIC:='0'; +SIGNAL COUNT : INTEGER :=0; +SIGNAL INCR_WR_CNT : STD_LOGIC:='0'; +SIGNAL PORTA_WR_COMPLETE : STD_LOGIC :='0'; +SIGNAL PORTB_RD : STD_LOGIC:='0'; +SIGNAL COUNT_RD : INTEGER :=0; +SIGNAL INCR_RD_CNT : STD_LOGIC:='0'; +SIGNAL PORTB_RD_COMPLETE : STD_LOGIC :='0'; +SIGNAL LATCH_PORTA_WR_COMPLETE : STD_LOGIC :='0'; +SIGNAL PORTB_RD_HAPPENED : STD_LOGIC := '0'; +SIGNAL PORTA_WR_L1 :STD_LOGIC := '0'; +SIGNAL PORTA_WR_L2 :STD_LOGIC := '0'; +SIGNAL PORTB_RD_R2 :STD_LOGIC := '0'; +SIGNAL PORTB_RD_R1 :STD_LOGIC := '0'; +SIGNAL LATCH_PORTB_RD_COMPLETE : STD_LOGIC :='0'; +SIGNAL PORTA_WR_HAPPENED : STD_LOGIC := '0'; +SIGNAL PORTB_RD_L1 : STD_LOGIC := '0'; +SIGNAL PORTB_RD_L2 : STD_LOGIC := '0'; +SIGNAL PORTA_WR_R2 : STD_LOGIC := '0'; +SIGNAL PORTA_WR_R1 : STD_LOGIC := '0'; + +CONSTANT WR_RD_DEEP_COUNT :INTEGER :=8; +CONSTANT WR_DEEP_COUNT : INTEGER := if_then_else((13 <= 13),WR_RD_DEEP_COUNT, + ((96/96)*WR_RD_DEEP_COUNT)); +CONSTANT RD_DEEP_COUNT : INTEGER := if_then_else((13 <= 13),WR_RD_DEEP_COUNT, + ((96/96)*WR_RD_DEEP_COUNT)); + +BEGIN + + ADDRA <= WRITE_ADDR(12 DOWNTO 0) ; + DINA <= DINA_INT ; + ADDRB <= READ_ADDR(12 DOWNTO 0) when (DO_READ='1') else (OTHERS=>'0'); + CHECK_DATA <= DO_READ; + + RD_ADDR_GEN_INST:ENTITY work.ADDR_GEN + GENERIC MAP( + C_MAX_DEPTH => 4501 , + RST_INC => 1 ) + PORT MAP( + CLK => CLKB, + RST => TB_RST, + EN => DO_READ, + LOAD => '0', + LOAD_VALUE => ZERO, + ADDR_OUT => READ_ADDR + ); + + WR_ADDR_GEN_INST:ENTITY work.ADDR_GEN + GENERIC MAP( + C_MAX_DEPTH => 4501, + RST_INC => 1 ) + PORT MAP( + CLK => CLKA, + RST => TB_RST, + EN => DO_WRITE, + LOAD => '0', + LOAD_VALUE => ZERO, + ADDR_OUT => WRITE_ADDR + ); + + WR_DATA_GEN_INST:ENTITY work.DATA_GEN + GENERIC MAP ( + DATA_GEN_WIDTH => 96, + DOUT_WIDTH => 96 , + DATA_PART_CNT => 1, + SEED => 2) + PORT MAP ( + CLK => CLKA, + RST => TB_RST, + EN => DO_WRITE, + DATA_OUT => DINA_INT + ); + + + PORTA_WR_PROCESS: PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + PORTA_WR<='1'; + ELSE + PORTA_WR<=PORTB_RD_COMPLETE; + END IF; + END IF; + END PROCESS; + + PORTB_RD_PROCESS: PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + PORTB_RD<='0'; + ELSE + PORTB_RD<=PORTA_WR_L2; + END IF; + END IF; + END PROCESS; + + PORTB_RD_COMPLETE_LATCH: PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + LATCH_PORTB_RD_COMPLETE<='0'; + ELSIF(PORTB_RD_COMPLETE='1') THEN + LATCH_PORTB_RD_COMPLETE <='1'; + ELSIF(PORTA_WR_HAPPENED='1') THEN + LATCH_PORTB_RD_COMPLETE<='0'; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + PORTB_RD_L1 <='0'; + PORTB_RD_L2 <='0'; + ELSE + PORTB_RD_L1 <= LATCH_PORTB_RD_COMPLETE; + PORTB_RD_L2 <= PORTB_RD_L1; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + PORTA_WR_R1 <='0'; + PORTA_WR_R2 <='0'; + ELSE + PORTA_WR_R1 <= PORTA_WR; + PORTA_WR_R2 <= PORTA_WR_R1; + END IF; + END IF; + END PROCESS; + + PORTA_WR_HAPPENED <= PORTA_WR_R2; + + PORTA_WR_COMPLETE_LATCH: PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + LATCH_PORTA_WR_COMPLETE<='0'; + ELSIF(PORTA_WR_COMPLETE='1') THEN + LATCH_PORTA_WR_COMPLETE <='1'; + --ELSIF(PORTB_RD_HAPPENED='1') THEN + ELSE + LATCH_PORTA_WR_COMPLETE<='0'; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + PORTA_WR_L1 <='0'; + PORTA_WR_L2 <='0'; + ELSE + PORTA_WR_L1 <= LATCH_PORTA_WR_COMPLETE; + PORTA_WR_L2 <= PORTA_WR_L1; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + PORTB_RD_R1 <='0'; + PORTB_RD_R2 <='0'; + ELSE + PORTB_RD_R1 <= PORTB_RD; + PORTB_RD_R2 <= PORTB_RD_R1; + END IF; + END IF; + END PROCESS; + + PORTB_RD_HAPPENED <= PORTB_RD_R2; + + PORTB_RD_COMPLETE <= '1' when (count_rd=RD_DEEP_COUNT) else '0'; + + start_rd_counter: process(clkb) + begin + if(rising_edge(clkb)) then + if(tb_rst='1') then + incr_rd_cnt <= '0'; + elsif(portb_rd ='1') then + incr_rd_cnt <='1'; + elsif(portb_rd_complete='1') then + incr_rd_cnt <='0'; + end if; + end if; + end process; + + RD_COUNTER: process(clkb) + begin + if(rising_edge(clkb)) then + if(tb_rst='1') then + count_rd <= 0; + elsif(incr_rd_cnt='1') then + count_rd<=count_rd+1; + end if; + --if(count_rd=(wr_rd_deep_count)) then + if(count_rd=(RD_DEEP_COUNT)) then + count_rd<=0; + end if; + end if; + end process; + + DO_READ<='1' when (count_rd DO_READ_REG(0), + CLK => CLKB, + RST => TB_RST, + D => DO_READ + ); + END GENERATE DFF_RIGHT; + + DFF_OTHERS: IF ((I>0) AND (I<=5)) GENERATE + BEGIN + SHIFT_INST: ENTITY work.REGISTER_LOGIC + PORT MAP( + Q => DO_READ_REG(I), + CLK =>CLKB, + RST =>TB_RST, + D =>DO_READ_REG(I-1) + ); + END GENERATE DFF_OTHERS; + END GENERATE BEGIN_SHIFT_REG; + + REGCE_PROCESS: PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + DO_READ_R <= '0'; + ELSE + DO_READ_R <= DO_READ; + END IF; + END IF; + END PROCESS; + + + ENA <= DO_WRITE ; + + WEA(0) <= DO_WRITE ; + + +END ARCHITECTURE; + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/bmg_tb_pkg.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/bmg_tb_pkg.vhd new file mode 100644 index 0000000..4928909 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/bmg_tb_pkg.vhd @@ -0,0 +1,200 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Testbench Package +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: bmg_tb_pkg.vhd +-- +-- Description: +-- BMG Testbench Package files +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +PACKAGE BMG_TB_PKG IS + + FUNCTION DIVROUNDUP ( + DATA_VALUE : INTEGER; + DIVISOR : INTEGER) + RETURN INTEGER; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC_VECTOR; + FALSE_CASE : STD_LOGIC_VECTOR) + RETURN STD_LOGIC_VECTOR; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STRING; + FALSE_CASE :STRING) + RETURN STRING; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC; + FALSE_CASE :STD_LOGIC) + RETURN STD_LOGIC; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : INTEGER; + FALSE_CASE : INTEGER) + RETURN INTEGER; + ------------------------ + FUNCTION LOG2ROUNDUP ( + DATA_VALUE : INTEGER) + RETURN INTEGER; + +END BMG_TB_PKG; + +PACKAGE BODY BMG_TB_PKG IS + + FUNCTION DIVROUNDUP ( + DATA_VALUE : INTEGER; + DIVISOR : INTEGER) + RETURN INTEGER IS + VARIABLE DIV : INTEGER; + BEGIN + DIV := DATA_VALUE/DIVISOR; + IF ( (DATA_VALUE MOD DIVISOR) /= 0) THEN + DIV := DIV+1; + END IF; + RETURN DIV; + END DIVROUNDUP; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC_VECTOR; + FALSE_CASE : STD_LOGIC_VECTOR) + RETURN STD_LOGIC_VECTOR IS + BEGIN + IF NOT CONDITION THEN + RETURN FALSE_CASE; + ELSE + RETURN TRUE_CASE; + END IF; + END IF_THEN_ELSE; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC; + FALSE_CASE : STD_LOGIC) + RETURN STD_LOGIC IS + BEGIN + IF NOT CONDITION THEN + RETURN FALSE_CASE; + ELSE + RETURN TRUE_CASE; + END IF; + END IF_THEN_ELSE; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : INTEGER; + FALSE_CASE : INTEGER) + RETURN INTEGER IS + VARIABLE RETVAL : INTEGER := 0; + BEGIN + IF CONDITION=FALSE THEN + RETVAL:=FALSE_CASE; + ELSE + RETVAL:=TRUE_CASE; + END IF; + RETURN RETVAL; + END IF_THEN_ELSE; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STRING; + FALSE_CASE : STRING) + RETURN STRING IS + BEGIN + IF NOT CONDITION THEN + RETURN FALSE_CASE; + ELSE + RETURN TRUE_CASE; + END IF; + END IF_THEN_ELSE; + ------------------------------- + FUNCTION LOG2ROUNDUP ( + DATA_VALUE : INTEGER) + RETURN INTEGER IS + VARIABLE WIDTH : INTEGER := 0; + VARIABLE CNT : INTEGER := 1; + BEGIN + IF (DATA_VALUE <= 1) THEN + WIDTH := 1; + ELSE + WHILE (CNT < DATA_VALUE) LOOP + WIDTH := WIDTH + 1; + CNT := CNT *2; + END LOOP; + END IF; + RETURN WIDTH; + END LOG2ROUNDUP; + +END BMG_TB_PKG; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/checker.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/checker.vhd new file mode 100644 index 0000000..15a2753 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/checker.vhd @@ -0,0 +1,161 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Checker +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: checker.vhd +-- +-- Description: +-- Checker +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.BMG_TB_PKG.ALL; + +ENTITY CHECKER IS + GENERIC ( WRITE_WIDTH : INTEGER :=32; + READ_WIDTH : INTEGER :=32 + ); + + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + DATA_IN : IN STD_LOGIC_VECTOR (READ_WIDTH-1 DOWNTO 0); --OUTPUT VECTOR + STATUS : OUT STD_LOGIC:= '0' + ); +END CHECKER; + +ARCHITECTURE CHECKER_ARCH OF CHECKER IS + SIGNAL EXPECTED_DATA : STD_LOGIC_VECTOR(READ_WIDTH-1 DOWNTO 0); + SIGNAL DATA_IN_R: STD_LOGIC_VECTOR(READ_WIDTH-1 DOWNTO 0); + SIGNAL EN_R : STD_LOGIC := '0'; + SIGNAL EN_2R : STD_LOGIC := '0'; +--DATA PART CNT DEFINES THE ASPECT RATIO AND GIVES THE INFO TO THE DATA GENERATOR TO PROVIDE THE DATA EITHER IN PARTS OR COMPLETE DATA IN ONE SHOT +--IF READ_WIDTH > WRITE_WIDTH DIVROUNDUP RESULTS IN '1' AND DATA GENERATOR GIVES THE DATAOUT EQUALS TO MAX OF (WRITE_WIDTH, READ_WIDTH) +--IF READ_WIDTH < WRITE-WIDTH DIVROUNDUP RESULTS IN > '1' AND DATA GENERATOR GIVES THE DATAOUT IN TERMS OF PARTS(EG 4 PARTS WHEN WRITE_WIDTH 32 AND READ WIDTH 8) + CONSTANT DATA_PART_CNT: INTEGER:= DIVROUNDUP(WRITE_WIDTH,READ_WIDTH); + CONSTANT MAX_WIDTH: INTEGER:= IF_THEN_ELSE((WRITE_WIDTH>READ_WIDTH),WRITE_WIDTH,READ_WIDTH); + SIGNAL ERR_HOLD : STD_LOGIC :='0'; + SIGNAL ERR_DET : STD_LOGIC :='0'; +BEGIN + PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST= '1') THEN + EN_R <= '0'; + EN_2R <= '0'; + DATA_IN_R <= (OTHERS=>'0'); + ELSE + EN_R <= EN; + EN_2R <= EN_R; + DATA_IN_R <= DATA_IN; + END IF; + END IF; + END PROCESS; + + EXPECTED_DATA_GEN_INST:ENTITY work.DATA_GEN + GENERIC MAP ( DATA_GEN_WIDTH =>MAX_WIDTH, + DOUT_WIDTH => READ_WIDTH, + DATA_PART_CNT => DATA_PART_CNT, + SEED => 2 + ) + PORT MAP ( + CLK => CLK, + RST => RST, + EN => EN_2R, + DATA_OUT => EXPECTED_DATA + ); + + PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(EN_2R='1') THEN + IF(EXPECTED_DATA = DATA_IN_R) THEN + ERR_DET<='0'; + ELSE + ERR_DET<= '1'; + END IF; + END IF; + END IF; + END PROCESS; + + PROCESS(CLK,RST) + BEGIN + IF(RST='1') THEN + ERR_HOLD <= '0'; + ELSIF(RISING_EDGE(CLK)) THEN + ERR_HOLD <= ERR_HOLD OR ERR_DET ; + END IF; + END PROCESS; + + STATUS <= ERR_HOLD; + +END ARCHITECTURE; + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/data_gen.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/data_gen.vhd new file mode 100644 index 0000000..fe3dca7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/data_gen.vhd @@ -0,0 +1,140 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Data Generator +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: data_gen.vhd +-- +-- Description: +-- Data Generator +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.BMG_TB_PKG.ALL; + +ENTITY DATA_GEN IS + GENERIC ( DATA_GEN_WIDTH : INTEGER := 32; + DOUT_WIDTH : INTEGER := 32; + DATA_PART_CNT : INTEGER := 1; + SEED : INTEGER := 2 + ); + + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + DATA_OUT : OUT STD_LOGIC_VECTOR (DOUT_WIDTH-1 DOWNTO 0) --OUTPUT VECTOR + ); +END DATA_GEN; + +ARCHITECTURE DATA_GEN_ARCH OF DATA_GEN IS + CONSTANT LOOP_COUNT : INTEGER := DIVROUNDUP(DATA_GEN_WIDTH,8); + SIGNAL RAND_DATA : STD_LOGIC_VECTOR(8*LOOP_COUNT-1 DOWNTO 0); + SIGNAL LOCAL_DATA_OUT : STD_LOGIC_VECTOR(DATA_GEN_WIDTH-1 DOWNTO 0); + SIGNAL LOCAL_CNT : INTEGER :=1; + SIGNAL DATA_GEN_I : STD_LOGIC :='0'; +BEGIN + + LOCAL_DATA_OUT <= RAND_DATA(DATA_GEN_WIDTH-1 DOWNTO 0); + DATA_OUT <= LOCAL_DATA_OUT(((DOUT_WIDTH*LOCAL_CNT)-1) DOWNTO ((DOUT_WIDTH*LOCAL_CNT)-DOUT_WIDTH)); + DATA_GEN_I <= '0' WHEN (LOCAL_CNT < DATA_PART_CNT) ELSE EN; + + PROCESS(CLK) + BEGIN + IF(RISING_EDGE (CLK)) THEN + IF(EN ='1' AND (DATA_PART_CNT =1)) THEN + LOCAL_CNT <=1; + ELSIF(EN='1' AND (DATA_PART_CNT>1)) THEN + IF(LOCAL_CNT = 1) THEN + LOCAL_CNT <= LOCAL_CNT+1; + ELSIF(LOCAL_CNT < DATA_PART_CNT) THEN + LOCAL_CNT <= LOCAL_CNT+1; + ELSE + LOCAL_CNT <= 1; + END IF; + ELSE + LOCAL_CNT <= 1; + END IF; + END IF; + END PROCESS; + + RAND_GEN:FOR N IN LOOP_COUNT-1 DOWNTO 0 GENERATE + RAND_GEN_INST:ENTITY work.RANDOM + GENERIC MAP( + WIDTH => 8, + SEED => (SEED+N) + ) + PORT MAP( + CLK => CLK, + RST => RST, + EN => DATA_GEN_I, + RANDOM_NUM => RAND_DATA(8*(N+1)-1 DOWNTO 8*N) + ); + END GENERATE RAND_GEN; + +END ARCHITECTURE; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/random.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/random.vhd new file mode 100644 index 0000000..b0d417c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/SweepConfigMem/simulation/random.vhd @@ -0,0 +1,112 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Random Number Generator +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: random.vhd +-- +-- Description: +-- Random Generator +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + + + + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + + +ENTITY RANDOM IS + GENERIC ( WIDTH : INTEGER := 32; + SEED : INTEGER :=2 + ); + + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + RANDOM_NUM : OUT STD_LOGIC_VECTOR (WIDTH-1 DOWNTO 0) --OUTPUT VECTOR + ); +END RANDOM; + +ARCHITECTURE BEHAVIORAL OF RANDOM IS +BEGIN + PROCESS(CLK) + VARIABLE RAND_TEMP : STD_LOGIC_VECTOR(WIDTH-1 DOWNTO 0):=CONV_STD_LOGIC_VECTOR(SEED,WIDTH); + VARIABLE TEMP : STD_LOGIC := '0'; + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST='1') THEN + RAND_TEMP := CONV_STD_LOGIC_VECTOR(SEED,WIDTH); + ELSE + IF(EN = '1') THEN + TEMP := RAND_TEMP(WIDTH-1) XOR RAND_TEMP(WIDTH-2); + RAND_TEMP(WIDTH-1 DOWNTO 1) := RAND_TEMP(WIDTH-2 DOWNTO 0); + RAND_TEMP(0) := TEMP; + END IF; + END IF; + END IF; + RANDOM_NUM <= RAND_TEMP; + END PROCESS; +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/VCO_Mem.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/VCO_Mem.gise new file mode 100644 index 0000000..f48f6b8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/VCO_Mem.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/VCO_Mem.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/VCO_Mem.vhd new file mode 100644 index 0000000..007952b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/VCO_Mem.vhd @@ -0,0 +1,149 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2022 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file VCO_Mem.vhd when simulating +-- the core, VCO_Mem. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY VCO_Mem IS + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(5 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(15 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(5 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(15 DOWNTO 0) + ); +END VCO_Mem; + +ARCHITECTURE VCO_Mem_a OF VCO_Mem IS +-- synthesis translate_off +COMPONENT wrapped_VCO_Mem + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(5 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(15 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(5 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(15 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_VCO_Mem USE ENTITY XilinxCoreLib.blk_mem_gen_v7_3(behavioral) + GENERIC MAP ( + c_addra_width => 6, + c_addrb_width => 6, + c_algorithm => 1, + c_axi_id_width => 4, + c_axi_slave_type => 0, + c_axi_type => 1, + c_byte_size => 9, + c_common_clk => 0, + c_default_data => "0", + c_disable_warn_bhv_coll => 0, + c_disable_warn_bhv_range => 0, + c_enable_32bit_address => 0, + c_family => "spartan6", + c_has_axi_id => 0, + c_has_ena => 0, + c_has_enb => 0, + c_has_injecterr => 0, + c_has_mem_output_regs_a => 0, + c_has_mem_output_regs_b => 0, + c_has_mux_output_regs_a => 0, + c_has_mux_output_regs_b => 0, + c_has_regcea => 0, + c_has_regceb => 0, + c_has_rsta => 0, + c_has_rstb => 0, + c_has_softecc_input_regs_a => 0, + c_has_softecc_output_regs_b => 0, + c_init_file => "BlankString", + c_init_file_name => "no_coe_file_loaded", + c_inita_val => "0", + c_initb_val => "0", + c_interface_type => 0, + c_load_init_file => 0, + c_mem_type => 1, + c_mux_pipeline_stages => 0, + c_prim_type => 1, + c_read_depth_a => 64, + c_read_depth_b => 64, + c_read_width_a => 16, + c_read_width_b => 16, + c_rst_priority_a => "CE", + c_rst_priority_b => "CE", + c_rst_type => "SYNC", + c_rstram_a => 0, + c_rstram_b => 0, + c_sim_collision_check => "ALL", + c_use_bram_block => 0, + c_use_byte_wea => 0, + c_use_byte_web => 0, + c_use_default_data => 0, + c_use_ecc => 0, + c_use_softecc => 0, + c_wea_width => 1, + c_web_width => 1, + c_write_depth_a => 64, + c_write_depth_b => 64, + c_write_mode_a => "WRITE_FIRST", + c_write_mode_b => "WRITE_FIRST", + c_write_width_a => 16, + c_write_width_b => 16, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_VCO_Mem + PORT MAP ( + clka => clka, + wea => wea, + addra => addra, + dina => dina, + clkb => clkb, + addrb => addrb, + doutb => doutb + ); +-- synthesis translate_on + +END VCO_Mem_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram.gise new file mode 100644 index 0000000..68f663b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram.gise @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram.vhd new file mode 100644 index 0000000..1aa01e9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram.vhd @@ -0,0 +1,149 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2020 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file result_bram.vhd when simulating +-- the core, result_bram. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY result_bram IS + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(191 DOWNTO 0) + ); +END result_bram; + +ARCHITECTURE result_bram_a OF result_bram IS +-- synthesis translate_off +COMPONENT wrapped_result_bram + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(191 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_result_bram USE ENTITY XilinxCoreLib.blk_mem_gen_v7_3(behavioral) + GENERIC MAP ( + c_addra_width => 8, + c_addrb_width => 8, + c_algorithm => 1, + c_axi_id_width => 4, + c_axi_slave_type => 0, + c_axi_type => 1, + c_byte_size => 9, + c_common_clk => 0, + c_default_data => "0", + c_disable_warn_bhv_coll => 0, + c_disable_warn_bhv_range => 0, + c_enable_32bit_address => 0, + c_family => "spartan6", + c_has_axi_id => 0, + c_has_ena => 0, + c_has_enb => 0, + c_has_injecterr => 0, + c_has_mem_output_regs_a => 0, + c_has_mem_output_regs_b => 0, + c_has_mux_output_regs_a => 0, + c_has_mux_output_regs_b => 0, + c_has_regcea => 0, + c_has_regceb => 0, + c_has_rsta => 0, + c_has_rstb => 0, + c_has_softecc_input_regs_a => 0, + c_has_softecc_output_regs_b => 0, + c_init_file => "BlankString", + c_init_file_name => "no_coe_file_loaded", + c_inita_val => "0", + c_initb_val => "0", + c_interface_type => 0, + c_load_init_file => 0, + c_mem_type => 1, + c_mux_pipeline_stages => 0, + c_prim_type => 1, + c_read_depth_a => 256, + c_read_depth_b => 256, + c_read_width_a => 192, + c_read_width_b => 192, + c_rst_priority_a => "CE", + c_rst_priority_b => "CE", + c_rst_type => "SYNC", + c_rstram_a => 0, + c_rstram_b => 0, + c_sim_collision_check => "ALL", + c_use_bram_block => 0, + c_use_byte_wea => 0, + c_use_byte_web => 0, + c_use_default_data => 0, + c_use_ecc => 0, + c_use_softecc => 0, + c_wea_width => 1, + c_web_width => 1, + c_write_depth_a => 256, + c_write_depth_b => 256, + c_write_mode_a => "WRITE_FIRST", + c_write_mode_b => "WRITE_FIRST", + c_write_width_a => 192, + c_write_width_b => 192, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_result_bram + PORT MAP ( + clka => clka, + wea => wea, + addra => addra, + dina => dina, + clkb => clkb, + addrb => addrb, + doutb => doutb + ); +-- synthesis translate_on + +END result_bram_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_exdes.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_exdes.ucf new file mode 100644 index 0000000..3762632 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_exdes.ucf @@ -0,0 +1,61 @@ +################################################################################ +# +# (c) Copyright 2002 - 2010 Xilinx, Inc. All rights reserved. +# +# This file contains confidential and proprietary information +# of Xilinx, Inc. and is protected under U.S. and +# international copyright and other intellectual property +# laws. +# +# DISCLAIMER +# This disclaimer is not a license and does not grant any +# rights to the materials distributed herewith. Except as +# otherwise provided in a valid license issued to you by +# Xilinx, and to the maximum extent permitted by applicable +# law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +# WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +# AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +# BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +# INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +# (2) Xilinx shall not be liable (whether in contract or tort, +# including negligence, or under any other theory of +# liability) for any loss or damage of any kind or nature +# related to, arising under or in connection with these +# materials, including for any direct, or any indirect, +# special, incidental, or consequential loss or damage +# (including loss of data, profits, goodwill, or any type of +# loss or damage suffered as a result of any action brought +# by a third party) even if such damage or loss was +# reasonably foreseeable or Xilinx had been advised of the +# possibility of the same. +# +# CRITICAL APPLICATIONS +# Xilinx products are not designed or intended to be fail- +# safe, or for use in any application requiring fail-safe +# performance, such as life-support or safety devices or +# systems, Class III medical devices, nuclear facilities, +# applications related to the deployment of airbags, or any +# other applications that could lead to death, personal +# injury, or severe property or environmental damage +# (individually and collectively, "Critical +# Applications"). Customer assumes the sole risk and +# liability of any use of Xilinx products in Critical +# Applications, subject only to applicable laws and +# regulations governing limitations on product liability. +# +# THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +# PART OF THIS FILE AT ALL TIMES. +# +################################################################################ + +# Tx Core Period Constraint. This constraint can be modified, and is +# valid as long as it is met after place and route. +NET "CLKA" TNM_NET = "CLKA"; + +NET "CLKB" TNM_NET = "CLKB"; + +TIMESPEC "TS_CLKA" = PERIOD "CLKA" 25 MHZ; + +TIMESPEC "TS_CLKB" = PERIOD "CLKB" 25 MHZ; + +################################################################################ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_exdes.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_exdes.vhd new file mode 100644 index 0000000..8e416e0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_exdes.vhd @@ -0,0 +1,179 @@ + + + + + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7.1 Core - Top-level core wrapper +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006-2010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: result_bram_exdes.vhd +-- +-- Description: +-- This is the actual BMG core wrapper. +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: August 31, 2005 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY UNISIM; +USE UNISIM.VCOMPONENTS.ALL; + +-------------------------------------------------------------------------------- +-- Entity Declaration +-------------------------------------------------------------------------------- +ENTITY result_bram_exdes IS + PORT ( + --Inputs - Port A + + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + + DINA : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + + CLKA : IN STD_LOGIC; + + + --Inputs - Port B + ADDRB : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + CLKB : IN STD_LOGIC + + ); + +END result_bram_exdes; + + +ARCHITECTURE xilinx OF result_bram_exdes IS + + COMPONENT BUFG IS + PORT ( + I : IN STD_ULOGIC; + O : OUT STD_ULOGIC + ); + END COMPONENT; + + COMPONENT result_bram IS + PORT ( + --Port A + + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + + DINA : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + + + CLKA : IN STD_LOGIC; + + + --Port B + ADDRB : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + CLKB : IN STD_LOGIC + + + ); + END COMPONENT; + + SIGNAL CLKA_buf : STD_LOGIC; + SIGNAL CLKB_buf : STD_LOGIC; + SIGNAL S_ACLK_buf : STD_LOGIC; + +BEGIN + + bufg_A : BUFG + PORT MAP ( + I => CLKA, + O => CLKA_buf + ); + + bufg_B : BUFG + PORT MAP ( + I => CLKB, + O => CLKB_buf + ); + + + bmg0 : result_bram + PORT MAP ( + --Port A + + WEA => WEA, + ADDRA => ADDRA, + + DINA => DINA, + + CLKA => CLKA_buf, + + + --Port B + ADDRB => ADDRB, + DOUTB => DOUTB, + CLKB => CLKB_buf + + ); + +END xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_prod.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_prod.vhd new file mode 100644 index 0000000..6728031 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/example_design/result_bram_prod.vhd @@ -0,0 +1,275 @@ + + + + + + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7.1 Core - Top-level wrapper +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006-2011 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. +-- +-------------------------------------------------------------------------------- +-- +-- Filename: result_bram_prod.vhd +-- +-- Description: +-- This is the top-level BMG wrapper (over BMG core). +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: August 31, 2005 - First Release +-------------------------------------------------------------------------------- +-- +-- Configured Core Parameter Values: +-- (Refer to the SIM Parameters table in the datasheet for more information on +-- the these parameters.) +-- C_FAMILY : spartan6 +-- C_XDEVICEFAMILY : spartan6 +-- C_INTERFACE_TYPE : 0 +-- C_ENABLE_32BIT_ADDRESS : 0 +-- C_AXI_TYPE : 1 +-- C_AXI_SLAVE_TYPE : 0 +-- C_AXI_ID_WIDTH : 4 +-- C_MEM_TYPE : 1 +-- C_BYTE_SIZE : 9 +-- C_ALGORITHM : 1 +-- C_PRIM_TYPE : 1 +-- C_LOAD_INIT_FILE : 0 +-- C_INIT_FILE_NAME : no_coe_file_loaded +-- C_USE_DEFAULT_DATA : 0 +-- C_DEFAULT_DATA : 0 +-- C_RST_TYPE : SYNC +-- C_HAS_RSTA : 0 +-- C_RST_PRIORITY_A : CE +-- C_RSTRAM_A : 0 +-- C_INITA_VAL : 0 +-- C_HAS_ENA : 0 +-- C_HAS_REGCEA : 0 +-- C_USE_BYTE_WEA : 0 +-- C_WEA_WIDTH : 1 +-- C_WRITE_MODE_A : WRITE_FIRST +-- C_WRITE_WIDTH_A : 192 +-- C_READ_WIDTH_A : 192 +-- C_WRITE_DEPTH_A : 256 +-- C_READ_DEPTH_A : 256 +-- C_ADDRA_WIDTH : 8 +-- C_HAS_RSTB : 0 +-- C_RST_PRIORITY_B : CE +-- C_RSTRAM_B : 0 +-- C_INITB_VAL : 0 +-- C_HAS_ENB : 0 +-- C_HAS_REGCEB : 0 +-- C_USE_BYTE_WEB : 0 +-- C_WEB_WIDTH : 1 +-- C_WRITE_MODE_B : WRITE_FIRST +-- C_WRITE_WIDTH_B : 192 +-- C_READ_WIDTH_B : 192 +-- C_WRITE_DEPTH_B : 256 +-- C_READ_DEPTH_B : 256 +-- C_ADDRB_WIDTH : 8 +-- C_HAS_MEM_OUTPUT_REGS_A : 0 +-- C_HAS_MEM_OUTPUT_REGS_B : 0 +-- C_HAS_MUX_OUTPUT_REGS_A : 0 +-- C_HAS_MUX_OUTPUT_REGS_B : 0 +-- C_HAS_SOFTECC_INPUT_REGS_A : 0 +-- C_HAS_SOFTECC_OUTPUT_REGS_B : 0 +-- C_MUX_PIPELINE_STAGES : 0 +-- C_USE_ECC : 0 +-- C_USE_SOFTECC : 0 +-- C_HAS_INJECTERR : 0 +-- C_SIM_COLLISION_CHECK : ALL +-- C_COMMON_CLK : 0 +-- C_DISABLE_WARN_BHV_COLL : 0 +-- C_DISABLE_WARN_BHV_RANGE : 0 + +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY UNISIM; +USE UNISIM.VCOMPONENTS.ALL; + +-------------------------------------------------------------------------------- +-- Entity Declaration +-------------------------------------------------------------------------------- +ENTITY result_bram_prod IS + PORT ( + --Port A + CLKA : IN STD_LOGIC; + RSTA : IN STD_LOGIC; --opt port + ENA : IN STD_LOGIC; --optional port + REGCEA : IN STD_LOGIC; --optional port + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DINA : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + DOUTA : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + + --Port B + CLKB : IN STD_LOGIC; + RSTB : IN STD_LOGIC; --opt port + ENB : IN STD_LOGIC; --optional port + REGCEB : IN STD_LOGIC; --optional port + WEB : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRB : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DINB : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + + --ECC + INJECTSBITERR : IN STD_LOGIC; --optional port + INJECTDBITERR : IN STD_LOGIC; --optional port + SBITERR : OUT STD_LOGIC; --optional port + DBITERR : OUT STD_LOGIC; --optional port + RDADDRECC : OUT STD_LOGIC_VECTOR(7 DOWNTO 0); --optional port + -- AXI BMG Input and Output Port Declarations + + -- AXI Global Signals + S_ACLK : IN STD_LOGIC; + S_AXI_AWID : IN STD_LOGIC_VECTOR(3 DOWNTO 0); + S_AXI_AWADDR : IN STD_LOGIC_VECTOR(31 DOWNTO 0); + S_AXI_AWLEN : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + S_AXI_AWSIZE : IN STD_LOGIC_VECTOR(2 DOWNTO 0); + S_AXI_AWBURST : IN STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_AWVALID : IN STD_LOGIC; + S_AXI_AWREADY : OUT STD_LOGIC; + S_AXI_WDATA : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + S_AXI_WSTRB : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + S_AXI_WLAST : IN STD_LOGIC; + S_AXI_WVALID : IN STD_LOGIC; + S_AXI_WREADY : OUT STD_LOGIC; + S_AXI_BID : OUT STD_LOGIC_VECTOR(3 DOWNTO 0):= (OTHERS => '0'); + S_AXI_BRESP : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_BVALID : OUT STD_LOGIC; + S_AXI_BREADY : IN STD_LOGIC; + + -- AXI Full/Lite Slave Read (Write side) + S_AXI_ARID : IN STD_LOGIC_VECTOR(3 DOWNTO 0); + S_AXI_ARADDR : IN STD_LOGIC_VECTOR(31 DOWNTO 0); + S_AXI_ARLEN : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + S_AXI_ARSIZE : IN STD_LOGIC_VECTOR(2 DOWNTO 0); + S_AXI_ARBURST : IN STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_ARVALID : IN STD_LOGIC; + S_AXI_ARREADY : OUT STD_LOGIC; + S_AXI_RID : OUT STD_LOGIC_VECTOR(3 DOWNTO 0):= (OTHERS => '0'); + S_AXI_RDATA : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + S_AXI_RRESP : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); + S_AXI_RLAST : OUT STD_LOGIC; + S_AXI_RVALID : OUT STD_LOGIC; + S_AXI_RREADY : IN STD_LOGIC; + + -- AXI Full/Lite Sideband Signals + S_AXI_INJECTSBITERR : IN STD_LOGIC; + S_AXI_INJECTDBITERR : IN STD_LOGIC; + S_AXI_SBITERR : OUT STD_LOGIC; + S_AXI_DBITERR : OUT STD_LOGIC; + S_AXI_RDADDRECC : OUT STD_LOGIC_VECTOR(7 DOWNTO 0); + S_ARESETN : IN STD_LOGIC + + + ); + +END result_bram_prod; + + +ARCHITECTURE xilinx OF result_bram_prod IS + + COMPONENT result_bram_exdes IS + PORT ( + --Port A + + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + + DINA : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + + + CLKA : IN STD_LOGIC; + + + --Port B + ADDRB : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + CLKB : IN STD_LOGIC + + + + ); + END COMPONENT; + +BEGIN + + bmg0 : result_bram_exdes + PORT MAP ( + --Port A + + WEA => WEA, + ADDRA => ADDRA, + + DINA => DINA, + + CLKA => CLKA, + + --Port B + ADDRB => ADDRB, + DOUTB => DOUTB, + CLKB => CLKB + + + + ); +END xilinx; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/addr_gen.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/addr_gen.vhd new file mode 100644 index 0000000..62706ca --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/addr_gen.vhd @@ -0,0 +1,117 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Address Generator +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: addr_gen.vhd +-- +-- Description: +-- Address Generator +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.ALL; + +ENTITY ADDR_GEN IS + GENERIC ( C_MAX_DEPTH : INTEGER := 1024 ; + RST_VALUE : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS=> '0'); + RST_INC : INTEGER := 0); + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + LOAD :IN STD_LOGIC; + LOAD_VALUE : IN STD_LOGIC_VECTOR (31 DOWNTO 0) := (OTHERS => '0'); + ADDR_OUT : OUT STD_LOGIC_VECTOR (31 DOWNTO 0) --OUTPUT VECTOR + ); +END ADDR_GEN; + +ARCHITECTURE BEHAVIORAL OF ADDR_GEN IS + SIGNAL ADDR_TEMP : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS =>'0'); +BEGIN + ADDR_OUT <= ADDR_TEMP; + PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST='1') THEN + ADDR_TEMP<= RST_VALUE + conv_std_logic_vector(RST_INC,32 ); + ELSE + IF(EN='1') THEN + IF(LOAD='1') THEN + ADDR_TEMP <=LOAD_VALUE; + ELSE + IF(ADDR_TEMP = C_MAX_DEPTH-1) THEN + ADDR_TEMP<= RST_VALUE + conv_std_logic_vector(RST_INC,32 ); + ELSE + ADDR_TEMP <= ADDR_TEMP + '1'; + END IF; + END IF; + END IF; + END IF; + END IF; + END PROCESS; +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/bmg_stim_gen.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/bmg_stim_gen.vhd new file mode 100644 index 0000000..6fe0a18 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/bmg_stim_gen.vhd @@ -0,0 +1,434 @@ + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Stimulus Generator For Simple Dual Port RAM +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: bmg_stim_gen.vhd +-- +-- Description: +-- Stimulus Generation For SDP Configuration +-- 100 Writes and 100 Reads will be performed in a repeatitive loop till the +-- simulation ends +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; +USE IEEE.STD_LOGIC_MISC.ALL; + + LIBRARY work; +USE work.ALL; +USE work.BMG_TB_PKG.ALL; + + +ENTITY REGISTER_LOGIC IS + PORT( + Q : OUT STD_LOGIC; + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + D : IN STD_LOGIC + ); +END REGISTER_LOGIC; + +ARCHITECTURE REGISTER_ARCH OF REGISTER_LOGIC IS +SIGNAL Q_O : STD_LOGIC :='0'; +BEGIN + Q <= Q_O; + FF_BEH: PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST ='1') THEN + Q_O <= '0'; + ELSE + Q_O <= D; + END IF; + END IF; + END PROCESS; +END REGISTER_ARCH; + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; +USE IEEE.STD_LOGIC_MISC.ALL; + +LIBRARY work; +USE work.ALL; +USE work.BMG_TB_PKG.ALL; + + +ENTITY BMG_STIM_GEN IS + PORT ( + CLKA : IN STD_LOGIC; + CLKB : IN STD_LOGIC; + TB_RST : IN STD_LOGIC; + ADDRA: OUT STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + DINA : OUT STD_LOGIC_VECTOR(191 DOWNTO 0) := (OTHERS => '0'); + WEA : OUT STD_LOGIC_VECTOR (0 DOWNTO 0) := (OTHERS => '0'); + ADDRB: OUT STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + CHECK_DATA: OUT STD_LOGIC:='0' + ); +END BMG_STIM_GEN; + + +ARCHITECTURE BEHAVIORAL OF BMG_STIM_GEN IS + +CONSTANT ZERO : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS => '0'); +SIGNAL WRITE_ADDR : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS => '0'); +SIGNAL READ_ADDR : STD_LOGIC_VECTOR(31 DOWNTO 0) := (OTHERS => '0'); +SIGNAL DINA_INT : STD_LOGIC_VECTOR(191 DOWNTO 0) := (OTHERS => '0'); +SIGNAL DO_WRITE : STD_LOGIC := '0'; +SIGNAL DO_READ : STD_LOGIC := '0'; +SIGNAL DO_READ_R : STD_LOGIC := '0'; +SIGNAL DO_READ_REG : STD_LOGIC_VECTOR(5 DOWNTO 0) :=(OTHERS => '0'); +SIGNAL PORTA_WR : STD_LOGIC:='0'; +SIGNAL COUNT : INTEGER :=0; +SIGNAL INCR_WR_CNT : STD_LOGIC:='0'; +SIGNAL PORTA_WR_COMPLETE : STD_LOGIC :='0'; +SIGNAL PORTB_RD : STD_LOGIC:='0'; +SIGNAL COUNT_RD : INTEGER :=0; +SIGNAL INCR_RD_CNT : STD_LOGIC:='0'; +SIGNAL PORTB_RD_COMPLETE : STD_LOGIC :='0'; +SIGNAL LATCH_PORTA_WR_COMPLETE : STD_LOGIC :='0'; +SIGNAL PORTB_RD_HAPPENED : STD_LOGIC := '0'; +SIGNAL PORTA_WR_L1 :STD_LOGIC := '0'; +SIGNAL PORTA_WR_L2 :STD_LOGIC := '0'; +SIGNAL PORTB_RD_R2 :STD_LOGIC := '0'; +SIGNAL PORTB_RD_R1 :STD_LOGIC := '0'; +SIGNAL LATCH_PORTB_RD_COMPLETE : STD_LOGIC :='0'; +SIGNAL PORTA_WR_HAPPENED : STD_LOGIC := '0'; +SIGNAL PORTB_RD_L1 : STD_LOGIC := '0'; +SIGNAL PORTB_RD_L2 : STD_LOGIC := '0'; +SIGNAL PORTA_WR_R2 : STD_LOGIC := '0'; +SIGNAL PORTA_WR_R1 : STD_LOGIC := '0'; + +CONSTANT WR_RD_DEEP_COUNT :INTEGER :=8; +CONSTANT WR_DEEP_COUNT : INTEGER := if_then_else((8 <= 8),WR_RD_DEEP_COUNT, + ((192/192)*WR_RD_DEEP_COUNT)); +CONSTANT RD_DEEP_COUNT : INTEGER := if_then_else((8 <= 8),WR_RD_DEEP_COUNT, + ((192/192)*WR_RD_DEEP_COUNT)); + +BEGIN + + ADDRA <= WRITE_ADDR(7 DOWNTO 0) ; + DINA <= DINA_INT ; + ADDRB <= READ_ADDR(7 DOWNTO 0) when (DO_READ='1') else (OTHERS=>'0'); + CHECK_DATA <= DO_READ; + + RD_ADDR_GEN_INST:ENTITY work.ADDR_GEN + GENERIC MAP( + C_MAX_DEPTH => 256 , + RST_INC => 1 ) + PORT MAP( + CLK => CLKB, + RST => TB_RST, + EN => DO_READ, + LOAD => '0', + LOAD_VALUE => ZERO, + ADDR_OUT => READ_ADDR + ); + + WR_ADDR_GEN_INST:ENTITY work.ADDR_GEN + GENERIC MAP( + C_MAX_DEPTH => 256, + RST_INC => 1 ) + PORT MAP( + CLK => CLKA, + RST => TB_RST, + EN => DO_WRITE, + LOAD => '0', + LOAD_VALUE => ZERO, + ADDR_OUT => WRITE_ADDR + ); + + WR_DATA_GEN_INST:ENTITY work.DATA_GEN + GENERIC MAP ( + DATA_GEN_WIDTH => 192, + DOUT_WIDTH => 192 , + DATA_PART_CNT => 1, + SEED => 2) + PORT MAP ( + CLK => CLKA, + RST => TB_RST, + EN => DO_WRITE, + DATA_OUT => DINA_INT + ); + + + PORTA_WR_PROCESS: PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + PORTA_WR<='1'; + ELSE + PORTA_WR<=PORTB_RD_COMPLETE; + END IF; + END IF; + END PROCESS; + + PORTB_RD_PROCESS: PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + PORTB_RD<='0'; + ELSE + PORTB_RD<=PORTA_WR_L2; + END IF; + END IF; + END PROCESS; + + PORTB_RD_COMPLETE_LATCH: PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + LATCH_PORTB_RD_COMPLETE<='0'; + ELSIF(PORTB_RD_COMPLETE='1') THEN + LATCH_PORTB_RD_COMPLETE <='1'; + ELSIF(PORTA_WR_HAPPENED='1') THEN + LATCH_PORTB_RD_COMPLETE<='0'; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + PORTB_RD_L1 <='0'; + PORTB_RD_L2 <='0'; + ELSE + PORTB_RD_L1 <= LATCH_PORTB_RD_COMPLETE; + PORTB_RD_L2 <= PORTB_RD_L1; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + PORTA_WR_R1 <='0'; + PORTA_WR_R2 <='0'; + ELSE + PORTA_WR_R1 <= PORTA_WR; + PORTA_WR_R2 <= PORTA_WR_R1; + END IF; + END IF; + END PROCESS; + + PORTA_WR_HAPPENED <= PORTA_WR_R2; + + PORTA_WR_COMPLETE_LATCH: PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + LATCH_PORTA_WR_COMPLETE<='0'; + ELSIF(PORTA_WR_COMPLETE='1') THEN + LATCH_PORTA_WR_COMPLETE <='1'; + --ELSIF(PORTB_RD_HAPPENED='1') THEN + ELSE + LATCH_PORTA_WR_COMPLETE<='0'; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + PORTA_WR_L1 <='0'; + PORTA_WR_L2 <='0'; + ELSE + PORTA_WR_L1 <= LATCH_PORTA_WR_COMPLETE; + PORTA_WR_L2 <= PORTA_WR_L1; + END IF; + END IF; + END PROCESS; + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(TB_RST='1') THEN + PORTB_RD_R1 <='0'; + PORTB_RD_R2 <='0'; + ELSE + PORTB_RD_R1 <= PORTB_RD; + PORTB_RD_R2 <= PORTB_RD_R1; + END IF; + END IF; + END PROCESS; + + PORTB_RD_HAPPENED <= PORTB_RD_R2; + + PORTB_RD_COMPLETE <= '1' when (count_rd=RD_DEEP_COUNT) else '0'; + + start_rd_counter: process(clkb) + begin + if(rising_edge(clkb)) then + if(tb_rst='1') then + incr_rd_cnt <= '0'; + elsif(portb_rd ='1') then + incr_rd_cnt <='1'; + elsif(portb_rd_complete='1') then + incr_rd_cnt <='0'; + end if; + end if; + end process; + + RD_COUNTER: process(clkb) + begin + if(rising_edge(clkb)) then + if(tb_rst='1') then + count_rd <= 0; + elsif(incr_rd_cnt='1') then + count_rd<=count_rd+1; + end if; + --if(count_rd=(wr_rd_deep_count)) then + if(count_rd=(RD_DEEP_COUNT)) then + count_rd<=0; + end if; + end if; + end process; + + DO_READ<='1' when (count_rd DO_READ_REG(0), + CLK => CLKB, + RST => TB_RST, + D => DO_READ + ); + END GENERATE DFF_RIGHT; + + DFF_OTHERS: IF ((I>0) AND (I<=5)) GENERATE + BEGIN + SHIFT_INST: ENTITY work.REGISTER_LOGIC + PORT MAP( + Q => DO_READ_REG(I), + CLK =>CLKB, + RST =>TB_RST, + D =>DO_READ_REG(I-1) + ); + END GENERATE DFF_OTHERS; + END GENERATE BEGIN_SHIFT_REG; + + REGCE_PROCESS: PROCESS(CLKB) + BEGIN + IF(RISING_EDGE(CLKB)) THEN + IF(TB_RST='1') THEN + DO_READ_R <= '0'; + ELSE + DO_READ_R <= DO_READ; + END IF; + END IF; + END PROCESS; + + + + WEA(0) <= DO_WRITE ; + + +END ARCHITECTURE; + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/bmg_tb_pkg.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/bmg_tb_pkg.vhd new file mode 100644 index 0000000..4928909 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/bmg_tb_pkg.vhd @@ -0,0 +1,200 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Testbench Package +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: bmg_tb_pkg.vhd +-- +-- Description: +-- BMG Testbench Package files +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +PACKAGE BMG_TB_PKG IS + + FUNCTION DIVROUNDUP ( + DATA_VALUE : INTEGER; + DIVISOR : INTEGER) + RETURN INTEGER; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC_VECTOR; + FALSE_CASE : STD_LOGIC_VECTOR) + RETURN STD_LOGIC_VECTOR; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STRING; + FALSE_CASE :STRING) + RETURN STRING; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC; + FALSE_CASE :STD_LOGIC) + RETURN STD_LOGIC; + ------------------------ + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : INTEGER; + FALSE_CASE : INTEGER) + RETURN INTEGER; + ------------------------ + FUNCTION LOG2ROUNDUP ( + DATA_VALUE : INTEGER) + RETURN INTEGER; + +END BMG_TB_PKG; + +PACKAGE BODY BMG_TB_PKG IS + + FUNCTION DIVROUNDUP ( + DATA_VALUE : INTEGER; + DIVISOR : INTEGER) + RETURN INTEGER IS + VARIABLE DIV : INTEGER; + BEGIN + DIV := DATA_VALUE/DIVISOR; + IF ( (DATA_VALUE MOD DIVISOR) /= 0) THEN + DIV := DIV+1; + END IF; + RETURN DIV; + END DIVROUNDUP; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC_VECTOR; + FALSE_CASE : STD_LOGIC_VECTOR) + RETURN STD_LOGIC_VECTOR IS + BEGIN + IF NOT CONDITION THEN + RETURN FALSE_CASE; + ELSE + RETURN TRUE_CASE; + END IF; + END IF_THEN_ELSE; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STD_LOGIC; + FALSE_CASE : STD_LOGIC) + RETURN STD_LOGIC IS + BEGIN + IF NOT CONDITION THEN + RETURN FALSE_CASE; + ELSE + RETURN TRUE_CASE; + END IF; + END IF_THEN_ELSE; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : INTEGER; + FALSE_CASE : INTEGER) + RETURN INTEGER IS + VARIABLE RETVAL : INTEGER := 0; + BEGIN + IF CONDITION=FALSE THEN + RETVAL:=FALSE_CASE; + ELSE + RETVAL:=TRUE_CASE; + END IF; + RETURN RETVAL; + END IF_THEN_ELSE; + --------------------------------- + FUNCTION IF_THEN_ELSE ( + CONDITION : BOOLEAN; + TRUE_CASE : STRING; + FALSE_CASE : STRING) + RETURN STRING IS + BEGIN + IF NOT CONDITION THEN + RETURN FALSE_CASE; + ELSE + RETURN TRUE_CASE; + END IF; + END IF_THEN_ELSE; + ------------------------------- + FUNCTION LOG2ROUNDUP ( + DATA_VALUE : INTEGER) + RETURN INTEGER IS + VARIABLE WIDTH : INTEGER := 0; + VARIABLE CNT : INTEGER := 1; + BEGIN + IF (DATA_VALUE <= 1) THEN + WIDTH := 1; + ELSE + WHILE (CNT < DATA_VALUE) LOOP + WIDTH := WIDTH + 1; + CNT := CNT *2; + END LOOP; + END IF; + RETURN WIDTH; + END LOG2ROUNDUP; + +END BMG_TB_PKG; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/checker.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/checker.vhd new file mode 100644 index 0000000..15a2753 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/checker.vhd @@ -0,0 +1,161 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Checker +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: checker.vhd +-- +-- Description: +-- Checker +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.BMG_TB_PKG.ALL; + +ENTITY CHECKER IS + GENERIC ( WRITE_WIDTH : INTEGER :=32; + READ_WIDTH : INTEGER :=32 + ); + + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + DATA_IN : IN STD_LOGIC_VECTOR (READ_WIDTH-1 DOWNTO 0); --OUTPUT VECTOR + STATUS : OUT STD_LOGIC:= '0' + ); +END CHECKER; + +ARCHITECTURE CHECKER_ARCH OF CHECKER IS + SIGNAL EXPECTED_DATA : STD_LOGIC_VECTOR(READ_WIDTH-1 DOWNTO 0); + SIGNAL DATA_IN_R: STD_LOGIC_VECTOR(READ_WIDTH-1 DOWNTO 0); + SIGNAL EN_R : STD_LOGIC := '0'; + SIGNAL EN_2R : STD_LOGIC := '0'; +--DATA PART CNT DEFINES THE ASPECT RATIO AND GIVES THE INFO TO THE DATA GENERATOR TO PROVIDE THE DATA EITHER IN PARTS OR COMPLETE DATA IN ONE SHOT +--IF READ_WIDTH > WRITE_WIDTH DIVROUNDUP RESULTS IN '1' AND DATA GENERATOR GIVES THE DATAOUT EQUALS TO MAX OF (WRITE_WIDTH, READ_WIDTH) +--IF READ_WIDTH < WRITE-WIDTH DIVROUNDUP RESULTS IN > '1' AND DATA GENERATOR GIVES THE DATAOUT IN TERMS OF PARTS(EG 4 PARTS WHEN WRITE_WIDTH 32 AND READ WIDTH 8) + CONSTANT DATA_PART_CNT: INTEGER:= DIVROUNDUP(WRITE_WIDTH,READ_WIDTH); + CONSTANT MAX_WIDTH: INTEGER:= IF_THEN_ELSE((WRITE_WIDTH>READ_WIDTH),WRITE_WIDTH,READ_WIDTH); + SIGNAL ERR_HOLD : STD_LOGIC :='0'; + SIGNAL ERR_DET : STD_LOGIC :='0'; +BEGIN + PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST= '1') THEN + EN_R <= '0'; + EN_2R <= '0'; + DATA_IN_R <= (OTHERS=>'0'); + ELSE + EN_R <= EN; + EN_2R <= EN_R; + DATA_IN_R <= DATA_IN; + END IF; + END IF; + END PROCESS; + + EXPECTED_DATA_GEN_INST:ENTITY work.DATA_GEN + GENERIC MAP ( DATA_GEN_WIDTH =>MAX_WIDTH, + DOUT_WIDTH => READ_WIDTH, + DATA_PART_CNT => DATA_PART_CNT, + SEED => 2 + ) + PORT MAP ( + CLK => CLK, + RST => RST, + EN => EN_2R, + DATA_OUT => EXPECTED_DATA + ); + + PROCESS(CLK) + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(EN_2R='1') THEN + IF(EXPECTED_DATA = DATA_IN_R) THEN + ERR_DET<='0'; + ELSE + ERR_DET<= '1'; + END IF; + END IF; + END IF; + END PROCESS; + + PROCESS(CLK,RST) + BEGIN + IF(RST='1') THEN + ERR_HOLD <= '0'; + ELSIF(RISING_EDGE(CLK)) THEN + ERR_HOLD <= ERR_HOLD OR ERR_DET ; + END IF; + END PROCESS; + + STATUS <= ERR_HOLD; + +END ARCHITECTURE; + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/data_gen.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/data_gen.vhd new file mode 100644 index 0000000..fe3dca7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/data_gen.vhd @@ -0,0 +1,140 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Data Generator +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: data_gen.vhd +-- +-- Description: +-- Data Generator +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.BMG_TB_PKG.ALL; + +ENTITY DATA_GEN IS + GENERIC ( DATA_GEN_WIDTH : INTEGER := 32; + DOUT_WIDTH : INTEGER := 32; + DATA_PART_CNT : INTEGER := 1; + SEED : INTEGER := 2 + ); + + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + DATA_OUT : OUT STD_LOGIC_VECTOR (DOUT_WIDTH-1 DOWNTO 0) --OUTPUT VECTOR + ); +END DATA_GEN; + +ARCHITECTURE DATA_GEN_ARCH OF DATA_GEN IS + CONSTANT LOOP_COUNT : INTEGER := DIVROUNDUP(DATA_GEN_WIDTH,8); + SIGNAL RAND_DATA : STD_LOGIC_VECTOR(8*LOOP_COUNT-1 DOWNTO 0); + SIGNAL LOCAL_DATA_OUT : STD_LOGIC_VECTOR(DATA_GEN_WIDTH-1 DOWNTO 0); + SIGNAL LOCAL_CNT : INTEGER :=1; + SIGNAL DATA_GEN_I : STD_LOGIC :='0'; +BEGIN + + LOCAL_DATA_OUT <= RAND_DATA(DATA_GEN_WIDTH-1 DOWNTO 0); + DATA_OUT <= LOCAL_DATA_OUT(((DOUT_WIDTH*LOCAL_CNT)-1) DOWNTO ((DOUT_WIDTH*LOCAL_CNT)-DOUT_WIDTH)); + DATA_GEN_I <= '0' WHEN (LOCAL_CNT < DATA_PART_CNT) ELSE EN; + + PROCESS(CLK) + BEGIN + IF(RISING_EDGE (CLK)) THEN + IF(EN ='1' AND (DATA_PART_CNT =1)) THEN + LOCAL_CNT <=1; + ELSIF(EN='1' AND (DATA_PART_CNT>1)) THEN + IF(LOCAL_CNT = 1) THEN + LOCAL_CNT <= LOCAL_CNT+1; + ELSIF(LOCAL_CNT < DATA_PART_CNT) THEN + LOCAL_CNT <= LOCAL_CNT+1; + ELSE + LOCAL_CNT <= 1; + END IF; + ELSE + LOCAL_CNT <= 1; + END IF; + END IF; + END PROCESS; + + RAND_GEN:FOR N IN LOOP_COUNT-1 DOWNTO 0 GENERATE + RAND_GEN_INST:ENTITY work.RANDOM + GENERIC MAP( + WIDTH => 8, + SEED => (SEED+N) + ) + PORT MAP( + CLK => CLK, + RST => RST, + EN => DATA_GEN_I, + RANDOM_NUM => RAND_DATA(8*(N+1)-1 DOWNTO 8*N) + ); + END GENERATE RAND_GEN; + +END ARCHITECTURE; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/random.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/random.vhd new file mode 100644 index 0000000..b0d417c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/random.vhd @@ -0,0 +1,112 @@ + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Random Number Generator +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: random.vhd +-- +-- Description: +-- Random Generator +-- +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + + + + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + + +ENTITY RANDOM IS + GENERIC ( WIDTH : INTEGER := 32; + SEED : INTEGER :=2 + ); + + PORT ( + CLK : IN STD_LOGIC; + RST : IN STD_LOGIC; + EN : IN STD_LOGIC; + RANDOM_NUM : OUT STD_LOGIC_VECTOR (WIDTH-1 DOWNTO 0) --OUTPUT VECTOR + ); +END RANDOM; + +ARCHITECTURE BEHAVIORAL OF RANDOM IS +BEGIN + PROCESS(CLK) + VARIABLE RAND_TEMP : STD_LOGIC_VECTOR(WIDTH-1 DOWNTO 0):=CONV_STD_LOGIC_VECTOR(SEED,WIDTH); + VARIABLE TEMP : STD_LOGIC := '0'; + BEGIN + IF(RISING_EDGE(CLK)) THEN + IF(RST='1') THEN + RAND_TEMP := CONV_STD_LOGIC_VECTOR(SEED,WIDTH); + ELSE + IF(EN = '1') THEN + TEMP := RAND_TEMP(WIDTH-1) XOR RAND_TEMP(WIDTH-2); + RAND_TEMP(WIDTH-1 DOWNTO 1) := RAND_TEMP(WIDTH-2 DOWNTO 0); + RAND_TEMP(0) := TEMP; + END IF; + END IF; + END IF; + RANDOM_NUM <= RAND_TEMP; + END PROCESS; +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/result_bram_synth.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/result_bram_synth.vhd new file mode 100644 index 0000000..b19a76a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/result_bram_synth.vhd @@ -0,0 +1,322 @@ + + + + + + + + +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Synthesizable Testbench +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- +-- Filename: result_bram_synth.vhd +-- +-- Description: +-- Synthesizable Testbench +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.NUMERIC_STD.ALL; +USE IEEE.STD_LOGIC_MISC.ALL; + +LIBRARY STD; +USE STD.TEXTIO.ALL; + +--LIBRARY unisim; +--USE unisim.vcomponents.ALL; + +LIBRARY work; +USE work.ALL; +USE work.BMG_TB_PKG.ALL; + +ENTITY result_bram_synth IS +PORT( + CLK_IN : IN STD_LOGIC; + CLKB_IN : IN STD_LOGIC; + RESET_IN : IN STD_LOGIC; + STATUS : OUT STD_LOGIC_VECTOR(8 DOWNTO 0) := (OTHERS => '0') --ERROR STATUS OUT OF FPGA + ); +END ENTITY; + +ARCHITECTURE result_bram_synth_ARCH OF result_bram_synth IS + + +COMPONENT result_bram_exdes + PORT ( + --Inputs - Port A + WEA : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + ADDRA : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DINA : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + CLKA : IN STD_LOGIC; + + --Inputs - Port B + ADDRB : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + DOUTB : OUT STD_LOGIC_VECTOR(191 DOWNTO 0); + CLKB : IN STD_LOGIC + + ); + +END COMPONENT; + + + SIGNAL CLKA: STD_LOGIC := '0'; + SIGNAL RSTA: STD_LOGIC := '0'; + SIGNAL WEA: STD_LOGIC_VECTOR(0 DOWNTO 0) := (OTHERS => '0'); + SIGNAL WEA_R: STD_LOGIC_VECTOR(0 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ADDRA: STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ADDRA_R: STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + SIGNAL DINA: STD_LOGIC_VECTOR(191 DOWNTO 0) := (OTHERS => '0'); + SIGNAL DINA_R: STD_LOGIC_VECTOR(191 DOWNTO 0) := (OTHERS => '0'); + SIGNAL CLKB: STD_LOGIC := '0'; + SIGNAL RSTB: STD_LOGIC := '0'; + SIGNAL ADDRB: STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ADDRB_R: STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + SIGNAL DOUTB: STD_LOGIC_VECTOR(191 DOWNTO 0); + SIGNAL CHECKER_EN : STD_LOGIC:='0'; + SIGNAL CHECKER_EN_R : STD_LOGIC:='0'; + SIGNAL STIMULUS_FLOW : STD_LOGIC_VECTOR(22 DOWNTO 0) := (OTHERS =>'0'); + SIGNAL clk_in_i: STD_LOGIC; + + SIGNAL RESET_SYNC_R1 : STD_LOGIC:='1'; + SIGNAL RESET_SYNC_R2 : STD_LOGIC:='1'; + SIGNAL RESET_SYNC_R3 : STD_LOGIC:='1'; + + SIGNAL clkb_in_i: STD_LOGIC; + SIGNAL RESETB_SYNC_R1 : STD_LOGIC := '1'; + SIGNAL RESETB_SYNC_R2 : STD_LOGIC := '1'; + SIGNAL RESETB_SYNC_R3 : STD_LOGIC := '1'; + SIGNAL ITER_R0 : STD_LOGIC := '0'; + SIGNAL ITER_R1 : STD_LOGIC := '0'; + SIGNAL ITER_R2 : STD_LOGIC := '0'; + + SIGNAL ISSUE_FLAG : STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + SIGNAL ISSUE_FLAG_STATUS : STD_LOGIC_VECTOR(7 DOWNTO 0) := (OTHERS => '0'); + + BEGIN + +-- clk_buf: bufg +-- PORT map( +-- i => CLK_IN, +-- o => clk_in_i +-- ); + clk_in_i <= CLK_IN; + CLKA <= clk_in_i; + +-- clkb_buf: bufg +-- PORT map( +-- i => CLKB_IN, +-- o => clkb_in_i +-- ); + clkb_in_i <= CLKB_IN; + CLKB <= clkb_in_i; + RSTA <= RESET_SYNC_R3 AFTER 50 ns; + + + PROCESS(clk_in_i) + BEGIN + IF(RISING_EDGE(clk_in_i)) THEN + RESET_SYNC_R1 <= RESET_IN; + RESET_SYNC_R2 <= RESET_SYNC_R1; + RESET_SYNC_R3 <= RESET_SYNC_R2; + END IF; + END PROCESS; + + RSTB <= RESETB_SYNC_R3 AFTER 50 ns; + + PROCESS(clkb_in_i) + BEGIN + IF(RISING_EDGE(clkb_in_i)) THEN + RESETB_SYNC_R1 <= RESET_IN; + RESETB_SYNC_R2 <= RESETB_SYNC_R1; + RESETB_SYNC_R3 <= RESETB_SYNC_R2; + END IF; + END PROCESS; + +PROCESS(CLKA) +BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + ISSUE_FLAG_STATUS<= (OTHERS => '0'); + ELSE + ISSUE_FLAG_STATUS <= ISSUE_FLAG_STATUS OR ISSUE_FLAG; + END IF; + END IF; +END PROCESS; + +STATUS(7 DOWNTO 0) <= ISSUE_FLAG_STATUS; + + + + + BMG_DATA_CHECKER_INST: ENTITY work.CHECKER + GENERIC MAP ( + WRITE_WIDTH => 192, + READ_WIDTH => 192 ) + PORT MAP ( + CLK => clkb_in_i, + RST => RSTB, + EN => CHECKER_EN_R, + DATA_IN => DOUTB, + STATUS => ISSUE_FLAG(0) + ); + + PROCESS(clkb_in_i) + BEGIN + IF(RISING_EDGE(clkb_in_i)) THEN + IF(RSTB='1') THEN + CHECKER_EN_R <= '0'; + ELSE + CHECKER_EN_R <= CHECKER_EN AFTER 50 ns; + END IF; + END IF; + END PROCESS; + + + BMG_STIM_GEN_INST:ENTITY work.BMG_STIM_GEN + PORT MAP( + CLKA => clk_in_i, + CLKB => clkb_in_i, + TB_RST => RSTA, + ADDRA => ADDRA, + DINA => DINA, + WEA => WEA, + ADDRB => ADDRB, + CHECK_DATA => CHECKER_EN + ); + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + STATUS(8) <= '0'; + iter_r2 <= '0'; + iter_r1 <= '0'; + iter_r0 <= '0'; + ELSE + STATUS(8) <= iter_r2; + iter_r2 <= iter_r1; + iter_r1 <= iter_r0; + iter_r0 <= STIMULUS_FLOW(8); + END IF; + END IF; + END PROCESS; + + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + STIMULUS_FLOW <= (OTHERS => '0'); + ELSIF(WEA(0)='1') THEN + STIMULUS_FLOW <= STIMULUS_FLOW+1; + END IF; + END IF; + END PROCESS; + + + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + WEA_R <= (OTHERS=>'0') AFTER 50 ns; + DINA_R <= (OTHERS=>'0') AFTER 50 ns; + + + ELSE + WEA_R <= WEA AFTER 50 ns; + DINA_R <= DINA AFTER 50 ns; + + END IF; + END IF; + END PROCESS; + + + PROCESS(CLKA) + BEGIN + IF(RISING_EDGE(CLKA)) THEN + IF(RESET_SYNC_R3='1') THEN + ADDRA_R <= (OTHERS=> '0') AFTER 50 ns; + ADDRB_R <= (OTHERS=> '0') AFTER 50 ns; + ELSE + ADDRA_R <= ADDRA AFTER 50 ns; + ADDRB_R <= ADDRB AFTER 50 ns; + END IF; + END IF; + END PROCESS; + + + BMG_PORT: result_bram_exdes PORT MAP ( + --Port A + WEA => WEA_R, + ADDRA => ADDRA_R, + DINA => DINA_R, + CLKA => CLKA, + --Port B + ADDRB => ADDRB_R, + DOUTB => DOUTB, + CLKB => CLKB + + ); +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/result_bram_tb.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/result_bram_tb.vhd new file mode 100644 index 0000000..b32aed4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/result_bram/simulation/result_bram_tb.vhd @@ -0,0 +1,142 @@ +-------------------------------------------------------------------------------- +-- +-- BLK MEM GEN v7_3 Core - Top File for the Example Testbench +-- +-------------------------------------------------------------------------------- +-- +-- (c) Copyright 2006_3010 Xilinx, Inc. All rights reserved. +-- +-- This file contains confidential and proprietary information +-- of Xilinx, Inc. and is protected under U.S. and +-- international copyright and other intellectual property +-- laws. +-- +-- DISCLAIMER +-- This disclaimer is not a license and does not grant any +-- rights to the materials distributed herewith. Except as +-- otherwise provided in a valid license issued to you by +-- Xilinx, and to the maximum extent permitted by applicable +-- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND +-- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES +-- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING +-- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- +-- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and +-- (2) Xilinx shall not be liable (whether in contract or tort, +-- including negligence, or under any other theory of +-- liability) for any loss or damage of any kind or nature +-- related to, arising under or in connection with these +-- materials, including for any direct, or any indirect, +-- special, incidental, or consequential loss or damage +-- (including loss of data, profits, goodwill, or any type of +-- loss or damage suffered as a result of any action brought +-- by a third party) even if such damage or loss was +-- reasonably foreseeable or Xilinx had been advised of the +-- possibility of the same. +-- +-- CRITICAL APPLICATIONS +-- Xilinx products are not designed or intended to be fail- +-- safe, or for use in any application requiring fail-safe +-- performance, such as life-support or safety devices or +-- systems, Class III medical devices, nuclear facilities, +-- applications related to the deployment of airbags, or any +-- other applications that could lead to death, personal +-- injury, or severe property or environmental damage +-- (individually and collectively, "Critical +-- Applications"). Customer assumes the sole risk and +-- liability of any use of Xilinx products in Critical +-- Applications, subject only to applicable laws and +-- regulations governing limitations on product liability. +-- +-- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS +-- PART OF THIS FILE AT ALL TIMES. + +-------------------------------------------------------------------------------- +-- Filename: result_bram_tb.vhd +-- Description: +-- Testbench Top +-------------------------------------------------------------------------------- +-- Author: IP Solutions Division +-- +-- History: Sep 12, 2011 - First Release +-------------------------------------------------------------------------------- +-- +-------------------------------------------------------------------------------- +-- Library Declarations +-------------------------------------------------------------------------------- + +LIBRARY IEEE; +USE IEEE.STD_LOGIC_1164.ALL; +USE IEEE.STD_LOGIC_ARITH.ALL; +USE IEEE.STD_LOGIC_UNSIGNED.ALL; + +LIBRARY work; +USE work.ALL; + +ENTITY result_bram_tb IS +END ENTITY; + + +ARCHITECTURE result_bram_tb_ARCH OF result_bram_tb IS + SIGNAL STATUS : STD_LOGIC_VECTOR(8 DOWNTO 0); + SIGNAL CLK : STD_LOGIC := '1'; + SIGNAL CLKB : STD_LOGIC := '1'; + SIGNAL RESET : STD_LOGIC; + + BEGIN + + + CLK_GEN: PROCESS BEGIN + CLK <= NOT CLK; + WAIT FOR 100 NS; + CLK <= NOT CLK; + WAIT FOR 100 NS; + END PROCESS; + CLKB_GEN: PROCESS BEGIN + CLKB <= NOT CLKB; + WAIT FOR 100 NS; + CLKB <= NOT CLKB; + WAIT FOR 100 NS; + END PROCESS; + + RST_GEN: PROCESS BEGIN + RESET <= '1'; + WAIT FOR 1000 NS; + RESET <= '0'; + WAIT; + END PROCESS; + + +--STOP_SIM: PROCESS BEGIN +-- WAIT FOR 200 US; -- STOP SIMULATION AFTER 1 MS +-- ASSERT FALSE +-- REPORT "END SIMULATION TIME REACHED" +-- SEVERITY FAILURE; +--END PROCESS; +-- +PROCESS BEGIN + WAIT UNTIL STATUS(8)='1'; + IF( STATUS(7 downto 0)/="0") THEN + ASSERT false + REPORT "Test Completed Successfully" + SEVERITY NOTE; + REPORT "Simulation Failed" + SEVERITY FAILURE; + ELSE + ASSERT false + REPORT "TEST PASS" + SEVERITY NOTE; + REPORT "Test Completed Successfully" + SEVERITY FAILURE; + END IF; + +END PROCESS; + + result_bram_synth_inst:ENTITY work.result_bram_synth + PORT MAP( + CLK_IN => CLK, + CLKB_IN => CLK, + RESET_IN => RESET, + STATUS => STATUS + ); + +END ARCHITECTURE; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/wide_mult.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/wide_mult.gise new file mode 100644 index 0000000..3da6a8c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/wide_mult.gise @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/wide_mult.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/wide_mult.vhd new file mode 100644 index 0000000..8879fd9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/Generator/ipcore_dir/wide_mult.vhd @@ -0,0 +1,102 @@ +-------------------------------------------------------------------------------- +-- This file is owned and controlled by Xilinx and must be used solely -- +-- for design, simulation, implementation and creation of design files -- +-- limited to Xilinx devices or technologies. Use with non-Xilinx -- +-- devices or technologies is expressly prohibited and immediately -- +-- terminates your license. -- +-- -- +-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY -- +-- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY -- +-- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE -- +-- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS -- +-- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY -- +-- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY -- +-- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY -- +-- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE -- +-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR -- +-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF -- +-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -- +-- PARTICULAR PURPOSE. -- +-- -- +-- Xilinx products are not intended for use in life support appliances, -- +-- devices, or systems. Use in such applications are expressly -- +-- prohibited. -- +-- -- +-- (c) Copyright 1995-2022 Xilinx, Inc. -- +-- All rights reserved. -- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- You must compile the wrapper file wide_mult.vhd when simulating +-- the core, wide_mult. When compiling the wrapper file, be sure to +-- reference the XilinxCoreLib VHDL simulation library. For detailed +-- instructions, please refer to the "CORE Generator Help". + +-- The synthesis directives "translate_off/translate_on" specified +-- below are supported by Xilinx, Mentor Graphics and Synplicity +-- synthesis tools. Ensure they are correct for your synthesis tool(s). + +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; +-- synthesis translate_off +LIBRARY XilinxCoreLib; +-- synthesis translate_on +ENTITY wide_mult IS + PORT ( + clk : IN STD_LOGIC; + a : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(26 DOWNTO 0); + ce : IN STD_LOGIC; + p : OUT STD_LOGIC_VECTOR(39 DOWNTO 0) + ); +END wide_mult; + +ARCHITECTURE wide_mult_a OF wide_mult IS +-- synthesis translate_off +COMPONENT wrapped_wide_mult + PORT ( + clk : IN STD_LOGIC; + a : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(26 DOWNTO 0); + ce : IN STD_LOGIC; + p : OUT STD_LOGIC_VECTOR(39 DOWNTO 0) + ); +END COMPONENT; + +-- Configuration specification + FOR ALL : wrapped_wide_mult USE ENTITY XilinxCoreLib.mult_gen_v11_2(behavioral) + GENERIC MAP ( + c_a_type => 1, + c_a_width => 13, + c_b_type => 1, + c_b_value => "10000001", + c_b_width => 27, + c_ccm_imp => 0, + c_ce_overrides_sclr => 0, + c_has_ce => 1, + c_has_sclr => 0, + c_has_zero_detect => 0, + c_latency => 5, + c_model_type => 0, + c_mult_type => 1, + c_optimize_goal => 1, + c_out_high => 39, + c_out_low => 0, + c_round_output => 0, + c_round_pt => 0, + c_verbosity => 0, + c_xdevicefamily => "spartan6" + ); +-- synthesis translate_on +BEGIN +-- synthesis translate_off +U0 : wrapped_wide_mult + PORT MAP ( + clk => clk, + a => a, + b => b, + ce => ce, + p => p + ); +-- synthesis translate_on + +END wide_mult_a; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/BuildConfig.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/BuildConfig.vhd new file mode 100644 index 0000000..6f9866f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/BuildConfig.vhd @@ -0,0 +1,6 @@ +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +package BuildConfig is + constant EXTERNAL_MASTER_LO_SLAVE : boolean := false; +end package BuildConfig; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/BuildConfig_external_lo_slave.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/BuildConfig_external_lo_slave.vhd new file mode 100644 index 0000000..651341d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/BuildConfig_external_lo_slave.vhd @@ -0,0 +1,6 @@ +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +package BuildConfig is + constant EXTERNAL_MASTER_LO_SLAVE : boolean := true; +end package BuildConfig; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/DFT.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/DFT.vhd new file mode 100644 index 0000000..8975b9b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/DFT.vhd @@ -0,0 +1,358 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 20:38:37 09/18/2020 +-- Design Name: +-- Module Name: DFT - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity DFT is + Generic (BINS : integer); + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + PORT1 : in STD_LOGIC_VECTOR (17 downto 0); + PORT2 : in STD_LOGIC_VECTOR (17 downto 0); + NEW_SAMPLE : in STD_LOGIC; + NSAMPLES : in STD_LOGIC_VECTOR (12 downto 0); + BIN1_PHASEINC : in STD_LOGIC_VECTOR (15 downto 0); + DIFFBIN_PHASEINC : in STD_LOGIC_VECTOR (15 downto 0); + RESULT_READY : out STD_LOGIC; + OUTPUT : out STD_LOGIC_VECTOR (191 downto 0); + NEXT_OUTPUT : in STD_LOGIC); +end DFT; + +architecture Behavioral of DFT is +COMPONENT result_bram + PORT ( + clka : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(191 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(7 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(191 DOWNTO 0) + ); +END COMPONENT; +COMPONENT SinCos + PORT ( + clk : IN STD_LOGIC; + phase_in : IN STD_LOGIC_VECTOR(11 DOWNTO 0); + cosine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0); + sine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0) + ); +END COMPONENT; +COMPONENT DSP_SLICE + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END COMPONENT; +COMPONENT window +PORT( + CLK : IN std_logic; + INDEX : IN std_logic_vector(6 downto 0); + WINDOW_TYPE : IN std_logic_vector(1 downto 0); + VALUE : OUT std_logic_vector(15 downto 0) + ); +END COMPONENT; + + --type result is array(BINS-1 downto 0) of std_logic_vector(47 downto 0); + --signal port1_real : result; + --signal port1_imag : result; + --signal port2_real : result; + --signal port2_imag : result; + + --signal port1_real_read : std_logic_vector(47 downto 0); + --signal port1_imag_read : std_logic_vector(47 downto 0); + --signal port2_real_read : std_logic_vector(47 downto 0); + --signal port2_imag_read : std_logic_vector(47 downto 0); + + signal sample_cnt : integer range 0 to 131072; + signal samples_to_take : integer range 0 to 131072; + signal bin_cnt : integer range 0 to BINS+2; + + signal read_address : integer range 0 to BINS-1; + signal write_address : integer range 0 to BINS-1; + signal read_address_vector : std_logic_vector(7 downto 0); + signal write_address_vector : std_logic_vector(7 downto 0); + signal we : std_logic_vector(0 downto 0); + signal ram_in : std_logic_vector(191 downto 0); + signal ram_out : std_logic_vector(191 downto 0); + + type States is (WaitingForSample, WaitMult, WaitSinCos, Busy, Ready); + signal state : States; + signal port1_latch : std_logic_vector(17 downto 0); + signal port2_latch : std_logic_vector(17 downto 0); + + signal phase : std_logic_vector(31 downto 0); + signal phase_inc : std_logic_vector(31 downto 0); + signal sine : std_logic_vector(15 downto 0); + signal cosine : std_logic_vector(15 downto 0); + + signal mult1_a : std_logic_vector(17 downto 0); + signal mult1_b : std_logic_vector(17 downto 0); + signal mult1_c : std_logic_vector(47 downto 0); + signal mult1_p : std_logic_vector(47 downto 0); + + signal mult2_a : std_logic_vector(17 downto 0); + signal mult2_b : std_logic_vector(17 downto 0); + signal mult2_c : std_logic_vector(47 downto 0); + signal mult2_p : std_logic_vector(47 downto 0); + + signal mult3_a : std_logic_vector(17 downto 0); + signal mult3_b : std_logic_vector(17 downto 0); + signal mult3_c : std_logic_vector(47 downto 0); + signal mult3_p : std_logic_vector(47 downto 0); + + signal mult4_a : std_logic_vector(17 downto 0); + signal mult4_b : std_logic_vector(17 downto 0); + signal mult4_c : std_logic_vector(47 downto 0); + signal mult4_p : std_logic_vector(47 downto 0); + + signal mult_enable : std_logic; + signal mult_accumulate : std_logic_vector(0 downto 0); +begin + + LookupTable : SinCos + PORT MAP ( + clk => CLK, + phase_in => phase(31 downto 20), + cosine => cosine, + sine => sine + ); + Mult1 : DSP_SLICE + PORT MAP ( + clk => CLK, + ce => mult_enable, + sel => mult_accumulate, + a => mult1_a, + b => mult1_b, + c => mult1_c, + p => mult1_p + ); + Mult2 : DSP_SLICE + PORT MAP ( + clk => CLK, + ce => mult_enable, + sel => mult_accumulate, + a => mult2_a, + b => mult2_b, + c => mult2_c, + p => mult2_p + ); + Mult3 : DSP_SLICE + PORT MAP ( + clk => CLK, + ce => mult_enable, + sel => mult_accumulate, + a => mult3_a, + b => mult3_b, + c => mult3_c, + p => mult3_p + ); + Mult4 : DSP_SLICE + PORT MAP ( + clk => CLK, + ce => mult_enable, + sel => mult_accumulate, + a => mult4_a, + b => mult4_b, + c => mult4_c, + p => mult4_p + ); + + result_ram: result_bram + PORT MAP ( + clka => CLK, + wea => we, + addra => write_address_vector, + dina => ram_in, + clkb => CLK, + addrb => read_address_vector, + doutb => ram_out + ); + + read_address_vector <= std_logic_vector(to_unsigned(read_address, 8)); + write_address_vector <= std_logic_vector(to_unsigned(write_address, 8)); + OUTPUT <= ram_out; + + mult1_c <= ram_out(191 downto 144); + mult2_c <= ram_out(143 downto 96); + mult3_c <= ram_out(95 downto 48); + mult4_c <= ram_out(47 downto 0); + + ram_in <= mult1_p & mult2_p & mult3_p & mult4_p; + + process(CLK, RESET) + begin + if rising_edge(CLK) then + if RESET = '1' then + mult_enable <= '0'; + mult_accumulate <= "0"; + sample_cnt <= 0; + RESULT_READY <= '0'; + read_address <= 0; + write_address <= 0; + we <= "0"; + state <= WaitingForSample; + else + samples_to_take <= to_integer(unsigned(NSAMPLES & "0000")) - 1; + case state is + when WaitingForSample => + we <= "0"; + mult_enable <= '0'; + mult_accumulate <= "0"; + read_address <= 0; + write_address <= 0; + if NEW_SAMPLE = '1' then + -- calculate phase for initial bin + mult1_a <= std_logic_vector(to_unsigned(sample_cnt, 18)); + mult1_b <= "00" & BIN1_PHASEINC; + mult2_a <= std_logic_vector(to_unsigned(sample_cnt, 18)); + mult2_b <= "00" & DIFFBIN_PHASEINC; + state <= WaitMult; + bin_cnt <= 0; + mult_enable <= '1'; + end if; + when WaitMult => + RESULT_READY <= '0'; + we <= "0"; + mult_enable <= '1'; + mult_accumulate <= "0"; + read_address <= 0; + write_address <= 0; + if bin_cnt < 4 then + bin_cnt <= bin_cnt + 1; + else + bin_cnt <= 0; + mult_enable <= '0'; + state <= WaitSinCos; + phase <= mult1_p(15 downto 0) & "0000000000000000"; + phase_inc <= mult2_p(23 downto 0) & "00000000"; + port1_latch <= PORT1; + port2_latch <= PORT2; + end if; + when WaitSinCos => + phase <= std_logic_vector(unsigned(phase)+unsigned(phase_inc)); + RESULT_READY <= '0'; + we <= "0"; + mult_enable <= '0'; + mult_accumulate <= "0"; + read_address <= 0; + write_address <= 0; + if bin_cnt < 6 then + bin_cnt <= bin_cnt + 1; + else + bin_cnt <= 0; + mult_enable <= '1'; + read_address <= 1; + -- sign extended multiplication + mult1_a <= port1_latch; + mult1_b <= sine(15) & sine(15) & sine; + mult2_a <= port1_latch; + mult2_b <= cosine(15) & cosine(15) & cosine; + mult3_a <= port2_latch; + mult3_b <= sine(15) & sine(15) & sine; + mult4_a <= port2_latch; + mult4_b <= cosine(15) & cosine(15) & cosine; + state <= BUSY; + if sample_cnt = 0 then + mult_accumulate <= "0"; + else + mult_accumulate <= "1"; + end if; + end if; + when BUSY => + mult_enable <= '1'; + if sample_cnt = 0 then + mult_accumulate <= "0"; + else + mult_accumulate <= "1"; + end if; + RESULT_READY <= '0'; + phase <= std_logic_vector(unsigned(phase)+unsigned(phase_inc)); + -- sign extended multiplication + mult1_a <= port1_latch; + mult1_b <= sine(15) & sine(15) & sine; + mult2_a <= port1_latch; + mult2_b <= cosine(15) & cosine(15) & cosine; + mult3_a <= port2_latch; + mult3_b <= sine(15) & sine(15) & sine; + mult4_a <= port2_latch; + mult4_b <= cosine(15) & cosine(15) & cosine; + if bin_cnt >= 3 then + -- multiplier result is available, advance write address + we <= "1"; + write_address <= bin_cnt - 3; + else + we <= "0"; + write_address <= 0; + end if; + if bin_cnt >= BINS+2 then + read_address <= 0; + if sample_cnt < samples_to_take then + sample_cnt <= sample_cnt + 1; + state <= WaitingForSample; + else + state <= Ready; + end if; + else + bin_cnt <= bin_cnt + 1; + if bin_cnt < BINS - 2 then + read_address <= bin_cnt + 2; + end if; + end if; + when Ready => + we <= "0"; + RESULT_READY <= '1'; + write_address <= 0; + if NEXT_OUTPUT = '1' then + -- fetch next entry from RAM + if read_address < BINS - 1 then + read_address <= read_address + 1; + else + RESULT_READY <= '0'; + sample_cnt <= 0; + mult_enable <= '0'; + state <= WaitingForSample; + read_address <= 0; + end if; + end if; + when others => + state <= WaitingForSample; + end case; + end if; + end if; + end process; + + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Flattop.dat b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Flattop.dat new file mode 100644 index 0000000..b84433c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Flattop.dat @@ -0,0 +1,128 @@ +1111111111111000 +1111111111110110 +1111111111110001 +1111111111101001 +1111111111011111 +1111111111010001 +1111111110111111 +1111111110101001 +1111111110001110 +1111111101101110 +1111111101001000 +1111111100011100 +1111111011101001 +1111111010101111 +1111111001101111 +1111111000101000 +1111110111011011 +1111110110001000 +1111110100110001 +1111110011011000 +1111110001111101 +1111110000100011 +1111101111001101 +1111101101111101 +1111101100110111 +1111101011111110 +1111101011010111 +1111101011000100 +1111101011001011 +1111101011110001 +1111101100111001 +1111101110101000 +1111110001000011 +1111110100001110 +1111111000001100 +1111111101000001 +0000000010101110 +0000001001011001 +0000010001000000 +0000011001100100 +0000100011000101 +0000101101100010 +0000111000111000 +0001000101000100 +0001010010000000 +0001011111100111 +0001101101110011 +0001111100011100 +0010001011011001 +0010011010100001 +0010101001101011 +0010111000101100 +0011000111011001 +0011010101101000 +0011100011001110 +0011110000000000 +0011111011110100 +0100000110100001 +0100001111111101 +0100011000000010 +0100011110101000 +0100100011101001 +0100100111000010 +0100101000101111 +0100101000101111 +0100100111000010 +0100100011101001 +0100011110101000 +0100011000000010 +0100001111111101 +0100000110100001 +0011111011110100 +0011110000000000 +0011100011001110 +0011010101101000 +0011000111011001 +0010111000101100 +0010101001101011 +0010011010100001 +0010001011011001 +0001111100011100 +0001101101110011 +0001011111100111 +0001010010000000 +0001000101000100 +0000111000111000 +0000101101100010 +0000100011000101 +0000011001100100 +0000010001000000 +0000001001011001 +0000000010101110 +1111111101000001 +1111111000001100 +1111110100001110 +1111110001000011 +1111101110101000 +1111101100111001 +1111101011110001 +1111101011001011 +1111101011000100 +1111101011010111 +1111101011111110 +1111101100110111 +1111101101111101 +1111101111001101 +1111110000100011 +1111110001111101 +1111110011011000 +1111110100110001 +1111110110001000 +1111110111011011 +1111111000101000 +1111111001101111 +1111111010101111 +1111111011101001 +1111111100011100 +1111111101001000 +1111111101101110 +1111111110001110 +1111111110101001 +1111111110111111 +1111111111010001 +1111111111011111 +1111111111101001 +1111111111110001 +1111111111110110 +1111111111111000 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Hann.dat b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Hann.dat new file mode 100644 index 0000000..593bd59 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Hann.dat @@ -0,0 +1,128 @@ +0000000000000001 +0000000000001011 +0000000000011110 +0000000000111100 +0000000001100011 +0000000010010100 +0000000011001110 +0000000100010010 +0000000101011111 +0000000110110101 +0000001000010100 +0000001001111011 +0000001011101011 +0000001101100010 +0000001111100010 +0000010001101001 +0000010011110111 +0000010110001100 +0000011000101000 +0000011011001001 +0000011101110000 +0000100000011101 +0000100011001110 +0000100110000100 +0000101000111101 +0000101011111011 +0000101110111011 +0000110001111110 +0000110101000011 +0000111000001010 +0000111011010010 +0000111110011011 +0001000001100100 +0001000100101101 +0001000111110101 +0001001010111100 +0001001110000001 +0001010001000100 +0001010100000100 +0001010111000010 +0001011001111011 +0001011100110001 +0001011111100010 +0001100010001111 +0001100100110110 +0001100111010111 +0001101001110011 +0001101100001000 +0001101110010110 +0001110000011101 +0001110010011101 +0001110100010100 +0001110110000100 +0001110111101011 +0001111001001010 +0001111010100000 +0001111011101101 +0001111100110001 +0001111101101011 +0001111110011100 +0001111111000011 +0001111111100001 +0001111111110100 +0001111111111110 +0001111111111110 +0001111111110100 +0001111111100001 +0001111111000011 +0001111110011100 +0001111101101011 +0001111100110001 +0001111011101101 +0001111010100000 +0001111001001010 +0001110111101011 +0001110110000100 +0001110100010100 +0001110010011101 +0001110000011101 +0001101110010110 +0001101100001000 +0001101001110011 +0001100111010111 +0001100100110110 +0001100010001111 +0001011111100010 +0001011100110001 +0001011001111011 +0001010111000010 +0001010100000100 +0001010001000100 +0001001110000001 +0001001010111100 +0001000111110101 +0001000100101101 +0001000001100100 +0000111110011011 +0000111011010010 +0000111000001010 +0000110101000011 +0000110001111110 +0000101110111011 +0000101011111011 +0000101000111101 +0000100110000100 +0000100011001110 +0000100000011101 +0000011101110000 +0000011011001001 +0000011000101000 +0000010110001100 +0000010011110111 +0000010001101001 +0000001111100010 +0000001101100010 +0000001011101011 +0000001001111011 +0000001000010100 +0000000110110101 +0000000101011111 +0000000100010010 +0000000011001110 +0000000010010100 +0000000001100011 +0000000000111100 +0000000000011110 +0000000000001011 +0000000000000001 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Kaiser.dat b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Kaiser.dat new file mode 100644 index 0000000..7d622f5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Kaiser.dat @@ -0,0 +1,128 @@ +0000000000000110 +0000000000001011 +0000000000010010 +0000000000011011 +0000000000100111 +0000000000110110 +0000000001000111 +0000000001011101 +0000000001110111 +0000000010010101 +0000000010111001 +0000000011100010 +0000000100010001 +0000000101001000 +0000000110000101 +0000000111001010 +0000001000011000 +0000001001101111 +0000001011001110 +0000001100111000 +0000001110101100 +0000010000101010 +0000010010110011 +0000010101000111 +0000010111100111 +0000011010010010 +0000011101001000 +0000100000001010 +0000100011010111 +0000100110110000 +0000101010010011 +0000101110000001 +0000110001111001 +0000110101111011 +0000111010000101 +0000111110011000 +0001000010110010 +0001000111010011 +0001001011111001 +0001010000100011 +0001010101010000 +0001011010000000 +0001011110110000 +0001100011100000 +0001101000001110 +0001101100111000 +0001110001011101 +0001110101111101 +0001111010010100 +0001111110100011 +0010000010100110 +0010000110011110 +0010001010001001 +0010001101100101 +0010010000110001 +0010010011101101 +0010010110010110 +0010011000101101 +0010011010101111 +0010011100011101 +0010011101110110 +0010011110111001 +0010011111100110 +0010011111111101 +0010011111111101 +0010011111100110 +0010011110111001 +0010011101110110 +0010011100011101 +0010011010101111 +0010011000101101 +0010010110010110 +0010010011101101 +0010010000110001 +0010001101100101 +0010001010001001 +0010000110011110 +0010000010100110 +0001111110100011 +0001111010010100 +0001110101111101 +0001110001011101 +0001101100111000 +0001101000001110 +0001100011100000 +0001011110110000 +0001011010000000 +0001010101010000 +0001010000100011 +0001001011111001 +0001000111010011 +0001000010110010 +0000111110011000 +0000111010000101 +0000110101111011 +0000110001111001 +0000101110000001 +0000101010010011 +0000100110110000 +0000100011010111 +0000100000001010 +0000011101001000 +0000011010010010 +0000010111100111 +0000010101000111 +0000010010110011 +0000010000101010 +0000001110101100 +0000001100111000 +0000001011001110 +0000001001101111 +0000001000011000 +0000000111001010 +0000000110000101 +0000000101001000 +0000000100010001 +0000000011100010 +0000000010111001 +0000000010010101 +0000000001110111 +0000000001011101 +0000000001000111 +0000000000110110 +0000000000100111 +0000000000011011 +0000000000010010 +0000000000001011 +0000000000000110 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/MAX2871.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/MAX2871.vhd new file mode 100644 index 0000000..b7b9f13 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/MAX2871.vhd @@ -0,0 +1,117 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 16:59:45 05/05/2020 +-- Design Name: +-- Module Name: MAX2871 - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity MAX2871 is + Generic (CLK_DIV : integer); + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + REG4 : in STD_LOGIC_VECTOR (31 downto 0); + REG3 : in STD_LOGIC_VECTOR (31 downto 0); + REG1 : in STD_LOGIC_VECTOR (31 downto 0); + REG0 : in STD_LOGIC_VECTOR (31 downto 0); + RELOAD : in STD_LOGIC; + CLK_OUT : out STD_LOGIC; + MOSI : out STD_LOGIC; + LE : out STD_LOGIC; + DONE : out STD_LOGIC); +end MAX2871; + +architecture Behavioral of MAX2871 is + signal clk_cnt : integer range 0 to (CLK_DIV/2)-1; + signal reg_cnt : integer range 0 to 3; + signal bit_cnt : integer range 0 to 32; + signal latched_regs : std_logic_vector(127 downto 0); + + signal sclk : std_logic; + signal latch : std_logic; + signal done_int : std_logic; +begin + + CLK_OUT <= sclk; + MOSI <= latched_regs(127); + LE <= latch; + DONE <= done_int; + + process(CLK, RESET) + begin + if rising_edge(CLK) then + if RESET = '1' then + sclk <= '0'; + latch <= '0'; + done_int <= '1'; + else + if done_int = '1' then + -- can start a new reload process + if RELOAD = '1' then + done_int <= '0'; + latched_regs <= REG4 & REG3 & REG1 & REG0; + reg_cnt <= 0; + bit_cnt <= 0; + clk_cnt <= 0; + end if; + else + if clk_cnt < (CLK_DIV/2) - 1 then + clk_cnt <= clk_cnt + 1; + else + clk_cnt <= 0; + -- advance SPI state machine + if bit_cnt < 32 then + if sclk = '0' then + sclk <= '1'; + else + -- falling edge of clk, shift out new bit + sclk <= '0'; + latched_regs <= latched_regs(126 downto 0) & "0"; + bit_cnt <= bit_cnt + 1; + end if; + else + -- shifted out one register, strobe latch + if latch = '0' then + latch <= '1'; + else + latch <= '0'; + -- move on to next register + if reg_cnt < 3 then + reg_cnt <= reg_cnt + 1; + bit_cnt <= 0; + else + -- all done + done_int <= '1'; + end if; + end if; + end if; + end if; + end if; + end if; + end if; + end process; +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/MCP33131.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/MCP33131.vhd new file mode 100644 index 0000000..d0db141 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/MCP33131.vhd @@ -0,0 +1,161 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 16:01:43 05/05/2020 +-- Design Name: +-- Module Name: MCP33131 - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity MCP33131 is + Generic(CLK_DIV : integer; + CONVCYCLES : integer); + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + START : in STD_LOGIC; + READY : out STD_LOGIC; + DATA : out STD_LOGIC_VECTOR (15 downto 0); + MIN : out STD_LOGIC_VECTOR (15 downto 0); + MAX : out STD_LOGIC_VECTOR (15 downto 0); + RESET_MINMAX : in STD_LOGIC; + SDO : in STD_LOGIC; + CONVSTART : out STD_LOGIC; + SCLK : inout STD_LOGIC); +end MCP33131; + +architecture Behavioral of MCP33131 is + signal conv_cnt : integer range 0 to CONVCYCLES-1; + signal div_cnt : integer range 0 to (CLK_DIV/2)-1; + signal bit_cnt : integer range 0 to 15; + signal sclk_phase : std_logic; + signal adc_data : std_logic_vector(15 downto 0); + type States is (Idle, Conversion, WAIT_tEN, Transmission, Done); + signal state : States; + signal ready_int : std_logic; + signal ready_delay : integer range 0 to 30; + signal min_int, max_int, data_int : signed(15 downto 0); +begin + + MIN <= std_logic_vector(min_int); + MAX <= std_logic_vector(max_int); + DATA <= std_logic_vector(data_int); + SCLK <= sclk_phase; + + process(SCLK, START) + begin + if(falling_edge(SCLK)) then + adc_data <= adc_data(14 downto 0) & SDO; + end if; + end process; + + process(CLK, RESET) + begin + if(rising_edge(CLK)) then + if(RESET = '1') then + state <= Idle; + READY <= '0'; + ready_int <= '0'; + CONVSTART <= '0'; + sclk_phase <= '0'; + CONVSTART <= '0'; + conv_cnt <= 0; + div_cnt <= 0; + bit_cnt <= 0; + min_int <= to_signed(32767, 16); + max_int <= to_signed(-32768, 16); + else + if RESET_MINMAX = '1' then + min_int <= to_signed(32767, 16); + max_int <= to_signed(-32768, 16); + else + if data_int < min_int then + min_int <= data_int; + end if; + if data_int > max_int then + max_int <= data_int; + end if; + end if; + + READY <= '0'; + if ready_int = '1' then + ready_delay <= 3; + else + if ready_delay > 0 then + ready_delay <= ready_delay - 1; + end if; + if ready_delay = 1 then + READY <= '1'; + data_int <= signed(adc_data); + end if; + end if; + + case state is + when Idle => + ready_int <= '0'; + if START = '1' then + state <= Conversion; + conv_cnt <= 0; + CONVSTART <= '1'; + end if; + when Conversion => + ready_int <= '0'; + if(conv_cnt < CONVCYCLES-1) then + conv_cnt <= conv_cnt + 1; + else + div_cnt <= 0; + CONVSTART <= '0'; + state <= WAIT_tEN; + end if; + when WAIT_tEN => + ready_int <= '0'; + state <= Transmission; + when Transmission => + ready_int <= '0'; + if(div_cnt < (CLK_DIV/2)-1) then + div_cnt <= div_cnt + 1; + else + if(sclk_phase = '0') then + sclk_phase <= '1'; + else + sclk_phase <= '0'; + if bit_cnt = 15 then + state <= Done; + bit_cnt <= 0; + else + bit_cnt <= bit_cnt + 1; + end if; + end if; + div_cnt <= 0; + end if; + when Done => + ready_int <= '1'; + state <= Idle; + end case; + end if; + end if; + end process; + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ResetDelay.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ResetDelay.vhd new file mode 100644 index 0000000..bb8c1d0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ResetDelay.vhd @@ -0,0 +1,61 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 20:06:31 05/12/2020 +-- Design Name: +-- Module Name: ResetDelay - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity ResetDelay is + Generic(CLK_DELAY : integer); + Port ( CLK : in STD_LOGIC; + IN_RESET : in STD_LOGIC; + OUT_RESET : out STD_LOGIC); +end ResetDelay; + +architecture Behavioral of ResetDelay is + signal clk_cnt : integer range 0 to CLK_DELAY-1; +begin + + process(CLK, IN_RESET) + begin + if rising_edge(CLK) then + if IN_RESET = '1' then + clk_cnt <= 0; + OUT_RESET <= '1'; + else + if clk_cnt < CLK_DELAY-1 then + clk_cnt <= clk_cnt + 1; + else + OUT_RESET <= '0'; + end if; + end if; + end if; + end process; + + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/SPIConfig.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/SPIConfig.vhd new file mode 100644 index 0000000..4703728 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/SPIConfig.vhd @@ -0,0 +1,329 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 19:51:11 05/05/2020 +-- Design Name: +-- Module Name: SPICommands - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity SPICommands is + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + SCLK : in STD_LOGIC; + MOSI : in STD_LOGIC; + MISO : out STD_LOGIC; + NSS : in STD_LOGIC; + NEW_SAMPLING_DATA : in STD_LOGIC; + SAMPLING_RESULT : in STD_LOGIC_VECTOR (303 downto 0); + ADC_MINMAX : in STD_LOGIC_VECTOR(95 downto 0); + SOURCE_UNLOCKED : in STD_LOGIC; + LO_UNLOCKED : in STD_LOGIC; + MAX2871_DEF_4 : out STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_3 : out STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_1 : out STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_0 : out STD_LOGIC_VECTOR (31 downto 0); + SWEEP_DATA : out STD_LOGIC_VECTOR (95 downto 0); + SWEEP_ADDRESS : out STD_LOGIC_VECTOR (12 downto 0); + SWEEP_WRITE : out STD_LOGIC_VECTOR (0 downto 0); + SWEEP_POINTS : out STD_LOGIC_VECTOR (12 downto 0); + NSAMPLES : out STD_LOGIC_VECTOR (12 downto 0); + STAGES : out STD_LOGIC_VECTOR (2 downto 0); + SETTLING_TIME : out STD_LOGIC_VECTOR (19 downto 0); + SYNC_ENABLED : out STD_LOGIC; + SYNC_MASTER : out STD_LOGIC; + PORT1_STAGE : out STD_LOGIC_VECTOR (2 downto 0); + PORT2_STAGE : out STD_LOGIC_VECTOR (2 downto 0); + PORT1_EN : out STD_LOGIC; + PORT2_EN : out STD_LOGIC; + REF_EN : out STD_LOGIC; + AMP_SHDN : out STD_LOGIC; + SOURCE_RF_EN : out STD_LOGIC; + LO_RF_EN : out STD_LOGIC; + SOURCE_CE_EN : out STD_LOGIC; + LO_CE_EN : out STD_LOGIC; + PORTSWITCH_EN : out STD_LOGIC; + LEDS : out STD_LOGIC_VECTOR(2 downto 0); + WINDOW_SETTING : out STD_LOGIC_VECTOR(1 downto 0); + ADC_PRESCALER : out STD_LOGIC_VECTOR(7 downto 0); + ADC_PHASEINC : out STD_LOGIC_VECTOR(11 downto 0); + INTERRUPT_ASSERTED : out STD_LOGIC; + RESET_MINMAX : out STD_LOGIC; + SWEEP_HALTED : in STD_LOGIC; + SWEEP_RESUME : out STD_LOGIC; + + -- hardware overwrite signals + SPI_OVERWRITE_ENABLED : out STD_LOGIC; + SPI_OVERWRITE_DATA : out STD_LOGIC_VECTOR(14 downto 0); + + -- DFT signals + DFT_BIN1_PHASEINC : out STD_LOGIC_VECTOR (15 downto 0); + DFT_DIFFBIN_PHASEINC : out STD_LOGIC_VECTOR (15 downto 0); + DFT_RESULT_READY : in STD_LOGIC; + DFT_OUTPUT : in STD_LOGIC_VECTOR (191 downto 0); + DFT_NEXT_OUTPUT : out STD_LOGIC; + DFT_ENABLE : out STD_LOGIC; + + DEBUG_STATUS : in STD_LOGIC_VECTOR(10 downto 0)); +end SPICommands; + +architecture Behavioral of SPICommands is + COMPONENT spi_slave + Generic(W : integer; + PREWIDTH : integer); + PORT( + SPI_CLK : in STD_LOGIC; + MISO : out STD_LOGIC; + MOSI : in STD_LOGIC; + CS : in STD_LOGIC; + BUF_OUT : out STD_LOGIC_VECTOR (W-1 downto 0) := (others => '0'); + BUF_IN : in STD_LOGIC_VECTOR (W-1 downto 0); + CLK : in STD_LOGIC; + COMPLETE : out STD_LOGIC; + PRE_COMPLETE : out STD_LOGIC; + PRE_BUF_OUT : out STD_LOGIC_VECTOR (PREWIDTH-1 downto 0) + ); + END COMPONENT; + + -- SPI control signals + signal spi_buf_out : std_logic_vector(15 downto 0); + signal spi_buf_in : std_logic_vector(15 downto 0); + signal spi_complete : std_logic; + signal spi_pre_complete : std_logic; + signal spi_pre_buf_out : std_logic_vector(2 downto 0); + signal word_cnt : integer range 0 to 19; + type SPI_states is (FirstWord, WriteSweepConfig, ReadResult, WriteRegister); + signal state : SPI_states; + signal selected_register : integer range 0 to 31; + + signal dft_next : std_logic; + + signal last_NSS : std_logic; + + signal sweep_config_write : std_logic; + signal unread_sampling_data : std_logic; + signal data_overrun : std_logic; + -- Configuration registers + signal interrupt_mask : std_logic_vector(15 downto 0); + signal interrupt_status : std_logic_vector(15 downto 0); + + signal latched_result : std_logic_vector(287 downto 0); + signal sweepconfig_buffer : std_logic_vector(79 downto 0); +begin + SPI: spi_slave + GENERIC MAP(W => 16, + PREWIDTH => 3) + PORT MAP( + SPI_CLK => SCLK, + MISO => MISO, + MOSI => MOSI, + CS => NSS, + BUF_OUT => spi_buf_out, + BUF_IN => spi_buf_in, + CLK => CLK, + COMPLETE => spi_complete, + PRE_COMPLETE => spi_pre_complete, + PRE_BUF_OUT => spi_pre_buf_out + ); + + SWEEP_WRITE(0) <= sweep_config_write; + DFT_NEXT_OUTPUT <= dft_next; + DFT_ENABLE <= interrupt_mask(5); + + process(CLK, RESET) + begin + if rising_edge(CLK) then + if RESET = '1' then + sweep_config_write <= '0'; + data_overrun <= '0'; + SWEEP_POINTS <= (others => '0'); + NSAMPLES <= (others => '0'); + --SETTLING_TIME <= (others => '0'); + PORT1_EN <= '0'; + PORT2_EN <= '0'; + REF_EN <= '0'; + AMP_SHDN <= '1'; + SOURCE_RF_EN <= '0'; + LO_RF_EN <= '0'; + SOURCE_CE_EN <= '0'; + LO_CE_EN <= '0'; + PORTSWITCH_EN <= '0'; + LEDS <= (others => '1'); + WINDOW_SETTING <= "00"; + unread_sampling_data <= '0'; + interrupt_mask <= (others => '0'); + ADC_PRESCALER <= std_logic_vector(to_unsigned(112, 8)); + ADC_PHASEINC <= std_logic_vector(to_unsigned(1120, 12)); + RESET_MINMAX <= '0'; + INTERRUPT_ASSERTED <= '0'; + latched_result <= (others => '0'); + + SPI_OVERWRITE_ENABLED <= '0'; + SPI_OVERWRITE_DATA <= (others => '0'); + + DFT_BIN1_PHASEINC <= (others => '0'); + DFT_DIFFBIN_PHASEINC <= (others => '0'); + dft_next <= '0'; + last_NSS <= '1'; + else + interrupt_status <= DEBUG_STATUS(10 downto 1) & DFT_RESULT_READY & SWEEP_HALTED & data_overrun & unread_sampling_data & SOURCE_UNLOCKED & LO_UNLOCKED; + if (interrupt_status and interrupt_mask) = "0000000000000000" then + INTERRUPT_ASSERTED <= '0'; + else + INTERRUPT_ASSERTED <= '1'; + end if; + if sweep_config_write = '1' then + sweep_config_write <= '0'; + end if; + if dft_next = '1' then + dft_next <= '0'; + end if; + RESET_MINMAX <= '0'; + SWEEP_RESUME <= '0'; + if NEW_SAMPLING_DATA = '1' then + unread_sampling_data <= '1'; + if unread_sampling_data = '1' then + data_overrun <= '1'; + end if; + end if; + last_NSS <= NSS; + if NSS = '0' and last_NSS = '1' then + word_cnt <= 0; + spi_buf_in <= interrupt_status; + state <= FirstWord; + else + -- handle read operations when the first PREWIDTH bits are complete + if spi_pre_complete = '1' then + case state is + when FirstWord => + -- initial word determines the action + case spi_pre_buf_out is + when "010" => state <= FirstWord; + spi_buf_in <= "1111000010100101"; + when "101" => state <= ReadResult;-- can use same state as read result, but the latched data will contain the DFT values + latched_result(175 downto 0) <= DFT_OUTPUT(191 downto 16); + spi_buf_in <= DFT_OUTPUT(15 downto 0); + dft_next <= '1'; + when "110" => state <= ReadResult; + latched_result <= SAMPLING_RESULT(303 downto 16); + spi_buf_in <= SAMPLING_RESULT(15 downto 0); + unread_sampling_data <= '0'; + when "111" => state <= ReadResult; -- can use same state as read result, but the latched data will contain the min/max ADC values + latched_result(79 downto 0) <= ADC_MINMAX(95 downto 16); + spi_buf_in <= ADC_MINMAX(15 downto 0); + --ignore other options + when others => + end case; + when ReadResult => + -- pass on next word of latched result + spi_buf_in <= latched_result(15 downto 0); + latched_result <= "0000000000000000" & latched_result(287 downto 16); + when others => + end case; + end if; + -- handle write operations when the whole word is complete + if spi_complete = '1' then + word_cnt <= word_cnt + 1; + case state is + when FirstWord => + -- initial word determines action + case spi_buf_out(15 downto 13) is + when "000" => state <= WriteSweepConfig; + -- also extract the point number + SWEEP_ADDRESS <= spi_buf_out(12 downto 0); + when "001" => state <= FirstWord; + SWEEP_RESUME <= '1'; + when "011" => state <= FirstWord; + RESET_MINMAX <= '1'; + when "100" => state <= WriteRegister; + selected_register <= to_integer(unsigned(spi_buf_out(4 downto 0))); + -- ignore read options (already handled in other state machine) + when "010" => + when "101" => + when "110" => + when "111" => + when others => state <= FirstWord; + end case; + when WriteRegister => + -- write received data into previously selected register + case selected_register is + when 0 => interrupt_mask <= spi_buf_out; + when 1 => SWEEP_POINTS <= spi_buf_out(12 downto 0); + when 2 => NSAMPLES <= spi_buf_out(12 downto 0); + when 3 => PORTSWITCH_EN <= spi_buf_out(0); + PORT1_EN <= spi_buf_out(15); + PORT2_EN <= spi_buf_out(14); + REF_EN <= spi_buf_out(13); + AMP_SHDN <= not spi_buf_out(12); + SOURCE_RF_EN <= spi_buf_out(11); + LO_RF_EN <= spi_buf_out(10); + LEDS <= not spi_buf_out(9 downto 7); + WINDOW_SETTING <= spi_buf_out(6 downto 5); + SOURCE_CE_EN <= spi_buf_out(4); + LO_CE_EN <= spi_buf_out(3); + SYNC_MASTER <= spi_buf_out(1); + when 4 => ADC_PRESCALER <= spi_buf_out(7 downto 0); + when 5 => ADC_PHASEINC <= spi_buf_out(11 downto 0); + when 6 => STAGES <= spi_buf_out(15 downto 13); + SYNC_ENABLED <= spi_buf_out(12); + PORT1_STAGE <= spi_buf_out(5 downto 3); + PORT2_STAGE <= spi_buf_out(2 downto 0); + when 7 => SPI_OVERWRITE_ENABLED <= spi_buf_out(15); + SPI_OVERWRITE_DATA <= spi_buf_out(14 downto 0); + when 8 => MAX2871_DEF_0(15 downto 0) <= spi_buf_out; + when 9 => MAX2871_DEF_0(31 downto 16) <= spi_buf_out; + when 10 => MAX2871_DEF_1(15 downto 0) <= spi_buf_out; + when 11 => MAX2871_DEF_1(31 downto 16) <= spi_buf_out; + when 12 => MAX2871_DEF_3(15 downto 0) <= spi_buf_out; + when 13 => MAX2871_DEF_3(31 downto 16) <= spi_buf_out; + when 14 => MAX2871_DEF_4(15 downto 0) <= spi_buf_out; + when 15 => MAX2871_DEF_4(31 downto 16) <= spi_buf_out; + when 18 => DFT_BIN1_PHASEINC <= spi_buf_out; + when 19 => DFT_DIFFBIN_PHASEINC <= spi_buf_out; + when 20 => SETTLING_TIME(15 downto 0) <= spi_buf_out; + when 21 => SETTLING_TIME(19 downto 16) <= spi_buf_out(3 downto 0); + when others => + end case; + selected_register <= selected_register + 1; + when WriteSweepConfig => + if word_cnt = 6 then + -- Sweep config data is complete pass on + SWEEP_DATA <= sweepconfig_buffer & spi_buf_out; + sweep_config_write <= '1'; + else + -- shift next word into buffer + sweepconfig_buffer <= sweepconfig_buffer(63 downto 0) & spi_buf_out; + end if; + -- read already handled in pre_complete, ignore + when ReadResult => + end case; + end if; + end if; + end if; + end if; + end process; + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Sampling.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Sampling.vhd new file mode 100644 index 0000000..0c752e2 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Sampling.vhd @@ -0,0 +1,301 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 17:27:54 05/05/2020 +-- Design Name: +-- Module Name: Sampling - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity Sampling is + Generic(CLK_CYCLES_PRE_DONE : integer); + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + ADC_PRESCALER : in STD_LOGIC_VECTOR(7 downto 0); + PHASEINC : in STD_LOGIC_VECTOR(11 downto 0); + PORT1 : in STD_LOGIC_VECTOR (17 downto 0); + PORT2 : in STD_LOGIC_VECTOR (17 downto 0); + REF : in STD_LOGIC_VECTOR (17 downto 0); + ADC_START : out STD_LOGIC; + NEW_SAMPLE : in STD_LOGIC; + DONE : out STD_LOGIC; + PRE_DONE : out STD_LOGIC; + START : in STD_LOGIC; + SAMPLES : in STD_LOGIC_VECTOR (12 downto 0); + PORT1_I : out STD_LOGIC_VECTOR (47 downto 0); + PORT1_Q : out STD_LOGIC_VECTOR (47 downto 0); + PORT2_I : out STD_LOGIC_VECTOR (47 downto 0); + PORT2_Q : out STD_LOGIC_VECTOR (47 downto 0); + REF_I : out STD_LOGIC_VECTOR (47 downto 0); + REF_Q : out STD_LOGIC_VECTOR (47 downto 0); + ACTIVE : out STD_LOGIC); +end Sampling; + +architecture Behavioral of Sampling is +COMPONENT SinCos + PORT ( + clk : IN STD_LOGIC; + phase_in : IN STD_LOGIC_VECTOR(11 DOWNTO 0); + cosine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0); + sine : OUT STD_LOGIC_VECTOR(15 DOWNTO 0) + ); +END COMPONENT; +COMPONENT DSP_SLICE + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END COMPONENT; +COMPONENT window +PORT( + CLK : IN std_logic; + INDEX : IN std_logic_vector(6 downto 0); + WINDOW_TYPE : IN std_logic_vector(1 downto 0); + VALUE : OUT std_logic_vector(15 downto 0) + ); +END COMPONENT; + + signal p1_I : std_logic_vector(47 downto 0); + signal p1_Q : std_logic_vector(47 downto 0); + signal p2_I : std_logic_vector(47 downto 0); + signal p2_Q : std_logic_vector(47 downto 0); + signal r_I : std_logic_vector(47 downto 0); + signal r_Q : std_logic_vector(47 downto 0); + signal clk_cnt : integer range 0 to 255; + signal sample_cnt : integer range 0 to 131071; + signal samples_to_take : integer range 0 to 131071; + + signal phase : std_logic_vector(11 downto 0); + signal sine : std_logic_vector(15 downto 0); + signal cosine : std_logic_vector(15 downto 0); + + signal mult_a : std_logic_vector(17 downto 0); + signal mult_b : std_logic_vector(17 downto 0); + signal mult_c : std_logic_vector(47 downto 0); + signal mult_p : std_logic_vector(47 downto 0); + + signal mult_enable : std_logic; + signal mult_accumulate : std_logic_vector(0 downto 0); + + type States is (Idle, Sampling, P1Q, P2I, P2Q, RI, RQ, SaveP1Q, SaveP2I, SaveP2Q, SaveRI, SaveRQ, Ready); + signal state : States; +begin +-- Always fails for simulation, comment out +-- assert (phase_inc * CLK_FREQ / (4096*CLK_DIV) = IF_FREQ) +-- report "Phase increment not exact" +-- severity FAILURE; + + LookupTable : SinCos + PORT MAP ( + clk => CLK, + phase_in => phase, + cosine => cosine, + sine => sine + ); + + Mult : DSP_SLICE + PORT MAP ( + clk => CLK, + ce => mult_enable, + sel => mult_accumulate, + a => mult_a, + b => mult_b, + c => mult_c, + p => mult_p + ); + + -- sign extend b input of multiplier (sin/cos) + mult_b(17 downto 16) <= mult_b(15) & mult_b(15); + + process(CLK, RESET) + begin + if rising_edge(CLK) then + if RESET = '1' then + state <= Idle; + ADC_START <= '0'; + DONE <= '0'; + PRE_DONE <= '0'; + ACTIVE <= '0'; + clk_cnt <= 0; + sample_cnt <= 0; + phase <= (others => '0'); + mult_enable <= '0'; + mult_accumulate <= "0"; + else + -- when not idle, generate pulses for ADCs + if state /= Idle then + if clk_cnt = unsigned(ADC_PRESCALER) - 1 then + if sample_cnt < samples_to_take then + ADC_START <= '1'; + end if; + clk_cnt <= 0; + else + clk_cnt <= clk_cnt + 1; + ADC_START <= '0'; + end if; + else + ADC_START <= '0'; + end if; + -- handle state transitions + case state is + when Idle => + sample_cnt <= 0; + DONE <= '0'; + PRE_DONE <= '0'; + ACTIVE <= '0'; + clk_cnt <= 0; + phase <= (others => '0'); + mult_enable <= '0'; + mult_accumulate <= "0"; + if START = '1' then + state <= Sampling; + samples_to_take <= to_integer(unsigned(SAMPLES & "0000")); + end if; + when Sampling => + DONE <= '0'; + PRE_DONE <= '0'; + ACTIVE <= '1'; + mult_enable <= '0'; + if NEW_SAMPLE = '1' then + sample_cnt <= sample_cnt + 1; + mult_enable <= '1'; + mult_a <= PORT1; + mult_b(15 downto 0) <= cosine; + mult_c <= p1_I; + state <= P1Q; + end if; + when P1Q => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + mult_a <= PORT1; + mult_b(15 downto 0) <= sine; + mult_c <= p1_Q; + state <= P2I; + when P2I => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + mult_a <= PORT2; + mult_b(15 downto 0) <= cosine; + mult_c <= p2_I; + state <= P2Q; + when P2Q => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + mult_a <= PORT2; + mult_b(15 downto 0) <= sine; + mult_c <= p2_Q; + state <= RI; + when RI => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + mult_a <= REF; + mult_b(15 downto 0) <= cosine; + mult_c <= r_I; + state <= RQ; + when RQ => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + mult_a <= REF; + mult_b(15 downto 0) <= sine; + mult_c <= r_Q; + -- first result is available + p1_I <= mult_p; + state <= SaveP1Q; + when SaveP1Q => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + p1_Q <= mult_p; + state <= SaveP2I; + when SaveP2I => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + p2_I <= mult_p; + state <= SaveP2Q; + when SaveP2Q => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + p2_Q <= mult_p; + state <= SaveRI; + when SaveRI => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '1'; + r_I <= mult_p; + state <= SaveRQ; + when SaveRQ => + ACTIVE <= '1'; + DONE <= '0'; + PRE_DONE <= '0'; + mult_enable <= '0'; + r_Q <= mult_p; + -- from now on accumulate results + mult_accumulate <= "1"; + phase <= std_logic_vector(unsigned(phase) + unsigned(PHASEINC)); + if sample_cnt < samples_to_take then + state <= Sampling; + else + state <= Ready; + end if; + when Ready => + ACTIVE <= '1'; + DONE <= '1'; + PRE_DONE <= '1'; + mult_enable <= '0'; + PORT1_I <= p1_I; + PORT1_Q <= p1_Q; + PORT2_I <= p2_I; + PORT2_Q <= p2_Q; + REF_I <= r_I; + REF_Q <= r_Q; + state <= Idle; + end case; + end if; + end if; + end process; + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Sweep.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Sweep.vhd new file mode 100644 index 0000000..c2408ef --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Sweep.vhd @@ -0,0 +1,272 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 21:35:02 05/06/2020 +-- Design Name: +-- Module Name: Sweep - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity Sweep is + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + NPOINTS : in STD_LOGIC_VECTOR (12 downto 0); + CONFIG_ADDRESS : out STD_LOGIC_VECTOR (12 downto 0); + CONFIG_DATA : in STD_LOGIC_VECTOR (95 downto 0); + USER_NSAMPLES : in STD_LOGIC_VECTOR (12 downto 0); + NSAMPLES : out STD_LOGIC_VECTOR (12 downto 0); + SETTLING_TIME : in STD_LOGIC_VECTOR (19 downto 0); + SAMPLING_BUSY : in STD_LOGIC; + SAMPLING_DONE : in STD_LOGIC; + START_SAMPLING : out STD_LOGIC; + BAND_SELECT : out STD_LOGIC; + -- fixed part of source/LO registers + MAX2871_DEF_4 : in STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_3 : in STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_1 : in STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_0 : in STD_LOGIC_VECTOR (31 downto 0); + -- assembled source/LO registers + SOURCE_REG_4 : out STD_LOGIC_VECTOR (31 downto 0); + SOURCE_REG_3 : out STD_LOGIC_VECTOR (31 downto 0); + SOURCE_REG_1 : out STD_LOGIC_VECTOR (31 downto 0); + SOURCE_REG_0 : out STD_LOGIC_VECTOR (31 downto 0); + LO_REG_4 : out STD_LOGIC_VECTOR (31 downto 0); + LO_REG_3 : out STD_LOGIC_VECTOR (31 downto 0); + LO_REG_1 : out STD_LOGIC_VECTOR (31 downto 0); + LO_REG_0 : out STD_LOGIC_VECTOR (31 downto 0); + RELOAD_PLL_REGS : out STD_LOGIC; + PLL_RELOAD_DONE : in STD_LOGIC; + PLL_LOCKED : in STD_LOGIC; + SWEEP_HALTED : out STD_LOGIC; + SWEEP_RESUME : in STD_LOGIC; + + SYNC_ENABLED : in STD_LOGIC; + SYNC_MASTER : in STD_LOGIC; + TRIGGER_IN : in STD_LOGIC; + TRIGGER_OUT : out STD_LOGIC; + + NEW_DATA : out STD_LOGIC; + + ATTENUATOR : out STD_LOGIC_VECTOR(6 downto 0); + SOURCE_FILTER : out STD_LOGIC_VECTOR(1 downto 0); + + --SETTLING_TIME : in STD_LOGIC_VECTOR (15 downto 0); + + STAGES : in STD_LOGIC_VECTOR (2 downto 0); + PORT1_STAGE : in STD_LOGIC_VECTOR (2 downto 0); + PORT2_STAGE : in STD_LOGIC_VECTOR (2 downto 0); + + PORT1_ACTIVE : out STD_LOGIC; + PORT2_ACTIVE : out STD_LOGIC; + + SOURCE_CE : out STD_LOGIC; + + -- Debug signals + DEBUG_STATUS : out STD_LOGIC_VECTOR (10 downto 0); + RESULT_INDEX : out STD_LOGIC_VECTOR (15 downto 0) + ); +end Sweep; + +architecture Behavioral of Sweep is + signal point_cnt : unsigned(12 downto 0); + type Point_states is (WaitInitialLow, TriggerSetup, SettingUp, Settling, WaitTriggerHigh, Exciting, WaitTriggerLow, SamplingDone, NextPoint, Done); + signal state : Point_states; + signal settling_cnt : unsigned(19 downto 0); + signal stage_cnt : unsigned (2 downto 0); + signal config_reg : std_logic_vector(95 downto 0); + signal source_active : std_logic; +begin + + CONFIG_ADDRESS <= std_logic_vector(point_cnt); + + -- assemble registers + -- source register 0: N divider and fractional division value + SOURCE_REG_0 <= MAX2871_DEF_0(31) & "000000000" & config_reg(93) & config_reg(5 downto 0) & config_reg(26 downto 15) & "000"; + -- source register 1: Modulus value + SOURCE_REG_1 <= MAX2871_DEF_1(31 downto 15) & config_reg(38 downto 27) & "001"; + -- source register 3: VCO selection + SOURCE_REG_3 <= config_reg(11 downto 6) & MAX2871_DEF_3(25 downto 3) & "011"; + -- output power A from config, output B disabled + SOURCE_REG_4 <= MAX2871_DEF_4(31 downto 23) & config_reg(14 downto 12) & MAX2871_DEF_4(19 downto 9) & "000" & MAX2871_DEF_4(5) & config_reg(47 downto 46) & "100"; + + -- LO register 0: N divider and fractional division value + LO_REG_0 <= MAX2871_DEF_0(31) & "000000000" & config_reg(94) & config_reg(54 downto 49) & config_reg(75 downto 64) & "000"; + -- LO register 1: Modulus value + LO_REG_1 <= MAX2871_DEF_1(31 downto 15) & config_reg(87 downto 76) & "001"; + -- LO register 3: VCO selection + LO_REG_3 <= config_reg(60 downto 55) & MAX2871_DEF_3(25 downto 3) & "011"; + -- both outputs enabled at +5dbm + LO_REG_4 <= MAX2871_DEF_4(31 downto 23) & config_reg(63 downto 61) & MAX2871_DEF_4(19 downto 9) & "111111100"; + + ATTENUATOR <= config_reg(45 downto 39); + SOURCE_FILTER <= config_reg(89 downto 88); + BAND_SELECT <= config_reg(48); + SOURCE_CE <= source_active; + + NSAMPLES <= USER_NSAMPLES when config_reg(92 downto 90) = "000" else + std_logic_vector(to_unsigned(6, 13)) when config_reg(92 downto 90) = "001" else + std_logic_vector(to_unsigned(19, 13)) when config_reg(92 downto 90) = "010" else + std_logic_vector(to_unsigned(57, 13)) when config_reg(92 downto 90) = "011" else + std_logic_vector(to_unsigned(190, 13)) when config_reg(92 downto 90) = "100" else + std_logic_vector(to_unsigned(571, 13)) when config_reg(92 downto 90) = "101" else + std_logic_vector(to_unsigned(1904, 13)) when config_reg(92 downto 90) = "110" else + std_logic_vector(to_unsigned(5712, 13)); + + DEBUG_STATUS(10 downto 7) <= "0000" when state = TriggerSetup else + "0001" when state = SettingUp else + "0010" when state = Settling else + "0011" when state = WaitTriggerHigh else + "0100" when state = Exciting else + "0101" when state = WaitTriggerLow else + "0110" when state = SamplingDone else + "0111" when state = NextPoint else + "1000" when state = Done else + "1001"; + DEBUG_STATUS(6) <= PLL_RELOAD_DONE; + DEBUG_STATUS(5) <= PLL_RELOAD_DONE and PLL_LOCKED; + DEBUG_STATUS(4) <= SAMPLING_BUSY; + DEBUG_STATUS(3) <= TRIGGER_IN; + DEBUG_STATUS(2) <= source_active; + DEBUG_STATUS(1 downto 0) <= (others => '1'); + + config_reg <= CONFIG_DATA; + + process(CLK, RESET) + begin + if rising_edge(CLK) then + if RESET = '1' then + point_cnt <= (others => '0'); + stage_cnt <= (others => '0'); + state <= WaitInitialLow; + START_SAMPLING <= '0'; + RELOAD_PLL_REGS <= '0'; + SWEEP_HALTED <= '0'; + RESULT_INDEX <= (others => '1'); + PORT1_ACTIVE <= '0'; + PORT2_ACTIVE <= '0'; + TRIGGER_OUT <= '0'; + source_active <= '0'; + else + case state is + when WaitInitialLow => + TRIGGER_OUT <= '0'; + if TRIGGER_IN = '0' or SYNC_ENABLED = '0' then + state <= TriggerSetup; + end if; + when TriggerSetup => + RELOAD_PLL_REGS <= '1'; + if PLL_RELOAD_DONE = '0' then + state <= SettingUp; + end if; + when SettingUp => + -- highest bit in config_reg determines whether the sweep should be halted prior to sampling + SWEEP_HALTED <= config_reg(95); + RELOAD_PLL_REGS <= '0'; + settling_cnt <= unsigned(SETTLING_TIME); + if PLL_RELOAD_DONE = '1' and PLL_LOCKED = '1' then + -- check if halted sweep is resumed + if config_reg(95) = '0' or SWEEP_RESUME = '1' then + SWEEP_HALTED <= '0'; + state <= Settling; + end if; + end if; + when Settling => + NEW_DATA <= '0'; + source_active <= '0'; + if std_logic_vector(stage_cnt) = PORT1_STAGE then + PORT1_ACTIVE <= '1'; + source_active <= '1'; + else + PORT1_ACTIVE <= '0'; + end if; + if std_logic_vector(stage_cnt) = PORT2_STAGE then + PORT2_ACTIVE <= '1'; + source_active <= '1'; + else + PORT2_ACTIVE <= '0'; + end if; + -- wait for settling time to elapse + if settling_cnt > 0 then + settling_cnt <= settling_cnt - 1; + else + -- need to wait for the trigger + state <= WaitTriggerHigh; + if SYNC_MASTER = '1' then + -- this device generates the stimulus signal, it needs start the trigger itself + TRIGGER_OUT <= '1'; + end if; + end if; + when WaitTriggerHigh => + if TRIGGER_IN = '1' or SYNC_ENABLED = '0' then + TRIGGER_OUT <= SYNC_ENABLED; -- pass on trigger signal if enabled + START_SAMPLING <= '1'; + if SAMPLING_BUSY = '1' then + state <= Exciting; + end if; + end if; + when Exciting => + -- wait for sampling to finish + START_SAMPLING <= '0'; + if SAMPLING_BUSY = '0' then + RESULT_INDEX <= std_logic_vector(stage_cnt) & std_logic_vector(point_cnt); + state <= WaitTriggerLow; + end if; + when WaitTriggerLow => + NEW_DATA <= '0'; + if SYNC_MASTER = '1' then + TRIGGER_OUT <= '0'; + end if; + if TRIGGER_IN = '0' or SYNC_ENABLED = '0' then + TRIGGER_OUT <= '0'; + state <= SamplingDone; + end if; + when SamplingDone => + NEW_DATA <= '1'; + if stage_cnt < unsigned(STAGES) then + stage_cnt <= stage_cnt + 1; + -- can go directly to preperation for next stage + state <= Settling; + else + state <= NextPoint; + end if; + settling_cnt <= unsigned(SETTLING_TIME); + when NextPoint => + NEW_DATA <= '0'; + if point_cnt < unsigned(NPOINTS) then + point_cnt <= point_cnt + 1; + stage_cnt <= (others => '0'); + state <= TriggerSetup; + else + point_cnt <= (others => '0'); + state <= Done; + TRIGGER_OUT <= '0'; + end if; + when others => + end case; + end if; + end if; + end process; +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Synchronizer.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Synchronizer.vhd new file mode 100644 index 0000000..bc1a010 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Synchronizer.vhd @@ -0,0 +1,53 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 23:31:10 05/15/2020 +-- Design Name: +-- Module Name: Synchronizer - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity Synchronizer is + Generic(stages : integer); + Port ( CLK : in STD_LOGIC; + SYNC_IN : in STD_LOGIC; + SYNC_OUT : out STD_LOGIC); +end Synchronizer; + +architecture Behavioral of Synchronizer is + signal sync_line : std_logic_vector(stages downto 0); +begin + + SYNC_OUT <= sync_line(stages); + + process(CLK) + begin + if rising_edge(CLK) then + sync_line <= sync_line(stages-1 downto 0) & SYNC_IN; + end if; + end process; + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_DFT.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_DFT.vhd new file mode 100644 index 0000000..85ecc36 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_DFT.vhd @@ -0,0 +1,133 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 21:25:23 09/18/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA2/FPGA/VNA/Test_DFT.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: DFT +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_DFT IS +END Test_DFT; + +ARCHITECTURE behavior OF Test_DFT IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT DFT + GENERIC(BINS : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + PORT1 : IN std_logic_vector(17 downto 0); + PORT2 : IN std_logic_vector(17 downto 0); + NEW_SAMPLE : IN std_logic; + NSAMPLES : in STD_LOGIC_VECTOR (12 downto 0); + BIN1_PHASEINC : IN std_logic_vector(15 downto 0); + DIFFBIN_PHASEINC : IN std_logic_vector(15 downto 0); + RESULT_READY : OUT std_logic; + OUTPUT : out STD_LOGIC_VECTOR (191 downto 0); + NEXT_OUTPUT : IN std_logic + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal RESET : std_logic := '0'; + signal PORT1 : std_logic_vector(17 downto 0) := (others => '0'); + signal PORT2 : std_logic_vector(17 downto 0) := (others => '0'); + signal NEW_SAMPLE : std_logic := '0'; + signal BIN1_PHASEINC : std_logic_vector(15 downto 0) := (others => '0'); + signal DIFFBIN_PHASEINC : std_logic_vector(15 downto 0) := (others => '0'); + signal NEXT_OUTPUT : std_logic := '0'; + signal NSAMPLES : STD_LOGIC_VECTOR (12 downto 0); + + --Outputs + signal RESULT_READY : std_logic; + signal OUTPUT : STD_LOGIC_VECTOR (191 downto 0); + + -- Clock period definitions + constant CLK_period : time := 10 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: DFT + GENERIC MAP(BINS => 64) + PORT MAP ( + CLK => CLK, + RESET => RESET, + PORT1 => PORT1, + PORT2 => PORT2, + NEW_SAMPLE => NEW_SAMPLE, + NSAMPLES => NSAMPLES, + BIN1_PHASEINC => BIN1_PHASEINC, + DIFFBIN_PHASEINC => DIFFBIN_PHASEINC, + RESULT_READY => RESULT_READY, + OUTPUT => OUTPUT, + NEXT_OUTPUT => NEXT_OUTPUT + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + RESET <= '1'; + PORT1 <= "100000000000000000"; + PORT2 <= "010000000000000000"; + BIN1_PHASEINC <= "0100000000000000"; + DIFFBIN_PHASEINC <= "0010000000000000"; + NSAMPLES <= "0000000000011"; + wait for 100 ns; + RESET <= '0'; + wait for CLK_period*10; + NEW_SAMPLE <= '1'; + wait for CLK_period; + NEW_SAMPLE <= '0'; + while True loop + wait for CLK_period * 79; + NEW_SAMPLE <= '1'; + wait for CLK_period; + NEW_SAMPLE <= '0'; + end loop; + + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_MAX2871.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_MAX2871.vhd new file mode 100644 index 0000000..4180408 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_MAX2871.vhd @@ -0,0 +1,127 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 10:46:34 05/07/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_MAX2871.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: MAX2871 +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_MAX2871 IS +END Test_MAX2871; + +ARCHITECTURE behavior OF Test_MAX2871 IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT MAX2871 + Generic (CLK_DIV : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + REG4 : IN std_logic_vector(31 downto 0); + REG3 : IN std_logic_vector(31 downto 0); + REG1 : IN std_logic_vector(31 downto 0); + REG0 : IN std_logic_vector(31 downto 0); + RELOAD : IN std_logic; + CLK_OUT : OUT std_logic; + MOSI : OUT std_logic; + LE : OUT std_logic; + DONE : OUT std_logic + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal RESET : std_logic := '0'; + signal REG4 : std_logic_vector(31 downto 0) := (others => '0'); + signal REG3 : std_logic_vector(31 downto 0) := (others => '0'); + signal REG1 : std_logic_vector(31 downto 0) := (others => '0'); + signal REG0 : std_logic_vector(31 downto 0) := (others => '0'); + signal RELOAD : std_logic := '0'; + + --Outputs + signal CLK_OUT : std_logic; + signal MOSI : std_logic; + signal LE : std_logic; + signal DONE : std_logic; + + -- Clock period definitions + constant CLK_period : time := 6.25 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: MAX2871 + GENERIC MAP(CLK_DIV => 10) + PORT MAP ( + CLK => CLK, + RESET => RESET, + REG4 => REG4, + REG3 => REG3, + REG1 => REG1, + REG0 => REG0, + RELOAD => RELOAD, + CLK_OUT => CLK_OUT, + MOSI => MOSI, + LE => LE, + DONE => DONE + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + RESET <= '1'; + wait for 100 ns; + RESET <= '0'; + wait for CLK_period*10; + + -- insert stimulus here + REG4 <= "11111111000000001111111100000000"; + REG3 <= "11110000111100001111000011110000"; + REG1 <= "11001100110011001100110011001100"; + REG0 <= "10101010101010101010101010101010"; + RELOAD <= '1'; + wait for CLK_period; + RELOAD <= '0'; + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_MCP33131.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_MCP33131.vhd new file mode 100644 index 0000000..c3f8214 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_MCP33131.vhd @@ -0,0 +1,123 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 16:27:40 05/05/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_MCP33131.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: MCP33131 +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_MCP33131 IS +END Test_MCP33131; + +ARCHITECTURE behavior OF Test_MCP33131 IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT MCP33131 + Generic(CLK_DIV : integer; + CONVCYCLES : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + START : IN std_logic; + READY : OUT std_logic; + DATA : OUT std_logic_vector(15 downto 0); + MIN : out STD_LOGIC_VECTOR (15 downto 0); + MAX : out STD_LOGIC_VECTOR (15 downto 0); + RESET_MINMAX : in STD_LOGIC; + SDO : IN std_logic; + CONVSTART : OUT std_logic; + SCLK : INOUT std_logic + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal RESET : std_logic := '0'; + signal START : std_logic := '0'; + signal SDO : std_logic := '0'; + signal RESET_MINMAX : STD_LOGIC := '0'; + + --Outputs + signal READY : std_logic; + signal DATA : std_logic_vector(15 downto 0); + signal CONVSTART : std_logic; + signal SCLK : std_logic; + + -- Clock period definitions + constant CLK_period : time := 9.765 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: MCP33131 + GENERIC MAP(CLK_DIV => 2, + CONVCYCLES => 77) + PORT MAP ( + CLK => CLK, + RESET => RESET, + START => START, + READY => READY, + DATA => DATA, + RESET_MINMAX => RESET_MINMAX, + SDO => SDO, + CONVSTART => CONVSTART, + SCLK => SCLK + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + RESET <= '1'; + wait for CLK_period*10.5; + RESET <= '0'; + wait for CLK_period*10; + + -- insert stimulus here + while True loop + wait for CLK_period*111; + START <= '1'; + wait for CLK_period; + START <= '0'; + end loop; + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_PLL.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_PLL.vhd new file mode 100644 index 0000000..642f15a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_PLL.vhd @@ -0,0 +1,99 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 12:58:50 05/08/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_PLL.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: PLL +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_PLL IS +END Test_PLL; + +ARCHITECTURE behavior OF Test_PLL IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT PLL + PORT( + CLK_IN1 : IN std_logic; + CLK_OUT1 : OUT std_logic; + RESET : IN std_logic; + LOCKED : OUT std_logic + ); + END COMPONENT; + + + --Inputs + signal CLK_IN1 : std_logic := '0'; + signal RESET : std_logic := '0'; + + --Outputs + signal CLK_OUT1 : std_logic; + signal LOCKED : std_logic; + + -- Clock period definitions + constant CLK_IN1_period : time := 20 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: PLL PORT MAP ( + CLK_IN1 => CLK_IN1, + CLK_OUT1 => CLK_OUT1, + RESET => RESET, + LOCKED => LOCKED + ); + + -- Clock process definitions + CLK_IN1_process :process + begin + CLK_IN1 <= '0'; + wait for CLK_IN1_period/2; + CLK_IN1 <= '1'; + wait for CLK_IN1_period/2; + end process; + + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + RESET <= '1'; + wait for 100 ns; + RESET <= '0'; + + wait for CLK_IN1_period*10; + + -- insert stimulus here + + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SPI.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SPI.vhd new file mode 100644 index 0000000..953a47f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SPI.vhd @@ -0,0 +1,237 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 15:32:41 05/15/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_SPI.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: spi_slave +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_SPI IS +END Test_SPI; + +ARCHITECTURE behavior OF Test_SPI IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT spi_slave + GENERIC(W : integer; + PREWIDTH : integer); + PORT( + SPI_CLK : IN std_logic; + MISO : OUT std_logic; + MOSI : IN std_logic; + CS : IN std_logic; + BUF_OUT : OUT std_logic_vector(W-1 downto 0); + BUF_IN : IN std_logic_vector(W-1 downto 0); + CLK : IN std_logic; + COMPLETE : OUT std_logic; + PRE_COMPLETE : out STD_LOGIC; + PRE_BUF_OUT : out STD_LOGIC_VECTOR (PREWIDTH-1 downto 0) + ); + END COMPONENT; + + + --Inputs + signal SPI_CLK : std_logic := '0'; + signal MOSI : std_logic := '0'; + signal CS : std_logic := '0'; + signal BUF_IN : std_logic_vector(15 downto 0) := (others => '0'); + signal CLK : std_logic := '0'; + + --Outputs + signal MISO : std_logic; + signal BUF_OUT : std_logic_vector(15 downto 0); + signal COMPLETE : std_logic; + signal PRE_COMPLETE : std_logic; + signal PRE_BUF_OUT : std_logic_vector(2 downto 0); + + -- Clock period definitions + constant CLK_period : time := 9.765625 ns; + constant SPI_CLK_period : time := 25 ns; + + signal data_signal : std_logic_vector(15 downto 0); + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: spi_slave + GENERIC MAP(W => 16, PREWIDTH => 3) + PORT MAP ( + SPI_CLK => SPI_CLK, + MISO => MISO, + MOSI => MOSI, + CS => CS, + BUF_OUT => BUF_OUT, + BUF_IN => BUF_IN, + CLK => CLK, + COMPLETE => COMPLETE, + PRE_COMPLETE => PRE_COMPLETE, + PRE_BUF_OUT => PRE_BUF_OUT + ); + + -- Clock process definitions + + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + + -- Stimulus process + stim_proc: process + procedure SPI(data : std_logic_vector(15 downto 0)) is + begin + MOSI <= data(15); + data_signal <= data(14 downto 0) & "0"; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SPI_CLK <= '1'; + wait for SPI_CLK_period/2; + SPI_CLK <= '0'; + end procedure SPI; + + begin + -- hold reset state for 100 ns. + CS <= '1'; + wait for 100 ns; + + wait for CLK_period*10; + BUF_IN <= "1111000010100101"; + -- insert stimulus here + wait for CLK_period*10; + CS <= '0'; + SPI("0101010101010101"); + CS <= '1'; + + wait for CLK_period*10; + BUF_IN <= "0000111100001111"; + wait for CLK_period*10; + CS <= '0'; + SPI("0101010101010101"); + BUF_IN <= "1010101010101010"; + wait for SPI_CLK_period/2; + SPI("1100110011001100"); + CS <= '1'; + + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SPICommands.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SPICommands.vhd new file mode 100644 index 0000000..eef0cf4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SPICommands.vhd @@ -0,0 +1,363 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 18:42:26 05/07/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_SPICommands.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: SPICommands +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_SPICommands IS +END Test_SPICommands; + +ARCHITECTURE behavior OF Test_SPICommands IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT SPICommands + PORT( + CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + SCLK : in STD_LOGIC; + MOSI : in STD_LOGIC; + MISO : out STD_LOGIC; + NSS : in STD_LOGIC; + NEW_SAMPLING_DATA : in STD_LOGIC; + SAMPLING_RESULT : in STD_LOGIC_VECTOR (303 downto 0); + ADC_MINMAX : in STD_LOGIC_VECTOR(95 downto 0); + SOURCE_UNLOCKED : in STD_LOGIC; + LO_UNLOCKED : in STD_LOGIC; + MAX2871_DEF_4 : out STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_3 : out STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_1 : out STD_LOGIC_VECTOR (31 downto 0); + MAX2871_DEF_0 : out STD_LOGIC_VECTOR (31 downto 0); + SWEEP_DATA : out STD_LOGIC_VECTOR (95 downto 0); + SWEEP_ADDRESS : out STD_LOGIC_VECTOR (12 downto 0); + SWEEP_WRITE : out STD_LOGIC_VECTOR (0 downto 0); + SWEEP_POINTS : out STD_LOGIC_VECTOR (12 downto 0); + NSAMPLES : out STD_LOGIC_VECTOR (12 downto 0); + STAGES : out STD_LOGIC_VECTOR (2 downto 0); + SETTLING_TIME : out STD_LOGIC_VECTOR (19 downto 0); + SYNC_ENABLED : out STD_LOGIC; + SYNC_MASTER : out STD_LOGIC; + PORT1_STAGE : out STD_LOGIC_VECTOR (2 downto 0); + PORT2_STAGE : out STD_LOGIC_VECTOR (2 downto 0); + PORT1_EN : out STD_LOGIC; + PORT2_EN : out STD_LOGIC; + REF_EN : out STD_LOGIC; + AMP_SHDN : out STD_LOGIC; + SOURCE_RF_EN : out STD_LOGIC; + LO_RF_EN : out STD_LOGIC; + SOURCE_CE_EN : out STD_LOGIC; + LO_CE_EN : out STD_LOGIC; + PORTSWITCH_EN : out STD_LOGIC; + LEDS : out STD_LOGIC_VECTOR(2 downto 0); + WINDOW_SETTING : out STD_LOGIC_VECTOR(1 downto 0); + ADC_PRESCALER : out STD_LOGIC_VECTOR(7 downto 0); + ADC_PHASEINC : out STD_LOGIC_VECTOR(11 downto 0); + INTERRUPT_ASSERTED : out STD_LOGIC; + RESET_MINMAX : out STD_LOGIC; + SWEEP_HALTED : in STD_LOGIC; + SWEEP_RESUME : out STD_LOGIC; + + -- hardware overwrite signals + SPI_OVERWRITE_ENABLED : out STD_LOGIC; + SPI_OVERWRITE_DATA : out STD_LOGIC_VECTOR(14 downto 0); + + -- DFT signals + DFT_BIN1_PHASEINC : out STD_LOGIC_VECTOR (15 downto 0); + DFT_DIFFBIN_PHASEINC : out STD_LOGIC_VECTOR (15 downto 0); + DFT_RESULT_READY : in STD_LOGIC; + DFT_OUTPUT : in STD_LOGIC_VECTOR (191 downto 0); + DFT_NEXT_OUTPUT : out STD_LOGIC; + DFT_ENABLE : out STD_LOGIC; + + DEBUG_STATUS : in STD_LOGIC_VECTOR(10 downto 0) + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal RESET : std_logic := '0'; + signal SCLK : std_logic := '0'; + signal MOSI : std_logic := '0'; + signal NSS : std_logic := '0'; + signal NEW_SAMPLING_DATA : std_logic := '0'; + signal SAMPLING_RESULT : std_logic_vector(303 downto 0) := (others => '0'); + signal SOURCE_UNLOCKED : std_logic := '1'; + signal LO_UNLOCKED : std_logic := '1'; + + --Outputs + signal MISO : std_logic; + signal MAX2871_DEF_4 : std_logic_vector(31 downto 0); + signal MAX2871_DEF_3 : std_logic_vector(31 downto 0); + signal MAX2871_DEF_1 : std_logic_vector(31 downto 0); + signal MAX2871_DEF_0 : std_logic_vector(31 downto 0); + signal SWEEP_DATA : std_logic_vector(95 downto 0); + signal SWEEP_ADDRESS : std_logic_vector(12 downto 0); + signal SWEEP_WRITE : std_logic_vector(0 downto 0); + signal SWEEP_POINTS : std_logic_vector(12 downto 0); + signal NSAMPLES : std_logic_vector(12 downto 0); + signal PORT1_EN : std_logic; + signal PORT2_EN : std_logic; + signal REF_EN : std_logic; + signal AMP_SHDN : std_logic; + signal SOURCE_RF_EN : std_logic; + signal LO_RF_EN : std_logic; + signal LEDS : std_logic_vector(2 downto 0); + signal INTERRUPT_ASSERTED : std_logic; + + -- Clock period definitions + constant CLK_period : time := 9.765625 ns; + constant SPI_CLK_period : time := 23.52941176 ns; + + signal data_signal : std_logic_vector(15 downto 0); +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: SPICommands PORT MAP ( + CLK => CLK, + RESET => RESET, + SCLK => SCLK, + MOSI => MOSI, + MISO => MISO, + NSS => NSS, + NEW_SAMPLING_DATA => NEW_SAMPLING_DATA, + SAMPLING_RESULT => SAMPLING_RESULT, + ADC_MINMAX => (others => '0'), + SOURCE_UNLOCKED => SOURCE_UNLOCKED, + LO_UNLOCKED => LO_UNLOCKED, + MAX2871_DEF_4 => MAX2871_DEF_4, + MAX2871_DEF_3 => MAX2871_DEF_3, + MAX2871_DEF_1 => MAX2871_DEF_1, + MAX2871_DEF_0 => MAX2871_DEF_0, + SWEEP_DATA => SWEEP_DATA, + SWEEP_ADDRESS => SWEEP_ADDRESS, + SWEEP_WRITE => SWEEP_WRITE, + SWEEP_POINTS => SWEEP_POINTS, + NSAMPLES => NSAMPLES, + PORT1_EN => PORT1_EN, + PORT2_EN => PORT2_EN, + REF_EN => REF_EN, + AMP_SHDN => AMP_SHDN, + SOURCE_RF_EN => SOURCE_RF_EN, + LO_RF_EN => LO_RF_EN, + LEDS => LEDS, + INTERRUPT_ASSERTED => INTERRUPT_ASSERTED, + SWEEP_HALTED => '0', + DFT_RESULT_READY => '0', + DFT_OUTPUT => (others => '0'), + DEBUG_STATUS => (others => '0') + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + -- Stimulus process + stim_proc: process + procedure SPI(data : std_logic_vector(15 downto 0)) is + begin + MOSI <= data(15); + data_signal <= data(14 downto 0) & "0"; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + MOSI <= data_signal(15); + data_signal <= data_signal(14 downto 0) & '0'; + wait for SPI_CLK_period/2; + SCLK <= '1'; + wait for SPI_CLK_period/2; + SCLK <= '0'; + end procedure SPI; + begin + -- hold reset state for 100 ns. + RESET <= '1'; + NSS <= '1'; + wait for 100 ns; + RESET <= '0'; + wait for CLK_period*10; + -- read static test register + NSS <= '0'; + SPI("0100000000000000"); + SPI("0000000000000000"); + NSS <= '1'; + + wait for CLK_period*50; + -- write register 3 = 0xFFFF (enable all periphery) + NSS <= '0'; + SPI("1000000000000011"); + SPI("1111111111111111"); + NSS <= '1'; + + wait for CLK_period*50; + -- set sampling result and read first 4 words + SAMPLING_RESULT(63 downto 0) <= "1111000011110000101010101010101001010101010101010000111100001111"; + NSS <= '0'; + SPI("1100000000000000"); + SPI("0000000000000000"); + SPI("0000000000000000"); + SPI("0000000000000000"); + SPI("0000000000000000"); + NSS <= '1'; + + wait for CLK_period*50; + -- insert stimulus here + -- write number of points + NSS <= '0'; + SPI("1000000000000001"); + SPI("1111000011110000"); + NSS <= '1'; + + wait for CLK_period*100; + -- Write sweep config + NSS <= '0'; + SPI("0000000000001011"); + SPI("1111111100000000"); + SPI("1111000011110000"); + SPI("1100110011001100"); + SPI("1010101010101010"); + SPI("1101101101101101"); + SPI("1110111011101110"); + SPI("1111101111101111"); + NSS <= '1'; + + wait for CLK_period*50; + NEW_SAMPLING_DATA <= '1'; + wait for CLK_period; + NEW_SAMPLING_DATA <= '0'; + wait for CLK_period*20; + NSS <= '0'; + SPI("1100000000000000"); + NSS <= '1'; + + wait for CLK_period*50; + NEW_SAMPLING_DATA <= '1'; + wait for CLK_period; + NEW_SAMPLING_DATA <= '0'; + wait for CLK_period*20; + NSS <= '0'; + SPI("1100000000000000"); + NSS <= '1'; + + + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Sampling.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Sampling.vhd new file mode 100644 index 0000000..b56f330 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Sampling.vhd @@ -0,0 +1,161 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 18:40:38 05/05/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_Sampling.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: Sampling +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_Sampling IS +END Test_Sampling; + +ARCHITECTURE behavior OF Test_Sampling IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT Sampling + Generic(CLK_CYCLES_PRE_DONE : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + ADC_PRESCALER : IN std_logic_vector(7 downto 0); + PHASEINC : IN std_logic_vector(11 downto 0); + PORT1 : IN std_logic_vector(17 downto 0); + PORT2 : IN std_logic_vector(17 downto 0); + REF : IN std_logic_vector(17 downto 0); + NEW_SAMPLE : IN std_logic; + START : IN std_logic; + SAMPLES : IN std_logic_vector(12 downto 0); + ADC_START : OUT std_logic; + DONE : OUT std_logic; + PRE_DONE : OUT std_logic; + PORT1_I : OUT std_logic_vector(47 downto 0); + PORT1_Q : OUT std_logic_vector(47 downto 0); + PORT2_I : OUT std_logic_vector(47 downto 0); + PORT2_Q : OUT std_logic_vector(47 downto 0); + REF_I : OUT std_logic_vector(47 downto 0); + REF_Q : OUT std_logic_vector(47 downto 0); + ACTIVE : OUT std_logic + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal RESET : std_logic := '0'; + signal PORT1 : std_logic_vector(17 downto 0) := (others => '0'); + signal PORT2 : std_logic_vector(17 downto 0) := (others => '0'); + signal REF : std_logic_vector(17 downto 0) := (others => '0'); + signal NEW_SAMPLE : std_logic := '0'; + signal START : std_logic := '0'; + signal SAMPLES : std_logic_vector(12 downto 0) := (others => '0'); + signal ADC_PRESCALER : std_logic_vector(7 downto 0); + signal PHASEINC : std_logic_vector(11 downto 0); + --Outputs + signal ADC_START : std_logic; + signal DONE : std_logic; + signal PRE_DONE : std_logic; + signal PORT1_I : std_logic_vector(47 downto 0); + signal PORT1_Q : std_logic_vector(47 downto 0); + signal PORT2_I : std_logic_vector(47 downto 0); + signal PORT2_Q : std_logic_vector(47 downto 0); + signal REF_I : std_logic_vector(47 downto 0); + signal REF_Q : std_logic_vector(47 downto 0); + + -- Clock period definitions + constant CLK_period : time := 6.25 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: Sampling + Generic MAP(CLK_CYCLES_PRE_DONE => 0) + PORT MAP ( + CLK => CLK, + RESET => RESET, + ADC_PRESCALER => ADC_PRESCALER, + PHASEINC => PHASEINC, + PORT1 => PORT1, + PORT2 => PORT2, + REF => REF, + NEW_SAMPLE => NEW_SAMPLE, + START => START, + SAMPLES => SAMPLES, + ADC_START => ADC_START, + DONE => DONE, + PRE_DONE => PRE_DONE, + PORT1_I => PORT1_I, + PORT1_Q => PORT1_Q, + PORT2_I => PORT2_I, + PORT2_Q => PORT2_Q, + REF_I => REF_I, + REF_Q => REF_Q, + ACTIVE => open + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + RESET <= '1'; + wait for 100 ns; + RESET <= '0'; + wait for CLK_period*10; + + -- insert stimulus here + ADC_PRESCALER <= "011110000"; + PHASEINC <= "010001100000"; + PORT1 <= "000001111111111111"; + PORT2 <= "000011111111111111"; + REF <= "000111111111111111"; + SAMPLES <= "0000000000001"; + START <= '1'; + while True loop + wait until ADC_START = '1'; + START <= '0'; + wait for CLK_period * 110; + NEW_SAMPLE <= '1'; + wait for CLK_period; + NEW_SAMPLE <= '0'; + end loop; + wait; + + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SinCos.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SinCos.vhd new file mode 100644 index 0000000..6457c8d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_SinCos.vhd @@ -0,0 +1,104 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 09:16:15 05/14/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA/FPGA/VNA/Test_SinCos.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: SinCos +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_SinCos IS +END Test_SinCos; + +ARCHITECTURE behavior OF Test_SinCos IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT SinCos + PORT( + clk : IN std_logic; + phase_in : IN std_logic_vector(11 downto 0); + cosine : OUT std_logic_vector(15 downto 0); + sine : OUT std_logic_vector(15 downto 0) + ); + END COMPONENT; + + + --Inputs + signal clk : std_logic := '0'; + signal phase_in : std_logic_vector(11 downto 0) := (others => '0'); + + --Outputs + signal cosine : std_logic_vector(15 downto 0); + signal sine : std_logic_vector(15 downto 0); + + -- Clock period definitions + constant clk_period : time := 10 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: SinCos PORT MAP ( + clk => clk, + phase_in => phase_in, + cosine => cosine, + sine => sine + ); + + -- Clock process definitions + clk_process :process + begin + clk <= '0'; + wait for clk_period/2; + clk <= '1'; + wait for clk_period/2; + end process; + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + wait for 100 ns; + + wait for clk_period*10; + + -- insert stimulus here + phase_in <= "000000000000"; + wait for clk_period*10; + phase_in <= "000000000001"; + wait for clk_period*10; + phase_in <= "000000000010"; + wait for clk_period*10; + phase_in <= "000000000011"; + wait for clk_period*10; + phase_in <= "000000000100"; + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Window.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Window.vhd new file mode 100644 index 0000000..fc53c7f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Window.vhd @@ -0,0 +1,106 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 13:39:25 09/16/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA2/FPGA/VNA/Test_Window.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: window +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_Window IS +END Test_Window; + +ARCHITECTURE behavior OF Test_Window IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT window + PORT( + CLK : IN std_logic; + INDEX : IN std_logic_vector(6 downto 0); + WINDOW_TYPE : IN std_logic_vector(1 downto 0); + VALUE : OUT std_logic_vector(15 downto 0) + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal INDEX : std_logic_vector(6 downto 0) := (others => '0'); + signal WINDOW_TYPE : std_logic_vector(1 downto 0) := (others => '0'); + + --Outputs + signal VALUE : std_logic_vector(15 downto 0); + + -- Clock period definitions + constant CLK_period : time := 10 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: window PORT MAP ( + CLK => CLK, + INDEX => INDEX, + WINDOW_TYPE => WINDOW_TYPE, + VALUE => VALUE + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + wait for 100 ns; + WINDOW_TYPE <= "00"; + INDEX <= "0000000"; + wait for CLK_period*10; + + WINDOW_TYPE <= "10"; + -- insert stimulus here + wait for CLK_period*10; + INDEX <= "0000001"; + wait for CLK_period*10; + INDEX <= "0000010"; + wait for CLK_period*10; + INDEX <= "0000011"; + wait for CLK_period*10; + INDEX <= "0000100"; + + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Windowing.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Windowing.vhd new file mode 100644 index 0000000..398db59 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Test_Windowing.vhd @@ -0,0 +1,135 @@ +-------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 18:37:51 11/06/2020 +-- Design Name: +-- Module Name: /home/jan/Projekte/VNA2/FPGA/VNA/Test_Windowing.vhd +-- Project Name: VNA +-- Target Device: +-- Tool versions: +-- Description: +-- +-- VHDL Test Bench Created by ISE for module: Windowing +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +-- Notes: +-- This testbench has been automatically generated using types std_logic and +-- std_logic_vector for the ports of the unit under test. Xilinx recommends +-- that these types always be used for the top-level I/O of a design in order +-- to guarantee that the testbench will bind correctly to the post-implementation +-- simulation model. +-------------------------------------------------------------------------------- +LIBRARY ieee; +USE ieee.std_logic_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--USE ieee.numeric_std.ALL; + +ENTITY Test_Windowing IS +END Test_Windowing; + +ARCHITECTURE behavior OF Test_Windowing IS + + -- Component Declaration for the Unit Under Test (UUT) + + COMPONENT Windowing + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + WINDOW_TYPE : IN std_logic_vector(1 downto 0); + PORT1_RAW : IN std_logic_vector(15 downto 0); + PORT2_RAW : IN std_logic_vector(15 downto 0); + REF_RAW : IN std_logic_vector(15 downto 0); + ADC_READY : IN std_logic; + PORT1_WINDOWED : OUT std_logic_vector(17 downto 0); + PORT2_WINDOWED : OUT std_logic_vector(17 downto 0); + REF_WINDOWED : OUT std_logic_vector(17 downto 0); + WINDOWING_DONE : OUT std_logic; + NSAMPLES : IN std_logic_vector(12 downto 0) + ); + END COMPONENT; + + + --Inputs + signal CLK : std_logic := '0'; + signal RESET : std_logic := '0'; + signal WINDOW_TYPE : std_logic_vector(1 downto 0) := (others => '0'); + signal PORT1_RAW : std_logic_vector(15 downto 0) := (others => '0'); + signal PORT2_RAW : std_logic_vector(15 downto 0) := (others => '0'); + signal REF_RAW : std_logic_vector(15 downto 0) := (others => '0'); + signal ADC_READY : std_logic := '0'; + signal NSAMPLES : std_logic_vector(12 downto 0) := (others => '0'); + + --Outputs + signal PORT1_WINDOWED : std_logic_vector(17 downto 0); + signal PORT2_WINDOWED : std_logic_vector(17 downto 0); + signal REF_WINDOWED : std_logic_vector(17 downto 0); + signal WINDOWING_DONE : std_logic; + + -- Clock period definitions + constant CLK_period : time := 10 ns; + +BEGIN + + -- Instantiate the Unit Under Test (UUT) + uut: Windowing PORT MAP ( + CLK => CLK, + RESET => RESET, + WINDOW_TYPE => WINDOW_TYPE, + PORT1_RAW => PORT1_RAW, + PORT2_RAW => PORT2_RAW, + REF_RAW => REF_RAW, + ADC_READY => ADC_READY, + PORT1_WINDOWED => PORT1_WINDOWED, + PORT2_WINDOWED => PORT2_WINDOWED, + REF_WINDOWED => REF_WINDOWED, + WINDOWING_DONE => WINDOWING_DONE, + NSAMPLES => NSAMPLES + ); + + -- Clock process definitions + CLK_process :process + begin + CLK <= '0'; + wait for CLK_period/2; + CLK <= '1'; + wait for CLK_period/2; + end process; + + + -- Stimulus process + stim_proc: process + begin + -- hold reset state for 100 ns. + wait for 100 ns; + + wait for CLK_period*10; + + -- insert stimulus here + WINDOW_TYPE <= "10"; + NSAMPLES <= "0000000010001"; + PORT1_RAW <= "0000000010000000"; + PORT2_RAW <= "0000000100000000"; + REF_RAW <= "0000001000000000"; + ADC_READY <= '0'; + RESET <= '1'; + wait for CLK_period; + RESET <= '0'; + for i in 0 to 271 loop + wait for CLK_period*111; + ADC_READY <= '1'; + wait for CLK_period; + ADC_READY <= '0'; + end loop; + + wait; + end process; + +END; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA.gise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA.gise new file mode 100644 index 0000000..8529fb8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA.gise @@ -0,0 +1,413 @@ + + + + + + + + + + + + + + + + + + + + 11.1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA.xise new file mode 100644 index 0000000..31ee3f6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA.xise @@ -0,0 +1,513 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA_external_lo_slave.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA_external_lo_slave.xise new file mode 100644 index 0000000..e26b1fa --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/VNA_external_lo_slave.xise @@ -0,0 +1,513 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Windowing.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Windowing.vhd new file mode 100644 index 0000000..3750645 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/Windowing.vhd @@ -0,0 +1,201 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 18:18:17 11/06/2020 +-- Design Name: +-- Module Name: Windowing - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity Windowing is + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + WINDOW_TYPE : in STD_LOGIC_VECTOR (1 downto 0); + PORT1_RAW : in STD_LOGIC_VECTOR (15 downto 0); + PORT2_RAW : in STD_LOGIC_VECTOR (15 downto 0); + REF_RAW : in STD_LOGIC_VECTOR (15 downto 0); + ADC_READY : in STD_LOGIC; + PORT1_WINDOWED : out STD_LOGIC_VECTOR (17 downto 0); + PORT2_WINDOWED : out STD_LOGIC_VECTOR (17 downto 0); + REF_WINDOWED : out STD_LOGIC_VECTOR (17 downto 0); + WINDOWING_DONE : out STD_LOGIC; + NSAMPLES : in STD_LOGIC_VECTOR (12 downto 0)); +end Windowing; + +architecture Behavioral of Windowing is +COMPONENT window +PORT( + CLK : IN std_logic; + INDEX : IN std_logic_vector(6 downto 0); + WINDOW_TYPE : IN std_logic_vector(1 downto 0); + VALUE : OUT std_logic_vector(15 downto 0) + ); +END COMPONENT; +COMPONENT DSP_SLICE + PORT ( + clk : IN STD_LOGIC; + ce : IN STD_LOGIC; + sel : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + a : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + b : IN STD_LOGIC_VECTOR(17 DOWNTO 0); + c : IN STD_LOGIC_VECTOR(47 DOWNTO 0); + p : OUT STD_LOGIC_VECTOR(47 DOWNTO 0) + ); +END COMPONENT; + signal window_index : std_logic_vector(6 downto 0); + signal window_value : std_logic_vector(15 downto 0); + signal window_sample_cnt : integer range -8 to 8191; + signal window_index_inc : integer range 0 to 8; + signal window_sample_compare : integer range 0 to 8191; + signal window_sample_cnt_inc : integer range 0 to 8; + + signal mult_a : std_logic_vector(17 downto 0); + signal mult_b : std_logic_vector(17 downto 0); + signal mult_p : std_logic_vector(47 downto 0); + signal mult_enable : std_logic; + + type states is (CalcWindowInc, WaitingForADC, CalcPort1, CalcPort2, CalcRef, MultDelay1, MultDelay2, StorePort1, StorePort2, StoreRef); + signal state : states; +begin + + Mult : DSP_SLICE + PORT MAP ( + clk => CLK, + ce => mult_enable, + sel => "0", + a => mult_a, + b => mult_b, + c => (others => '0'), + p => mult_p + ); + WindowROM: window PORT MAP( + CLK => CLK, + INDEX => window_index, + WINDOW_TYPE => WINDOW_TYPE, + VALUE => window_value + ); + -- sign extend multiplier inputs + mult_a(17 downto 16) <= mult_a(15) & mult_a(15); + mult_b(17 downto 16) <= mult_b(15) & mult_b(15); + + mult_a(15 downto 0) <= window_value; + + process(CLK) + begin + if rising_edge(CLK) then + if RESET = '1' then + WINDOWING_DONE <= '0'; + state <= CalcWindowInc; + mult_enable <= '0'; + mult_b(15 downto 0) <= (others => '0'); + window_index <= (others => '0'); + window_sample_cnt <= 0; + window_sample_compare <= to_integer(unsigned(NSAMPLES)); + else + case state is + when CalcWindowInc => + case window_sample_compare is + when 1 => + -- 16 samples, increment on every sample by 8 + window_sample_cnt_inc <= 1; + window_index_inc <= 8; + when 2 to 3 => + -- 32-48 samples, increment by 4 + window_sample_cnt_inc <= 2; + window_index_inc <= 4; + when 4 to 7 => + -- 64-112 samples, increment by 2 + window_sample_cnt_inc <= 4; + window_index_inc <= 2; + when others => + -- 128 or more samples, increment by 1 + window_sample_cnt_inc <= 8; + window_index_inc <= 1; + end case; + state <= WaitingForADC; + when WaitingForADC => + WINDOWING_DONE <= '0'; + mult_enable <= '0'; + mult_b(15 downto 0) <= (others => '0'); + if ADC_READY = '1' then + state <= CalcPort1; + end if; + when CalcPort1 => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= PORT1_RAW; + state <= CalcPort2; + when CalcPort2 => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= PORT2_RAW; + state <= CalcRef; + when CalcRef => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= REF_RAW; + state <= MultDelay1; + when MultDelay1 => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= (others => '0'); + state <= MultDelay2; + when MultDelay2 => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= (others => '0'); + state <= StorePort1; + when StorePort1 => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= (others => '0'); + PORT1_WINDOWED <= mult_p(30 downto 13); + state <= StorePort2; + when StorePort2 => + WINDOWING_DONE <= '0'; + mult_enable <= '1'; + mult_b(15 downto 0) <= (others => '0'); + PORT2_WINDOWED <= mult_p(30 downto 13); + state <= StoreRef; + when StoreRef => + WINDOWING_DONE <= '1'; + mult_enable <= '0'; + mult_b(15 downto 0) <= (others => '0'); + REF_WINDOWED <= mult_p(30 downto 13); + -- update window increment + if window_sample_cnt + window_sample_cnt_inc < window_sample_compare then + window_sample_cnt <= window_sample_cnt + window_sample_cnt_inc; + else + window_sample_cnt <= window_sample_cnt + window_sample_cnt_inc - window_sample_compare; + window_index <= std_logic_vector( unsigned(window_index) + window_index_inc ); + end if; + state <= WaitingForADC; + end case; + end if; + end if; + end process; + +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/.gitignore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/.gitignore new file mode 100644 index 0000000..68f8144 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/.gitignore @@ -0,0 +1,6 @@ +* +*/* +!.gitignore +!*.xco +!*.xise + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP48.xco b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP48.xco new file mode 100644 index 0000000..face7fc --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP48.xco @@ -0,0 +1,136 @@ +############################################################## +# +# Xilinx Core Generator version 14.6 +# Date: Fri Nov 6 13:56:17 2020 +# +############################################################## +# +# This file contains the customisation parameters for a +# Xilinx CORE Generator IP GUI. It is strongly recommended +# that you do not manually alter this file as it may cause +# unexpected and unsupported behavior. +# +############################################################## +# +# Generated from component: xilinx.com:ip:xbip_dsp48_macro:2.1 +# +############################################################## +# +# BEGIN Project Options +SET addpads = false +SET asysymbol = true +SET busformat = BusFormatAngleBracketNotRipped +SET createndf = false +SET designentry = VHDL +SET device = xc6slx9 +SET devicefamily = spartan6 +SET flowvendor = Other +SET formalverification = false +SET foundationsym = false +SET implementationfiletype = Ngc +SET package = tqg144 +SET removerpms = false +SET simulationfiles = Behavioral +SET speedgrade = -2 +SET verilogsim = false +SET vhdlsim = true +# END Project Options +# BEGIN Select +SELECT DSP48_Macro xilinx.com:ip:xbip_dsp48_macro:2.1 +# END Select +# BEGIN Parameters +CSET a_binarywidth=0 +CSET a_width=18 +CSET areg_1=false +CSET areg_2=false +CSET areg_3=true +CSET areg_4=true +CSET b_binarywidth=0 +CSET b_width=18 +CSET breg_1=false +CSET breg_2=false +CSET breg_3=true +CSET breg_4=true +CSET c_binarywidth=0 +CSET c_width=48 +CSET cinreg_1=false +CSET cinreg_2=false +CSET cinreg_3=false +CSET cinreg_4=false +CSET cinreg_5=false +CSET component_name=DSP48 +CSET concat_binarywidth=0 +CSET concat_width=48 +CSET concatreg_3=false +CSET concatreg_4=false +CSET concatreg_5=false +CSET creg_1=false +CSET creg_2=false +CSET creg_3=true +CSET creg_4=true +CSET creg_5=true +CSET d_binarywidth=0 +CSET d_width=18 +CSET dreg_1=false +CSET dreg_2=false +CSET dreg_3=false +CSET gui_behaviour=Coregen +CSET has_a_ce=false +CSET has_a_sclr=false +CSET has_acout=false +CSET has_b_ce=false +CSET has_b_sclr=false +CSET has_bcout=false +CSET has_c_ce=false +CSET has_c_sclr=false +CSET has_carrycascout=false +CSET has_carryout=false +CSET has_ce=true +CSET has_concat_ce=false +CSET has_concat_sclr=false +CSET has_d_ce=false +CSET has_d_sclr=false +CSET has_m_ce=false +CSET has_m_sclr=false +CSET has_p_ce=false +CSET has_p_sclr=false +CSET has_pcout=false +CSET has_sclr=false +CSET has_sel_ce=false +CSET has_sel_sclr=false +CSET instruction1=A*B +CSET instruction2=A*B+C +CSET instruction3=# +CSET instruction4=# +CSET instruction5=# +CSET instruction6=# +CSET instruction7=# +CSET instruction8=# +CSET instruction_list=# +CSET mreg_5=true +CSET opreg_1=false +CSET opreg_2=false +CSET opreg_3=true +CSET opreg_4=true +CSET opreg_5=true +CSET output_properties=Full_Precision +CSET p_binarywidth=0 +CSET p_full_width=48 +CSET p_width=48 +CSET pcin_binarywidth=0 +CSET pipeline_options=Automatic +CSET preg_6=true +CSET show_filtered=false +CSET tier_1=false +CSET tier_2=false +CSET tier_3=false +CSET tier_4=false +CSET tier_5=false +CSET tier_6=false +CSET use_dsp48=true +# END Parameters +# BEGIN Extra information +MISC pkg_timestamp=2012-11-05T14:23:53Z +# END Extra information +GENERATE +# CRC: 2ca4f824 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP48.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP48.xise new file mode 100644 index 0000000..4da40c6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP48.xise @@ -0,0 +1,73 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP_SLICE.xco b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP_SLICE.xco new file mode 100644 index 0000000..b39e78b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP_SLICE.xco @@ -0,0 +1,136 @@ +############################################################## +# +# Xilinx Core Generator version 14.6 +# Date: Fri Nov 6 13:57:46 2020 +# +############################################################## +# +# This file contains the customisation parameters for a +# Xilinx CORE Generator IP GUI. It is strongly recommended +# that you do not manually alter this file as it may cause +# unexpected and unsupported behavior. +# +############################################################## +# +# Generated from component: xilinx.com:ip:xbip_dsp48_macro:2.1 +# +############################################################## +# +# BEGIN Project Options +SET addpads = false +SET asysymbol = true +SET busformat = BusFormatAngleBracketNotRipped +SET createndf = false +SET designentry = VHDL +SET device = xc6slx9 +SET devicefamily = spartan6 +SET flowvendor = Other +SET formalverification = false +SET foundationsym = false +SET implementationfiletype = Ngc +SET package = tqg144 +SET removerpms = false +SET simulationfiles = Behavioral +SET speedgrade = -2 +SET verilogsim = false +SET vhdlsim = true +# END Project Options +# BEGIN Select +SELECT DSP48_Macro xilinx.com:ip:xbip_dsp48_macro:2.1 +# END Select +# BEGIN Parameters +CSET a_binarywidth=0 +CSET a_width=18 +CSET areg_1=false +CSET areg_2=false +CSET areg_3=true +CSET areg_4=true +CSET b_binarywidth=0 +CSET b_width=18 +CSET breg_1=false +CSET breg_2=false +CSET breg_3=true +CSET breg_4=true +CSET c_binarywidth=0 +CSET c_width=48 +CSET cinreg_1=false +CSET cinreg_2=false +CSET cinreg_3=false +CSET cinreg_4=false +CSET cinreg_5=false +CSET component_name=DSP_SLICE +CSET concat_binarywidth=0 +CSET concat_width=48 +CSET concatreg_3=false +CSET concatreg_4=false +CSET concatreg_5=false +CSET creg_1=false +CSET creg_2=false +CSET creg_3=true +CSET creg_4=true +CSET creg_5=true +CSET d_binarywidth=0 +CSET d_width=18 +CSET dreg_1=false +CSET dreg_2=false +CSET dreg_3=false +CSET gui_behaviour=Coregen +CSET has_a_ce=false +CSET has_a_sclr=false +CSET has_acout=false +CSET has_b_ce=false +CSET has_b_sclr=false +CSET has_bcout=false +CSET has_c_ce=false +CSET has_c_sclr=false +CSET has_carrycascout=false +CSET has_carryout=false +CSET has_ce=true +CSET has_concat_ce=false +CSET has_concat_sclr=false +CSET has_d_ce=false +CSET has_d_sclr=false +CSET has_m_ce=false +CSET has_m_sclr=false +CSET has_p_ce=false +CSET has_p_sclr=false +CSET has_pcout=false +CSET has_sclr=false +CSET has_sel_ce=false +CSET has_sel_sclr=false +CSET instruction1=A*B +CSET instruction2=A*B+C +CSET instruction3=# +CSET instruction4=# +CSET instruction5=# +CSET instruction6=# +CSET instruction7=# +CSET instruction8=# +CSET instruction_list=# +CSET mreg_5=true +CSET opreg_1=false +CSET opreg_2=false +CSET opreg_3=true +CSET opreg_4=true +CSET opreg_5=true +CSET output_properties=Full_Precision +CSET p_binarywidth=0 +CSET p_full_width=48 +CSET p_width=48 +CSET pcin_binarywidth=0 +CSET pipeline_options=Automatic +CSET preg_6=true +CSET show_filtered=false +CSET tier_1=false +CSET tier_2=false +CSET tier_3=false +CSET tier_4=false +CSET tier_5=false +CSET tier_6=false +CSET use_dsp48=true +# END Parameters +# BEGIN Extra information +MISC pkg_timestamp=2012-11-05T14:23:53Z +# END Extra information +GENERATE +# CRC: 57648294 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP_SLICE.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP_SLICE.xise new file mode 100644 index 0000000..92644f3 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/DSP_SLICE.xise @@ -0,0 +1,73 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/PLL.xco b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/PLL.xco new file mode 100644 index 0000000..709503d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/PLL.xco @@ -0,0 +1,269 @@ +############################################################## +# +# Xilinx Core Generator version 14.6 +# Date: Thu May 14 06:56:00 2020 +# +############################################################## +# +# This file contains the customisation parameters for a +# Xilinx CORE Generator IP GUI. It is strongly recommended +# that you do not manually alter this file as it may cause +# unexpected and unsupported behavior. +# +############################################################## +# +# Generated from component: xilinx.com:ip:clk_wiz:3.6 +# +############################################################## +# +# BEGIN Project Options +SET addpads = false +SET asysymbol = true +SET busformat = BusFormatAngleBracketNotRipped +SET createndf = false +SET designentry = VHDL +SET device = xc6slx9 +SET devicefamily = spartan6 +SET flowvendor = Other +SET formalverification = false +SET foundationsym = false +SET implementationfiletype = Ngc +SET package = tqg144 +SET removerpms = false +SET simulationfiles = Behavioral +SET speedgrade = -2 +SET verilogsim = false +SET vhdlsim = true +# END Project Options +# BEGIN Select +SELECT Clocking_Wizard xilinx.com:ip:clk_wiz:3.6 +# END Select +# BEGIN Parameters +CSET calc_done=DONE +CSET clk_in_sel_port=CLK_IN_SEL +CSET clk_out1_port=CLK_OUT1 +CSET clk_out1_use_fine_ps_gui=false +CSET clk_out2_port=CLK_OUT2 +CSET clk_out2_use_fine_ps_gui=false +CSET clk_out3_port=CLK_OUT3 +CSET clk_out3_use_fine_ps_gui=false +CSET clk_out4_port=CLK_OUT4 +CSET clk_out4_use_fine_ps_gui=false +CSET clk_out5_port=CLK_OUT5 +CSET clk_out5_use_fine_ps_gui=false +CSET clk_out6_port=CLK_OUT6 +CSET clk_out6_use_fine_ps_gui=false +CSET clk_out7_port=CLK_OUT7 +CSET clk_out7_use_fine_ps_gui=false +CSET clk_valid_port=CLK_VALID +CSET clkfb_in_n_port=CLKFB_IN_N +CSET clkfb_in_p_port=CLKFB_IN_P +CSET clkfb_in_port=CLKFB_IN +CSET clkfb_in_signaling=SINGLE +CSET clkfb_out_n_port=CLKFB_OUT_N +CSET clkfb_out_p_port=CLKFB_OUT_P +CSET clkfb_out_port=CLKFB_OUT +CSET clkfb_stopped_port=CLKFB_STOPPED +CSET clkin1_jitter_ps=625.0 +CSET clkin1_ui_jitter=0.010 +CSET clkin2_jitter_ps=100.0 +CSET clkin2_ui_jitter=0.010 +CSET clkout1_drives=BUFG +CSET clkout1_requested_duty_cycle=50.000 +CSET clkout1_requested_out_freq=102.4 +CSET clkout1_requested_phase=0.000 +CSET clkout2_drives=BUFG +CSET clkout2_requested_duty_cycle=50.000 +CSET clkout2_requested_out_freq=100.000 +CSET clkout2_requested_phase=0.000 +CSET clkout2_used=false +CSET clkout3_drives=BUFG +CSET clkout3_requested_duty_cycle=50.000 +CSET clkout3_requested_out_freq=100.000 +CSET clkout3_requested_phase=0.000 +CSET clkout3_used=false +CSET clkout4_drives=BUFG +CSET clkout4_requested_duty_cycle=50.000 +CSET clkout4_requested_out_freq=100.000 +CSET clkout4_requested_phase=0.000 +CSET clkout4_used=false +CSET clkout5_drives=BUFG +CSET clkout5_requested_duty_cycle=50.000 +CSET clkout5_requested_out_freq=100.000 +CSET clkout5_requested_phase=0.000 +CSET clkout5_used=false +CSET clkout6_drives=BUFG +CSET clkout6_requested_duty_cycle=50.000 +CSET clkout6_requested_out_freq=100.000 +CSET clkout6_requested_phase=0.000 +CSET clkout6_used=false +CSET clkout7_drives=BUFG +CSET clkout7_requested_duty_cycle=50.000 +CSET clkout7_requested_out_freq=100.000 +CSET clkout7_requested_phase=0.000 +CSET clkout7_used=false +CSET clock_mgr_type=AUTO +CSET component_name=PLL +CSET daddr_port=DADDR +CSET dclk_port=DCLK +CSET dcm_clk_feedback=1X +CSET dcm_clk_out1_port=CLKFX +CSET dcm_clk_out2_port=CLK0 +CSET dcm_clk_out3_port=CLK0 +CSET dcm_clk_out4_port=CLK0 +CSET dcm_clk_out5_port=CLK0 +CSET dcm_clk_out6_port=CLK0 +CSET dcm_clkdv_divide=2.0 +CSET dcm_clkfx_divide=5 +CSET dcm_clkfx_multiply=32 +CSET dcm_clkgen_clk_out1_port=CLKFX +CSET dcm_clkgen_clk_out2_port=CLKFX +CSET dcm_clkgen_clk_out3_port=CLKFX +CSET dcm_clkgen_clkfx_divide=1 +CSET dcm_clkgen_clkfx_md_max=0.000 +CSET dcm_clkgen_clkfx_multiply=4 +CSET dcm_clkgen_clkfxdv_divide=2 +CSET dcm_clkgen_clkin_period=10.000 +CSET dcm_clkgen_notes=None +CSET dcm_clkgen_spread_spectrum=NONE +CSET dcm_clkgen_startup_wait=false +CSET dcm_clkin_divide_by_2=false +CSET dcm_clkin_period=62.500 +CSET dcm_clkout_phase_shift=NONE +CSET dcm_deskew_adjust=SYSTEM_SYNCHRONOUS +CSET dcm_notes=None +CSET dcm_phase_shift=0 +CSET dcm_pll_cascade=NONE +CSET dcm_startup_wait=false +CSET den_port=DEN +CSET din_port=DIN +CSET dout_port=DOUT +CSET drdy_port=DRDY +CSET dwe_port=DWE +CSET feedback_source=FDBK_AUTO +CSET in_freq_units=Units_MHz +CSET in_jitter_units=Units_UI +CSET input_clk_stopped_port=INPUT_CLK_STOPPED +CSET jitter_options=UI +CSET jitter_sel=No_Jitter +CSET locked_port=LOCKED +CSET mmcm_bandwidth=OPTIMIZED +CSET mmcm_clkfbout_mult_f=4.000 +CSET mmcm_clkfbout_phase=0.000 +CSET mmcm_clkfbout_use_fine_ps=false +CSET mmcm_clkin1_period=10.000 +CSET mmcm_clkin2_period=10.000 +CSET mmcm_clkout0_divide_f=4.000 +CSET mmcm_clkout0_duty_cycle=0.500 +CSET mmcm_clkout0_phase=0.000 +CSET mmcm_clkout0_use_fine_ps=false +CSET mmcm_clkout1_divide=1 +CSET mmcm_clkout1_duty_cycle=0.500 +CSET mmcm_clkout1_phase=0.000 +CSET mmcm_clkout1_use_fine_ps=false +CSET mmcm_clkout2_divide=1 +CSET mmcm_clkout2_duty_cycle=0.500 +CSET mmcm_clkout2_phase=0.000 +CSET mmcm_clkout2_use_fine_ps=false +CSET mmcm_clkout3_divide=1 +CSET mmcm_clkout3_duty_cycle=0.500 +CSET mmcm_clkout3_phase=0.000 +CSET mmcm_clkout3_use_fine_ps=false +CSET mmcm_clkout4_cascade=false +CSET mmcm_clkout4_divide=1 +CSET mmcm_clkout4_duty_cycle=0.500 +CSET mmcm_clkout4_phase=0.000 +CSET mmcm_clkout4_use_fine_ps=false +CSET mmcm_clkout5_divide=1 +CSET mmcm_clkout5_duty_cycle=0.500 +CSET mmcm_clkout5_phase=0.000 +CSET mmcm_clkout5_use_fine_ps=false +CSET mmcm_clkout6_divide=1 +CSET mmcm_clkout6_duty_cycle=0.500 +CSET mmcm_clkout6_phase=0.000 +CSET mmcm_clkout6_use_fine_ps=false +CSET mmcm_clock_hold=false +CSET mmcm_compensation=ZHOLD +CSET mmcm_divclk_divide=1 +CSET mmcm_notes=None +CSET mmcm_ref_jitter1=0.010 +CSET mmcm_ref_jitter2=0.010 +CSET mmcm_startup_wait=false +CSET num_out_clks=1 +CSET override_dcm=false +CSET override_dcm_clkgen=false +CSET override_mmcm=false +CSET override_pll=false +CSET platform=lin64 +CSET pll_bandwidth=OPTIMIZED +CSET pll_clk_feedback=CLKFBOUT +CSET pll_clkfbout_mult=16 +CSET pll_clkfbout_phase=0.000 +CSET pll_clkin_period=31.250 +CSET pll_clkout0_divide=5 +CSET pll_clkout0_duty_cycle=0.500 +CSET pll_clkout0_phase=0.000 +CSET pll_clkout1_divide=1 +CSET pll_clkout1_duty_cycle=0.500 +CSET pll_clkout1_phase=0.000 +CSET pll_clkout2_divide=1 +CSET pll_clkout2_duty_cycle=0.500 +CSET pll_clkout2_phase=0.000 +CSET pll_clkout3_divide=1 +CSET pll_clkout3_duty_cycle=0.500 +CSET pll_clkout3_phase=0.000 +CSET pll_clkout4_divide=1 +CSET pll_clkout4_duty_cycle=0.500 +CSET pll_clkout4_phase=0.000 +CSET pll_clkout5_divide=1 +CSET pll_clkout5_duty_cycle=0.500 +CSET pll_clkout5_phase=0.000 +CSET pll_compensation=SYSTEM_SYNCHRONOUS +CSET pll_divclk_divide=1 +CSET pll_notes=None +CSET pll_ref_jitter=0.010 +CSET power_down_port=POWER_DOWN +CSET prim_in_freq=16 +CSET prim_in_jitter=0.010 +CSET prim_source=Single_ended_clock_capable_pin +CSET primary_port=CLK_IN1 +CSET primitive=MMCM +CSET primtype_sel=PLL_BASE +CSET psclk_port=PSCLK +CSET psdone_port=PSDONE +CSET psen_port=PSEN +CSET psincdec_port=PSINCDEC +CSET relative_inclk=REL_PRIMARY +CSET reset_port=RESET +CSET secondary_in_freq=100.000 +CSET secondary_in_jitter=0.010 +CSET secondary_port=CLK_IN2 +CSET secondary_source=Single_ended_clock_capable_pin +CSET ss_mod_freq=250 +CSET ss_mode=CENTER_HIGH +CSET status_port=STATUS +CSET summary_strings=empty +CSET use_clk_valid=false +CSET use_clkfb_stopped=false +CSET use_dyn_phase_shift=false +CSET use_dyn_reconfig=false +CSET use_freeze=false +CSET use_freq_synth=true +CSET use_inclk_stopped=false +CSET use_inclk_switchover=false +CSET use_locked=true +CSET use_max_i_jitter=false +CSET use_min_o_jitter=false +CSET use_min_power=false +CSET use_phase_alignment=true +CSET use_power_down=false +CSET use_reset=true +CSET use_spread_spectrum=false +CSET use_spread_spectrum_1=false +CSET use_status=false +# END Parameters +# BEGIN Extra information +MISC pkg_timestamp=2012-05-10T12:44:55Z +# END Extra information +GENERATE +# CRC: 2c6bfa8c diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/PLL.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/PLL.xise new file mode 100644 index 0000000..b0b1f74 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/PLL.xise @@ -0,0 +1,74 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SinCos.xco b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SinCos.xco new file mode 100644 index 0000000..2d9e926 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SinCos.xco @@ -0,0 +1,142 @@ +############################################################## +# +# Xilinx Core Generator version 14.6 +# Date: Tue May 5 15:36:58 2020 +# +############################################################## +# +# This file contains the customisation parameters for a +# Xilinx CORE Generator IP GUI. It is strongly recommended +# that you do not manually alter this file as it may cause +# unexpected and unsupported behavior. +# +############################################################## +# +# Generated from component: xilinx.com:ip:dds_compiler:4.0 +# +############################################################## +# +# BEGIN Project Options +SET addpads = false +SET asysymbol = true +SET busformat = BusFormatAngleBracketNotRipped +SET createndf = false +SET designentry = VHDL +SET device = xc6slx9 +SET devicefamily = spartan6 +SET flowvendor = Other +SET formalverification = false +SET foundationsym = false +SET implementationfiletype = Ngc +SET package = tqg144 +SET removerpms = false +SET simulationfiles = Behavioral +SET speedgrade = -2 +SET verilogsim = false +SET vhdlsim = true +# END Project Options +# BEGIN Select +SELECT DDS_Compiler xilinx.com:ip:dds_compiler:4.0 +# END Select +# BEGIN Parameters +CSET amplitude_mode=Full_Range +CSET channel_pin=false +CSET channels=1 +CSET clock_enable=false +CSET component_name=SinCos +CSET dds_clock_rate=100 +CSET dsp48_use=Minimal +CSET explicit_period=false +CSET frequency_resolution=0.4 +CSET gui_behaviour=Coregen +CSET has_phase_out=false +CSET latency=6 +CSET latency_configuration=Auto +CSET memory_type=Auto +CSET negative_cosine=false +CSET negative_sine=false +CSET noise_shaping=None +CSET optimization_goal=Auto +CSET output_frequency1=0 +CSET output_frequency10=0 +CSET output_frequency11=0 +CSET output_frequency12=0 +CSET output_frequency13=0 +CSET output_frequency14=0 +CSET output_frequency15=0 +CSET output_frequency16=0 +CSET output_frequency2=0 +CSET output_frequency3=0 +CSET output_frequency4=0 +CSET output_frequency5=0 +CSET output_frequency6=0 +CSET output_frequency7=0 +CSET output_frequency8=0 +CSET output_frequency9=0 +CSET output_selection=Sine_and_Cosine +CSET output_width=16 +CSET parameter_entry=Hardware_Parameters +CSET partspresent=SIN_COS_LUT_only +CSET period=1 +CSET phase_increment=Fixed +CSET phase_offset=None +CSET phase_offset_angles1=0 +CSET phase_offset_angles10=0 +CSET phase_offset_angles11=0 +CSET phase_offset_angles12=0 +CSET phase_offset_angles13=0 +CSET phase_offset_angles14=0 +CSET phase_offset_angles15=0 +CSET phase_offset_angles16=0 +CSET phase_offset_angles2=0 +CSET phase_offset_angles3=0 +CSET phase_offset_angles4=0 +CSET phase_offset_angles5=0 +CSET phase_offset_angles6=0 +CSET phase_offset_angles7=0 +CSET phase_offset_angles8=0 +CSET phase_offset_angles9=0 +CSET phase_width=12 +CSET pinc1=0 +CSET pinc10=0 +CSET pinc11=0 +CSET pinc12=0 +CSET pinc13=0 +CSET pinc14=0 +CSET pinc15=0 +CSET pinc16=0 +CSET pinc2=0 +CSET pinc3=0 +CSET pinc4=0 +CSET pinc5=0 +CSET pinc6=0 +CSET pinc7=0 +CSET pinc8=0 +CSET pinc9=0 +CSET poff1=0 +CSET poff10=0 +CSET poff11=0 +CSET poff12=0 +CSET poff13=0 +CSET poff14=0 +CSET poff15=0 +CSET poff16=0 +CSET poff2=0 +CSET poff3=0 +CSET poff4=0 +CSET poff5=0 +CSET poff6=0 +CSET poff7=0 +CSET poff8=0 +CSET poff9=0 +CSET por_mode=false +CSET rdy=false +CSET rfd=false +CSET sclr_pin=false +CSET spurious_free_dynamic_range=36 +# END Parameters +# BEGIN Extra information +MISC pkg_timestamp=2012-08-28T14:48:35Z +# END Extra information +GENERATE +# CRC: dc69a097 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SinCos.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SinCos.xise new file mode 100644 index 0000000..48631e5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SinCos.xise @@ -0,0 +1,73 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SweepConfigMem.xco b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SweepConfigMem.xco new file mode 100644 index 0000000..2ee1c5a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SweepConfigMem.xco @@ -0,0 +1,108 @@ +############################################################## +# +# Xilinx Core Generator version 14.6 +# Date: Mon Sep 14 08:50:12 2020 +# +############################################################## +# +# This file contains the customisation parameters for a +# Xilinx CORE Generator IP GUI. It is strongly recommended +# that you do not manually alter this file as it may cause +# unexpected and unsupported behavior. +# +############################################################## +# +# Generated from component: xilinx.com:ip:blk_mem_gen:7.3 +# +############################################################## +# +# BEGIN Project Options +SET addpads = false +SET asysymbol = true +SET busformat = BusFormatAngleBracketNotRipped +SET createndf = false +SET designentry = VHDL +SET device = xc6slx9 +SET devicefamily = spartan6 +SET flowvendor = Other +SET formalverification = false +SET foundationsym = false +SET implementationfiletype = Ngc +SET package = tqg144 +SET removerpms = false +SET simulationfiles = Behavioral +SET speedgrade = -2 +SET verilogsim = false +SET vhdlsim = true +# END Project Options +# BEGIN Select +SELECT Block_Memory_Generator xilinx.com:ip:blk_mem_gen:7.3 +# END Select +# BEGIN Parameters +CSET additional_inputs_for_power_estimation=false +CSET algorithm=Minimum_Area +CSET assume_synchronous_clk=false +CSET axi_id_width=4 +CSET axi_slave_type=Memory_Slave +CSET axi_type=AXI4_Full +CSET byte_size=9 +CSET coe_file=no_coe_file_loaded +CSET collision_warnings=ALL +CSET component_name=SweepConfigMem +CSET disable_collision_warnings=false +CSET disable_out_of_range_warnings=false +CSET ecc=false +CSET ecctype=No_ECC +CSET enable_32bit_address=false +CSET enable_a=Use_ENA_Pin +CSET enable_b=Always_Enabled +CSET error_injection_type=Single_Bit_Error_Injection +CSET fill_remaining_memory_locations=false +CSET interface_type=Native +CSET load_init_file=false +CSET mem_file=no_Mem_file_loaded +CSET memory_type=Simple_Dual_Port_RAM +CSET operating_mode_a=WRITE_FIRST +CSET operating_mode_b=WRITE_FIRST +CSET output_reset_value_a=0 +CSET output_reset_value_b=0 +CSET pipeline_stages=0 +CSET port_a_clock=100 +CSET port_a_enable_rate=100 +CSET port_a_write_rate=50 +CSET port_b_clock=100 +CSET port_b_enable_rate=100 +CSET port_b_write_rate=0 +CSET primitive=8kx2 +CSET read_width_a=96 +CSET read_width_b=96 +CSET register_porta_input_of_softecc=false +CSET register_porta_output_of_memory_core=false +CSET register_porta_output_of_memory_primitives=false +CSET register_portb_output_of_memory_core=false +CSET register_portb_output_of_memory_primitives=false +CSET register_portb_output_of_softecc=false +CSET remaining_memory_locations=0 +CSET reset_memory_latch_a=false +CSET reset_memory_latch_b=false +CSET reset_priority_a=CE +CSET reset_priority_b=CE +CSET reset_type=SYNC +CSET softecc=false +CSET use_axi_id=false +CSET use_bram_block=Stand_Alone +CSET use_byte_write_enable=false +CSET use_error_injection_pins=false +CSET use_regcea_pin=false +CSET use_regceb_pin=false +CSET use_rsta_pin=false +CSET use_rstb_pin=false +CSET write_depth_a=4501 +CSET write_width_a=96 +CSET write_width_b=96 +# END Parameters +# BEGIN Extra information +MISC pkg_timestamp=2012-11-19T16:22:25Z +# END Extra information +GENERATE +# CRC: e7b4a756 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SweepConfigMem.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SweepConfigMem.xise new file mode 100644 index 0000000..eb7b0f0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/SweepConfigMem.xise @@ -0,0 +1,73 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/result_bram.xco b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/result_bram.xco new file mode 100644 index 0000000..5a73570 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/result_bram.xco @@ -0,0 +1,108 @@ +############################################################## +# +# Xilinx Core Generator version 14.6 +# Date: Sat Nov 7 15:56:38 2020 +# +############################################################## +# +# This file contains the customisation parameters for a +# Xilinx CORE Generator IP GUI. It is strongly recommended +# that you do not manually alter this file as it may cause +# unexpected and unsupported behavior. +# +############################################################## +# +# Generated from component: xilinx.com:ip:blk_mem_gen:7.3 +# +############################################################## +# +# BEGIN Project Options +SET addpads = false +SET asysymbol = true +SET busformat = BusFormatAngleBracketNotRipped +SET createndf = false +SET designentry = VHDL +SET device = xc6slx9 +SET devicefamily = spartan6 +SET flowvendor = Other +SET formalverification = false +SET foundationsym = false +SET implementationfiletype = Ngc +SET package = tqg144 +SET removerpms = false +SET simulationfiles = Behavioral +SET speedgrade = -2 +SET verilogsim = false +SET vhdlsim = true +# END Project Options +# BEGIN Select +SELECT Block_Memory_Generator xilinx.com:ip:blk_mem_gen:7.3 +# END Select +# BEGIN Parameters +CSET additional_inputs_for_power_estimation=false +CSET algorithm=Minimum_Area +CSET assume_synchronous_clk=false +CSET axi_id_width=4 +CSET axi_slave_type=Memory_Slave +CSET axi_type=AXI4_Full +CSET byte_size=9 +CSET coe_file=no_coe_file_loaded +CSET collision_warnings=ALL +CSET component_name=result_bram +CSET disable_collision_warnings=false +CSET disable_out_of_range_warnings=false +CSET ecc=false +CSET ecctype=No_ECC +CSET enable_32bit_address=false +CSET enable_a=Always_Enabled +CSET enable_b=Always_Enabled +CSET error_injection_type=Single_Bit_Error_Injection +CSET fill_remaining_memory_locations=false +CSET interface_type=Native +CSET load_init_file=false +CSET mem_file=no_Mem_file_loaded +CSET memory_type=Simple_Dual_Port_RAM +CSET operating_mode_a=WRITE_FIRST +CSET operating_mode_b=WRITE_FIRST +CSET output_reset_value_a=0 +CSET output_reset_value_b=0 +CSET pipeline_stages=0 +CSET port_a_clock=100 +CSET port_a_enable_rate=100 +CSET port_a_write_rate=50 +CSET port_b_clock=100 +CSET port_b_enable_rate=100 +CSET port_b_write_rate=0 +CSET primitive=8kx2 +CSET read_width_a=192 +CSET read_width_b=192 +CSET register_porta_input_of_softecc=false +CSET register_porta_output_of_memory_core=false +CSET register_porta_output_of_memory_primitives=false +CSET register_portb_output_of_memory_core=false +CSET register_portb_output_of_memory_primitives=false +CSET register_portb_output_of_softecc=false +CSET remaining_memory_locations=0 +CSET reset_memory_latch_a=false +CSET reset_memory_latch_b=false +CSET reset_priority_a=CE +CSET reset_priority_b=CE +CSET reset_type=SYNC +CSET softecc=false +CSET use_axi_id=false +CSET use_bram_block=Stand_Alone +CSET use_byte_write_enable=false +CSET use_error_injection_pins=false +CSET use_regcea_pin=false +CSET use_regceb_pin=false +CSET use_rsta_pin=false +CSET use_rstb_pin=false +CSET write_depth_a=256 +CSET write_width_a=192 +CSET write_width_b=192 +# END Parameters +# BEGIN Extra information +MISC pkg_timestamp=2012-11-19T16:22:25Z +# END Extra information +GENERATE +# CRC: 14273b86 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/result_bram.xise b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/result_bram.xise new file mode 100644 index 0000000..caffa95 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/ipcore_dir/result_bram.xise @@ -0,0 +1,73 @@ + + + +
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/spi_slave.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/spi_slave.vhd new file mode 100644 index 0000000..c4654e4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/spi_slave.vhd @@ -0,0 +1,151 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 22:14:17 03/05/2019 +-- Design Name: +-- Module Name: spi_slave - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; +use IEEE.numeric_std.all; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity spi_slave is + generic ( W : integer; + PREWIDTH : integer); + Port ( SPI_CLK : in STD_LOGIC; + MISO : out STD_LOGIC; + MOSI : in STD_LOGIC; + CS : in STD_LOGIC; + BUF_OUT : out STD_LOGIC_VECTOR (W-1 downto 0) := (others => '0'); + BUF_IN : in STD_LOGIC_VECTOR (W-1 downto 0); + CLK : in STD_LOGIC; + COMPLETE : out STD_LOGIC; + -- processing the complete word after it is complete leaves very little time + -- for read operations. Indicate when the first PREWIDTH bits are ready which + -- allows more time to prepare the response to the next word + PRE_COMPLETE : out STD_LOGIC; + PRE_BUF_OUT : out STD_LOGIC_VECTOR (PREWIDTH-1 downto 0) := (others => '0') + ); +end spi_slave; + +architecture Behavioral of spi_slave is + signal miso_buffer : STD_LOGIC_VECTOR (W-1 downto 0); + signal mosi_buffer : STD_LOGIC_VECTOR (W-2 downto 0); + + signal data_valid : STD_LOGIC_VECTOR(2 downto 0); + signal data_synced : STD_LOGIC_VECTOR(2 downto 0); + signal data : STD_LOGIC_VECTOR(W-1 downto 0); + signal pre_data : STD_LOGIC_VECTOR(PREWIDTH-1 downto 0); + signal pre_data_valid : STD_LOGIC_VECTOR(3 downto 0); + + signal bit_cnt : integer range 0 to W-1; +begin + + process(CLK) + begin + if rising_edge(CLK) then + COMPLETE <= '0'; + PRE_COMPLETE <= '0'; + data_valid(2 downto 1) <= data_valid(1 downto 0); + pre_data_valid(3 downto 1) <= pre_data_valid(2 downto 0); + if data_valid(2) = '1' then + if data_synced(0) = '0' then + BUF_OUT <= data; + COMPLETE <= '1'; + data_synced(0) <= '1'; + end if; + else + data_synced(0) <= '0'; + end if; + if pre_data_valid(3 downto 2) = "01" then + -- pre_data has just become valid + PRE_BUF_OUT <= pre_data; + PRE_COMPLETE <= '1'; + end if; + end if; + end process; + + MISO <= BUF_IN(15) when bit_cnt = 0 else miso_buffer(W-2); + + slave_in: process(SPI_CLK, CS) + begin + if CS = '1' then + bit_cnt <= 0; + data_valid(0) <= '0'; + pre_data_valid(0) <= '0'; + elsif rising_edge(SPI_CLK) then + -- data input process: sample on the rising edge + data_synced(2 downto 1) <= data_synced(1 downto 0); + if bit_cnt = PREWIDTH-1 then + -- first couple of bits are ready + pre_data <= mosi_buffer(PREWIDTH-2 downto 0) & MOSI; + pre_data_valid(0) <= '1'; + end if; + if bit_cnt = W-1 then + -- this was the last bit + pre_data_valid(0) <= '0'; + data_valid(0) <= '1'; + data <= mosi_buffer(W-2 downto 0) & MOSI; + else + if data_valid(0) = '1' and data_synced(2) = '1' then + data_valid(0) <= '0'; + end if; + mosi_buffer <= mosi_buffer(W-3 downto 0) & MOSI; + end if; + + -- data output process: data should be launched on the falling edge + -- but the delay is too large. Launch on the rising edge instead + if bit_cnt < W-1 then + bit_cnt <= bit_cnt + 1; + if bit_cnt = 0 then + miso_buffer <= BUF_IN; + else + miso_buffer <= miso_buffer(W-2 downto 0) & '0'; + end if; + else + bit_cnt <= 0; + end if; + end if; + end process; + +-- slave_out: process(SPI_CLK, CS, BUF_IN, bit_cnt) +-- begin +-- if CS = '1' then +-- bit_cnt <= 0; +-- elsif falling_edge(SPI_CLK) then +-- if bit_cnt < W-1 then +-- bit_cnt <= bit_cnt + 1; +-- if bit_cnt = 0 then +-- miso_buffer <= BUF_IN; +-- else +-- miso_buffer <= miso_buffer(W-2 downto 0) & '0'; +-- end if; +-- else +-- bit_cnt <= 0; +-- --miso_buffer <= BUF_IN; +-- end if; +-- end if; +-- end process; + +end Behavioral; \ No newline at end of file diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.bin b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.bin new file mode 100644 index 0000000..38af89c Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.bin differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.ucf b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.ucf new file mode 100644 index 0000000..b0c65f6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.ucf @@ -0,0 +1,165 @@ +CONFIG VCCAUX = 3.3; +# Global FPGA clock +NET "CLK" PERIOD = 62.5 ns HIGH 50%; + +# Constraints for SPI interface to MCU +NET "MCU_SCK" PERIOD = 23.52941176ns HIGH 50%; +NET "MCU_MOSI" OFFSET = IN 2ns VALID 3ns BEFORE "MCU_SCK"; +NET "MCU_MISO" OFFSET = OUT 18.529ns VALID 10ns AFTER "MCU_SCK"; +NET "MCU_MISO" SLEW = FAST; + +# ADC constraints +NET "REF_SCLK" PERIOD = 19.5ns HIGH 50%; +NET "REF_SDO" OFFSET = IN 9ns VALID 9ns BEFORE "REF_SCLK"; +NET "PORT1_SCLK" PERIOD = 19.5ns HIGH 50%; +NET "PORT1_SDO" OFFSET = IN 9ns VALID 9ns BEFORE "PORT1_SCLK"; +NET "PORT2_SCLK" PERIOD = 19.5ns HIGH 50%; +NET "PORT2_SDO" OFFSET = IN 9ns VALID 9ns BEFORE "PORT2_SCLK"; +NET "PORT1_SCLK" SLEW = FAST; +NET "PORT2_SCLK" SLEW = FAST; +NET "REF_SCLK" SLEW = FAST; + +NET "ATTENUATION[6]" IOSTANDARD = LVCMOS33; +NET "ATTENUATION[5]" IOSTANDARD = LVCMOS33; +NET "ATTENUATION[4]" IOSTANDARD = LVCMOS33; +NET "ATTENUATION[3]" IOSTANDARD = LVCMOS33; +NET "ATTENUATION[2]" IOSTANDARD = LVCMOS33; +NET "ATTENUATION[1]" IOSTANDARD = LVCMOS33; +NET "ATTENUATION[0]" IOSTANDARD = LVCMOS33; + +NET "LEDS[7]" IOSTANDARD = LVCMOS33; +NET "LEDS[6]" IOSTANDARD = LVCMOS33; +NET "LEDS[5]" IOSTANDARD = LVCMOS33; +NET "LEDS[4]" IOSTANDARD = LVCMOS33; +NET "LEDS[3]" IOSTANDARD = LVCMOS33; +NET "LEDS[2]" IOSTANDARD = LVCMOS33; +NET "LEDS[1]" IOSTANDARD = LVCMOS33; +NET "LEDS[0]" IOSTANDARD = LVCMOS33; + +NET "AMP_PWDN" IOSTANDARD = LVCMOS33; +NET "CLK" IOSTANDARD = LVCMOS33; +NET "FILT_IN_C2" IOSTANDARD = LVCMOS33; +NET "FILT_IN_C1" IOSTANDARD = LVCMOS33; +NET "FILT_OUT_C2" IOSTANDARD = LVCMOS33; +NET "FILT_OUT_C1" IOSTANDARD = LVCMOS33; +NET "LO1_CE" IOSTANDARD = LVCMOS33; +NET "LO1_LD" IOSTANDARD = LVCMOS33; +NET "LO1_LE" IOSTANDARD = LVCMOS33; +NET "LO1_CLK" IOSTANDARD = LVCMOS33; +NET "LO1_MOSI" IOSTANDARD = LVCMOS33; +NET "LO1_MUX" IOSTANDARD = LVCMOS33; +NET "MCU_AUX1" IOSTANDARD = LVCMOS33; +NET "LO1_RF_EN" IOSTANDARD = LVCMOS33; +NET "SOURCE_RF_EN" IOSTANDARD = LVCMOS33; +NET "SOURCE_MUX" IOSTANDARD = LVCMOS33; +NET "SOURCE_LE" IOSTANDARD = LVCMOS33; +NET "SOURCE_MOSI" IOSTANDARD = LVCMOS33; +NET "SOURCE_LD" IOSTANDARD = LVCMOS33; +NET "SOURCE_CLK" IOSTANDARD = LVCMOS33; +NET "SOURCE_CE" IOSTANDARD = LVCMOS33; +NET "RESET" IOSTANDARD = LVCMOS33; +NET "REF_SDO" IOSTANDARD = LVCMOS33; +NET "REF_SCLK" IOSTANDARD = LVCMOS33; +NET "REF_CONVSTART" IOSTANDARD = LVCMOS33; +NET "PORT2_SDO" IOSTANDARD = LVCMOS33; +NET "PORT2_SCLK" IOSTANDARD = LVCMOS33; +NET "PORT2_CONVSTART" IOSTANDARD = LVCMOS33; +NET "PORT1_SDO" IOSTANDARD = LVCMOS33; +NET "PORT1_SCLK" IOSTANDARD = LVCMOS33; +NET "PORT1_CONVSTART" IOSTANDARD = LVCMOS33; +NET "MCU_SCK" IOSTANDARD = LVCMOS33; +NET "MCU_NSS" IOSTANDARD = LVCMOS33; +NET "MCU_MISO" IOSTANDARD = LVCMOS33; +NET "MCU_MOSI" IOSTANDARD = LVCMOS33; +NET "MCU_INTR" IOSTANDARD = LVCMOS33; +NET "MCU_AUX2" IOSTANDARD = LVCMOS33; +NET "MCU_AUX3" IOSTANDARD = LVCMOS33; +NET "TRIGGER_IN" IOSTANDARD = LVCMOS33; +NET "TRIGGER_OUT" IOSTANDARD = LVCMOS33; + +NET "ATTENUATION[6]" LOC = P9; +NET "ATTENUATION[5]" LOC = P10; +NET "ATTENUATION[4]" LOC = P11; +NET "ATTENUATION[3]" LOC = P12; +NET "ATTENUATION[2]" LOC = P14; +NET "ATTENUATION[1]" LOC = P15; +NET "ATTENUATION[0]" LOC = P16; +NET "LEDS[0]" LOC = P87; +NET "LEDS[1]" LOC = P92; +NET "LEDS[2]" LOC = P93; +NET "LEDS[3]" LOC = P88; +NET "LEDS[4]" LOC = P85; +NET "LEDS[5]" LOC = P84; +NET "LEDS[6]" LOC = P83; +NET "LEDS[7]" LOC = P82; +NET "AMP_PWDN" LOC = P8; +NET "BAND_SELECT_HIGH" LOC = P21; +NET "BAND_SELECT_LOW" LOC = P17; +NET "CLK" LOC = P50; +NET "FILT_IN_C1" LOC = P26; +NET "FILT_IN_C2" LOC = P24; +NET "FILT_OUT_C1" LOC = P22; +NET "FILT_OUT_C2" LOC = P23; +NET "LO1_CE" LOC = P45; +NET "LO1_CLK" LOC = P48; +NET "LO1_LD" LOC = P56; +NET "LO1_LE" LOC = P46; +NET "LO1_MOSI" LOC = P47; +NET "LO1_MUX" LOC = P51; +NET "LO1_RF_EN" LOC = P55; +NET "MCU_AUX1" LOC = P78; +NET "MCU_AUX2" LOC = P75; +NET "MCU_AUX3" LOC = P74; +NET "TRIGGER_IN" LOC = P80; +NET "TRIGGER_OUT" LOC = P81; +NET "MCU_INTR" LOC = P59; +NET "MCU_MISO" LOC = P62; +NET "MCU_MOSI" LOC = P61; +NET "MCU_NSS" LOC = P67; +NET "MCU_SCK" LOC = P66; +NET "MCU_SCK" CLOCK_DEDICATED_ROUTE = FALSE; + +# PlanAhead Generated physical constraints + +NET "PORT1_CONVSTART" LOC = P139; +NET "PORT1_MIX1_EN" LOC = P141; +NET "PORT1_MIX2_EN" LOC = P140; +NET "PORT1_SCLK" LOC = P137; +NET "PORT1_SDO" LOC = P138; +NET "PORT1_SELECT" LOC = P142; +NET "PORT2_CONVSTART" LOC = P44; +NET "PORT2_MIX1_EN" LOC = P58; +NET "PORT2_MIX2_EN" LOC = P57; +NET "PORT2_SCLK" LOC = P41; +NET "PORT2_SDO" LOC = P43; +NET "PORT2_SELECT" LOC = P40; +NET "PORT_SELECT1" LOC = P6; +NET "PORT_SELECT2" LOC = P7; +NET "REF_CONVSTART" LOC = P5; +NET "REF_MIX1_EN" LOC = P144; +NET "REF_MIX2_EN" LOC = P143; +NET "REF_SCLK" LOC = P1; +NET "REF_SDO" LOC = P2; +NET "RESET" LOC = P79; +NET "SOURCE_CE" LOC = P27; +NET "SOURCE_CLK" LOC = P32; +NET "SOURCE_LD" LOC = P35; +NET "SOURCE_LE" LOC = P29; +NET "SOURCE_MOSI" LOC = P30; +NET "SOURCE_MUX" LOC = P33; +NET "SOURCE_RF_EN" LOC = P34; + +# PlanAhead Generated IO constraints + +NET "BAND_SELECT_HIGH" IOSTANDARD = LVCMOS33; +NET "BAND_SELECT_LOW" IOSTANDARD = LVCMOS33; +NET "PORT1_MIX1_EN" IOSTANDARD = LVCMOS33; +NET "PORT1_MIX2_EN" IOSTANDARD = LVCMOS33; +NET "PORT1_SELECT" IOSTANDARD = LVCMOS33; +NET "PORT2_MIX1_EN" IOSTANDARD = LVCMOS33; +NET "PORT2_MIX2_EN" IOSTANDARD = LVCMOS33; +NET "PORT2_SELECT" IOSTANDARD = LVCMOS33; +NET "PORT_SELECT1" IOSTANDARD = LVCMOS33; +NET "PORT_SELECT2" IOSTANDARD = LVCMOS33; +NET "REF_MIX1_EN" IOSTANDARD = LVCMOS33; +NET "REF_MIX2_EN" IOSTANDARD = LVCMOS33; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.vhd new file mode 100644 index 0000000..2d23cae --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top.vhd @@ -0,0 +1,858 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 15:47:31 05/05/2020 +-- Design Name: +-- Module Name: top - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; +use work.BuildConfig.all; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +--use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity top is + Port ( CLK : in STD_LOGIC; + RESET : in STD_LOGIC; + MCU_MOSI : in STD_LOGIC; + MCU_NSS : in STD_LOGIC; + MCU_INTR : out STD_LOGIC; + MCU_SCK : in STD_LOGIC; + MCU_MISO : out STD_LOGIC; + MCU_AUX1 : in STD_LOGIC; + MCU_AUX2 : in STD_LOGIC; + MCU_AUX3 : in STD_LOGIC; + TRIGGER_IN : in STD_LOGIC; + TRIGGER_OUT : out STD_LOGIC; + PORT2_CONVSTART : out STD_LOGIC; + PORT2_SDO : in STD_LOGIC; + PORT2_SCLK : inout STD_LOGIC; + PORT2_MIX2_EN : out STD_LOGIC; + PORT2_MIX1_EN : out STD_LOGIC; + PORT1_CONVSTART : out STD_LOGIC; + PORT1_SDO : in STD_LOGIC; + PORT1_SCLK : inout STD_LOGIC; + PORT1_MIX2_EN : out STD_LOGIC; + PORT1_MIX1_EN : out STD_LOGIC; + LO1_MUX : in STD_LOGIC; + LO1_RF_EN : out STD_LOGIC; + LO1_LD : in STD_LOGIC; + LO1_CLK : out STD_LOGIC; + LO1_MOSI : out STD_LOGIC; + LO1_LE : out STD_LOGIC; + LO1_CE : out STD_LOGIC; + LEDS : out STD_LOGIC_VECTOR (7 downto 0); + REF_MIX2_EN : out STD_LOGIC; + REF_MIX1_EN : out STD_LOGIC; + ATTENUATION : out STD_LOGIC_VECTOR (6 downto 0); + AMP_PWDN : out STD_LOGIC; + PORT1_SELECT : out STD_LOGIC; -- Port 1 additional isolation switch enable + PORT2_SELECT : out STD_LOGIC; -- Port 2 additional isolation switch enable + PORT_SELECT1 : out STD_LOGIC; -- Enable source -> port 1 switch + PORT_SELECT2 : out STD_LOGIC; -- Enable source -> port 2 switch + BAND_SELECT_HIGH : out STD_LOGIC; + BAND_SELECT_LOW : out STD_LOGIC; + FILT_OUT_C1 : out STD_LOGIC; + FILT_OUT_C2 : out STD_LOGIC; + FILT_IN_C1 : out STD_LOGIC; + FILT_IN_C2 : out STD_LOGIC; + SOURCE_RF_EN : out STD_LOGIC; + SOURCE_LD : in STD_LOGIC; + SOURCE_MUX : in STD_LOGIC; + SOURCE_CLK : out STD_LOGIC; + SOURCE_MOSI : out STD_LOGIC; + SOURCE_LE : out STD_LOGIC; + SOURCE_CE : out STD_LOGIC; + REF_CONVSTART : out STD_LOGIC; + REF_SDO : in STD_LOGIC; + REF_SCLK : inout STD_LOGIC); +end top; + +architecture Behavioral of top is + component PLL + port + (-- Clock in ports + CLK_IN1 : in std_logic; + -- Clock out ports + CLK_OUT1 : out std_logic; + -- Status and control signals + RESET : in std_logic; + LOCKED : out std_logic + ); + end component; + + COMPONENT ResetDelay + GENERIC(CLK_DELAY : integer); + PORT( + CLK : IN std_logic; + IN_RESET : IN std_logic; + OUT_RESET : OUT std_logic + ); + END COMPONENT; + + COMPONENT Sweep + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + NPOINTS : IN std_logic_vector(12 downto 0); + CONFIG_DATA : IN std_logic_vector(95 downto 0); + USER_NSAMPLES : in STD_LOGIC_VECTOR (12 downto 0); + NSAMPLES : out STD_LOGIC_VECTOR (12 downto 0); + SETTLING_TIME : in STD_LOGIC_VECTOR (19 downto 0); + SAMPLING_BUSY : in STD_LOGIC; + SAMPLING_DONE : IN std_logic; + MAX2871_DEF_4 : IN std_logic_vector(31 downto 0); + MAX2871_DEF_3 : IN std_logic_vector(31 downto 0); + MAX2871_DEF_1 : IN std_logic_vector(31 downto 0); + MAX2871_DEF_0 : IN std_logic_vector(31 downto 0); + PLL_RELOAD_DONE : IN std_logic; + PLL_LOCKED : IN std_logic; + CONFIG_ADDRESS : OUT std_logic_vector(12 downto 0); + START_SAMPLING : OUT std_logic; + BAND_SELECT : out STD_LOGIC; + SOURCE_REG_4 : OUT std_logic_vector(31 downto 0); + SOURCE_REG_3 : OUT std_logic_vector(31 downto 0); + SOURCE_REG_1 : OUT std_logic_vector(31 downto 0); + SOURCE_REG_0 : OUT std_logic_vector(31 downto 0); + LO_REG_4 : OUT std_logic_vector(31 downto 0); + LO_REG_3 : OUT std_logic_vector(31 downto 0); + LO_REG_1 : OUT std_logic_vector(31 downto 0); + LO_REG_0 : OUT std_logic_vector(31 downto 0); + RELOAD_PLL_REGS : OUT std_logic; + SWEEP_HALTED : out STD_LOGIC; + SWEEP_RESUME : in STD_LOGIC; + SYNC_ENABLED : in STD_LOGIC; + SYNC_MASTER : in STD_LOGIC; + TRIGGER_IN : in STD_LOGIC; + TRIGGER_OUT : out STD_LOGIC; + NEW_DATA : out STD_LOGIC; + ATTENUATOR : OUT std_logic_vector(6 downto 0); + SOURCE_FILTER : OUT std_logic_vector(1 downto 0); + STAGES : in STD_LOGIC_VECTOR (2 downto 0); + PORT1_STAGE : in STD_LOGIC_VECTOR (2 downto 0); + PORT2_STAGE : in STD_LOGIC_VECTOR (2 downto 0); + + PORT1_ACTIVE : out STD_LOGIC; + PORT2_ACTIVE : out STD_LOGIC; + SOURCE_CE : out STD_LOGIC; + RESULT_INDEX : out STD_LOGIC_VECTOR (15 downto 0); + DEBUG_STATUS : out STD_LOGIC_VECTOR (10 downto 0) + ); + END COMPONENT; + + COMPONENT Windowing + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + WINDOW_TYPE : IN std_logic_vector(1 downto 0); + PORT1_RAW : IN std_logic_vector(15 downto 0); + PORT2_RAW : IN std_logic_vector(15 downto 0); + REF_RAW : IN std_logic_vector(15 downto 0); + ADC_READY : IN std_logic; + NSAMPLES : IN std_logic_vector(12 downto 0); + PORT1_WINDOWED : OUT std_logic_vector(17 downto 0); + PORT2_WINDOWED : OUT std_logic_vector(17 downto 0); + REF_WINDOWED : OUT std_logic_vector(17 downto 0); + WINDOWING_DONE : OUT std_logic + ); + END COMPONENT; + + COMPONENT Sampling + Generic(CLK_CYCLES_PRE_DONE : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + ADC_PRESCALER : in STD_LOGIC_VECTOR(7 downto 0); + PHASEINC : in STD_LOGIC_VECTOR(11 downto 0); + PORT1 : IN std_logic_vector(17 downto 0); + PORT2 : IN std_logic_vector(17 downto 0); + REF : IN std_logic_vector(17 downto 0); + NEW_SAMPLE : IN std_logic; + START : IN std_logic; + SAMPLES : IN std_logic_vector(12 downto 0); + ADC_START : OUT std_logic; + DONE : OUT std_logic; + PRE_DONE : OUT std_logic; + PORT1_I : OUT std_logic_vector(47 downto 0); + PORT1_Q : OUT std_logic_vector(47 downto 0); + PORT2_I : OUT std_logic_vector(47 downto 0); + PORT2_Q : OUT std_logic_vector(47 downto 0); + REF_I : OUT std_logic_vector(47 downto 0); + REF_Q : OUT std_logic_vector(47 downto 0); + ACTIVE : OUT std_logic + ); + END COMPONENT; + COMPONENT MCP33131 + Generic(CLK_DIV : integer; + CONVCYCLES : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + START : IN std_logic; + SDO : IN std_logic; + READY : OUT std_logic; + DATA : OUT std_logic_vector(15 downto 0); + MIN : out STD_LOGIC_VECTOR (15 downto 0); + MAX : out STD_LOGIC_VECTOR (15 downto 0); + RESET_MINMAX : in STD_LOGIC; + CONVSTART : OUT std_logic; + SCLK : INOUT std_logic + ); + END COMPONENT; + COMPONENT MAX2871 + Generic (CLK_DIV : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + REG4 : IN std_logic_vector(31 downto 0); + REG3 : IN std_logic_vector(31 downto 0); + REG1 : IN std_logic_vector(31 downto 0); + REG0 : IN std_logic_vector(31 downto 0); + RELOAD : IN std_logic; + CLK_OUT : OUT std_logic; + MOSI : OUT std_logic; + LE : OUT std_logic; + DONE : OUT std_logic + ); + END COMPONENT; + COMPONENT SPICommands + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + SCLK : IN std_logic; + MOSI : IN std_logic; + NSS : IN std_logic; + NEW_SAMPLING_DATA : IN std_logic; + SAMPLING_RESULT : IN std_logic_vector(303 downto 0); + ADC_MINMAX : in STD_LOGIC_VECTOR(95 downto 0); + SOURCE_UNLOCKED : IN std_logic; + LO_UNLOCKED : IN std_logic; + MISO : OUT std_logic; + MAX2871_DEF_4 : OUT std_logic_vector(31 downto 0); + MAX2871_DEF_3 : OUT std_logic_vector(31 downto 0); + MAX2871_DEF_1 : OUT std_logic_vector(31 downto 0); + MAX2871_DEF_0 : OUT std_logic_vector(31 downto 0); + SWEEP_DATA : OUT std_logic_vector(95 downto 0); + SWEEP_ADDRESS : OUT std_logic_vector(12 downto 0); + SWEEP_WRITE : OUT std_logic_vector(0 to 0); + SWEEP_POINTS : OUT std_logic_vector(12 downto 0); + NSAMPLES : OUT std_logic_vector(12 downto 0); + STAGES : out STD_LOGIC_VECTOR (2 downto 0); + SETTLING_TIME : out STD_LOGIC_VECTOR (19 downto 0); + SYNC_ENABLED : out STD_LOGIC; + SYNC_MASTER : out STD_LOGIC; + PORT1_STAGE : out STD_LOGIC_VECTOR (2 downto 0); + PORT2_STAGE : out STD_LOGIC_VECTOR (2 downto 0); + PORT1_EN : out STD_LOGIC; + PORT2_EN : out STD_LOGIC; + REF_EN : out STD_LOGIC; + AMP_SHDN : out STD_LOGIC; + SOURCE_RF_EN : out STD_LOGIC; + LO_RF_EN : out STD_LOGIC; + SOURCE_CE_EN : out STD_LOGIC; + LO_CE_EN : out STD_LOGIC; + PORTSWITCH_EN : out STD_LOGIC; + LEDS : out STD_LOGIC_VECTOR(2 downto 0); + WINDOW_SETTING : out STD_LOGIC_VECTOR(1 downto 0); + ADC_PRESCALER : out STD_LOGIC_VECTOR(7 downto 0); + ADC_PHASEINC : out STD_LOGIC_VECTOR(11 downto 0); + INTERRUPT_ASSERTED : OUT std_logic; + RESET_MINMAX : out STD_LOGIC; + SWEEP_HALTED : in STD_LOGIC; + SWEEP_RESUME : out STD_LOGIC; + SPI_OVERWRITE_ENABLED : out STD_LOGIC; + SPI_OVERWRITE_DATA : out STD_LOGIC_VECTOR(14 downto 0); + DFT_BIN1_PHASEINC : out STD_LOGIC_VECTOR (15 downto 0); + DFT_DIFFBIN_PHASEINC : out STD_LOGIC_VECTOR (15 downto 0); + DFT_RESULT_READY : in STD_LOGIC; + DFT_OUTPUT : in STD_LOGIC_VECTOR (191 downto 0); + DFT_NEXT_OUTPUT : out STD_LOGIC; + DFT_ENABLE : out STD_LOGIC; + DEBUG_STATUS : in STD_LOGIC_VECTOR (10 downto 0) + ); + END COMPONENT; + + COMPONENT DFT + Generic (BINS : integer); + PORT( + CLK : IN std_logic; + RESET : IN std_logic; + PORT1 : IN std_logic_vector(17 downto 0); + PORT2 : IN std_logic_vector(17 downto 0); + NEW_SAMPLE : IN std_logic; + NSAMPLES : IN std_logic_vector(12 downto 0); + BIN1_PHASEINC : IN std_logic_vector(15 downto 0); + DIFFBIN_PHASEINC : IN std_logic_vector(15 downto 0); + NEXT_OUTPUT : IN std_logic; + RESULT_READY : OUT std_logic; + OUTPUT : OUT std_logic_vector(191 downto 0) + ); + END COMPONENT; + + COMPONENT SweepConfigMem + PORT ( + clka : IN STD_LOGIC; + ena : IN STD_LOGIC; + wea : IN STD_LOGIC_VECTOR(0 DOWNTO 0); + addra : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + dina : IN STD_LOGIC_VECTOR(95 DOWNTO 0); + clkb : IN STD_LOGIC; + addrb : IN STD_LOGIC_VECTOR(12 DOWNTO 0); + doutb : OUT STD_LOGIC_VECTOR(95 DOWNTO 0) + ); + END COMPONENT; + + COMPONENT Synchronizer + GENERIC(stages : integer); + PORT( + CLK : IN std_logic; + SYNC_IN : IN std_logic; + SYNC_OUT : OUT std_logic + ); + END COMPONENT; + + signal clk_pll : std_logic; + signal clk_locked : std_logic; + signal inv_clk_locked : std_logic; + signal int_reset : std_logic; + + -- PLL signals + signal source_reg_4 : std_logic_vector(31 downto 0); + signal source_reg_3 : std_logic_vector(31 downto 0); + signal source_reg_1 : std_logic_vector(31 downto 0); + signal source_reg_0 : std_logic_vector(31 downto 0); + signal lo_reg_4 : std_logic_vector(31 downto 0); + signal lo_reg_3 : std_logic_vector(31 downto 0); + signal lo_reg_1 : std_logic_vector(31 downto 0); + signal lo_reg_0 : std_logic_vector(31 downto 0); + signal reload_plls : std_logic; + signal source_reloaded : std_logic; + signal lo_reloaded : std_logic; + signal plls_reloaded : std_logic; + signal plls_locked : std_logic; + signal source_unlocked : std_logic; + signal lo_unlocked : std_logic; + + signal source_filter : std_logic_vector(1 downto 0); + + -- ADC signals + signal adc_trigger_sample : std_logic; + signal adc_port1_ready : std_logic; + signal adc_port1_data : std_logic_vector(15 downto 0); + signal adc_port2_data : std_logic_vector(15 downto 0); + signal adc_ref_data : std_logic_vector(15 downto 0); + signal adc_minmax : std_logic_vector(95 downto 0); + signal adc_reset_minmax : std_logic; + + signal port1_windowed : std_logic_vector(17 downto 0); + signal port2_windowed : std_logic_vector(17 downto 0); + signal ref_windowed : std_logic_vector(17 downto 0); + signal windowing_ready : std_logic; + + -- Sampling signals + signal sampling_busy : std_logic; + signal sampling_done : std_logic; + signal sampling_start : std_logic; + signal sampling_samples : std_logic_vector(12 downto 0); + signal sampling_user_samples : std_logic_vector(12 downto 0); + signal sampling_result : std_logic_vector(303 downto 0); + signal sampling_window : std_logic_vector(1 downto 0); + signal sampling_prescaler : std_logic_vector(7 downto 0); + signal sampling_phaseinc : std_logic_vector(11 downto 0); + + -- Sweep signals + signal sweep_points : std_logic_vector(12 downto 0); + signal sweep_stages : STD_LOGIC_VECTOR (2 downto 0); + signal sweep_sync_enabled: STD_LOGIC; + signal sweep_sync_master : STD_LOGIC; + signal sweep_port1_stage : STD_LOGIC_VECTOR (2 downto 0); + signal sweep_port2_stage : STD_LOGIC_VECTOR (2 downto 0); + signal sweep_config_data : std_logic_vector(95 downto 0); + signal sweep_config_address : std_logic_vector(12 downto 0); + signal sweep_source_filter : std_logic_vector(1 downto 0); + signal sweep_band : std_logic; + signal sweep_attenuator : std_logic_vector(6 downto 0); + + signal sweep_config_write_address : std_logic_vector(12 downto 0); + signal sweep_config_write_data : std_logic_vector(95 downto 0); + signal sweep_config_write : std_logic_vector(0 downto 0); + + signal sweep_reset : std_logic; + signal sweep_halted : std_logic; + signal sweep_resume : std_logic; + + signal sweep_excite_port1 : std_logic; + signal sweep_excite_port2 : std_logic; + + signal sweep_source_CE : std_logic; + + signal sweep_trigger_in : std_logic; + signal sweep_trigger_out : std_logic; + + -- Configuration signals + signal settling_time : std_logic_vector(19 downto 0); + signal def_reg_4 : std_logic_vector(31 downto 0); + signal def_reg_3 : std_logic_vector(31 downto 0); + signal def_reg_1 : std_logic_vector(31 downto 0); + signal def_reg_0 : std_logic_vector(31 downto 0); + signal user_leds : std_logic_vector(2 downto 0); + signal port1mix_en : std_logic; + signal port2mix_en : std_logic; + signal refmix_en : std_logic; + signal portswitch_en : std_logic; + signal SPI_source_CE : std_logic; + signal SPI_LO1_CE : std_logic; + signal SPI_LO1_RF_EN : std_logic; + + -- PLL/SPI internal mux + signal fpga_select : std_logic; + signal fpga_source_SCK : std_logic; + signal fpga_source_MOSI : std_logic; + signal fpga_source_LE : std_logic; + signal fpga_LO1_SCK : std_logic; + signal fpga_LO1_MOSI : std_logic; + signal fpga_LO1_LE : std_logic; + signal fpga_miso : std_logic; + + -- synchronized asynchronous inputs + signal aux1_sync : std_logic; + signal aux2_sync : std_logic; + signal aux3_sync : std_logic; + signal lo_ld_sync : std_logic; + signal source_ld_sync : std_logic; + signal nss_sync : std_logic; + + signal debug : std_logic_vector(10 downto 0); + signal intr : std_logic; + + -- HW overwrite signals + signal HW_overwrite_enabled : std_logic; + signal HW_overwrite_data : std_logic_vector(14 downto 0); + + -- DFT signals + signal dft_bin1_phaseinc : std_logic_vector (15 downto 0); + signal dft_diffbin_phaseinc : std_logic_vector (15 downto 0); + signal dft_ready : std_logic; + signal dft_output : std_logic_vector (191 downto 0); + signal dft_next_output : std_logic; + signal dft_enable : std_logic; + signal dft_reset : std_logic; +begin + + -- Reference CLK LED + LEDS(0) <= user_leds(2); + -- Lock status of PLLs + LEDS(1) <= clk_locked; + LEDS(2) <= LO1_LD; + LEDS(3) <= SOURCE_LD; + -- Sweep and active port + PORT_SELECT2 <= (sweep_excite_port2 and portswitch_en) when HW_overwrite_enabled = '0' else HW_overwrite_data(3); + PORT2_SELECT <= (sweep_excite_port2 and portswitch_en) when HW_overwrite_enabled = '0' else HW_overwrite_data(3); + PORT_SELECT1 <= (sweep_excite_port1 and portswitch_en) when HW_overwrite_enabled = '0' else HW_overwrite_data(4); + PORT1_SELECT <= (sweep_excite_port1 and portswitch_en) when HW_overwrite_enabled = '0' else HW_overwrite_data(4); + BAND_SELECT_HIGH <= not sweep_band when HW_overwrite_enabled = '0' else not HW_overwrite_data(5); + BAND_SELECT_LOW <= sweep_band when HW_overwrite_enabled = '0' else HW_overwrite_data(5); + PORT1_MIX2_EN <= port1mix_en; + PORT1_MIX1_EN <= not port1mix_en; + PORT2_MIX2_EN <= port2mix_en; + PORT2_MIX1_EN <= not port2mix_en; + REF_MIX2_EN <= refmix_en; + REF_MIX1_EN <= not refmix_en; + LEDS(4) <= not (not sweep_reset and sweep_excite_port2 and portswitch_en) when HW_overwrite_enabled = '0' else not HW_overwrite_data(3); + LEDS(5) <= not (not sweep_reset and sweep_excite_port1 and portswitch_en) when HW_overwrite_enabled = '0' else not HW_overwrite_data(4); + -- Uncommitted LEDs + LEDS(7 downto 6) <= user_leds(1 downto 0); + --LEDS(7) <= '0'; + MCU_INTR <= intr; + LO1_RF_EN <= '0' when EXTERNAL_MASTER_LO_SLAVE else SPI_LO1_RF_EN; + LO1_CE <= '0' when EXTERNAL_MASTER_LO_SLAVE else SPI_LO1_CE; + --LEDS(6) <= intr; + + MainCLK : PLL + port map( + -- Clock in ports + CLK_IN1 => CLK, + -- Clock out ports + CLK_OUT1 => clk_pll, + -- Status and control signals + RESET => RESET, + LOCKED => clk_locked + ); + + inv_clk_locked <= not clk_locked and not RESET; + + Inst_ResetDelay: ResetDelay + GENERIC MAP(CLK_DELAY => 100) + PORT MAP( + CLK => clk_pll, + IN_RESET => inv_clk_locked, + OUT_RESET => int_reset + ); + + Sync_AUX1 : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => MCU_AUX1, + SYNC_OUT => aux1_sync + ); + Sync_AUX2 : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => MCU_AUX2, + SYNC_OUT => aux2_sync + ); + Sync_AUX3 : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => MCU_AUX3, + SYNC_OUT => aux3_sync + ); + Sync_LO_LD : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => LO1_LD, + SYNC_OUT => lo_ld_sync + ); + Sync_SOURCE_LD : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => SOURCE_LD, + SYNC_OUT => source_ld_sync + ); + Sync_NSS : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => MCU_NSS, + SYNC_OUT => nss_sync + ); + Sync_TRIGGER_IN : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => TRIGGER_IN, + SYNC_OUT => sweep_trigger_in + ); + Sync_TRIGGER_OUT : Synchronizer + GENERIC MAP(stages => 2) + PORT MAP( + CLK => clk_pll, + SYNC_IN => sweep_trigger_out, + SYNC_OUT => TRIGGER_OUT + ); + + + Source: MAX2871 + GENERIC MAP(CLK_DIV => 6) + PORT MAP( + CLK => clk_pll, + RESET => int_reset, + REG4 => source_reg_4, + REG3 => source_reg_3, + REG1 => source_reg_1, + REG0 => source_reg_0, + RELOAD => reload_plls, + CLK_OUT => fpga_source_SCK, + MOSI => fpga_source_MOSI, + LE => fpga_source_LE, + DONE => source_reloaded + ); + LO1: MAX2871 + GENERIC MAP(CLK_DIV => 6) + PORT MAP( + CLK => clk_pll, + RESET => int_reset, + REG4 => lo_reg_4, + REG3 => lo_reg_3, + REG1 => lo_reg_1, + REG0 => lo_reg_0, + RELOAD => reload_plls, + CLK_OUT => fpga_LO1_SCK, + MOSI => fpga_LO1_MOSI, + LE => fpga_LO1_LE, + DONE => lo_reloaded + ); + plls_reloaded <= source_reloaded and lo_reloaded; + plls_locked <= source_ld_sync when EXTERNAL_MASTER_LO_SLAVE else source_ld_sync and lo_ld_sync; + + Port1ADC: MCP33131 + GENERIC MAP(CLK_DIV => 2, + CONVCYCLES => 77) + PORT MAP( + CLK => clk_pll, + RESET => int_reset, + START => adc_trigger_sample, + READY => adc_port1_ready, + DATA => adc_port1_data, + MIN => adc_minmax(15 downto 0), + MAX => adc_minmax(31 downto 16), + RESET_MINMAX => adc_reset_minmax, + SDO => PORT1_SDO, + CONVSTART => PORT1_CONVSTART, + SCLK => PORT1_SCLK + ); + Port2ADC: MCP33131 + GENERIC MAP(CLK_DIV => 2, + CONVCYCLES => 77) + PORT MAP( + CLK => clk_pll, + RESET => int_reset, + START => adc_trigger_sample, + READY => open, -- synchronous ADCs, ready indicated by port 1 ADC + DATA => adc_port2_data, + MIN => adc_minmax(47 downto 32), + MAX => adc_minmax(63 downto 48), + RESET_MINMAX => adc_reset_minmax, + SDO => PORT2_SDO, + CONVSTART => PORT2_CONVSTART, + SCLK => PORT2_SCLK + ); + RefADC: MCP33131 + GENERIC MAP(CLK_DIV => 2, + CONVCYCLES => 77) + PORT MAP( + CLK => clk_pll, + RESET => int_reset, + START => adc_trigger_sample, + READY => open, -- synchronous ADCs, ready indicated by port 1 ADC + DATA => adc_ref_data, + MIN => adc_minmax(79 downto 64), + MAX => adc_minmax(95 downto 80), + RESET_MINMAX => adc_reset_minmax, + SDO => REF_SDO, + CONVSTART => REF_CONVSTART, + SCLK => REF_SCLK + ); + + + Windower: Windowing PORT MAP( + CLK => clk_pll, + RESET => sampling_start, + WINDOW_TYPE => sampling_window, + PORT1_RAW => adc_port1_data, + PORT2_RAW => adc_port2_data, + REF_RAW => adc_ref_data, + ADC_READY => adc_port1_ready, + PORT1_WINDOWED => port1_windowed, + PORT2_WINDOWED => port2_windowed, + REF_WINDOWED => ref_windowed, + WINDOWING_DONE => windowing_ready, + NSAMPLES => sampling_samples + ); + + Sampler: Sampling + GENERIC MAP(CLK_CYCLES_PRE_DONE => 0) + PORT MAP( + CLK => clk_pll, + RESET => sweep_reset, + ADC_PRESCALER => sampling_prescaler, + PHASEINC => sampling_phaseinc, + PORT1 => port1_windowed, + PORT2 => port2_windowed, + REF => ref_windowed, + ADC_START => adc_trigger_sample, + NEW_SAMPLE => windowing_ready, + DONE => open, + PRE_DONE => open, + START => sampling_start, + SAMPLES => sampling_samples, + PORT1_I => sampling_result(287 downto 240), + PORT1_Q => sampling_result(239 downto 192), + PORT2_I => sampling_result(191 downto 144), + PORT2_Q => sampling_result(143 downto 96), + REF_I => sampling_result(95 downto 48), + REF_Q => sampling_result(47 downto 0), + ACTIVE => sampling_busy + ); + + sweep_reset <= not aux3_sync; + + SweepModule: Sweep PORT MAP( + CLK => clk_pll, + RESET => sweep_reset, + NPOINTS => sweep_points, + CONFIG_ADDRESS => sweep_config_address, + CONFIG_DATA => sweep_config_data, + USER_NSAMPLES => sampling_user_samples, + NSAMPLES => sampling_samples, + SETTLING_TIME => settling_time, + SAMPLING_BUSY => sampling_busy, + SAMPLING_DONE => sampling_done, + START_SAMPLING => sampling_start, + BAND_SELECT => sweep_band, + MAX2871_DEF_4 => def_reg_4, + MAX2871_DEF_3 => def_reg_3, + MAX2871_DEF_1 => def_reg_1, + MAX2871_DEF_0 => def_reg_0, + SOURCE_REG_4 => source_reg_4, + SOURCE_REG_3 => source_reg_3, + SOURCE_REG_1 => source_reg_1, + SOURCE_REG_0 => source_reg_0, + LO_REG_4 => lo_reg_4, + LO_REG_3 => lo_reg_3, + LO_REG_1 => lo_reg_1, + LO_REG_0 => lo_reg_0, + RELOAD_PLL_REGS => reload_plls, + PLL_RELOAD_DONE => plls_reloaded, + PLL_LOCKED => plls_locked, + SWEEP_HALTED => sweep_halted, + SWEEP_RESUME => sweep_resume, + SYNC_ENABLED => sweep_sync_enabled, + SYNC_MASTER => sweep_sync_master, + TRIGGER_IN => sweep_trigger_in, + TRIGGER_OUT => sweep_trigger_out, + NEW_DATA => sampling_done, + ATTENUATOR => sweep_attenuator, + SOURCE_FILTER => sweep_source_filter, + STAGES => sweep_stages, + PORT1_STAGE => sweep_port1_stage, + PORT2_STAGE => sweep_port2_stage, + + PORT1_ACTIVE => sweep_excite_port1, + PORT2_ACTIVE => sweep_excite_port2, + SOURCE_CE => sweep_source_CE, + DEBUG_STATUS => debug, + RESULT_INDEX => sampling_result(303 downto 288) + ); + + -- Source filter mapping + source_filter <= sweep_source_filter when HW_overwrite_enabled = '0' else HW_overwrite_data(7 downto 6); + FILT_IN_C1 <= '0' when source_filter = "00" or source_filter = "10" else '1'; + FILT_IN_C2 <= '0' when source_filter = "11" or source_filter = "10" else '1'; + FILT_OUT_C1 <= '0' when source_filter = "00" or source_filter = "10" else '1'; + FILT_OUT_C2 <= '0' when source_filter = "00" or source_filter = "01" else '1'; + + ATTENUATION <= sweep_attenuator when HW_overwrite_enabled = '0' else HW_overwrite_data(14 downto 8); + + -- PLL/SPI mux + -- only select FPGA SPI slave when both AUX1 and AUX2 are low + fpga_select <= nss_sync when aux1_sync = '0' and aux2_sync = '0' else '1'; + -- direct connection between MCU and SOURCE when AUX1 is high + SOURCE_CLK <= MCU_SCK when aux1_sync = '1' else fpga_source_SCK; + SOURCE_MOSI <= MCU_MOSI when aux1_sync = '1' else fpga_source_MOSI; + SOURCE_LE <= MCU_NSS when aux1_sync = '1' else fpga_source_LE; + -- Keep the LO1 synthesizer interface completely quiet on dedicated external-LO slaves. + -- In the normal build AUX2 still exposes the direct MCU->LO1 path for manual control/debug. + LO1_CLK <= '0' when EXTERNAL_MASTER_LO_SLAVE else MCU_SCK when aux2_sync = '1' else fpga_LO1_SCK; + LO1_MOSI <= '0' when EXTERNAL_MASTER_LO_SLAVE else MCU_MOSI when aux2_sync = '1' else fpga_LO1_MOSI; + LO1_LE <= '0' when EXTERNAL_MASTER_LO_SLAVE else MCU_NSS when aux2_sync = '1' else fpga_LO1_LE; + -- select MISO source + MCU_MISO <= SOURCE_MUX when aux1_sync = '1' else + LO1_MUX when aux2_sync = '1' else + fpga_miso when MCU_NSS = '0' else + 'Z'; + + SOURCE_CE <= SPI_source_CE when sweep_reset = '1' else sweep_source_CE; + + lo_unlocked <= '0' when EXTERNAL_MASTER_LO_SLAVE else not lo_ld_sync; + source_unlocked <= not source_ld_sync; + + SPI: SPICommands PORT MAP( + CLK => clk_pll, + RESET => int_reset, + SCLK => MCU_SCK, + MOSI => MCU_MOSI, + MISO => fpga_miso, + NSS => fpga_select, + NEW_SAMPLING_DATA => sampling_done, + SAMPLING_RESULT => sampling_result, + ADC_MINMAX => adc_minmax, + SOURCE_UNLOCKED => source_unlocked, + LO_UNLOCKED => lo_unlocked, + MAX2871_DEF_4 => def_reg_4, + MAX2871_DEF_3 => def_reg_3, + MAX2871_DEF_1 => def_reg_1, + MAX2871_DEF_0 => def_reg_0, + SWEEP_DATA => sweep_config_write_data, + SWEEP_ADDRESS => sweep_config_write_address, + SWEEP_WRITE => sweep_config_write, + SWEEP_POINTS => sweep_points, + NSAMPLES => sampling_user_samples, + PORT1_EN => port1mix_en, + PORT2_EN => port2mix_en, + REF_EN => refmix_en, + AMP_SHDN => AMP_PWDN, + SOURCE_RF_EN => SOURCE_RF_EN, + LO_RF_EN => SPI_LO1_RF_EN, + SOURCE_CE_EN => SPI_source_CE, + LO_CE_EN => SPI_LO1_CE, + PORTSWITCH_EN => portswitch_en, + LEDS => user_leds, + WINDOW_SETTING => sampling_window, + ADC_PRESCALER => sampling_prescaler, + ADC_PHASEINC => sampling_phaseinc, + INTERRUPT_ASSERTED => intr, + RESET_MINMAX => adc_reset_minmax, + SWEEP_HALTED => sweep_halted, + SWEEP_RESUME => sweep_resume, + STAGES => sweep_stages, + SETTLING_TIME => settling_time, + SYNC_ENABLED => sweep_sync_enabled, + SYNC_MASTER => sweep_sync_master, + PORT1_STAGE => sweep_port1_stage, + PORT2_STAGE => sweep_port2_stage, + SPI_OVERWRITE_ENABLED => HW_overwrite_enabled, + SPI_OVERWRITE_DATA => HW_overwrite_data, + DFT_BIN1_PHASEINC => dft_bin1_phaseinc, + DFT_DIFFBIN_PHASEINC => dft_diffbin_phaseinc, + DFT_RESULT_READY => dft_ready, + DFT_OUTPUT => dft_output, + DFT_NEXT_OUTPUT => dft_next_output, + DFT_ENABLE => dft_enable, + DEBUG_STATUS => debug + ); + + dft_reset <= not dft_enable; + + SA_DFT: DFT GENERIC MAP(BINS => 96) + PORT MAP( + CLK => clk_pll, + RESET => dft_reset, + PORT1 => port1_windowed, + PORT2 => port2_windowed, + NEW_SAMPLE => windowing_ready, + NSAMPLES => sampling_samples, + BIN1_PHASEINC => dft_bin1_phaseinc, + DIFFBIN_PHASEINC => dft_diffbin_phaseinc, + RESULT_READY => dft_ready, + OUTPUT => dft_output, + NEXT_OUTPUT => dft_next_output + ); + + ConfigMem : SweepConfigMem + PORT MAP ( + clka => clk_pll, + ena => '1', + wea => sweep_config_write, + addra => sweep_config_write_address, + dina => sweep_config_write_data, + clkb => clk_pll, + addrb => sweep_config_address, + doutb => sweep_config_data + ); + +end Behavioral; diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top_external_lo_slave.bin b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top_external_lo_slave.bin new file mode 100644 index 0000000..ce7e3d6 Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top_external_lo_slave.bin differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top_master.bin b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top_master.bin new file mode 100644 index 0000000..25ae99e Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/top_master.bin differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/window.vhd b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/window.vhd new file mode 100644 index 0000000..5281e6f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/VNA/window.vhd @@ -0,0 +1,77 @@ +---------------------------------------------------------------------------------- +-- Company: +-- Engineer: +-- +-- Create Date: 13:28:54 09/16/2020 +-- Design Name: +-- Module Name: window - Behavioral +-- Project Name: +-- Target Devices: +-- Tool versions: +-- Description: +-- +-- Dependencies: +-- +-- Revision: +-- Revision 0.01 - File Created +-- Additional Comments: +-- +---------------------------------------------------------------------------------- +library IEEE; +use IEEE.STD_LOGIC_1164.ALL; +use std.textio.all; +use ieee.std_logic_textio.all; + +-- Uncomment the following library declaration if using +-- arithmetic functions with Signed or Unsigned values +use IEEE.NUMERIC_STD.ALL; + +-- Uncomment the following library declaration if instantiating +-- any Xilinx primitives in this code. +--library UNISIM; +--use UNISIM.VComponents.all; + +entity window is + Port ( CLK : in STD_LOGIC; + INDEX : in STD_LOGIC_VECTOR (6 downto 0); + WINDOW_TYPE : in STD_LOGIC_VECTOR (1 downto 0); + VALUE : out STD_LOGIC_VECTOR (15 downto 0)); +end window; + +architecture Behavioral of window is + type window_data is array(127 downto 0) of std_logic_vector(15 downto 0); + + impure function InitWindowDataFromFile (RomFileName : in string) return window_data is + FILE romfile : text is in RomFileName; + variable RomFileLine : line; + variable rom : window_data; + begin + for i in window_data'range loop + readline(romfile, RomFileLine); + read(RomFileLine, rom(i)); + end loop; + return rom; + end function; + + constant hann : window_data := InitWindowDataFromFile("Hann.dat"); + constant kaiser : window_data := InitWindowDataFromFile("Kaiser.dat"); + constant flattop : window_data := InitWindowDataFromFile("Flattop.dat"); + signal i : integer range 0 to 127; +begin + + i <= to_integer(unsigned(INDEX)); + + process(CLK) + begin + if rising_edge(CLK) then + case WINDOW_TYPE is + when "00" => VALUE <= "0001000000000000"; + when "01" => VALUE <= kaiser(i); + when "10" => VALUE <= hann(i); + when "11" => VALUE <= flattop(i); + when others => VALUE <= (others => '0'); + end case; + end if; + end process; +end Behavioral; + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/WindowCoefficientGenerator.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/WindowCoefficientGenerator.py new file mode 100755 index 0000000..c6674ba --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/FPGA/WindowCoefficientGenerator.py @@ -0,0 +1,76 @@ +#!/usr/bin/env python3 + +import math +import numpy as np + +# Adapt these constants to your window requirements +NUMBER_OF_COEFFICIENTS = 128 +BITS_PER_COEFFICIENT = 16 + +# If set to true, the coefficients will be scaled to include the window amplitude correction factor. +# They will also be scaled to 1/8 to have enough headroom for the correction. +INCLUDE_AMPLITUDE_CORRECTION = True + +# Don't change anything below this line + +def bindigits(n, bits): + s = bin(n & int("1"*bits, 2))[2:] + return ("{0:0>%s}" % (bits)).format(s) + +class Window: + def __init__(self, name, function, correction): + self.name = name + self.function = function + self.correction = correction + self.sum = 0 + self.num_coeff = 0 + + def StartFile(self): + self.file = open(self.name+".dat", "w") + + def AddCoefficient(self, normalized_index): + if not hasattr(self, 'file'): + self.StartFile() + value = self.function(normalized_index) + self.sum = self.sum + value + self.num_coeff = self.num_coeff + 1 + if INCLUDE_AMPLITUDE_CORRECTION: + value = value * self.correction / 8.0 + value = int(value * (2 ** (BITS_PER_COEFFICIENT-1))) + # prevent overflow + if value >= (2 ** (BITS_PER_COEFFICIENT-1)): + value = value - 1 + output = bindigits(value, BITS_PER_COEFFICIENT) + self.file.write(output+"\n") + + def CorrectionFactor(self): + return 1.0 / (self.sum / self.num_coeff) + +def calc_hann(i): + return math.sin(math.pi * i) ** 2 + +def calc_kaiser(i): + return np.kaiser(NUMBER_OF_COEFFICIENTS, 9.4)[int(i * NUMBER_OF_COEFFICIENTS)] + +def calc_flattop(i): + a0 = 0.21557895 + a1 = 0.41663158 + a2 = 0.277263158 + a3 = 0.083578947 + a4 = 0.006947368 + return a0 - a1 * math.cos(2*math.pi*i) + a2 * math.cos(4*math.pi*i) - a3 * math.cos(6*math.pi*i) + a4 * math.cos(8*math.pi*i) + +WindowList = [] +WindowList.append(Window("Hann", calc_hann, 2.00)) +WindowList.append(Window("Kaiser", calc_kaiser, 2.50)) +WindowList.append(Window("Flattop", calc_flattop, 4.64)) + + +for i in range(NUMBER_OF_COEFFICIENTS): + norm_i = (i+0.5) / NUMBER_OF_COEFFICIENTS + for w in WindowList: + w.AddCoefficient(norm_i) + +for w in WindowList: + print(w.CorrectionFactor()) + w.file.close(); diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/LICENSE b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/LICENSE new file mode 100644 index 0000000..f288702 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program 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 program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/__init__.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/__init__.py new file mode 100644 index 0000000..095fdf8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/__init__.py @@ -0,0 +1,10 @@ +from .librevna_usb_transport import list_connected_device_serial_numbers +from .multi_device_vna_controller import MultiDeviceVnaController +from .sweep_measurement_models import SweepConfiguration, SweepMeasurementResult + +__all__ = [ + "MultiDeviceVnaController", + "SweepConfiguration", + "SweepMeasurementResult", + "list_connected_device_serial_numbers", +] diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/description.md b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/description.md new file mode 100644 index 0000000..1354a54 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/description.md @@ -0,0 +1,383 @@ +LibreVNA вообще, что именно делает наш текущий Python-код, какие пакеты мы используем, как они кодируются и парсятся, и почему `_power_level_centidecibels_milliwatt` сейчас не нужен. + +**1. Где вообще начинается протокол** +У LibreVNA поверх USB идёт свой бинарный протокол, а не `tty/serial`. Это видно и в документации, и в firmware: +- USB endpoints: [Device_protocol_v13.tex](/home/europa/Documents/LibreVNA/Documentation/DeveloperInfo/Device_protocol_v13.tex:176) +- актуальный код firmware: [Protocol.hpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.hpp:573) + +На USB уровне: +- `0x01` — host -> device +- `0x81` — device -> host +- `0x82` — debug ASCII logs + +В нашем коде data transport работает только через: +- [librevna_usb_transport.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_usb_transport.py) + +То есть: +- мы шлём команды в `0x01` +- читаем протокольные пакеты из `0x81` +- `0x82` вообще не используем + +**2. Общая структура любого LibreVNA packet** +Общий framing один и тот же для почти всех packet types. Это описано в docs и реализовано в firmware: +- docs: [Device_protocol_v13.tex](/home/europa/Documents/LibreVNA/Documentation/DeveloperInfo/Device_protocol_v13.tex:208) +- firmware decode/encode: [Protocol.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.cpp:5) +- field offsets/constants: [PacketConstants.h](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/PacketConstants.h:10) + +Структура такая: +1. `Header` — 1 байт, всегда `0x5A` +2. `Length` — 2 байта, общая длина всего packet целиком +3. `Type` — 1 байт, номер packet type +4. `Payload` — переменная длина +5. `CRC32` — 4 байта + +В Python это делает: +- `encode_protocol_frame(...)` в [librevna_device_protocol.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_device_protocol.py:31) +- `extract_complete_protocol_frames(...)` в [librevna_device_protocol.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_device_protocol.py:45) + +`encode_protocol_frame(...)`: +- считает `total_frame_length = 8 + len(payload)` +- пакует header/length/type +- считает CRC32 +- дописывает CRC в конец + +`extract_complete_protocol_frames(...)`: +- получает поток байт, а не “готовый packet” +- ищет `0x5A` +- читает `length` +- если полного frame ещё нет, оставляет хвост в буфере +- если frame полный, возвращает `(packet_type, payload)` + +Очень важно: +- наш Python сейчас **не проверяет CRC** +- firmware проверяет CRC для почти всех пакетов, но для `VNADatapoint` у них особый случай: CRC всегда `0`, чтобы не тратить время на вычисление CRC для каждого datapoint, см. [Protocol.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.cpp:69) и [Protocol.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.cpp:147) + +То есть сейчас Python делает “framing by magic + length”, но не “integrity check”. + +**3. Какие packet types вообще бывают** +Полный актуальный enum лежит тут: +- [Protocol.hpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.hpp:573) + +Там есть много типов: +- `SweepSettings = 2` +- `ManualStatus = 3` +- `ManualControl = 4` +- `DeviceInfo = 5` +- `FirmwarePacket = 6` +- `Ack = 7` +- `ClearFlash = 8` +- `PerformFirmwareUpdate = 9` +- `Nack = 10` +- `Reference = 11` +- `Generator = 12` +- `SpectrumAnalyzerSettings = 13` +- `SpectrumAnalyzerResult = 14` +- `RequestDeviceInfo = 15` +- ... +- `SetIdle = 20` +- `DeviceStatus = 25` +- `RequestDeviceStatus = 26` +- `VNADatapoint = 27` +- `SetTrigger = 28` +- `ClearTrigger = 29` +- `InitiateSweep = 32` +- `PerformAction = 33` + +Но наш текущий драйвер использует только маленький поднабор. Это зашито в: +- [librevna_device_protocol.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_device_protocol.py:9) + +Мы используем: +- `SweepSettings = 2` +- `Ack = 7` +- `Nack = 10` +- `Reference = 11` +- `SetIdle = 20` +- `VNADatapoint = 27` + +То есть текущий драйвер — это именно VNA sweep driver, а не “полная реализация всех режимов прибора”. + +**4. Какие именно пакеты использует наш драйвер** +Разберу их по смыслу. + +**`ReferenceSettings` / packet type `11`** +Структура в firmware: +- [Protocol.hpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.hpp:186) + +Поля: +- `uint32 ExtRefOutputFreq` +- битовое поле: + - `AutomaticSwitch` + - `UseExternalRef` + +В Python это строит: +- `build_reference_settings_payload(...)` в [librevna_device_protocol.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_device_protocol.py:74) + +Сейчас мы шлём: +- `output_frequency_hz = 0` +- `force_external_reference = True` + +То есть: +- никакой `Ref Out` не включаем +- просто принудительно говорим устройству использовать внешний `10 MHz` + +Это применяется в controller: +- [multi_device_vna_controller.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/multi_device_vna_controller.py:183) + +**`SweepSettings` / packet type `2`** +Структура в firmware: +- [Protocol.hpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.hpp:155) + +Поля: +- `f_start` +- `f_stop` +- `points` +- `if_bandwidth` +- `cdbm_excitation_start` +- bitfield config: + - `standby` + - `syncMaster` + - `suppressPeaks` + - `fixedPowerSetting` + - `logSweep` + - `syncMode` +- stage mapping bitfield +- `cdbm_excitation_stop` +- `dwell_time` + +В Python это строит: +- `build_sweep_settings_payload(...)` в [librevna_device_protocol.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_device_protocol.py:92) + +Что мы туда кладём: +- start/stop/points/ifbw — из `SweepConfiguration` +- power start/stop — одинаковые +- `fixedPowerSetting = 1` +- `suppressPeaks = 1` +- `logSweep = 0` +- `syncMode = 3`, если есть slaves +- `syncMaster = 1` только у master +- `port_1_stimulus_stage = 0` для master, `1` для slave + +Смысл: +- master возбуждает `Port 1` +- slaves только принимают +- sync идёт через hardware trigger path + +Этот packet реально запускает VNA setup в firmware: +- [App.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/App.cpp:126) + +**`SetIdle` / packet type `20`** +Очень простой packet, без payload. +В firmware: +- [App.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/App.cpp:196) + +Он переводит устройство в idle: +- выключает активный режим +- останавливает sweep path + +У нас он используется только как service-command: +- остановить continuous sweep +- cleanup при ошибке +- `close()` + +Это делает controller: +- [multi_device_vna_controller.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/multi_device_vna_controller.py:173) + +**`Ack` / `Nack` / packet types `7` и `10`** +Это ответы устройства на команды host. +В firmware: +- enum: [Protocol.hpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.hpp:581) +- отправка `Ack`/`Nack`: [App.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/App.cpp:129) + +В transport: +- `wait_for_acknowledgement(...)` в [librevna_usb_transport.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_usb_transport.py:62) + +Логика: +- читаем входящие пакеты +- если пришёл `Ack`, команда считается применённой +- если пришёл `Nack`, бросаем exception +- прочие asynchronous packets просто пропускаем + +**`VNADatapoint` / packet type `27`** +Это главный поток измерения. +Структура в firmware: +- template `VNADatapoint`: [Protocol.hpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.hpp:25) +- декодирование: [Protocol.cpp](/home/europa/Documents/LibreVNA/Software/VNA_embedded/Application/Communication/Protocol.cpp:79) + +Payload такой: +1. `frequency` — `uint64`, 8 байт +2. `cdBm` — `int16`, 2 байта +3. `pointNum` — `uint16`, 2 байта +4. `real_values` — `n * float32` +5. `imag_values` — `n * float32` +6. `descr_values` — `n * uint8` + +То есть фиксированный header payload имеет длину 12 байт: +- `8 + 2 + 2` + +А дальше идёт `n` значений, каждое занимает: +- `4` байта real +- `4` байта imag +- `1` байт descriptor +- итого `9` байт на одно значение + +В Python это парсится тут: +- `parse_vna_datapoint_payload(...)` в [librevna_device_protocol.py](/home/europa/Documents/LibreVNA/Python/librevna_multi_device_driver/librevna_device_protocol.py:134) + +Алгоритм: +- читаем `frequency_hz`, `power`, `point_index` через `struct.unpack_from(" bytes: + """Wrap a packet payload in the LibreVNA transport frame.""" + + total_frame_length = 8 + len(payload) + frame_without_crc = struct.pack( + " tuple[list[tuple[int, bytes]], bytes]: + """ + Extract every complete protocol frame from a byte stream buffer. + + Returns a tuple of: + 1. a list of `(packet_type, payload)` tuples + 2. the unconsumed trailing bytes that do not yet form a full frame + """ + + extracted_packets: list[tuple[int, bytes]] = [] + while len(buffered_bytes) >= 4: + if buffered_bytes[0] != FRAME_HEADER_MAGIC: + buffered_bytes = buffered_bytes[1:] + continue + + total_frame_length = struct.unpack_from(" bytes: + """Build the ReferenceSettings payload.""" + + automatic_reference_switch = 0 + external_input_configuration_bits = ( + automatic_reference_switch << 0 + | force_external_reference << 1 + ) + return struct.pack( + " bytes: + """Build the current protocol-v14 SweepSettings payload.""" + + excitation_power_centidecibels_milliwatt = int(sweep_configuration.power_dbm * 100) + dwell_time_microseconds = max( + 0, + min(int(sweep_configuration.dwell_us), 0xFFFF), + ) + synchronization_mode = ( + SYNC_MODE_HARDWARE_TRIGGER if synchronization_enabled else 0 + ) + + configuration_bits = ( + 0 << 0 + | is_synchronization_master << 1 + | 1 << 2 + | 1 << 3 + | 0 << 4 + | synchronization_mode << 5 + ) + + port_1_stimulus_stage = 0 if is_synchronization_master else 1 + stage_configuration_bits = 0 | port_1_stimulus_stage << 3 | 1 << 6 + + return struct.pack( + " Optional[ParsedVnaDatapoint]: + """Decode one VNADatapoint payload into a structured Python object.""" + + fixed_header_length_bytes = 12 + per_value_storage_length_bytes = 9 + + if len(payload) < fixed_header_length_bytes: + return None + + frequency_hz, _power_level_centidecibels_milliwatt, point_index = struct.unpack_from( + " Optional[complex]: + """Look up one complex receiver value by stage, receiver type, and port number.""" + + required_port_bit = (1 << (required_port_number - 1)) if required_port_number else 0 + for description_mask, complex_value in receiver_values_by_description_mask.items(): + if (description_mask >> 5) != stage_index: + continue + if bool(description_mask & 0x10) != is_reference_receiver: + continue + if required_port_bit and not (description_mask & required_port_bit): + continue + return complex_value + return None diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/librevna_usb_transport.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/librevna_usb_transport.py new file mode 100644 index 0000000..8e72b50 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/librevna_usb_transport.py @@ -0,0 +1,169 @@ +import logging +import queue +import threading +import time + +import usb.core +import usb.util + +try: + import libusb_package +except ImportError: + libusb_package = None + +from .librevna_device_protocol import ( + PacketType, + encode_protocol_frame, + extract_complete_protocol_frames, +) + + +USB_VENDOR_ID = 0x1209 +USB_PRODUCT_ID = 0x4121 +USB_DATA_ENDPOINT_OUT = 0x01 +USB_DATA_ENDPOINT_IN = 0x81 + +transport_logger = logging.getLogger(__name__) + + +class LibreVnaUsbBackendError(RuntimeError): + """Raised when PyUSB cannot access a libusb backend.""" + + +def _build_missing_backend_message() -> str: + return ( + "PyUSB could not find a libusb backend. " + "On Windows, install the Python USB backend with " + "`python -m pip install -r Python/requirements.txt` from the repository root " + "or `python -m pip install libusb-package` inside the active virtual environment. " + "If the LibreVNA GUI already sees the device, the USB driver is likely fine and " + "only the Python libusb DLL is missing." + ) + + +def _usb_find(**kwargs): + if libusb_package is not None: + return libusb_package.find(**kwargs) + + try: + return usb.core.find(**kwargs) + except usb.core.NoBackendError as exc: + raise LibreVnaUsbBackendError(_build_missing_backend_message()) from exc + + +class LibreVnaUsbBulkConnection: + """USB bulk transport wrapper for one LibreVNA device.""" + + _USB_TRANSFER_TIMEOUT_MS = 1_000 + + def __init__(self, serial_number: str) -> None: + usb_device = _usb_find( + idVendor=USB_VENDOR_ID, + idProduct=USB_PRODUCT_ID, + serial_number=serial_number, + ) + if usb_device is None: + raise RuntimeError(f"LibreVNA with serial {serial_number!r} not found on USB") + + try: + if usb_device.is_kernel_driver_active(0): + usb_device.detach_kernel_driver(0) + except (usb.core.USBError, NotImplementedError): + pass + + usb_device.set_configuration() + + self.serial_number = serial_number + self._usb_device = usb_device + self._received_packets: queue.Queue[tuple[int, bytes]] = queue.Queue() + self._stop_requested = threading.Event() + self._transmit_lock = threading.Lock() + self._receive_thread = threading.Thread( + target=self._receive_packets_forever, + daemon=True, + name=f"vna-rx-{serial_number[:8]}", + ) + self._receive_thread.start() + + def close(self) -> None: + self._stop_requested.set() + self._receive_thread.join(timeout=0.5) + usb.util.dispose_resources(self._usb_device) + + def drain_received_packets(self) -> list[tuple[int, bytes]]: + """Remove all already-buffered packets without blocking.""" + + drained_packets: list[tuple[int, bytes]] = [] + while True: + try: + drained_packets.append(self._received_packets.get_nowait()) + except queue.Empty: + return drained_packets + + def send_packet(self, packet_type: int, payload: bytes = b"") -> None: + with self._transmit_lock: + self._usb_device.write( + USB_DATA_ENDPOINT_OUT, + encode_protocol_frame(packet_type, payload), + timeout=self._USB_TRANSFER_TIMEOUT_MS, + ) + + def receive_packet(self, timeout_seconds: float = 2.0) -> tuple[int, bytes]: + """Wait for the next received packet.""" + + return self._received_packets.get(timeout=timeout_seconds) + + def wait_for_acknowledgement(self, timeout_seconds: float = 2.0) -> None: + """Wait for an ACK packet while ignoring unrelated asynchronous packets.""" + + end_time_monotonic = time.monotonic() + timeout_seconds + while True: + remaining_seconds = end_time_monotonic - time.monotonic() + if remaining_seconds <= 0: + raise TimeoutError(f"ACK not received within {timeout_seconds} s") + + packet_type, _payload = self.receive_packet(timeout_seconds=remaining_seconds) + if packet_type == PacketType.ACKNOWLEDGE: + return + if packet_type == PacketType.NEGATIVE_ACKNOWLEDGE: + raise RuntimeError("Device returned NACK") + + def _receive_packets_forever(self) -> None: + buffered_bytes = b"" + while not self._stop_requested.is_set(): + try: + usb_chunk = bytes( + self._usb_device.read( + USB_DATA_ENDPOINT_IN, + 4096, + timeout=100, + ) + ) + except usb.core.USBTimeoutError: + continue + except Exception as exc: + if not self._stop_requested.is_set(): + transport_logger.error( + "USB read error on %s: %s", + self.serial_number, + exc, + ) + break + + buffered_bytes += usb_chunk + extracted_packets, buffered_bytes = extract_complete_protocol_frames( + buffered_bytes + ) + for packet in extracted_packets: + self._received_packets.put(packet) + + +def list_connected_device_serial_numbers() -> list[str]: + """Return the serial numbers of all connected LibreVNA devices.""" + + connected_devices = _usb_find( + idVendor=USB_VENDOR_ID, + idProduct=USB_PRODUCT_ID, + find_all=True, + ) + return [device.serial_number for device in (connected_devices or [])] diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/multi_device_vna_controller.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/multi_device_vna_controller.py new file mode 100644 index 0000000..e46f47b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/multi_device_vna_controller.py @@ -0,0 +1,223 @@ +import time +from collections.abc import Iterator, Sequence +from dataclasses import replace +from typing import Optional + +from .librevna_device_protocol import ( + PacketType, + build_reference_settings_payload, + build_sweep_settings_payload, +) +from .librevna_usb_transport import ( + LibreVnaUsbBulkConnection, +) +from .running_sweep_cycle_collection import collect_complete_running_sweep_cycles +from .sweep_measurement_models import SweepConfiguration, SweepMeasurementResult + + +class MultiDeviceVnaController: + """ + Multi-device LibreVNA controller for synchronized forward S-parameter sweeps. + + Port mapping: + master Port 1 / Port 2 → S11 / S21 + slave 0 Port 1 / Port 2 → S31 / S41 + slave 1 Port 1 / Port 2 → S51 / S61 + """ + + def __init__( + self, + master_serial_number: str, + slave_serial_numbers: Sequence[str] = (), + force_external_reference: bool = True, + ) -> None: + self._master_device = LibreVnaUsbBulkConnection(master_serial_number) + self._slave_devices = [ + LibreVnaUsbBulkConnection(slave_serial_number) + for slave_serial_number in slave_serial_numbers + ] + self._all_devices = [self._master_device, *self._slave_devices] + self._synchronization_enabled = len(self._slave_devices) > 0 + self._force_external_reference = force_external_reference + self._reference_configuration_applied = False + self._last_applied_sweep_configuration: Optional[SweepConfiguration] = None + self._sweep_is_running = False + self._is_closed = False + + def __enter__(self): + return self + + def __exit__(self, *_): + self.close() + + def close(self) -> None: + if self._is_closed: + return + + self._is_closed = True + self._send_idle_to_all_devices() + for device_connection in self._all_devices: + device_connection.close() + + def stop_continuous_sweep(self) -> None: + """Stop the currently running sweep without closing the controller.""" + + if self._is_closed: + return + self._send_idle_to_all_devices() + + def configure_continuous_sweep( + self, + sweep_configuration: SweepConfiguration, + ) -> None: + """ + Apply reference and sweep settings and leave the devices sweeping. + + Reapplying the same sweep configuration is a no-op. + """ + + if self._is_closed: + raise RuntimeError("Controller is already closed") + + if not self._reference_configuration_applied: + self._configure_reference_clocks() + + if ( + self._sweep_is_running + and self._last_applied_sweep_configuration == sweep_configuration + ): + return + + if self._sweep_is_running: + self._send_idle_to_all_devices() + time.sleep(0.05) + + self._drain_all_received_packets() + self._configure_sweep_on_all_devices(sweep_configuration) + + def collect_running_sweep_cycles( + self, + cycle_count: int = 1, + ) -> SweepMeasurementResult: + """ + Collect one or more complete cycles from the already-running sweep. + + Call configure_continuous_sweep() first. The driver aligns itself to the + next full cycle in the incoming datapoint stream and then captures + exactly `cycle_count` complete cycles. + """ + + if self._is_closed: + raise RuntimeError("Controller is already closed") + if not self._sweep_is_running or self._last_applied_sweep_configuration is None: + raise RuntimeError( + "No running sweep is configured. Call configure_continuous_sweep() first." + ) + + try: + return collect_complete_running_sweep_cycles( + master_device_connection=self._master_device, + slave_device_connections=self._slave_devices, + active_sweep_configuration=self._last_applied_sweep_configuration, + cycle_count=cycle_count, + ) + except Exception: + self._send_idle_to_all_devices() + raise + + def iter_running_sweep_cycles(self) -> Iterator[SweepMeasurementResult]: + """Yield complete sweep cycles forever from the already-running sweep.""" + + while True: + yield self.collect_running_sweep_cycles(1) + + def _send_command_and_wait_for_acknowledgement( + self, + device_connection: LibreVnaUsbBulkConnection, + packet_type: int, + payload: bytes = b"", + timeout_seconds: float = 3.0, + retry_count: int = 1, + ) -> None: + last_error: Optional[Exception] = None + for _attempt_index in range(retry_count + 1): + device_connection.send_packet(packet_type, payload) + try: + device_connection.wait_for_acknowledgement( + timeout_seconds=timeout_seconds + ) + return + except Exception as exc: + last_error = exc + + assert last_error is not None + raise last_error + + def _try_send_command_without_failing( + self, + device_connection: LibreVnaUsbBulkConnection, + packet_type: int, + payload: bytes = b"", + timeout_seconds: float = 3.0, + retry_count: int = 1, + ) -> None: + try: + self._send_command_and_wait_for_acknowledgement( + device_connection, + packet_type, + payload, + timeout_seconds=timeout_seconds, + retry_count=retry_count, + ) + except Exception: + pass + + def _send_idle_to_all_devices(self) -> None: + for device_connection in self._all_devices: + self._try_send_command_without_failing( + device_connection, + PacketType.SET_IDLE, + timeout_seconds=3.0, + retry_count=1, + ) + self._sweep_is_running = False + + def _configure_reference_clocks(self) -> None: + for device_connection in self._all_devices: + self._send_command_and_wait_for_acknowledgement( + device_connection, + PacketType.REFERENCE_SETTINGS, + build_reference_settings_payload(0, self._force_external_reference), + timeout_seconds=3.0, + retry_count=1, + ) + + time.sleep(0.05) + self._reference_configuration_applied = True + + def _configure_sweep_on_all_devices( + self, + sweep_configuration: SweepConfiguration, + ) -> None: + sweep_configuration_commands = [ + *[(slave_device, False) for slave_device in self._slave_devices], + (self._master_device, True), + ] + for device_connection, is_synchronization_master in sweep_configuration_commands: + self._send_command_and_wait_for_acknowledgement( + device_connection, + PacketType.SWEEP_SETTINGS, + build_sweep_settings_payload( + sweep_configuration, + is_synchronization_master=is_synchronization_master, + synchronization_enabled=self._synchronization_enabled, + ), + timeout_seconds=3.0, + retry_count=1, + ) + self._last_applied_sweep_configuration = replace(sweep_configuration) + self._sweep_is_running = True + + def _drain_all_received_packets(self) -> None: + for device_connection in self._all_devices: + device_connection.drain_received_packets() diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/running_sweep_cycle_collection.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/running_sweep_cycle_collection.py new file mode 100644 index 0000000..0d0c795 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/running_sweep_cycle_collection.py @@ -0,0 +1,284 @@ +import queue +import threading +import time +from collections.abc import Callable, Sequence +from typing import Optional + +import numpy as np + +from .librevna_device_protocol import ( + PacketType, + ParsedVnaDatapoint, + find_receiver_value, + parse_vna_datapoint_payload, +) +from .librevna_usb_transport import LibreVnaUsbBulkConnection +from .sweep_measurement_models import SweepConfiguration, SweepMeasurementResult + + +def collect_complete_running_sweep_cycles( + master_device_connection: LibreVnaUsbBulkConnection, + slave_device_connections: Sequence[LibreVnaUsbBulkConnection], + active_sweep_configuration: SweepConfiguration, + cycle_count: int, +) -> SweepMeasurementResult: + """Collect complete cycles from an already-running synchronized sweep.""" + + cycle_count = int(cycle_count) + if cycle_count < 1: + raise ValueError("cycle_count must be >= 1") + + all_device_connections = [master_device_connection, *slave_device_connections] + point_count = active_sweep_configuration.points + frequencies_hz = np.zeros(point_count, dtype=np.float64) + raw_receiver_measurements_by_s_parameter = { + s_parameter_name: np.full( + (cycle_count, point_count), + np.nan + 1j * np.nan, + dtype=complex, + ) + for s_parameter_name in build_forward_s_parameter_names(len(slave_device_connections)) + } + master_reference_measurements = np.full( + (cycle_count, point_count), + np.nan + 1j * np.nan, + dtype=complex, + ) + collection_errors: list[Exception] = [] + datapoint_counts_by_device_serial = { + device_connection.serial_number: 0 + for device_connection in all_device_connections + } + stop_collection_requested = threading.Event() + datapoint_timeout_seconds = max( + 10.0, + active_sweep_configuration.dwell_us / 1_000_000 + 2.0, + ) + + def collect_datapoints_from_device( + device_connection: LibreVnaUsbBulkConnection, + handle_datapoint: Callable[[ParsedVnaDatapoint], bool], + ) -> None: + datapoints_received = 0 + expected_datapoint_count = cycle_count * point_count + last_datapoint_timestamp = time.monotonic() + + while datapoints_received < expected_datapoint_count: + if stop_collection_requested.is_set(): + return + + remaining_timeout_seconds = ( + last_datapoint_timestamp + datapoint_timeout_seconds + ) - time.monotonic() + if remaining_timeout_seconds <= 0: + collection_errors.append( + TimeoutError( + f"No datapoints from {device_connection.serial_number} for " + f"{datapoint_timeout_seconds:.1f} s " + f"(received {datapoints_received}/{point_count})" + ) + ) + stop_collection_requested.set() + return + + try: + packet_type, payload = device_connection.receive_packet( + timeout_seconds=min(1.0, remaining_timeout_seconds) + ) + except (queue.Empty, TimeoutError) as exc: + if stop_collection_requested.is_set(): + return + if isinstance(exc, queue.Empty): + continue + collection_errors.append(exc) + stop_collection_requested.set() + return + + if packet_type != PacketType.VNA_DATAPOINT: + continue + + parsed_datapoint = parse_vna_datapoint_payload(payload) + if parsed_datapoint and 0 <= parsed_datapoint.point_index < point_count: + last_datapoint_timestamp = time.monotonic() + datapoint_was_consumed = handle_datapoint(parsed_datapoint) + if datapoint_was_consumed: + datapoint_counts_by_device_serial[device_connection.serial_number] += 1 + datapoints_received += 1 + + def build_cycle_tracking_handler( + cycle_aware_handler: Callable[[ParsedVnaDatapoint, int], None], + ) -> Callable[[ParsedVnaDatapoint], bool]: + cycle_tracking_state = { + "current_cycle_index": 0, + "previous_point_index": -1, + "has_seen_cycle_start": False, + } + + def handle_datapoint(parsed_datapoint: ParsedVnaDatapoint) -> bool: + current_point_index = parsed_datapoint.point_index + if not cycle_tracking_state["has_seen_cycle_start"]: + if current_point_index != 0: + cycle_tracking_state["previous_point_index"] = current_point_index + return False + cycle_tracking_state["has_seen_cycle_start"] = True + + if ( + cycle_tracking_state["previous_point_index"] >= 0 + and current_point_index < cycle_tracking_state["previous_point_index"] + ): + cycle_tracking_state["current_cycle_index"] += 1 + + cycle_tracking_state["previous_point_index"] = current_point_index + current_cycle_index = cycle_tracking_state["current_cycle_index"] + if current_cycle_index >= cycle_count: + return False + + cycle_aware_handler(parsed_datapoint, current_cycle_index) + return True + + return handle_datapoint + + def handle_master_datapoint( + parsed_datapoint: ParsedVnaDatapoint, + cycle_index: int, + ) -> None: + point_index = parsed_datapoint.point_index + reference_receiver_value = find_receiver_value( + parsed_datapoint.receiver_values_by_description_mask, + stage_index=0, + is_reference_receiver=True, + ) + if reference_receiver_value is None: + return + + frequencies_hz[point_index] = parsed_datapoint.frequency_hz + master_reference_measurements[cycle_index, point_index] = reference_receiver_value + + for receiver_port_number, s_parameter_name in ((1, "S11"), (2, "S21")): + port_receiver_value = find_receiver_value( + parsed_datapoint.receiver_values_by_description_mask, + stage_index=0, + is_reference_receiver=False, + required_port_number=receiver_port_number, + ) + if port_receiver_value is not None: + raw_receiver_measurements_by_s_parameter[s_parameter_name][ + cycle_index, + point_index, + ] = port_receiver_value + + def build_slave_datapoint_handler( + slave_index: int, + ) -> Callable[[ParsedVnaDatapoint], bool]: + first_s_parameter_name = f"S{2 * slave_index + 3}1" + second_s_parameter_name = f"S{2 * slave_index + 4}1" + + def handle_slave_datapoint( + parsed_datapoint: ParsedVnaDatapoint, + cycle_index: int, + ) -> None: + point_index = parsed_datapoint.point_index + for receiver_port_number, s_parameter_name in ( + (1, first_s_parameter_name), + (2, second_s_parameter_name), + ): + port_receiver_value = find_receiver_value( + parsed_datapoint.receiver_values_by_description_mask, + stage_index=0, + is_reference_receiver=False, + required_port_number=receiver_port_number, + ) + if port_receiver_value is not None: + raw_receiver_measurements_by_s_parameter[s_parameter_name][ + cycle_index, + point_index, + ] = port_receiver_value + + return build_cycle_tracking_handler(handle_slave_datapoint) + + collection_threads = [ + threading.Thread( + target=collect_datapoints_from_device, + args=( + master_device_connection, + build_cycle_tracking_handler(handle_master_datapoint), + ), + daemon=True, + name="collect-master", + ), + ] + for slave_index, slave_device_connection in enumerate(slave_device_connections): + collection_threads.append( + threading.Thread( + target=collect_datapoints_from_device, + args=(slave_device_connection, build_slave_datapoint_handler(slave_index)), + daemon=True, + name=f"collect-slave{slave_index}", + ) + ) + + for collection_thread in collection_threads: + collection_thread.start() + for collection_thread in collection_threads: + collection_thread.join() + + if collection_errors: + raise RuntimeError( + f"Sweep collection failed: {collection_errors[0]}" + ) from collection_errors[0] + + if slave_device_connections and min(datapoint_counts_by_device_serial.values(), default=0) == 0: + raise RuntimeError( + "No datapoints received from at least one device; " + "hardware trigger sync did not start. Check Trigger Out/In loop " + "and 10 MHz reference wiring." + ) + + return SweepMeasurementResult( + frequencies_hz=frequencies_hz, + s_parameters=calculate_last_cycle_s_parameters( + raw_receiver_measurements_by_s_parameter, + master_reference_measurements, + ), + ) + + +def calculate_last_cycle_s_parameters( + raw_receiver_measurements_by_s_parameter: dict[str, np.ndarray], + master_reference_measurements: np.ndarray, +) -> dict[str, np.ndarray]: + """Convert raw receiver captures from the final sweep cycle into S-parameters.""" + + if np.isnan(master_reference_measurements).any(): + missing_reference_count = int(np.isnan(master_reference_measurements).sum()) + raise RuntimeError( + f"Master reference missing for {missing_reference_count} datapoints" + ) + + s_parameters: dict[str, np.ndarray] = {} + for s_parameter_name, raw_receiver_measurements in ( + raw_receiver_measurements_by_s_parameter.items() + ): + if np.isnan(raw_receiver_measurements).any(): + missing_measurement_count = int(np.isnan(raw_receiver_measurements).sum()) + raise RuntimeError( + f"Measurement {s_parameter_name} missing for " + f"{missing_measurement_count} datapoints" + ) + s_parameters[s_parameter_name] = ( + raw_receiver_measurements[-1] / master_reference_measurements[-1] + ) + + return s_parameters + + +def build_forward_s_parameter_names(slave_device_count: int) -> list[str]: + """Return S-parameter names for the configured forward multi-device topology.""" + + s_parameter_names = ["S11", "S21"] + for slave_index in range(slave_device_count): + s_parameter_names += [ + f"S{2 * slave_index + 3}1", + f"S{2 * slave_index + 4}1", + ] + return s_parameter_names diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/sweep_measurement_models.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/sweep_measurement_models.py new file mode 100644 index 0000000..ea225dd --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/librevna_multi_device_driver/sweep_measurement_models.py @@ -0,0 +1,23 @@ +from dataclasses import dataclass + +import numpy as np + + +@dataclass +class SweepConfiguration: + """User-facing configuration for one VNA sweep.""" + + start_hz: int = 100_000 + stop_hz: int = 3_000_000_000 + points: int = 201 + if_bandwidth: int = 1_000 + power_dbm: float = -10.0 + dwell_us: int = 0 + + +@dataclass +class SweepMeasurementResult: + """Measured sweep data from one or more complete sweep cycles.""" + + frequencies_hz: np.ndarray + s_parameters: dict[str, np.ndarray] diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/requirements.txt b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/requirements.txt new file mode 100644 index 0000000..1eb0353 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/requirements.txt @@ -0,0 +1,4 @@ +pyusb +libusb-package; platform_system == "Windows" +numpy +matplotlib diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result.csv b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result.csv new file mode 100644 index 0000000..fcf475c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result.csv @@ -0,0 +1,1002 @@ +Frequency_Hz,S11_real,S11_imag,S21_real,S21_imag,S31_real,S31_imag,S41_real,S41_imag +1000000000,1.45724177e-02,5.93696327e-02,2.55610633e-01,-2.44513027e-01,-9.21201295e-04,-7.26228651e-04,-1.58124514e-01,-1.04600260e-01 +1001000000,1.49146791e-02,5.95140953e-02,2.50128629e-01,-2.50328372e-01,-1.45212058e-03,-4.40787887e-04,-2.01936019e-01,-9.65899305e-02 +1002000000,1.58466134e-02,5.93556148e-02,2.43742440e-01,-2.56916807e-01,-1.41575604e-03,-5.85210629e-04,-1.94832831e-01,-1.00705759e-01 +1003000000,1.63375491e-02,5.87114441e-02,2.38575233e-01,-2.62054107e-01,-9.95289576e-04,-2.52847952e-04,-1.35010625e-01,-7.52352478e-02 +1004000000,1.67470115e-02,5.85864959e-02,2.33209222e-01,-2.68711419e-01,-9.12004512e-04,-4.88348734e-04,-9.34919917e-02,-5.69341525e-02 +1005000000,1.68527598e-02,5.88570719e-02,2.29775833e-01,-2.77573523e-01,-8.21276965e-04,-4.38218231e-04,-1.18389139e-01,-7.73749881e-02 +1006000000,1.85772023e-02,5.91805897e-02,2.22216648e-01,-2.88463060e-01,-9.06082190e-04,-5.28630911e-04,-1.10948650e-01,-6.56396683e-02 +1007000000,1.93020952e-02,5.88601315e-02,2.14812937e-01,-2.94361068e-01,-9.02798916e-04,-6.45680315e-04,-9.26265102e-02,-6.56082608e-02 +1008000000,1.98541931e-02,5.86231053e-02,2.08204007e-01,-3.00330559e-01,-7.26997375e-04,-4.56417598e-04,-8.16242801e-02,-4.07159177e-02 +1009000000,2.06178923e-02,5.82701286e-02,2.00158029e-01,-3.05949692e-01,-7.03644555e-04,-4.95792633e-04,-9.93451089e-02,-5.98335706e-02 +1010000000,2.13871182e-02,5.77799065e-02,1.92454014e-01,-3.10904195e-01,-7.40812410e-04,-6.39875566e-04,-8.93672223e-02,-6.29112796e-02 +1011000000,2.20229893e-02,5.72325704e-02,1.84894032e-01,-3.15799919e-01,-3.81769455e-04,-6.78103933e-04,-8.94003135e-02,-7.18693866e-02 +1012000000,2.26912921e-02,5.67509142e-02,1.76967299e-01,-3.20760618e-01,-2.76993723e-04,-4.03030018e-04,-9.71953779e-02,-6.88437903e-02 +1013000000,2.32765678e-02,5.61787425e-02,1.69324269e-01,-3.25203257e-01,-4.57580072e-04,-7.03472569e-04,-8.55014354e-02,-6.65091627e-02 +1014000000,2.40014933e-02,5.55572925e-02,1.61120079e-01,-3.29650617e-01,-2.00503253e-04,-5.33163787e-04,-8.70444724e-02,-6.82612441e-02 +1015000000,2.48114730e-02,5.48917742e-02,1.52440391e-01,-3.33467370e-01,-3.99465284e-04,-3.68829068e-04,-9.76833058e-02,-6.31760144e-02 +1016000000,2.54524780e-02,5.43154788e-02,1.43991161e-01,-3.37998663e-01,-4.91733736e-04,-4.34566272e-04,-1.13076529e-01,-6.52098555e-02 +1017000000,2.61585994e-02,5.35923801e-02,1.35341991e-01,-3.41797389e-01,-4.15195086e-04,-5.48207306e-04,-1.45929219e-01,-7.01546939e-02 +1018000000,2.67276726e-02,5.28447266e-02,1.26648485e-01,-3.45247832e-01,-3.49992540e-04,-6.74357702e-04,-8.23082063e-02,-4.16240416e-02 +1019000000,2.60141835e-02,5.15301687e-02,1.21635868e-01,-3.42800127e-01,-2.70480045e-04,-3.95009176e-04,-7.28752574e-02,-5.30946280e-02 +1020000000,2.71809027e-02,5.14764699e-02,1.08624865e-01,-3.51296915e-01,-2.83725484e-04,-4.88576827e-04,-7.28991101e-02,-5.28449105e-02 +1021000000,2.84166490e-02,5.03483722e-02,1.00089587e-01,-3.54700103e-01,-2.74764155e-04,-5.55274324e-04,-7.74912730e-02,-5.25147510e-02 +1022000000,2.90140758e-02,4.94201577e-02,9.07431668e-02,-3.57481739e-01,-2.34643251e-04,-7.21753815e-04,-7.86046760e-02,-5.77667406e-02 +1023000000,2.96409446e-02,4.85560416e-02,8.05174834e-02,-3.60688854e-01,-2.01661570e-04,-5.43202369e-04,-8.38148178e-02,-5.53256955e-02 +1024000000,3.01270375e-02,4.74393716e-02,7.12744866e-02,-3.62372061e-01,-1.89145888e-04,-5.29796956e-04,-8.91213351e-02,-5.77818668e-02 +1025000000,3.06054970e-02,4.64135967e-02,6.17461101e-02,-3.64822294e-01,-1.59149478e-04,-6.68616110e-04,-9.37900951e-02,-6.20633758e-02 +1026000000,3.17487300e-02,4.58014231e-02,5.52050560e-02,-3.70325949e-01,1.01379220e-05,-7.27096093e-04,-9.30588831e-02,-7.77620875e-02 +1027000000,3.22305628e-02,4.47340109e-02,4.48154492e-02,-3.72727537e-01,5.41837531e-06,-6.98252506e-04,-1.07449594e-01,-8.90768921e-02 +1028000000,3.22196428e-02,4.30184951e-02,3.76632286e-02,-3.69366134e-01,6.63216586e-05,-7.56368950e-04,-1.13483114e-01,-9.14936432e-02 +1029000000,3.24837632e-02,4.17887476e-02,2.88108613e-02,-3.70990752e-01,7.87154140e-05,-8.02437103e-04,-1.70362034e-01,-9.38858858e-02 +1030000000,3.25008449e-02,4.09505333e-02,2.04797231e-02,-3.75210976e-01,7.87069090e-05,-7.92478429e-04,-1.71994638e-01,-8.80231569e-02 +1031000000,3.29647277e-02,3.94132641e-02,8.57711712e-03,-3.73278275e-01,5.90915920e-05,-9.00232747e-04,-1.71160158e-01,-8.74461602e-02 +1032000000,3.32344060e-02,3.80954161e-02,-2.55790188e-03,-3.72723125e-01,1.11017218e-04,-8.05700029e-04,-1.75726199e-01,-9.70544686e-02 +1033000000,3.39761437e-02,3.63887099e-02,-1.59798441e-02,-3.69920640e-01,1.83085943e-05,-8.47986648e-04,-1.97540063e-01,-1.48839056e-01 +1034000000,3.34675349e-02,3.60307971e-02,-1.92329370e-02,-3.79333054e-01,2.89363721e-04,-9.62159237e-04,-2.28319888e-01,-1.60402074e-01 +1035000000,3.36063403e-02,3.47952952e-02,-3.07058651e-02,-3.79879969e-01,8.96251068e-05,-8.41236134e-04,-2.58010123e-01,-1.62191613e-01 +1036000000,3.34054339e-02,3.34366443e-02,-4.00576494e-02,-3.79193907e-01,-1.86594680e-04,-6.75502000e-04,-2.68792343e-01,-1.54888535e-01 +1037000000,3.33102384e-02,3.19199100e-02,-5.08009884e-02,-3.75894203e-01,-1.09272420e-04,-7.52719683e-04,-2.60320132e-01,-1.45311633e-01 +1038000000,3.44413550e-02,3.09425314e-02,-7.46291874e-02,-3.79348337e-01,-5.70513693e-05,-7.80733240e-04,-2.34700053e-01,-1.51760624e-01 +1039000000,3.43001980e-02,2.90870500e-02,-8.55456632e-02,-3.73381367e-01,-1.48662557e-04,-7.90298967e-04,-2.77228093e-01,-1.49930338e-01 +1040000000,3.41457984e-02,2.76531808e-02,-9.69758032e-02,-3.70666161e-01,-2.06239744e-05,-8.83543901e-04,-3.16887566e-01,-1.60544026e-01 +1041000000,3.33970318e-02,2.62019950e-02,-1.01094648e-01,-3.67712776e-01,2.00064154e-04,-8.74689769e-04,-3.25448994e-01,-1.62693638e-01 +1042000000,3.30931190e-02,2.46713886e-02,-1.12197828e-01,-3.64351516e-01,1.49355866e-04,-6.83638397e-04,-3.30514866e-01,-1.57798617e-01 +1043000000,3.28540443e-02,2.32044172e-02,-1.25559375e-01,-3.61871039e-01,1.22403494e-04,-8.36520828e-04,-3.29510074e-01,-1.41014294e-01 +1044000000,3.26141715e-02,2.16687379e-02,-1.39607567e-01,-3.57392494e-01,2.30559040e-04,-7.99699981e-04,-3.38209374e-01,-1.38677606e-01 +1045000000,3.22542970e-02,2.00469297e-02,-1.52555447e-01,-3.49599509e-01,1.57338384e-04,-8.88502769e-04,-3.44098998e-01,-1.32775202e-01 +1046000000,3.17070744e-02,1.87605043e-02,-1.61753219e-01,-3.47645584e-01,1.11033904e-04,-8.88019642e-04,-3.48859491e-01,-1.26865585e-01 +1047000000,3.10822905e-02,1.73558232e-02,-1.71565059e-01,-3.43110583e-01,3.10023574e-04,-8.76790912e-04,-3.51413065e-01,-1.17881221e-01 +1048000000,3.04508067e-02,1.59233087e-02,-1.83528506e-01,-3.42383808e-01,1.57740401e-04,-8.09815782e-04,-3.43579817e-01,-1.30854800e-01 +1049000000,2.98064684e-02,1.45035265e-02,-1.94315297e-01,-3.35022925e-01,1.01752721e-04,-7.19652282e-04,-3.50943826e-01,-1.14423270e-01 +1050000000,2.86816283e-02,1.26451677e-02,-1.99754906e-01,-3.18303413e-01,1.81866360e-04,-7.57319077e-04,-3.50220263e-01,-1.18120034e-01 +1051000000,2.77098580e-02,1.13395900e-02,-2.08423335e-01,-3.12725235e-01,9.12400815e-05,-9.23688312e-04,-3.50023895e-01,-1.13970026e-01 +1052000000,2.68036863e-02,1.01142457e-02,-2.19157967e-01,-3.07445033e-01,6.13714615e-05,-9.59162828e-04,-3.49340429e-01,-1.16257814e-01 +1053000000,2.58660898e-02,9.03786769e-03,-2.31301809e-01,-3.03821232e-01,7.32943644e-05,-8.99769234e-04,-3.48974978e-01,-1.16164928e-01 +1054000000,2.46454078e-02,7.61753598e-03,-2.30798922e-01,-3.00309579e-01,2.56982517e-04,-1.02642157e-03,-3.49107938e-01,-1.09393167e-01 +1055000000,2.36999395e-02,6.46198147e-03,-2.46705466e-01,-2.96887723e-01,3.56719676e-04,-9.50662342e-04,-3.50371134e-01,-1.06650537e-01 +1056000000,2.22915735e-02,5.22410031e-03,-2.47835466e-01,-2.86039851e-01,2.26356120e-04,-8.37065628e-04,-3.53399175e-01,-1.00218267e-01 +1057000000,2.09926032e-02,4.07210832e-03,-2.56253036e-01,-2.77445714e-01,2.05779363e-04,-1.02467983e-03,-3.58880974e-01,-8.52181016e-02 +1058000000,1.96960311e-02,2.91639460e-03,-2.65061420e-01,-2.67945074e-01,4.85512451e-04,-1.15911447e-03,-3.51124778e-01,-9.45750310e-02 +1059000000,1.82401911e-02,1.89917937e-03,-2.76949339e-01,-2.59444508e-01,1.44886862e-04,-1.19398435e-03,-3.52996109e-01,-8.99729263e-02 +1060000000,1.67824183e-02,1.01764405e-03,-2.79720916e-01,-2.52093573e-01,3.06358217e-04,-1.11595711e-03,-3.51937010e-01,-9.20050681e-02 +1061000000,1.53611683e-02,3.02637411e-05,-2.91599240e-01,-2.42776484e-01,7.03306204e-04,-1.15116040e-03,-3.57118877e-01,-8.41090767e-02 +1062000000,1.38385058e-02,-8.76273831e-04,-2.98865361e-01,-2.34444457e-01,4.04063307e-04,-1.29982298e-03,-3.62184682e-01,-7.80209271e-02 +1063000000,1.22415615e-02,-1.65197783e-03,-3.01481812e-01,-2.25041628e-01,4.93143756e-04,-1.27579041e-03,-3.59039746e-01,-4.46754441e-02 +1064000000,1.06022071e-02,-2.42286872e-03,-3.08582745e-01,-2.16162118e-01,1.81523290e-04,-1.21941797e-03,-3.60852322e-01,-5.87953953e-02 +1065000000,8.96340595e-03,-3.20042400e-03,-3.11826902e-01,-2.09887027e-01,3.27580109e-04,-1.25206304e-03,-3.62346498e-01,-6.17440678e-02 +1066000000,7.28337559e-03,-4.41829761e-03,-3.25600981e-01,-2.00722694e-01,2.81488066e-04,-1.53394889e-03,-3.63115030e-01,-6.34551692e-02 +1067000000,5.47242087e-03,-5.06678654e-03,-3.30909735e-01,-1.91681582e-01,8.91864192e-05,-1.45909871e-03,-3.58302351e-01,-7.10331548e-02 +1068000000,3.72842160e-03,-5.67593012e-03,-3.37302660e-01,-1.84757279e-01,2.67867226e-04,-1.66868914e-03,-3.56389425e-01,-6.30446217e-02 +1069000000,1.81097511e-03,-6.17735133e-03,-3.36984756e-01,-1.76125835e-01,-2.30533177e-04,-1.97483904e-03,-3.59003383e-01,-6.74026828e-02 +1070000000,-1.45640921e-04,-6.35247763e-03,-3.45616269e-01,-1.62545575e-01,-2.23274799e-04,-1.59584152e-03,-3.54810731e-01,-6.69509037e-02 +1071000000,-1.80395505e-03,-6.86740902e-03,-3.50286349e-01,-1.56281595e-01,2.24988939e-04,-1.76318206e-03,-3.60533721e-01,-5.67053611e-02 +1072000000,-3.73802053e-03,-7.15207243e-03,-3.53908375e-01,-1.46252269e-01,1.19391922e-04,-1.72673219e-03,-3.66771814e-01,-6.08067418e-02 +1073000000,-5.47115291e-03,-7.29849468e-03,-3.54862187e-01,-1.36323552e-01,1.29392088e-04,-1.83980392e-03,-3.56280087e-01,-2.59680037e-02 +1074000000,-7.66151568e-03,-7.40387398e-03,-3.58623704e-01,-1.26380742e-01,-5.76232135e-04,-1.43520482e-03,-3.64887716e-01,-3.24588628e-02 +1075000000,-9.84357689e-03,-7.22319070e-03,-3.59930824e-01,-1.12390224e-01,-2.55415283e-04,-1.38145988e-03,-3.56534182e-01,-3.45316621e-02 +1076000000,-1.19423760e-02,-6.90793654e-03,-3.63017795e-01,-1.02614539e-01,-5.07638979e-04,-1.54744989e-03,-3.55619618e-01,-5.94677330e-02 +1077000000,-1.37168130e-02,-6.83668043e-03,-3.65751526e-01,-9.22063386e-02,-7.17295550e-04,-1.46070628e-03,-3.48909758e-01,-5.71880949e-02 +1078000000,-1.57057629e-02,-6.59086669e-03,-3.68412852e-01,-8.17066412e-02,-7.39948628e-04,-1.58807489e-03,-3.56732098e-01,-2.44064046e-03 +1079000000,-1.75485302e-02,-6.39226557e-03,-3.70146944e-01,-7.18467422e-02,-7.08900500e-04,-1.72844504e-03,-3.58259177e-01,7.99831920e-03 +1080000000,-1.94877651e-02,-6.03109834e-03,-3.71852547e-01,-6.16396227e-02,-1.69899144e-04,-1.71548448e-03,-3.58817349e-01,-2.21283620e-02 +1081000000,-2.18636663e-02,-6.05896394e-03,-3.75091569e-01,-5.20373209e-02,-5.73674261e-04,-1.38456642e-03,-3.42084078e-01,-5.35092528e-02 +1082000000,-2.38981981e-02,-5.67839662e-03,-3.76154589e-01,-4.14137830e-02,-9.46835990e-04,-1.10095205e-03,-3.51679953e-01,-3.91698599e-02 +1083000000,-2.56613488e-02,-5.05389858e-03,-3.77182666e-01,-3.18070736e-02,-1.01400820e-03,-1.23925542e-03,-3.43882804e-01,-5.54423738e-02 +1084000000,-2.84515626e-02,-3.96909700e-03,-3.76385711e-01,-2.19701198e-02,-5.31203640e-04,-1.49430596e-03,-3.31119366e-01,-7.32003296e-02 +1085000000,-3.01980897e-02,-3.25879187e-03,-3.76619871e-01,-1.17512468e-02,-7.39110600e-04,-1.20175476e-03,-3.43887978e-01,-5.30972791e-02 +1086000000,-3.17526557e-02,-2.88112283e-03,-3.76823649e-01,-5.52504818e-04,-1.03987210e-03,-8.76329231e-04,-3.58013211e-01,-1.49265778e-02 +1087000000,-3.38046436e-02,-2.06908014e-03,-3.76703480e-01,1.03812456e-02,-9.48498282e-04,-9.88234135e-04,-3.64902195e-01,4.33280261e-03 +1088000000,-3.55596773e-02,-9.97600282e-04,-3.75995184e-01,1.96484251e-02,-8.13807079e-04,-1.14030306e-03,-3.67081666e-01,1.93844161e-02 +1089000000,-3.74813864e-02,-2.38492976e-04,-3.76392116e-01,3.22360503e-02,-1.12526654e-03,-9.97826048e-04,-3.44335747e-01,2.95011981e-02 +1090000000,-3.95647809e-02,1.13493972e-03,-3.74732634e-01,4.38413674e-02,-1.11166668e-03,-1.13326642e-03,-3.28965091e-01,2.04628414e-02 +1091000000,-4.18098450e-02,2.95247267e-03,-3.72340913e-01,5.36098110e-02,-8.29502939e-04,-1.24318273e-03,-3.20304592e-01,-2.88350302e-03 +1092000000,-4.39960075e-02,4.56262710e-03,-3.69609915e-01,6.36719558e-02,-6.63360260e-04,-1.10258401e-03,-3.15284938e-01,-2.30591430e-02 +1093000000,-4.49680761e-02,5.26935800e-03,-3.66594993e-01,7.63298825e-02,-1.02997817e-03,-1.21800996e-03,-3.12975200e-01,8.65444321e-03 +1094000000,-4.76392220e-02,7.23451565e-03,-3.63494254e-01,8.45586268e-02,-6.93465305e-04,-1.08483798e-03,-2.97105427e-01,-3.25551740e-02 +1095000000,-4.92185211e-02,9.06301106e-03,-3.60363228e-01,9.82085190e-02,-7.16922872e-04,-9.55779161e-04,-3.11989660e-01,-1.10128623e-02 +1096000000,-4.99282776e-02,1.06444182e-02,-3.53877114e-01,1.06333889e-01,-6.53021331e-04,-1.10096413e-03,-3.04636824e-01,-4.85026898e-02 +1097000000,-5.07371336e-02,1.10999936e-02,-3.51949629e-01,1.16816034e-01,-6.03218166e-04,-1.22604006e-03,-2.85820552e-01,-8.25645392e-02 +1098000000,-5.24161917e-02,1.29998874e-02,-3.46693721e-01,1.26229415e-01,-7.01769185e-04,-1.20588642e-03,-3.28885977e-01,3.45476312e-03 +1099000000,-5.39410785e-02,1.46084796e-02,-3.43267293e-01,1.36237943e-01,-7.89100043e-04,-1.11638615e-03,-3.10816843e-01,1.54564800e-02 +1100000000,-5.56094471e-02,1.71718673e-02,-3.36869567e-01,1.44467867e-01,-9.29464486e-04,-1.17536278e-03,-2.94538987e-01,1.01655539e-02 +1101000000,-5.72385576e-02,1.96818009e-02,-3.31776795e-01,1.52818692e-01,-1.26566039e-03,-1.10555266e-03,-2.98290027e-01,-1.45714236e-02 +1102000000,-5.84839789e-02,2.22983661e-02,-3.26007724e-01,1.61010913e-01,-1.10900477e-03,-9.45690718e-04,-2.98304835e-01,-4.73019077e-02 +1103000000,-5.95479280e-02,2.40007611e-02,-3.21395906e-01,1.70304141e-01,-1.32004535e-03,-9.73136184e-04,-3.00228489e-01,-4.77844268e-02 +1104000000,-5.99299643e-02,2.53146984e-02,-3.12211668e-01,1.81448953e-01,-1.47868992e-03,-1.03508592e-03,-2.75844041e-01,-5.04002271e-02 +1105000000,-6.02657534e-02,2.76623559e-02,-3.04473644e-01,1.87103627e-01,-1.43147355e-03,-8.13875096e-04,-2.63560365e-01,-7.09118519e-02 +1106000000,-6.20402209e-02,2.90443630e-02,-3.05157658e-01,1.97847531e-01,-1.31337524e-03,-7.44780346e-04,-2.57391898e-01,-7.76968939e-02 +1107000000,-6.31861906e-02,3.09067795e-02,-3.00100558e-01,2.07300028e-01,-1.37018407e-03,-7.27365749e-04,-2.45807180e-01,-1.01784128e-01 +1108000000,-6.37879912e-02,3.28487200e-02,-2.92424750e-01,2.15605978e-01,-1.33537965e-03,-7.80423379e-04,-2.45133489e-01,-2.28227070e-02 +1109000000,-6.45940089e-02,3.56427954e-02,-2.85627023e-01,2.23291414e-01,-1.32559080e-03,-6.46773027e-04,-2.48552222e-01,-2.90415131e-02 +1110000000,-6.54866654e-02,3.79948456e-02,-2.79343217e-01,2.31611288e-01,-1.28376660e-03,-4.52665514e-04,-2.36401678e-01,-4.43856435e-02 +1111000000,-6.60785443e-02,4.02671932e-02,-2.71767809e-01,2.40199517e-01,-1.26456719e-03,-3.28516566e-04,-2.24302180e-01,-4.30269576e-02 +1112000000,-6.66797915e-02,4.25156990e-02,-2.64732778e-01,2.47769302e-01,-1.11486306e-03,-6.27584657e-04,-2.13731057e-01,-5.40972545e-02 +1113000000,-6.72302970e-02,4.49288876e-02,-2.57871196e-01,2.54481455e-01,-1.20523233e-03,-6.97354449e-04,-2.03012788e-01,-9.99452294e-03 +1114000000,-6.76707807e-02,4.73133600e-02,-2.50525897e-01,2.61062950e-01,-1.40259487e-03,-6.25131706e-04,-1.88037105e-01,-1.70929612e-03 +1115000000,-6.77906247e-02,4.96355370e-02,-2.41845337e-01,2.66637275e-01,-1.23491146e-03,-7.68223009e-04,-1.81448356e-01,6.30153779e-03 +1116000000,-6.79529142e-02,5.21053943e-02,-2.33550022e-01,2.73155932e-01,-1.26979905e-03,-7.49983768e-04,-1.76658868e-01,1.11757916e-02 +1117000000,-6.81331695e-02,5.45519975e-02,-2.25722965e-01,2.79091703e-01,-1.18598969e-03,-4.53377938e-04,-1.76401684e-01,1.22080066e-02 +1118000000,-6.83018100e-02,5.69256386e-02,-2.17997456e-01,2.84630642e-01,-1.21024866e-03,-3.19423315e-04,-1.75008845e-01,7.06670065e-03 +1119000000,-6.86751359e-02,5.95411698e-02,-2.13911330e-01,2.89798425e-01,-1.14571765e-03,-6.82866888e-04,-1.81919368e-01,1.52560384e-02 +1120000000,-6.80958182e-02,6.17331997e-02,-2.04429506e-01,2.97379046e-01,-1.30821417e-03,-7.14174612e-04,-2.14951746e-01,4.15023352e-02 +1121000000,-6.84500246e-02,6.34218134e-02,-1.95625061e-01,3.00708533e-01,-1.50709397e-03,-6.10022477e-04,-2.32035257e-01,6.78412553e-02 +1122000000,-6.84723483e-02,6.61271908e-02,-1.87752395e-01,3.05174833e-01,-1.48358920e-03,-5.40176747e-04,-2.42348544e-01,8.75843937e-02 +1123000000,-6.85611622e-02,6.85688650e-02,-1.79847072e-01,3.07641395e-01,-1.45387098e-03,-3.32406489e-04,-2.57682409e-01,1.20053537e-01 +1124000000,-6.84540284e-02,7.13367453e-02,-1.72168748e-01,3.13534217e-01,-1.45561302e-03,-1.65265049e-04,-2.55408655e-01,1.05924312e-01 +1125000000,-6.80446227e-02,7.34400539e-02,-1.63461394e-01,3.15271877e-01,-1.51253979e-03,1.07342333e-05,-2.73317200e-01,1.01138556e-01 +1126000000,-6.76659451e-02,7.61948718e-02,-1.55339244e-01,3.18319721e-01,-1.32940461e-03,5.29366783e-05,-3.11321690e-01,9.72633164e-02 +1127000000,-6.71418212e-02,7.87866711e-02,-1.47082992e-01,3.21304108e-01,-1.06874615e-03,3.09028251e-04,-3.42713013e-01,9.48038689e-02 +1128000000,-6.71948932e-02,8.03256042e-02,-1.40204139e-01,3.23582037e-01,-1.23266679e-03,2.70608937e-04,-3.29202653e-01,5.20988279e-02 +1129000000,-6.69847880e-02,8.27759988e-02,-1.33699846e-01,3.27810258e-01,-8.48383323e-04,4.00293141e-04,-3.38130449e-01,4.27909421e-02 +1130000000,-6.62187568e-02,8.52377468e-02,-1.24909599e-01,3.32407937e-01,-8.02161384e-04,3.99762611e-04,-3.48261321e-01,3.20912629e-02 +1131000000,-6.52686987e-02,8.78537887e-02,-1.17459868e-01,3.36024009e-01,-7.46493925e-04,2.76919046e-04,-3.34506892e-01,4.94666938e-03 +1132000000,-6.49812042e-02,8.94712383e-02,-1.09451605e-01,3.38612063e-01,-6.97838971e-04,2.42921200e-04,-3.23087703e-01,-4.13616646e-02 +1133000000,-6.41003483e-02,9.09339251e-02,-9.95182258e-02,3.38261861e-01,-6.21448214e-04,3.06933843e-04,-3.34623296e-01,-3.34255878e-02 +1134000000,-6.31205375e-02,9.33363991e-02,-9.09772798e-02,3.40646862e-01,-5.41505706e-04,3.02089166e-04,-3.35049201e-01,-3.63450771e-02 +1135000000,-6.18580555e-02,9.59428761e-02,-8.14771548e-02,3.44016719e-01,-5.22694099e-04,2.91766696e-04,-3.35363921e-01,-5.74176318e-02 +1136000000,-6.01611161e-02,9.82337800e-02,-7.07087914e-02,3.45450392e-01,-5.53253321e-04,2.67672642e-04,-3.28709838e-01,-7.78689995e-02 +1137000000,-5.90751917e-02,1.00503446e-01,-6.21035773e-02,3.46542748e-01,-5.24295308e-04,2.51228276e-04,-3.26096896e-01,-7.44588910e-02 +1138000000,-5.80231625e-02,1.02853253e-01,-5.41129496e-02,3.47989183e-01,-4.89133165e-04,2.39696693e-04,-3.25606973e-01,-7.45109553e-02 +1139000000,-5.66255117e-02,1.05042484e-01,-4.47136990e-02,3.48898982e-01,-4.95126063e-04,2.00688170e-04,-3.26755345e-01,-7.14059481e-02 +1140000000,-5.51762457e-02,1.06889272e-01,-3.54460042e-02,3.48785141e-01,-3.74756120e-04,8.76739028e-05,-3.28739070e-01,-6.28430666e-02 +1141000000,-5.34423974e-02,1.08492536e-01,-2.56169092e-02,3.47544682e-01,-3.11488206e-04,1.78153942e-04,-3.31114051e-01,-6.74887993e-02 +1142000000,-5.15358565e-02,1.10478351e-01,-1.53385320e-02,3.47479998e-01,-3.33132854e-04,1.91144283e-04,-3.31543046e-01,-7.60280886e-02 +1143000000,-5.05111380e-02,1.14431480e-01,-6.11458641e-03,3.54767454e-01,-2.96612138e-04,1.79016358e-04,-3.28648977e-01,-7.70567497e-02 +1144000000,-4.75659764e-02,1.16351382e-01,6.76264310e-03,3.54036217e-01,-2.73737013e-04,1.78462396e-04,-3.28037281e-01,-7.75638564e-02 +1145000000,-4.50961048e-02,1.17594284e-01,1.80624756e-02,3.51412541e-01,-2.68313860e-04,1.58357780e-04,-3.28093234e-01,-8.40974796e-02 +1146000000,-4.34171740e-02,1.16929734e-01,2.41749498e-02,3.41392015e-01,-2.90840774e-04,1.19040706e-04,-3.25721449e-01,-8.68369368e-02 +1147000000,-4.12024329e-02,1.18711303e-01,3.43147227e-02,3.40370698e-01,-2.79288762e-04,9.45167144e-05,-3.24061921e-01,-8.89140341e-02 +1148000000,-3.81449858e-02,1.21114024e-01,4.67436852e-02,3.41254569e-01,-2.44434715e-04,1.32193808e-04,-3.22568648e-01,-9.58721530e-02 +1149000000,-3.79314541e-02,1.22673523e-01,5.09429577e-02,3.39401077e-01,-2.91858621e-04,1.53406711e-04,-3.18870342e-01,-1.03404179e-01 +1150000000,-3.58238761e-02,1.24998610e-01,6.03862883e-02,3.39669170e-01,-2.67413995e-04,1.15760723e-04,-3.20491158e-01,-9.71734663e-02 +1151000000,-3.38718862e-02,1.26709096e-01,6.91728184e-02,3.38191868e-01,-2.60863043e-04,8.98636087e-05,-3.19867569e-01,-9.97093916e-02 +1152000000,-3.17827116e-02,1.27837457e-01,7.81024897e-02,3.35026689e-01,-2.20104791e-04,1.05533111e-04,-3.19545764e-01,-1.04091485e-01 +1153000000,-2.98168515e-02,1.28786361e-01,8.66517695e-02,3.31634415e-01,-2.58221704e-04,9.60479261e-05,-3.18132316e-01,-1.03076100e-01 +1154000000,-2.73506111e-02,1.30614206e-01,9.61977691e-02,3.30155169e-01,-2.08358242e-04,1.36216610e-04,-3.18359755e-01,-1.07045587e-01 +1155000000,-2.46834130e-02,1.32368281e-01,1.06094147e-01,3.28487144e-01,-2.12941819e-04,1.19792177e-04,-3.16362095e-01,-1.09274429e-01 +1156000000,-2.28770669e-02,1.33737216e-01,1.16120834e-01,3.26981406e-01,-2.13976292e-04,1.31112501e-04,-3.15314431e-01,-1.10635285e-01 +1157000000,-2.06591934e-02,1.34739123e-01,1.24327640e-01,3.23329197e-01,-2.10826628e-04,1.33830608e-04,-3.14302636e-01,-1.13686726e-01 +1158000000,-1.86867547e-02,1.34850634e-01,1.31871129e-01,3.17695609e-01,-1.72391182e-04,1.44539595e-04,-3.14396228e-01,-1.14087911e-01 +1159000000,-1.59022063e-02,1.36511870e-01,1.41012708e-01,3.15466529e-01,-1.67880673e-04,1.31762651e-04,-3.12924971e-01,-1.16114569e-01 +1160000000,-1.27090206e-02,1.37116377e-01,1.50955517e-01,3.10961416e-01,-1.37979233e-04,1.17676155e-04,-3.12022598e-01,-1.20443979e-01 +1161000000,-1.09596933e-02,1.37874912e-01,1.57434707e-01,3.06687973e-01,-1.40253045e-04,1.41797552e-04,-3.12056101e-01,-1.20312519e-01 +1162000000,-8.80398648e-03,1.38533107e-01,1.64574226e-01,3.02476355e-01,-1.14197910e-04,1.65034548e-04,-3.11150603e-01,-1.23086580e-01 +1163000000,-7.19158025e-03,1.38492573e-01,1.70406663e-01,2.96683371e-01,-1.39489151e-04,1.37524840e-04,-3.09105243e-01,-1.24224903e-01 +1164000000,-2.61339165e-03,1.37222947e-01,1.79976796e-01,2.87645742e-01,-1.09139634e-04,1.46195068e-04,-3.08747087e-01,-1.25192058e-01 +1165000000,-2.02618174e-03,1.36100504e-01,1.83682592e-01,2.79965890e-01,-1.00659110e-04,1.41660925e-04,-3.07252200e-01,-1.26285668e-01 +1166000000,1.15894339e-03,1.37138928e-01,1.92471377e-01,2.76893817e-01,-8.45852884e-05,1.51110796e-04,-3.07256352e-01,-1.30055642e-01 +1167000000,3.21198695e-03,1.37696553e-01,1.98857756e-01,2.72786816e-01,-9.05525617e-05,1.32366064e-04,-3.05692291e-01,-1.29903569e-01 +1168000000,2.21836147e-03,1.41023515e-01,1.99078121e-01,2.73946496e-01,-7.27154494e-05,1.34806491e-04,-3.03022550e-01,-1.29660423e-01 +1169000000,5.90477000e-03,1.41233153e-01,2.08352116e-01,2.69362788e-01,-7.79060420e-05,1.36184546e-04,-3.04903927e-01,-1.30523122e-01 +1170000000,8.72302142e-03,1.40759886e-01,2.15865232e-01,2.63393964e-01,-8.27339193e-05,1.55607253e-04,-3.04953959e-01,-1.31017826e-01 +1171000000,8.52768453e-03,1.40122651e-01,2.19892417e-01,2.57812070e-01,-8.92948356e-05,1.36002358e-04,-3.04447560e-01,-1.30570295e-01 +1172000000,1.01504725e-02,1.40251511e-01,2.24847194e-01,2.52951001e-01,-7.00104377e-05,1.27258461e-04,-3.04079905e-01,-1.31827670e-01 +1173000000,1.26287535e-02,1.40236899e-01,2.31079076e-01,2.48056296e-01,-6.20909743e-05,1.53259105e-04,-3.04638512e-01,-1.30534655e-01 +1174000000,1.36132466e-02,1.40150022e-01,2.34855243e-01,2.43040860e-01,-7.83057274e-05,1.31752735e-04,-3.04684210e-01,-1.29149974e-01 +1175000000,1.58588758e-02,1.40646795e-01,2.40564864e-01,2.38901552e-01,-5.01456422e-05,1.41326463e-04,-3.04429200e-01,-1.29710151e-01 +1176000000,1.74317971e-02,1.40577325e-01,2.45044623e-01,2.33716361e-01,3.13163040e-05,1.45352061e-04,-3.03879330e-01,-1.30889813e-01 +1177000000,1.89394290e-02,1.40275706e-01,2.49403101e-01,2.28517902e-01,-6.43600161e-05,1.22406103e-04,-3.04202446e-01,-1.30538517e-01 +1178000000,2.00006713e-02,1.39662156e-01,2.52844495e-01,2.23134209e-01,-5.39793292e-05,1.39652395e-04,-3.03823659e-01,-1.28913377e-01 +1179000000,2.06477609e-02,1.40536377e-01,2.53080789e-01,2.19175621e-01,-2.21621674e-05,1.32576736e-04,-3.01789555e-01,-1.27264090e-01 +1180000000,2.37454289e-02,1.39200676e-01,2.59899762e-01,2.12595556e-01,-5.00732379e-05,1.24419814e-04,-3.02425093e-01,-1.27388117e-01 +1181000000,2.41137936e-02,1.40008503e-01,2.62417089e-01,2.09249068e-01,-4.38543328e-05,1.23394704e-04,-3.01560618e-01,-1.28213802e-01 +1182000000,2.52462288e-02,1.39949089e-01,2.66035317e-01,2.04810089e-01,-5.49150893e-05,1.27833224e-04,-3.01577765e-01,-1.27787608e-01 +1183000000,2.45680821e-02,1.39409872e-01,2.66896016e-01,1.99380993e-01,-6.06273657e-05,1.21001971e-04,-3.03409098e-01,-1.29396547e-01 +1184000000,2.84365925e-02,1.38321475e-01,2.74184240e-01,1.93643652e-01,-7.30880731e-05,1.09017517e-04,-3.04876691e-01,-1.22293716e-01 +1185000000,2.76966191e-02,1.34780862e-01,2.75284309e-01,1.84550893e-01,-5.51016689e-05,1.04272573e-04,-3.04631833e-01,-1.22281717e-01 +1186000000,2.87492327e-02,1.37226162e-01,2.80362366e-01,1.83842385e-01,-5.50196465e-05,1.26876530e-04,-3.04652571e-01,-1.25136733e-01 +1187000000,2.95161433e-02,1.36714623e-01,2.82992604e-01,1.79065750e-01,-5.63288477e-05,1.18152779e-04,-3.04335913e-01,-1.25235248e-01 +1188000000,3.02530344e-02,1.35996510e-01,2.85592007e-01,1.73543392e-01,-5.24450680e-05,1.01983021e-04,-3.04395361e-01,-1.23398803e-01 +1189000000,3.10700149e-02,1.35411059e-01,2.88280359e-01,1.68488244e-01,-6.06685089e-05,1.19720423e-04,-3.03825265e-01,-1.24913283e-01 +1190000000,3.22293641e-02,1.34823125e-01,2.91324357e-01,1.63421294e-01,-6.31211562e-05,1.01289492e-04,-3.03046840e-01,-1.27238313e-01 +1191000000,3.38653964e-02,1.33349022e-01,2.92517675e-01,1.56781526e-01,-5.25688692e-05,9.75951164e-05,-3.01626400e-01,-1.28279208e-01 +1192000000,3.48478690e-02,1.32917515e-01,2.95266044e-01,1.51712678e-01,-6.67056460e-05,9.44229926e-05,-3.00797776e-01,-1.30220408e-01 +1193000000,3.33867524e-02,1.33227894e-01,2.95305422e-01,1.47202501e-01,-6.17623159e-05,8.91294842e-05,-2.98576142e-01,-1.31891766e-01 +1194000000,3.57955879e-02,1.32575674e-01,2.99421646e-01,1.41489700e-01,-7.06939483e-05,9.03798487e-05,-2.99301448e-01,-1.33979456e-01 +1195000000,3.71866427e-02,1.31681724e-01,3.02265111e-01,1.35263534e-01,-6.54635405e-05,8.91493474e-05,-2.97529005e-01,-1.36997000e-01 +1196000000,3.78200623e-02,1.30433975e-01,3.07265096e-01,1.29029104e-01,-7.08924300e-05,5.98608900e-05,-2.96691117e-01,-1.37929084e-01 +1197000000,3.87237473e-02,1.29501045e-01,3.09414807e-01,1.22910491e-01,-7.13283071e-05,6.38150877e-05,-2.96278420e-01,-1.38532414e-01 +1198000000,3.98236639e-02,1.28314705e-01,3.11739015e-01,1.15742752e-01,-7.06787822e-05,5.71425899e-05,-2.94277190e-01,-1.42560854e-01 +1199000000,4.14945219e-02,1.27249757e-01,3.14457802e-01,1.08500603e-01,-7.08221868e-05,6.31645920e-05,-2.95331117e-01,-1.40930705e-01 +1200000000,4.21805408e-02,1.25843986e-01,3.16124633e-01,1.01570983e-01,-8.05058611e-05,5.38137759e-05,-2.95135057e-01,-1.39852424e-01 +1201000000,4.34473979e-02,1.24703363e-01,3.18203264e-01,9.40460844e-02,-6.08256470e-05,4.72014968e-05,-2.94106646e-01,-1.41604492e-01 +1202000000,4.50517766e-02,1.23403437e-01,3.20430334e-01,8.56219509e-02,-5.74134905e-05,5.97835511e-05,-2.92381630e-01,-1.45164974e-01 +1203000000,4.62127595e-02,1.22108110e-01,3.22152475e-01,7.78628966e-02,-4.81552078e-05,6.12338474e-05,-2.94241083e-01,-1.41007335e-01 +1204000000,4.76881221e-02,1.21164165e-01,3.23976917e-01,6.99247215e-02,-6.84364082e-05,4.61205521e-05,-2.92788060e-01,-1.44304714e-01 +1205000000,4.93996768e-02,1.19611966e-01,3.25668371e-01,6.10550966e-02,-4.90692769e-05,3.22859039e-05,-2.92284719e-01,-1.45396654e-01 +1206000000,5.05203999e-02,1.18127702e-01,3.26822690e-01,5.22416765e-02,-6.21743152e-05,5.67621169e-05,-2.90834045e-01,-1.47498496e-01 +1207000000,5.21342564e-02,1.16489637e-01,3.28048949e-01,4.28469210e-02,-8.28918829e-05,6.27185141e-05,-2.90192990e-01,-1.48601005e-01 +1208000000,5.35492300e-02,1.14766462e-01,3.28890025e-01,3.33683398e-02,-5.04640204e-05,5.51436563e-05,-2.90886224e-01,-1.46719158e-01 +1209000000,5.50107206e-02,1.09977581e-01,3.24185655e-01,2.32637701e-02,-6.21931927e-05,5.68448444e-05,-2.88050126e-01,-1.47059801e-01 +1210000000,5.45627786e-02,1.08656531e-01,3.24701830e-01,1.37311124e-02,-7.08711443e-05,4.73970941e-05,-2.85257030e-01,-1.49275482e-01 +1211000000,5.79671847e-02,1.06785991e-01,3.25054191e-01,4.12221880e-03,-6.29766777e-05,4.65603492e-05,-2.87545108e-01,-1.50636488e-01 +1212000000,5.94466037e-02,1.04771389e-01,3.25048014e-01,-5.66700884e-03,-5.70933170e-05,3.06419588e-05,-2.88771769e-01,-1.50344244e-01 +1213000000,6.10499904e-02,1.05316462e-01,3.29458361e-01,-1.65896165e-02,-6.87152892e-05,6.11864385e-05,-2.89054477e-01,-1.49521327e-01 +1214000000,6.23022939e-02,1.03382994e-01,3.28626506e-01,-2.64923983e-02,-6.21041725e-05,4.30517906e-05,-2.90087967e-01,-1.46866550e-01 +1215000000,6.38482593e-02,1.01524039e-01,3.27560850e-01,-3.63276146e-02,-7.67150571e-05,6.13713259e-05,-2.90520358e-01,-1.46980979e-01 +1216000000,6.49203361e-02,9.96735314e-02,3.26132475e-01,-4.61697391e-02,-8.10453405e-05,4.36423531e-05,-2.89658076e-01,-1.48163901e-01 +1217000000,6.60091930e-02,9.76648747e-02,3.24389023e-01,-5.59875289e-02,-7.66142613e-05,4.32595646e-05,-2.89691817e-01,-1.47946210e-01 +1218000000,6.67304873e-02,9.54705220e-02,3.22647773e-01,-6.57515055e-02,-8.94615240e-05,6.42371262e-05,-2.90326098e-01,-1.45933579e-01 +1219000000,6.76039054e-02,9.38311164e-02,3.20331865e-01,-7.54079713e-02,-7.62565108e-05,6.31457121e-05,-2.89879530e-01,-1.46613900e-01 +1220000000,6.85229844e-02,9.15121310e-02,3.17863249e-01,-8.45204172e-02,-8.29153102e-05,4.33091434e-05,-2.89758498e-01,-1.46755231e-01 +1221000000,6.93948385e-02,8.95462081e-02,3.14913265e-01,-9.40684079e-02,-6.70823516e-05,4.16376038e-05,-2.90118684e-01,-1.46335590e-01 +1222000000,6.99956616e-02,8.76488526e-02,3.11885585e-01,-1.03309429e-01,-7.05644932e-05,4.16699038e-05,-2.90855538e-01,-1.44790269e-01 +1223000000,7.03814543e-02,8.57784483e-02,3.08837749e-01,-1.12024950e-01,-6.74902406e-05,5.43049416e-05,-2.90894057e-01,-1.44505431e-01 +1224000000,7.08071669e-02,8.38650981e-02,3.05369725e-01,-1.21042180e-01,-7.65542182e-05,4.67551834e-05,-2.91414707e-01,-1.43047200e-01 +1225000000,7.14787878e-02,8.22089381e-02,3.01107649e-01,-1.30244977e-01,-7.44206556e-05,6.43724393e-05,-2.91057464e-01,-1.44428067e-01 +1226000000,7.17801652e-02,8.04195620e-02,2.97195820e-01,-1.38975969e-01,-8.95764722e-05,5.49171522e-05,-2.90304899e-01,-1.45029889e-01 +1227000000,7.20688118e-02,7.85593689e-02,2.92872057e-01,-1.47575323e-01,-7.98852738e-05,3.85065982e-05,-2.91046255e-01,-1.43697183e-01 +1228000000,7.21695120e-02,7.68477766e-02,2.88514640e-01,-1.56677809e-01,-7.03162185e-05,3.51194522e-05,-2.94112109e-01,-1.37037932e-01 +1229000000,6.99126103e-02,7.55497461e-02,2.82046125e-01,-1.63568376e-01,-1.08776630e-04,1.34088856e-05,-2.86038442e-01,-1.38827725e-01 +1230000000,7.21143282e-02,7.37595751e-02,2.72591283e-01,-1.71577468e-01,-8.71026829e-05,5.73507242e-05,-2.90741774e-01,-1.40567621e-01 +1231000000,7.19982120e-02,7.14367136e-02,2.73516794e-01,-1.80346324e-01,-7.28177834e-05,1.57788644e-05,-2.93412141e-01,-1.37062587e-01 +1232000000,7.19512195e-02,6.97743057e-02,2.68224080e-01,-1.88251489e-01,-8.06748615e-05,-3.62888934e-06,-2.95262705e-01,-1.32975932e-01 +1233000000,7.18637560e-02,6.79074794e-02,2.62828024e-01,-1.94701388e-01,-9.78575521e-05,2.49683593e-05,-2.96002504e-01,-1.32587318e-01 +1234000000,7.16049053e-02,6.62824404e-02,2.57396429e-01,-2.01911367e-01,-9.98566888e-05,1.06204072e-05,-2.95119623e-01,-1.33189098e-01 +1235000000,7.12469807e-02,6.47774819e-02,2.52073559e-01,-2.09017452e-01,-1.12228562e-04,-4.06795214e-05,-2.95925836e-01,-1.30789825e-01 +1236000000,7.11814322e-02,6.34284135e-02,2.45267344e-01,-2.16432176e-01,-7.91320673e-05,-4.49836160e-05,-2.97690272e-01,-1.27369463e-01 +1237000000,7.09170007e-02,6.20606593e-02,2.38841235e-01,-2.23769344e-01,-9.13103014e-05,-1.07533954e-04,-2.99902578e-01,-1.21694726e-01 +1238000000,7.01497454e-02,6.06883924e-02,2.34004295e-01,-2.30327095e-01,-1.06622540e-04,-6.09627888e-05,-2.98074580e-01,-1.25780036e-01 +1239000000,6.96290536e-02,5.93060655e-02,2.27926882e-01,-2.36700933e-01,-9.98198142e-05,-1.41957391e-04,-2.99017763e-01,-1.22101592e-01 +1240000000,6.95635421e-02,5.79890416e-02,2.19466519e-01,-2.43257022e-01,-9.34463442e-05,-2.29270723e-04,-3.01676476e-01,-1.16402366e-01 +1241000000,6.86907176e-02,5.66501110e-02,2.14345891e-01,-2.49213569e-01,-1.02682857e-04,-2.18720064e-04,-3.02678916e-01,-1.11669659e-01 +1242000000,6.81454349e-02,5.54492156e-02,2.07428847e-01,-2.55291995e-01,-1.24385946e-04,-1.96665388e-04,-3.03622286e-01,-1.11474645e-01 +1243000000,6.75677134e-02,5.42601190e-02,2.00224627e-01,-2.61257272e-01,-1.53177453e-04,-1.97277667e-04,-3.02771812e-01,-1.14415395e-01 +1244000000,6.73672173e-02,5.29541659e-02,1.90989680e-01,-2.65487843e-01,-1.69286374e-04,-2.85066587e-04,-3.03876795e-01,-1.11353605e-01 +1245000000,6.66025938e-02,5.15953100e-02,1.84221305e-01,-2.69277867e-01,-1.53103090e-04,-1.99039296e-04,-3.02761843e-01,-1.16318004e-01 +1246000000,6.55123449e-02,5.09093245e-02,1.76608544e-01,-2.75715392e-01,-2.20696010e-04,-2.73280476e-04,-3.01304787e-01,-1.15925115e-01 +1247000000,6.48564538e-02,4.98471477e-02,1.68864165e-01,-2.80608090e-01,-2.30900924e-04,-2.95241647e-04,-3.01714535e-01,-1.16586516e-01 +1248000000,6.42745315e-02,4.88418990e-02,1.60168768e-01,-2.85639863e-01,-3.13719405e-04,-4.09974295e-04,-3.04438991e-01,-1.10438159e-01 +1249000000,6.37110488e-02,4.77672085e-02,1.51192987e-01,-2.88881109e-01,-3.86360345e-04,-4.14425025e-04,-3.04651475e-01,-1.09978143e-01 +1250000000,6.30080704e-02,4.67981180e-02,1.42808018e-01,-2.93130839e-01,-3.92007649e-04,-4.06252065e-04,-3.04492580e-01,-1.09720054e-01 +1251000000,6.22609941e-02,4.59290495e-02,1.34406135e-01,-2.97262686e-01,-3.73938910e-04,-3.59970489e-04,-3.04308969e-01,-1.10115878e-01 +1252000000,6.14433355e-02,4.51073099e-02,1.26111718e-01,-3.01172165e-01,-4.97822412e-04,-4.05362346e-04,-3.04349586e-01,-1.08830632e-01 +1253000000,6.04322091e-02,4.45237325e-02,1.19109362e-01,-3.06123901e-01,-6.42519439e-04,-6.72220371e-04,-3.04249225e-01,-1.06696073e-01 +1254000000,5.97620962e-02,4.37865145e-02,1.09928040e-01,-3.09451277e-01,-7.28789633e-04,-6.61297109e-04,-3.04722676e-01,-1.05881943e-01 +1255000000,5.90368255e-02,4.27572598e-02,1.01184002e-01,-3.09603138e-01,-6.28105538e-04,-5.14737259e-04,-3.05775220e-01,-1.06241600e-01 +1256000000,5.87106256e-02,4.17341081e-02,9.30270997e-02,-3.17399846e-01,-5.59208672e-04,-3.63277947e-04,-3.04580882e-01,-1.12167734e-01 +1257000000,5.78678658e-02,4.12340487e-02,8.41634785e-02,-3.20202589e-01,-5.38697772e-04,-2.16358480e-04,-3.04154762e-01,-1.15172640e-01 +1258000000,5.70652295e-02,4.08370225e-02,7.48167018e-02,-3.23125211e-01,-7.72181009e-04,-2.98667747e-04,-3.06589006e-01,-1.08247279e-01 +1259000000,5.61179201e-02,4.05853139e-02,6.69474881e-02,-3.27049898e-01,-6.75922263e-04,-2.47849624e-04,-3.05610009e-01,-1.10991102e-01 +1260000000,5.49945493e-02,4.01106420e-02,5.98965087e-02,-3.28146792e-01,-6.67022333e-04,-1.65731201e-04,-3.05251983e-01,-1.12117523e-01 +1261000000,5.44495380e-02,3.93530045e-02,4.84529594e-02,-3.26813774e-01,-7.39560572e-04,-1.30838206e-04,-3.06668917e-01,-1.08456826e-01 +1262000000,5.36428701e-02,3.90989738e-02,3.92103251e-02,-3.28349732e-01,-8.09865814e-04,-4.30006215e-05,-3.08517257e-01,-1.02925897e-01 +1263000000,5.29407789e-02,3.91679052e-02,2.94883813e-02,-3.32507501e-01,-1.10778756e-03,-9.72137820e-05,-3.12102957e-01,-9.33997181e-02 +1264000000,5.21253347e-02,3.89111896e-02,2.04360279e-02,-3.33315065e-01,-1.02292663e-03,3.15211095e-05,-3.12969148e-01,-9.22211257e-02 +1265000000,5.12651383e-02,3.83296418e-02,1.17212808e-02,-3.30590330e-01,-9.56121751e-04,9.22863095e-05,-3.13818646e-01,-8.81178511e-02 +1266000000,5.06160876e-02,3.75330510e-02,-3.02474039e-03,-3.30079576e-01,-1.30449814e-03,1.63687090e-04,-3.16399703e-01,-8.06019073e-02 +1267000000,4.99925243e-02,3.74139480e-02,-1.32159858e-02,-3.29691207e-01,-1.09964671e-03,2.93086803e-04,-3.17075990e-01,-7.81478543e-02 +1268000000,4.96438463e-02,3.75367231e-02,-2.56791888e-02,-3.31164284e-01,-9.98074048e-04,4.30571219e-04,-3.18768313e-01,-7.48006632e-02 +1269000000,4.85514216e-02,3.83541043e-02,-3.13893238e-02,-3.37542577e-01,-1.34320697e-03,6.25113175e-04,-3.19494362e-01,-7.10137470e-02 +1270000000,4.83044385e-02,3.75374003e-02,-4.46036704e-02,-3.29736733e-01,-9.95390286e-04,6.08581210e-04,-3.20737435e-01,-6.66612262e-02 +1271000000,4.77299747e-02,3.78363718e-02,-5.46574310e-02,-3.31049306e-01,-8.71493221e-04,7.32963682e-04,-3.21704433e-01,-6.25623169e-02 +1272000000,4.70290516e-02,3.79850347e-02,-6.33536299e-02,-3.30353483e-01,-7.86817474e-04,6.36677654e-04,-3.22419003e-01,-5.81257090e-02 +1273000000,4.59558613e-02,3.85667113e-02,-6.88651830e-02,-3.32195370e-01,-6.26100499e-04,6.55995282e-04,-3.22906392e-01,-6.52397054e-02 +1274000000,4.56382566e-02,3.86033280e-02,-7.98838630e-02,-3.29630128e-01,-7.13822315e-04,8.78605046e-04,-3.24299315e-01,-5.26061227e-02 +1275000000,4.52537620e-02,3.80750835e-02,-9.05727293e-02,-3.22240674e-01,-8.27646709e-04,8.50773616e-04,-3.24500270e-01,-4.75694986e-02 +1276000000,4.46039428e-02,3.75261589e-02,-9.92169700e-02,-3.15335113e-01,-1.38327327e-03,6.52745504e-04,-3.24104762e-01,-5.56229879e-02 +1277000000,4.40296788e-02,3.75579284e-02,-1.07806354e-01,-3.11920977e-01,-4.30595867e-04,8.17108380e-04,-3.24991971e-01,-5.27085225e-02 +1278000000,4.41471474e-02,3.85056618e-02,-1.21748500e-01,-3.15743363e-01,-3.19982472e-04,7.88801880e-04,-3.25019805e-01,-5.30222346e-02 +1279000000,4.32660269e-02,3.78340500e-02,-1.26917375e-01,-3.05216160e-01,-2.64100516e-04,8.96317390e-04,-3.25877634e-01,-4.72654913e-02 +1280000000,4.28630921e-02,3.79015653e-02,-1.35391145e-01,-3.00630699e-01,-3.37519091e-04,8.97181140e-04,-3.28032264e-01,-4.33799860e-02 +1281000000,4.24281161e-02,3.99849369e-02,-1.44270651e-01,-3.11758187e-01,-7.11438232e-05,8.85447863e-04,-3.26011043e-01,-3.53862659e-02 +1282000000,4.21360142e-02,4.03305988e-02,-1.52512584e-01,-3.07995064e-01,1.45302013e-04,9.38052734e-04,-3.26964941e-01,-2.84524032e-02 +1283000000,4.23147914e-02,4.00315976e-02,-1.65160650e-01,-2.99275722e-01,-3.03181219e-04,1.03758310e-03,-3.28376339e-01,-3.25137990e-02 +1284000000,4.10049585e-02,3.95511031e-02,-1.65509388e-01,-2.89041565e-01,2.08723435e-04,8.06386847e-04,-3.27722043e-01,-2.45835049e-02 +1285000000,4.09328549e-02,4.13607274e-02,-1.74780141e-01,-2.94754564e-01,3.42672991e-04,9.01347157e-04,-3.29065565e-01,-1.77888511e-02 +1286000000,4.07468634e-02,4.01949299e-02,-1.82952662e-01,-2.79295637e-01,5.03312791e-04,1.13247838e-03,-3.29833482e-01,-1.48226035e-02 +1287000000,4.05935701e-02,4.04034446e-02,-1.90876451e-01,-2.73326719e-01,2.79773674e-04,1.51733150e-03,-3.29910940e-01,-1.20991701e-02 +1288000000,4.00243260e-02,4.17561939e-02,-1.95657454e-01,-2.74590960e-01,2.50293109e-04,1.45243132e-03,-3.31170287e-01,-1.41827563e-02 +1289000000,3.98855358e-02,4.19355166e-02,-2.02718065e-01,-2.67740009e-01,3.33592955e-04,1.18882541e-03,-3.30417067e-01,-1.28055418e-02 +1290000000,4.01318919e-02,4.16966915e-02,-2.11955037e-01,-2.58233035e-01,4.34982839e-04,9.50998939e-04,-3.31609037e-01,-9.82040669e-03 +1291000000,4.14161271e-02,4.18770915e-02,-2.26671104e-01,-2.51507964e-01,6.41637211e-04,5.91461378e-04,-3.31935983e-01,-4.25157233e-03 +1292000000,4.15378968e-02,4.22234164e-02,-2.34328036e-01,-2.45177041e-01,8.09681803e-04,2.92873172e-04,-3.31330709e-01,2.66474565e-03 +1293000000,4.16788536e-02,4.18408177e-02,-2.41454086e-01,-2.36369055e-01,8.52785311e-04,3.61943945e-04,-3.30535450e-01,5.77938892e-03 +1294000000,4.04240760e-02,4.40757176e-02,-2.44040099e-01,-2.41023938e-01,9.78125970e-04,2.26306369e-04,-3.33638393e-01,1.05573724e-02 +1295000000,4.19187489e-02,4.42459425e-02,-2.58150447e-01,-2.32634314e-01,1.25864750e-03,3.54126149e-04,-3.32005902e-01,1.29485078e-02 +1296000000,4.04578542e-02,4.39419501e-02,-2.55880325e-01,-2.22416461e-01,1.19049128e-03,9.30730392e-04,-3.33917990e-01,1.29199344e-02 +1297000000,4.07285472e-02,4.42881570e-02,-2.62304995e-01,-2.15330276e-01,7.28913393e-04,7.82002498e-04,-3.33965748e-01,1.53782207e-02 +1298000000,4.29699762e-02,4.46520811e-02,-2.77495466e-01,-2.07955430e-01,1.16273836e-03,4.05141078e-04,-3.30265424e-01,2.51663437e-02 +1299000000,4.13845050e-02,4.43377657e-02,-2.75019787e-01,-1.97600755e-01,9.14112161e-04,1.91728090e-04,-3.33183585e-01,2.57397589e-02 +1300000000,4.17602496e-02,4.53449100e-02,-2.80640262e-01,-1.92846014e-01,1.18139439e-03,-1.57916162e-04,-3.32884524e-01,3.02090300e-02 +1301000000,4.20003925e-02,4.55477172e-02,-2.86172982e-01,-1.84595735e-01,5.88964463e-04,6.46193105e-05,-3.32442656e-01,3.20346370e-02 +1302000000,4.22590067e-02,4.57422321e-02,-2.91174625e-01,-1.76257649e-01,9.55277465e-04,1.45226031e-04,-3.32943079e-01,3.24462535e-02 +1303000000,4.31676496e-02,4.66559405e-02,-2.98369091e-01,-1.70387866e-01,1.05774594e-03,1.62754266e-04,-3.32912696e-01,4.02142871e-02 +1304000000,4.51759324e-02,4.64284218e-02,-3.08434437e-01,-1.60371943e-01,6.87663596e-04,1.86190260e-05,-3.29603390e-01,4.20075362e-02 +1305000000,4.56549954e-02,4.52463840e-02,-3.12877711e-01,-1.47546997e-01,8.76192207e-04,-2.80403776e-04,-3.28655729e-01,4.02491420e-02 +1306000000,4.63615646e-02,4.60359047e-02,-3.17697012e-01,-1.40830800e-01,8.99760580e-04,-1.22556897e-04,-3.28547520e-01,4.24327979e-02 +1307000000,4.69757899e-02,4.61094858e-02,-3.21768466e-01,-1.31850267e-01,1.03387807e-03,3.62234562e-04,-3.28739872e-01,4.39021934e-02 +1308000000,4.50901654e-02,4.66860102e-02,-3.19562601e-01,-1.24519001e-01,7.85752007e-04,-3.09894585e-04,-3.32981178e-01,5.10566670e-02 +1309000000,4.67617588e-02,4.64371029e-02,-3.25152598e-01,-1.13719811e-01,9.77482749e-04,-2.15008515e-04,-3.29847484e-01,5.38750588e-02 +1310000000,4.73585453e-02,4.63823608e-02,-3.28758393e-01,-1.04182193e-01,9.58370102e-04,-1.05426071e-04,-3.29923614e-01,5.56072668e-02 +1311000000,4.86712367e-02,4.69080219e-02,-3.36434897e-01,-9.73331988e-02,9.08536174e-04,-8.44052859e-04,-3.29187683e-01,5.65316712e-02 +1312000000,4.90069969e-02,4.67462555e-02,-3.38524517e-01,-8.73072987e-02,6.84315550e-04,-1.57873648e-04,-3.30144424e-01,5.64395262e-02 +1313000000,4.78478304e-02,4.61851779e-02,-3.38171438e-01,-7.66765121e-02,5.56378759e-04,-8.27114224e-05,-3.33766447e-01,5.56010004e-02 +1314000000,4.81561162e-02,4.54715347e-02,-3.40047193e-01,-6.59950899e-02,5.15929430e-04,-2.95794162e-04,-3.33293543e-01,5.39488126e-02 +1315000000,4.88725750e-02,4.53424116e-02,-3.42667801e-01,-5.57626338e-02,4.24093860e-04,-5.71687360e-04,-3.33768484e-01,5.31328848e-02 +1316000000,5.06078738e-02,4.36505122e-02,-3.45606450e-01,-4.40805637e-02,1.02455485e-03,-3.06123448e-04,-3.31837008e-01,5.00184425e-02 +1317000000,5.11047132e-02,4.32585307e-02,-3.46662771e-01,-3.38578885e-02,5.65133133e-04,-1.48223202e-04,-3.33033044e-01,4.94246028e-02 +1318000000,5.33869544e-02,4.38146088e-02,-3.48444784e-01,-2.38369947e-02,7.13529531e-04,-3.10882882e-04,-3.29518880e-01,5.13913232e-02 +1319000000,5.32288444e-02,4.24178007e-02,-3.48798736e-01,-1.33189198e-02,3.01803197e-04,7.11672880e-06,-3.31138403e-01,4.75695468e-02 +1320000000,5.18711686e-02,4.23092945e-02,-3.49323382e-01,-3.03043977e-03,5.66539115e-04,-9.20636296e-07,-3.36737355e-01,4.67842546e-02 +1321000000,5.32360826e-02,4.23469733e-02,-3.50731534e-01,8.14335997e-03,4.91588841e-04,-1.84650009e-04,-3.33534091e-01,4.78583630e-02 +1322000000,5.37937876e-02,4.16659770e-02,-3.50666886e-01,1.85906293e-02,4.78176194e-04,3.04647953e-05,-3.33820048e-01,4.69358785e-02 +1323000000,5.49880093e-02,4.06914953e-02,-3.49558719e-01,2.85896925e-02,5.28374229e-04,-1.40382217e-04,-3.33878757e-01,4.03355826e-02 +1324000000,5.47055097e-02,4.07528828e-02,-3.49760289e-01,3.95934743e-02,2.90946251e-04,-9.13095253e-05,-3.35398310e-01,4.10207053e-02 +1325000000,5.56455271e-02,3.94821957e-02,-3.47872155e-01,4.90647832e-02,2.43897677e-04,-1.63058932e-04,-3.34977154e-01,3.55080171e-02 +1326000000,5.60387726e-02,3.88385794e-02,-3.46617989e-01,5.91370981e-02,3.71542440e-04,-3.58289502e-04,-3.34987932e-01,2.90164000e-02 +1327000000,5.65473896e-02,3.80989205e-02,-3.44633888e-01,6.91406537e-02,1.69936275e-04,-3.90575035e-04,-3.35720832e-01,2.21350648e-02 +1328000000,5.70829110e-02,3.88937108e-02,-3.42190766e-01,8.26831504e-02,4.14139550e-04,-3.47876394e-04,-3.37214381e-01,1.59989679e-02 +1329000000,5.76045122e-02,3.69187581e-02,-3.38972543e-01,8.88465162e-02,4.05743732e-04,-6.95685195e-05,-3.36948750e-01,1.30110580e-02 +1330000000,5.66435079e-02,3.70252598e-02,-3.40081398e-01,9.95069968e-02,2.62858502e-04,-6.37151227e-05,-3.38993737e-01,6.29813943e-03 +1331000000,5.76134480e-02,3.57300146e-02,-3.34859447e-01,1.06048255e-01,2.08288417e-04,-1.67519551e-04,-3.37490879e-01,-2.18936414e-03 +1332000000,5.77532435e-02,3.51949283e-02,-3.32448355e-01,1.14241006e-01,3.01507360e-04,-2.41844331e-04,-3.37705733e-01,-1.12654037e-02 +1333000000,5.79547800e-02,3.60797570e-02,-3.29187793e-01,1.28780566e-01,3.24927151e-04,-2.77848666e-04,-3.39158054e-01,-2.16056861e-02 +1334000000,5.82398013e-02,3.54117695e-02,-3.25001668e-01,1.36109601e-01,2.89649962e-04,-2.20206514e-04,-3.38211089e-01,-3.14728976e-02 +1335000000,5.83338912e-02,3.41650149e-02,-3.21022819e-01,1.40871353e-01,3.36606578e-04,-8.72489225e-05,-3.38250638e-01,-3.89366781e-02 +1336000000,5.76112015e-02,3.38581727e-02,-3.18030417e-01,1.47538688e-01,3.60382219e-04,-2.23943207e-04,-3.39508452e-01,-4.64491868e-02 +1337000000,5.74008044e-02,3.34776180e-02,-3.15351463e-01,1.54657249e-01,2.62835027e-04,-9.00006508e-05,-3.38717226e-01,-5.47369512e-02 +1338000000,5.72366949e-02,3.32729858e-02,-3.12270151e-01,1.61682660e-01,2.99821855e-04,-1.61946561e-04,-3.36717307e-01,-6.79548343e-02 +1339000000,5.69972990e-02,3.29040146e-02,-3.09048338e-01,1.68792193e-01,2.85135918e-04,-1.36590580e-04,-3.35678886e-01,-7.51030504e-02 +1340000000,5.66447993e-02,3.23337038e-02,-3.06290676e-01,1.74345012e-01,2.34357868e-04,-5.39512200e-05,-3.34135524e-01,-8.26644331e-02 +1341000000,5.63281010e-02,3.21173369e-02,-3.03089450e-01,1.81781220e-01,2.54555908e-04,-2.72114633e-05,-3.32312822e-01,-9.12565806e-02 +1342000000,5.59782579e-02,3.17347946e-02,-2.99722621e-01,1.88218165e-01,2.56421598e-04,-4.42480802e-05,-3.30188402e-01,-1.00285671e-01 +1343000000,5.54293030e-02,3.11698986e-02,-2.97259585e-01,1.94298250e-01,2.62348006e-04,-2.82649589e-05,-3.27726290e-01,-1.08085910e-01 +1344000000,5.50581553e-02,3.07537187e-02,-2.93120369e-01,2.00925584e-01,3.33618640e-04,1.92396897e-05,-3.25746242e-01,-1.15042997e-01 +1345000000,5.48377041e-02,3.02238390e-02,-2.87763564e-01,2.06841722e-01,2.59440030e-04,-3.87756545e-05,-3.24116424e-01,-1.22305772e-01 +1346000000,5.40493141e-02,2.96722855e-02,-2.85726103e-01,2.13061690e-01,2.77009562e-04,-5.62315518e-05,-3.20343311e-01,-1.29904267e-01 +1347000000,5.35404206e-02,2.90871684e-02,-2.81312289e-01,2.19265939e-01,3.23498902e-04,-8.73466063e-05,-3.17204157e-01,-1.36501647e-01 +1348000000,5.31812548e-02,2.86321574e-02,-2.78506310e-01,2.30267721e-01,3.09018283e-04,-5.19941215e-05,-3.13522896e-01,-1.42605857e-01 +1349000000,5.30576974e-02,2.78582373e-02,-2.69947467e-01,2.36384391e-01,3.28011583e-04,-4.78635967e-05,-3.13717984e-01,-1.46905306e-01 +1350000000,5.25674315e-02,2.69302394e-02,-2.63406140e-01,2.40053535e-01,3.49325187e-04,-8.45997523e-05,-3.13460695e-01,-1.49882788e-01 +1351000000,5.11933664e-02,2.63482901e-02,-2.60720490e-01,2.44667885e-01,3.64901298e-04,-8.11189336e-05,-3.10518093e-01,-1.52480265e-01 +1352000000,5.05870184e-02,2.55923934e-02,-2.54857762e-01,2.51007061e-01,3.01510857e-04,-5.29604022e-05,-3.09325088e-01,-1.55320201e-01 +1353000000,5.01899002e-02,2.46877224e-02,-2.45935010e-01,2.56401510e-01,3.51147402e-04,-5.96775884e-05,-3.11266277e-01,-1.55428934e-01 +1354000000,4.92453097e-02,2.40477922e-02,-2.42135014e-01,2.64384331e-01,3.41262518e-04,-4.55553794e-05,-3.09995480e-01,-1.56030214e-01 +1355000000,4.87900362e-02,2.34343724e-02,-2.31977380e-01,2.72488438e-01,3.44160507e-04,-3.24251019e-05,-3.10864409e-01,-1.57692815e-01 +1356000000,4.77996680e-02,2.27192635e-02,-2.27619736e-01,2.79233284e-01,3.01514769e-04,1.63585994e-05,-3.08632639e-01,-1.61200581e-01 +1357000000,4.69321518e-02,2.19756392e-02,-2.20678266e-01,2.85250957e-01,2.85039877e-04,-5.69972715e-05,-3.05543877e-01,-1.64260370e-01 +1358000000,4.61385617e-02,2.13160179e-02,-2.12186130e-01,2.91722834e-01,3.19692741e-04,-2.93181434e-05,-3.07337997e-01,-1.66127890e-01 +1359000000,4.52204964e-02,2.03600140e-02,-2.04618120e-01,2.93440559e-01,3.19288210e-04,-1.03622026e-04,-3.07350351e-01,-1.60825227e-01 +1360000000,4.43883744e-02,1.97839146e-02,-1.94824504e-01,3.00091513e-01,3.38098455e-04,-1.41625082e-05,-3.10278234e-01,-1.60547330e-01 +1361000000,4.32730086e-02,1.85908723e-02,-1.93307562e-01,3.05457758e-01,3.72210417e-04,-3.73833652e-05,-3.09460915e-01,-1.59737867e-01 +1362000000,4.22235126e-02,1.79839674e-02,-1.84561777e-01,3.10868007e-01,3.37273368e-04,-2.87496511e-05,-3.08140321e-01,-1.61591712e-01 +1363000000,4.10098561e-02,1.78065254e-02,-1.77279286e-01,3.21882094e-01,3.86650918e-04,-7.99623955e-05,-3.11615046e-01,-1.60044241e-01 +1364000000,3.99481513e-02,1.75914610e-02,-1.59341131e-01,3.19137173e-01,4.12732804e-04,-6.48124609e-05,-3.13103707e-01,-1.55964529e-01 +1365000000,3.84828873e-02,1.70840581e-02,-1.56669811e-01,3.24564866e-01,3.80515836e-04,-3.78437707e-05,-3.11793515e-01,-1.54008448e-01 +1366000000,3.75479092e-02,1.65705433e-02,-1.41896549e-01,3.28103785e-01,3.59574874e-04,-3.43265641e-05,-3.14478942e-01,-1.53052131e-01 +1367000000,3.62874140e-02,1.61377375e-02,-1.32710636e-01,3.32484895e-01,3.78653698e-04,-1.05947356e-05,-3.14785467e-01,-1.53080423e-01 +1368000000,3.49569560e-02,1.58715905e-02,-1.23403465e-01,3.39675426e-01,4.05812534e-04,-4.71777725e-05,-3.19368400e-01,-1.49052838e-01 +1369000000,3.34092577e-02,1.55726505e-02,-1.19165269e-01,3.44499334e-01,4.00174947e-04,3.10308541e-06,-3.16831026e-01,-1.47940562e-01 +1370000000,3.19997725e-02,1.51830823e-02,-1.10719309e-01,3.46379739e-01,4.08982659e-04,-6.90718921e-06,-3.21023896e-01,-1.42383420e-01 +1371000000,3.07122439e-02,1.47866560e-02,-9.82856550e-02,3.44854957e-01,4.28133578e-04,-4.90570098e-05,-3.24329768e-01,-1.29366692e-01 +1372000000,2.92871024e-02,1.45974855e-02,-8.81953620e-02,3.47643788e-01,4.48710292e-04,-2.81547160e-05,-3.29854516e-01,-1.21159380e-01 +1373000000,2.78696345e-02,1.44650936e-02,-7.73406767e-02,3.50526000e-01,3.77187093e-04,1.43721897e-05,-3.29847144e-01,-1.26836380e-01 +1374000000,2.62399295e-02,1.44038574e-02,-7.03774416e-02,3.54032677e-01,3.98679813e-04,-3.91568338e-05,-3.31791163e-01,-1.21872106e-01 +1375000000,2.49262394e-02,1.44822439e-02,-5.45213474e-02,3.56930846e-01,3.88234396e-04,-7.92527881e-06,-3.31807100e-01,-1.20985914e-01 +1376000000,2.32427491e-02,1.42173421e-02,-4.81570537e-02,3.67887544e-01,2.81404405e-04,-2.98875042e-04,-3.37876481e-01,-1.16764392e-01 +1377000000,2.16149719e-02,1.44640538e-02,-3.87006381e-02,3.69308277e-01,3.91908307e-04,1.99947921e-05,-3.41147662e-01,-1.08114287e-01 +1378000000,2.01616367e-02,1.44299302e-02,-2.45786558e-02,3.63857904e-01,4.22997309e-04,2.87267077e-05,-3.41736756e-01,-1.06646116e-01 +1379000000,1.83744816e-02,1.46618212e-02,-1.77474707e-02,3.62733079e-01,4.10388500e-04,3.56883682e-05,-3.40552881e-01,-1.05741508e-01 +1380000000,1.65893016e-02,1.51441156e-02,-1.13458373e-02,3.64939543e-01,4.90260999e-04,5.21348441e-05,-3.43619026e-01,-9.84772117e-02 +1381000000,1.54107530e-02,1.66334094e-02,4.27772141e-03,3.65708690e-01,4.58684787e-04,1.79177689e-05,-3.43027330e-01,-9.07419327e-02 +1382000000,1.38084535e-02,1.71325686e-02,1.43490317e-02,3.66838089e-01,4.83350044e-04,6.24450281e-05,-3.42683069e-01,-9.04465827e-02 +1383000000,1.19761110e-02,1.73063989e-02,2.00686863e-02,3.57232373e-01,4.70593033e-04,5.09447118e-05,-3.43066219e-01,-9.01416031e-02 +1384000000,1.02842354e-02,1.79506943e-02,2.80366973e-02,3.56984605e-01,4.92590680e-04,9.24500303e-06,-3.45076497e-01,-8.60945727e-02 +1385000000,8.65141846e-03,1.91681093e-02,3.73297530e-02,3.66347602e-01,5.03100062e-04,9.76559272e-05,-3.46165826e-01,-8.25874167e-02 +1386000000,7.13619585e-03,1.99331561e-02,4.89549708e-02,3.65205510e-01,5.32889869e-04,9.78977492e-05,-3.44956663e-01,-8.06948737e-02 +1387000000,5.43383567e-03,2.08044145e-02,5.72167534e-02,3.64244699e-01,5.24176347e-04,7.99878701e-05,-3.42919791e-01,-8.39124218e-02 +1388000000,3.46072364e-03,2.15227792e-02,6.07846705e-02,3.58641528e-01,5.33888692e-04,7.31139424e-05,-3.42883229e-01,-8.41526111e-02 +1389000000,1.76904310e-03,2.25296548e-02,6.95931888e-02,3.55835193e-01,4.69767598e-04,3.08878330e-05,-3.41897765e-01,-8.28568902e-02 +1390000000,2.17711528e-04,2.34593963e-02,8.00614774e-02,3.51593925e-01,5.47721327e-04,-4.02181042e-05,-3.44922733e-01,-6.84520776e-02 +1391000000,-1.40033204e-03,2.44492329e-02,9.38161087e-02,3.57546754e-01,5.95162305e-04,-9.94774535e-06,-3.54971196e-01,-5.80577831e-02 +1392000000,-3.02512239e-03,2.56247107e-02,1.01480170e-01,3.55110823e-01,6.22641264e-04,-2.05714946e-05,-3.55381611e-01,-4.88923610e-02 +1393000000,-4.96067167e-03,2.68313316e-02,1.05850859e-01,3.51205491e-01,5.47912608e-04,9.69690526e-06,-3.48219508e-01,-6.90768021e-02 +1394000000,-6.44013555e-03,2.83385289e-02,1.15010940e-01,3.49749653e-01,5.42808505e-04,1.16388467e-06,-3.48651705e-01,-6.73727377e-02 +1395000000,-8.01883673e-03,2.98613924e-02,1.23303779e-01,3.46834981e-01,5.28862963e-04,-8.18211225e-05,-3.49049658e-01,-7.10855829e-02 +1396000000,-9.67923847e-03,3.13025560e-02,1.29988274e-01,3.43162236e-01,5.44346972e-04,-1.18702831e-04,-3.52142610e-01,-6.37687371e-02 +1397000000,-1.12174730e-02,3.27512579e-02,1.37386728e-01,3.39703792e-01,5.70497781e-04,-1.67819440e-04,-3.54397370e-01,-5.30980414e-02 +1398000000,-1.25937947e-02,3.42533713e-02,1.45641606e-01,3.34585681e-01,5.38383933e-04,-1.56830328e-04,-3.55182963e-01,-4.90360618e-02 +1399000000,-1.36540068e-02,3.57182844e-02,1.47742521e-01,3.23051375e-01,6.00315473e-04,-1.04626946e-04,-3.44510367e-01,-3.70427359e-02 +1400000000,-1.40974225e-02,3.81055332e-02,1.64586039e-01,3.25510397e-01,5.42000040e-04,-9.37470277e-05,-3.41158258e-01,-5.14857161e-02 +1401000000,-1.55000986e-02,3.99237206e-02,1.71619893e-01,3.22052574e-01,4.93714544e-04,-1.41379782e-04,-3.46327661e-01,-5.70487507e-02 +1402000000,-1.67499692e-02,4.17939098e-02,1.79071907e-01,3.18838475e-01,4.59677835e-04,-1.68556154e-04,-3.52387947e-01,-5.28650451e-02 +1403000000,-1.96723138e-02,4.31655257e-02,1.81885840e-01,3.18449170e-01,5.10591184e-04,-1.77958019e-04,-3.53118898e-01,-4.57191274e-02 +1404000000,-2.07191583e-02,4.49045707e-02,1.89524945e-01,3.11928130e-01,4.97458944e-04,-1.48667948e-04,-3.55444453e-01,-2.76121669e-02 +1405000000,-2.20621048e-02,4.67602353e-02,1.95355332e-01,3.07256238e-01,5.02038457e-04,-1.84730544e-04,-3.54025651e-01,-2.78612345e-02 +1406000000,-2.33626763e-02,4.91184410e-02,2.01309614e-01,3.04788310e-01,5.19729762e-04,-1.49107692e-04,-3.51371343e-01,-3.91560344e-02 +1407000000,-2.45413212e-02,5.12324678e-02,2.07423050e-01,3.00326419e-01,4.74714205e-04,-1.04190940e-04,-3.47516841e-01,-5.68832529e-02 +1408000000,-2.57566743e-02,5.30645967e-02,2.12999820e-01,2.94397636e-01,4.15566829e-04,-1.45217998e-04,-3.53201300e-01,-4.39148628e-02 +1409000000,-2.66966889e-02,5.53941195e-02,2.19460222e-01,2.90854801e-01,4.54372599e-04,-1.36901130e-04,-3.44097035e-01,-7.19533922e-02 +1410000000,-2.77505359e-02,5.74561581e-02,2.25309732e-01,2.85987590e-01,4.40322745e-04,-9.83231165e-05,-3.44189587e-01,-7.04367383e-02 +1411000000,-2.87873338e-02,5.96717844e-02,2.30849103e-01,2.81249258e-01,3.97997568e-04,-1.02783449e-04,-3.47835128e-01,-5.92281640e-02 +1412000000,-2.97728016e-02,6.19306608e-02,2.36366403e-01,2.76096887e-01,3.47043113e-04,-1.45185010e-04,-3.51501404e-01,-4.76965437e-02 +1413000000,-3.08673276e-02,6.38698576e-02,2.40657835e-01,2.70367134e-01,4.21229536e-04,-9.17508653e-05,-3.37610948e-01,-8.22713624e-02 +1414000000,-3.17956510e-02,6.60185404e-02,2.45910637e-01,2.65602893e-01,3.84466796e-04,-1.03198245e-04,-3.39238497e-01,-7.99559749e-02 +1415000000,-3.26047305e-02,6.85239304e-02,2.51197166e-01,2.61122143e-01,3.42041265e-04,-1.26122686e-04,-3.43873025e-01,-7.35992753e-02 +1416000000,-3.07022644e-02,7.12806412e-02,2.58668485e-01,2.54294240e-01,3.57614431e-04,-1.53004974e-04,-3.32308154e-01,-8.66769100e-02 +1417000000,-3.19362303e-02,7.36662162e-02,2.61190519e-01,2.50391651e-01,3.91720523e-04,-1.16377986e-04,-3.21021486e-01,-1.11602636e-01 +1418000000,-3.50036568e-02,7.55626828e-02,2.63681517e-01,2.45293849e-01,3.86166670e-04,-1.43109285e-04,-3.31307118e-01,-9.66980332e-02 +1419000000,-3.61219106e-02,7.73695774e-02,2.67611977e-01,2.40657568e-01,3.42182646e-04,-1.38191701e-04,-3.29054313e-01,-1.04062727e-01 +1420000000,-3.71915864e-02,7.96491273e-02,2.70530726e-01,2.36170569e-01,3.55030040e-04,-1.54595093e-04,-3.26034182e-01,-1.09326671e-01 +1421000000,-3.76970042e-02,8.21011336e-02,2.74859846e-01,2.30479624e-01,3.38931294e-04,-1.65768371e-04,-3.17193209e-01,-1.30225456e-01 +1422000000,-3.88916314e-02,8.43447367e-02,2.78272950e-01,2.25982763e-01,3.67924301e-04,-1.60176408e-04,-2.98842387e-01,-1.53613133e-01 +1423000000,-3.98840164e-02,8.69888729e-02,2.81313222e-01,2.22104123e-01,3.59176101e-04,-1.76683691e-04,-2.93014194e-01,-1.63110345e-01 +1424000000,-4.09890846e-02,8.82598539e-02,2.83712631e-01,2.18790907e-01,3.45882080e-04,-1.10883938e-04,-2.99264733e-01,-1.43890194e-01 +1425000000,-4.19521419e-02,9.02695720e-02,2.85883418e-01,2.14660266e-01,3.26447819e-04,-1.25084780e-04,-3.08025513e-01,-1.35301171e-01 +1426000000,-4.28481975e-02,9.24282234e-02,2.87917835e-01,2.10254939e-01,3.02335126e-04,-1.43271958e-04,-3.13584054e-01,-1.32831624e-01 +1427000000,-4.38165624e-02,9.51591905e-02,2.90307172e-01,2.05494677e-01,3.03919285e-04,-1.49699974e-04,-3.03106635e-01,-1.54546580e-01 +1428000000,-4.52491330e-02,9.79958838e-02,2.92044344e-01,2.02819502e-01,2.93040129e-04,-1.53031655e-04,-2.86735280e-01,-1.77296313e-01 +1429000000,-4.73276164e-02,9.94256231e-02,2.93194733e-01,2.02119256e-01,3.34966543e-04,-1.21745774e-04,-2.43157736e-01,-2.10859070e-01 +1430000000,-4.88977568e-02,1.00418029e-01,2.93593576e-01,1.99956204e-01,3.64230696e-04,-7.70105205e-05,-2.38497284e-01,-2.06855520e-01 +1431000000,-5.04002395e-02,1.02085269e-01,2.94507360e-01,1.98641611e-01,3.55943826e-04,-3.24551526e-05,-2.46195746e-01,-2.01539000e-01 +1432000000,-5.20591611e-02,1.03845002e-01,2.95296329e-01,1.96987217e-01,3.31070017e-04,-5.16057794e-05,-2.53377820e-01,-2.01836119e-01 +1433000000,-5.72229171e-02,1.05744811e-01,2.92083496e-01,1.96569745e-01,3.02731080e-04,-5.69634193e-05,-2.20461683e-01,-2.20633334e-01 +1434000000,-5.57581832e-02,1.07168629e-01,2.94942168e-01,1.92443678e-01,3.26023577e-04,-3.67137918e-05,-2.11024277e-01,-2.36664617e-01 +1435000000,-5.62924349e-02,1.09493918e-01,2.96906826e-01,1.92361543e-01,3.33052898e-04,-1.06660918e-05,-2.02063732e-01,-2.44808795e-01 +1436000000,-5.86732337e-02,1.10660916e-01,2.96055994e-01,1.90143915e-01,3.55384139e-04,-1.90781643e-05,-1.97968203e-01,-2.46306931e-01 +1437000000,-6.01835029e-02,1.12303120e-01,2.96740964e-01,1.88183605e-01,3.62330135e-04,1.96914748e-05,-1.95242227e-01,-2.48747487e-01 +1438000000,-6.18108338e-02,1.14537502e-01,3.04270899e-01,1.72998287e-01,3.72378403e-04,4.00925042e-05,-1.82943429e-01,-2.52818668e-01 +1439000000,-6.34276803e-02,1.15884494e-01,3.04798433e-01,1.70305698e-01,3.52178649e-04,4.53383362e-05,-1.79538559e-01,-2.57987252e-01 +1440000000,-6.25126407e-02,1.17540453e-01,3.08503720e-01,1.67730232e-01,3.62469311e-04,1.29570637e-05,-1.86186536e-01,-2.62469755e-01 +1441000000,-6.36778017e-02,1.19908388e-01,3.09408125e-01,1.65572633e-01,3.61469530e-04,1.59999567e-05,-1.68750038e-01,-2.76362812e-01 +1442000000,-6.58455889e-02,1.21672717e-01,3.08806270e-01,1.62326947e-01,3.82061251e-04,6.14442863e-06,-1.48750149e-01,-2.79483966e-01 +1443000000,-6.73583181e-02,1.23035144e-01,3.09185422e-01,1.58376141e-01,3.98931828e-04,3.13384545e-05,-1.38286131e-01,-2.78026154e-01 +1444000000,-6.55039530e-02,1.23303380e-01,3.13591517e-01,1.53276735e-01,3.81645070e-04,6.11823197e-05,-1.39850244e-01,-2.79484082e-01 +1445000000,-6.64777628e-02,1.25913716e-01,3.14530169e-01,1.50783479e-01,3.72844332e-04,6.48364217e-05,-1.34320128e-01,-2.87186147e-01 +1446000000,-6.77158757e-02,1.28460999e-01,3.14856970e-01,1.48295466e-01,3.57927804e-04,6.62055815e-05,-1.18819760e-01,-3.02816128e-01 +1447000000,-6.84651608e-02,1.30105698e-01,3.15712793e-01,1.44618170e-01,3.39972984e-04,4.71231023e-05,-1.02869115e-01,-3.10250617e-01 +1448000000,-7.20091048e-02,1.29850246e-01,3.13995960e-01,1.38997487e-01,3.82777551e-04,5.52772870e-05,-1.02319805e-01,-3.00596325e-01 +1449000000,-7.44397644e-02,1.30417891e-01,3.12067177e-01,1.35588005e-01,3.87046976e-04,6.89610521e-05,-8.90509011e-02,-2.98204829e-01 +1450000000,-7.48515060e-02,1.32277882e-01,3.13341075e-01,1.31863822e-01,4.09104604e-04,6.96425394e-05,-8.08110454e-02,-3.03983829e-01 +1451000000,-6.94604825e-02,1.35190744e-01,3.17448003e-01,1.27625558e-01,4.02225132e-04,7.70256931e-05,-7.88519548e-02,-3.10646528e-01 +1452000000,-6.99496676e-02,1.33908957e-01,3.17687930e-01,1.21254374e-01,3.82567511e-04,7.01594698e-05,-5.77400049e-02,-3.14743072e-01 +1453000000,-7.32097096e-02,1.38703403e-01,3.16637358e-01,1.19978750e-01,4.07846121e-04,9.61353537e-05,-5.62898284e-02,-3.32117860e-01 +1454000000,-6.89268520e-02,1.38542150e-01,3.20952454e-01,1.13821232e-01,3.88273399e-04,5.81727799e-05,-2.85014196e-02,-3.31260414e-01 +1455000000,-7.24213724e-02,1.42505525e-01,3.19584752e-01,1.11610387e-01,4.09279117e-04,8.13045127e-05,-2.25865527e-02,-3.27912531e-01 +1456000000,-7.30589277e-02,1.42994518e-01,3.19113671e-01,1.05900320e-01,4.02746700e-04,9.32870778e-05,-1.67218917e-05,-3.42550721e-01 +1457000000,-7.20404158e-02,1.45174948e-01,3.20795623e-01,1.02289667e-01,4.21888715e-04,1.19746646e-04,-1.18395294e-02,-3.37398581e-01 +1458000000,-7.29363955e-02,1.43148823e-01,3.21025437e-01,9.43047558e-02,4.40521236e-04,1.30912391e-04,2.28600387e-02,-3.38359538e-01 +1459000000,-6.81644072e-02,1.47760615e-01,3.24356579e-01,9.10908451e-02,4.40719136e-04,1.31789317e-04,2.96808213e-02,-3.46237728e-01 +1460000000,-7.17608531e-02,1.51093692e-01,3.23516809e-01,8.66485112e-02,4.50314256e-04,1.14010196e-04,6.22365571e-02,-3.42420673e-01 +1461000000,-7.04415221e-02,1.52654713e-01,3.24831852e-01,8.18656680e-02,4.63315907e-04,1.10625345e-04,5.22857273e-02,-3.34526145e-01 +1462000000,-7.26931232e-02,1.49034686e-01,3.24406052e-01,7.42717831e-02,4.64695492e-04,1.14448336e-04,6.84042975e-02,-3.21039443e-01 +1463000000,-6.86787267e-02,1.49853799e-01,3.26464582e-01,6.90995198e-02,4.61497780e-04,1.27700251e-04,7.18917223e-02,-3.24270863e-01 +1464000000,-6.78687063e-02,1.51826461e-01,3.27022639e-01,6.37287924e-02,4.89020815e-04,1.29387474e-04,7.80677648e-02,-3.20047402e-01 +1465000000,-7.16670686e-02,1.55898852e-01,3.25739470e-01,5.91484474e-02,4.88244593e-04,1.54571435e-04,9.32312381e-02,-3.23792054e-01 +1466000000,-6.80899549e-02,1.58723129e-01,3.30652659e-01,5.29909259e-02,5.14632885e-04,1.68555564e-04,8.98243250e-02,-3.18276914e-01 +1467000000,-6.66221313e-02,1.59734853e-01,3.30911345e-01,4.71082670e-02,5.08100335e-04,1.84338075e-04,9.60408730e-02,-3.15081737e-01 +1468000000,-6.60414580e-02,1.61388177e-01,3.30832278e-01,4.10854554e-02,5.13789707e-04,1.81457216e-04,1.05120457e-01,-3.12571372e-01 +1469000000,-6.14059994e-02,1.63077044e-01,3.24877177e-01,3.61958796e-02,5.09971634e-04,1.82655585e-04,1.09358063e-01,-3.16931890e-01 +1470000000,-6.27666532e-02,1.64876881e-01,3.24278103e-01,2.95687897e-02,5.32275637e-04,2.26703578e-04,1.27876004e-01,-3.25904988e-01 +1471000000,-6.32394652e-02,1.63703515e-01,3.24192078e-01,2.30786664e-02,5.31336371e-04,2.48504357e-04,1.43988354e-01,-3.11304899e-01 +1472000000,-6.08327422e-02,1.68273585e-01,3.24075398e-01,1.67037671e-02,5.50613866e-04,2.51326552e-04,1.32579040e-01,-3.21746613e-01 +1473000000,-5.93015253e-02,1.64920969e-01,3.24255867e-01,1.02018642e-02,5.46930778e-04,2.64024099e-04,1.56289985e-01,-2.91788686e-01 +1474000000,-4.97276005e-02,1.69061475e-01,3.23456110e-01,3.38808028e-03,5.56939331e-04,2.68595672e-04,1.29627584e-01,-3.01896881e-01 +1475000000,-5.58393590e-02,1.66875446e-01,3.23538096e-01,-3.30959425e-03,5.66641982e-04,3.06948897e-04,1.32157202e-01,-2.96321241e-01 +1476000000,-4.68244028e-02,1.68875443e-01,3.22455543e-01,-1.02049893e-02,5.72039420e-04,3.47269169e-04,1.22966113e-01,-2.96940127e-01 +1477000000,-5.06402813e-02,1.68691026e-01,3.22470851e-01,-1.72221583e-02,5.23475712e-04,3.28733702e-04,1.40658032e-01,-2.87984128e-01 +1478000000,-4.65932831e-02,1.77235141e-01,3.21596570e-01,-2.55512839e-02,5.34493086e-04,3.68850476e-04,1.54797848e-01,-2.91711817e-01 +1479000000,-3.92379126e-02,1.73142108e-01,3.19351408e-01,-3.20807970e-02,5.61983284e-04,4.01416897e-04,1.33019026e-01,-2.88530568e-01 +1480000000,-4.48695356e-02,1.72919762e-01,3.20377420e-01,-3.91875793e-02,5.51818357e-04,3.72213315e-04,1.52248046e-01,-2.79456907e-01 +1481000000,-3.37022313e-02,1.78593423e-01,3.16103544e-01,-4.84325053e-02,5.64315364e-04,3.80546573e-04,1.45173242e-01,-2.86634698e-01 +1482000000,-3.38295485e-02,1.73073272e-01,3.15837213e-01,-5.36311762e-02,5.04375731e-04,4.19634608e-04,1.60682928e-01,-2.61251394e-01 +1483000000,-3.15559217e-02,1.79834212e-01,3.16570552e-01,-6.47234987e-02,5.53320254e-04,4.22397831e-04,1.53909504e-01,-2.81024039e-01 +1484000000,-2.97051692e-02,1.79710291e-01,3.14900476e-01,-7.22501103e-02,5.49225632e-04,4.57796874e-04,1.57091102e-01,-2.76745627e-01 +1485000000,-2.70709192e-02,1.81255037e-01,3.12610483e-01,-8.08056246e-02,5.48021239e-04,4.71322298e-04,1.61792882e-01,-2.75388555e-01 +1486000000,-2.23454738e-02,1.82806802e-01,3.08972716e-01,-8.93843231e-02,5.41448950e-04,4.81018039e-04,1.64278472e-01,-2.73870018e-01 +1487000000,-1.87836329e-02,1.83309207e-01,3.05714479e-01,-9.77347369e-02,5.36879570e-04,4.76925257e-04,1.64932163e-01,-2.73970186e-01 +1488000000,-1.36926252e-02,1.83663472e-01,3.00932548e-01,-1.08710969e-01,4.03413310e-04,2.58755158e-04,2.18224334e-01,-2.23785716e-01 +1489000000,-9.83319732e-03,1.84412656e-01,2.96933429e-01,-1.17711455e-01,4.04197760e-04,2.56909917e-04,2.23857936e-01,-2.19313132e-01 +1490000000,-7.45742733e-03,1.82627104e-01,2.93752654e-01,-1.24717315e-01,3.84546053e-04,2.68041257e-04,2.25496244e-01,-2.12145577e-01 +1491000000,-4.98165066e-03,1.82956992e-01,2.90374460e-01,-1.33435996e-01,3.83227864e-04,2.55960636e-04,2.26501058e-01,-2.08108917e-01 +1492000000,2.36397903e-04,1.82854006e-01,2.84546023e-01,-1.41913292e-01,3.64189753e-04,2.27787432e-04,2.26377026e-01,-2.04287119e-01 +1493000000,3.93996957e-03,1.82777421e-01,2.79874659e-01,-1.50022764e-01,3.63021299e-04,2.06982712e-04,2.35335646e-01,-2.02893225e-01 +1494000000,1.75869405e-03,1.81371551e-01,2.77015576e-01,-1.54940185e-01,4.03636063e-04,2.22619156e-04,2.41663619e-01,-1.78293425e-01 +1495000000,9.37605446e-03,1.76201570e-01,2.68884381e-01,-1.58630000e-01,4.25444080e-04,1.08250746e-04,2.58751354e-01,-1.54641953e-01 +1496000000,1.16811853e-02,1.76258726e-01,2.65533682e-01,-1.66708483e-01,3.59323891e-04,1.41377128e-04,2.82375529e-01,-1.54696129e-01 +1497000000,1.58049554e-02,1.76293650e-01,2.59703811e-01,-1.74350683e-01,3.84352436e-04,1.94872782e-04,2.66762618e-01,-1.38151197e-01 +1498000000,1.57025760e-02,1.82854345e-01,2.57465501e-01,-1.90052942e-01,3.90984646e-04,1.37217907e-04,2.86647360e-01,-1.54707727e-01 +1499000000,2.52216143e-02,1.86258880e-01,2.45771539e-01,-2.01730284e-01,3.93922737e-04,1.47196355e-04,2.84054303e-01,-1.51530356e-01 +1500000000,3.01998009e-02,1.80837711e-01,2.39111445e-01,-2.06303231e-01,4.44087782e-04,1.38736103e-04,2.90621076e-01,-1.36827091e-01 +1501000000,3.40622692e-02,1.79383660e-01,2.31792619e-01,-2.13062676e-01,3.82924221e-04,1.72885368e-04,2.92059523e-01,-1.29614622e-01 +1502000000,3.75420334e-02,1.78580824e-01,2.24970663e-01,-2.20740361e-01,4.16197850e-04,1.59101441e-04,2.91431296e-01,-1.27682444e-01 +1503000000,4.16614525e-02,1.76766220e-01,2.17275862e-01,-2.26674696e-01,3.79320683e-04,1.68622503e-04,2.95881555e-01,-1.18272818e-01 +1504000000,4.40448697e-02,1.75085261e-01,2.11334034e-01,-2.33264231e-01,3.79339979e-04,1.52132171e-04,2.91986469e-01,-1.23191377e-01 +1505000000,4.84930294e-02,1.74558525e-01,2.02497747e-01,-2.40550820e-01,3.75258988e-04,1.35372987e-04,2.96499503e-01,-1.14715330e-01 +1506000000,5.18546413e-02,1.71598490e-01,1.95057298e-01,-2.44811394e-01,3.65839560e-04,1.47653773e-04,2.97713111e-01,-1.07675925e-01 +1507000000,5.55343236e-02,1.71225976e-01,1.86540104e-01,-2.52210385e-01,3.96935628e-04,1.46940765e-04,2.98335134e-01,-1.07817260e-01 +1508000000,5.89484463e-02,1.69643912e-01,1.78344035e-01,-2.58277447e-01,3.74258744e-04,1.23239511e-04,2.93134042e-01,-1.13454357e-01 +1509000000,6.08595624e-02,1.66736972e-01,1.72429902e-01,-2.61893319e-01,3.57133136e-04,1.27050923e-04,2.98814368e-01,-9.86702475e-02 +1510000000,6.52192749e-02,1.64330674e-01,1.62326679e-01,-2.66289222e-01,3.69001933e-04,1.01672821e-04,2.94312123e-01,-1.09263444e-01 +1511000000,6.86670515e-02,1.64014216e-01,1.53095231e-01,-2.73994065e-01,3.83186644e-04,8.84412592e-05,2.94719758e-01,-1.12725555e-01 +1512000000,7.07133891e-02,1.61828814e-01,1.46183573e-01,-2.78564440e-01,3.67478454e-04,9.06544631e-05,2.98828731e-01,-1.04055286e-01 +1513000000,7.39106091e-02,1.58106756e-01,1.37324679e-01,-2.79137680e-01,3.51997994e-04,8.72159371e-05,2.97742328e-01,-9.58264417e-02 +1514000000,7.72359276e-02,1.56382212e-01,1.27684922e-01,-2.83824647e-01,3.85277482e-04,7.61503102e-05,2.97894570e-01,-9.86050226e-02 +1515000000,7.84357054e-02,1.55426067e-01,1.21652180e-01,-2.90285006e-01,3.46870823e-04,7.63096705e-05,2.99253289e-01,-9.42471889e-02 +1516000000,8.53975296e-02,1.56409744e-01,1.13013992e-01,-3.04387721e-01,3.76711129e-04,6.67695760e-05,2.93412822e-01,-9.33843460e-02 +1517000000,8.40641087e-02,1.51135992e-01,1.11284541e-01,-3.01500406e-01,3.71436423e-04,6.01005845e-05,2.98564853e-01,-9.03163015e-02 +1518000000,8.94592077e-02,1.47304526e-01,9.59403289e-02,-3.01676155e-01,3.67037479e-04,3.28714534e-05,2.97896207e-01,-9.45846948e-02 +1519000000,8.79479686e-02,1.43934587e-01,8.47500523e-02,-2.97472633e-01,3.56310466e-04,2.64101770e-05,2.98470506e-01,-9.38948005e-02 +1520000000,9.05148621e-02,1.41981222e-01,7.45982178e-02,-3.00739572e-01,3.44677662e-04,2.69480363e-05,2.97016025e-01,-8.90419757e-02 +1521000000,9.18565941e-02,1.40018521e-01,6.72085491e-02,-3.03818678e-01,3.39634274e-04,5.34182327e-06,2.99412925e-01,-8.92734730e-02 +1522000000,9.35995685e-02,1.36377921e-01,5.88268225e-02,-3.03065019e-01,3.49818644e-04,1.37909708e-06,2.98436396e-01,-8.87617532e-02 +1523000000,9.58448227e-02,1.34438371e-01,4.88897544e-02,-3.05944645e-01,3.50414136e-04,-8.61494187e-07,2.98516917e-01,-9.04497450e-02 +1524000000,9.74572859e-02,1.32078534e-01,4.01875044e-02,-3.07838685e-01,3.41976362e-04,-1.38269428e-05,2.96788766e-01,-8.89998681e-02 +1525000000,9.84512414e-02,1.30125567e-01,3.30341132e-02,-3.09945557e-01,3.50186165e-04,-3.61076240e-05,3.00015665e-01,-8.78733829e-02 +1526000000,1.00265297e-01,1.26966619e-01,2.34895661e-02,-3.09002503e-01,3.40031715e-04,-3.96381505e-05,2.99218274e-01,-8.65292565e-02 +1527000000,1.00829627e-01,1.23978983e-01,1.67015671e-02,-3.08274961e-01,3.36311149e-04,-4.94816145e-05,2.99259264e-01,-8.78969520e-02 +1528000000,1.01111051e-01,1.22073216e-01,1.07791092e-02,-3.10008665e-01,3.25653223e-04,-4.45186802e-05,2.98921326e-01,-8.38221745e-02 +1529000000,1.03007798e-01,1.19975693e-01,1.47437889e-04,-3.10414486e-01,3.14023499e-04,-3.60763662e-05,2.95983522e-01,-8.29835737e-02 +1530000000,1.02649305e-01,1.17259044e-01,-4.39791552e-03,-3.10019916e-01,3.19676108e-04,-3.91806994e-05,2.98944738e-01,-8.10320343e-02 +1531000000,1.04288080e-01,1.15178377e-01,-1.45090805e-02,-3.09940426e-01,3.21939197e-04,-5.85749368e-05,3.01350799e-01,-7.75781009e-02 +1532000000,1.05488520e-01,1.12634645e-01,-2.38507093e-02,-3.10450160e-01,2.93015006e-04,-6.92433926e-05,3.00657809e-01,-7.38486536e-02 +1533000000,1.05592727e-01,1.10044609e-01,-3.03003912e-02,-3.08854639e-01,2.94118658e-04,-7.89521181e-05,3.01800737e-01,-7.53926696e-02 +1534000000,1.04334782e-01,1.09068153e-01,-3.28385013e-02,-3.11142462e-01,2.97935466e-04,-9.51088241e-05,3.03756414e-01,-7.10583320e-02 +1535000000,1.05064033e-01,1.08114413e-01,-4.15294037e-02,-3.12561482e-01,2.73490490e-04,-6.47010095e-05,2.99526679e-01,-6.89873109e-02 +1536000000,1.04806313e-01,1.05985325e-01,-4.73554067e-02,-3.11695978e-01,2.84104835e-04,-8.02592860e-05,2.99896112e-01,-6.90599079e-02 +1537000000,1.03936761e-01,1.02641802e-01,-5.13761789e-02,-3.06301022e-01,2.86187253e-04,-1.02048274e-04,3.05147285e-01,-6.32942649e-02 +1538000000,1.04336070e-01,1.00725322e-01,-5.95731907e-02,-3.05176419e-01,2.71087434e-04,-8.95380505e-05,3.03339762e-01,-6.88679807e-02 +1539000000,1.04468931e-01,1.00384720e-01,-6.71926562e-02,-3.08764827e-01,2.59279972e-04,-9.09782537e-05,3.03536167e-01,-6.48712237e-02 +1540000000,1.03533371e-01,9.71788405e-02,-7.14400211e-02,-3.03012807e-01,2.70125305e-04,-8.10248082e-05,3.03210954e-01,-5.84625043e-02 +1541000000,1.04658382e-01,9.46600653e-02,-7.79557759e-02,-3.08206196e-01,2.64905012e-04,-7.06473789e-05,3.00147182e-01,-5.47624596e-02 +1542000000,1.02653013e-01,9.52009984e-02,-7.90137057e-02,-3.13687827e-01,2.58245317e-04,-1.03091318e-04,3.02910322e-01,-5.47973261e-02 +1543000000,1.00801108e-01,9.23765592e-02,-8.12128691e-02,-3.07617428e-01,2.39651167e-04,-8.46816826e-05,3.05363991e-01,-5.03442569e-02 +1544000000,9.89291962e-02,9.32559454e-02,-8.90206913e-02,-3.01419424e-01,2.39512741e-04,-9.39126612e-05,3.08743344e-01,-4.65668233e-02 +1545000000,9.74316822e-02,9.10885906e-02,-9.19976933e-02,-2.97107652e-01,2.40276221e-04,-8.58522596e-05,3.09352543e-01,-4.17818071e-02 +1546000000,9.65603820e-02,9.00065999e-02,-9.69465083e-02,-2.96290832e-01,2.31829677e-04,-9.05590854e-05,3.06808466e-01,-4.04362232e-02 +1547000000,9.62284930e-02,8.96035841e-02,-1.03886040e-01,-2.97798423e-01,2.43194265e-04,-8.40666791e-05,3.06388018e-01,-3.84670486e-02 +1548000000,9.46945576e-02,8.79188543e-02,-1.07023657e-01,-2.94258397e-01,2.23754129e-04,-7.18153320e-05,3.08428699e-01,-3.80695704e-02 +1549000000,9.31146577e-02,8.77807172e-02,-1.09864795e-01,-2.96641339e-01,2.24818457e-04,-6.45794033e-05,3.07401761e-01,-3.15647482e-02 +1550000000,9.09117583e-02,8.60338037e-02,-1.10846795e-01,-2.92883413e-01,2.17088121e-04,-7.06862092e-05,3.08681808e-01,-2.68560790e-02 +1551000000,9.04338560e-02,8.59722021e-02,-1.17791557e-01,-2.94589054e-01,2.16147601e-04,-7.76066669e-05,3.09630010e-01,-2.28899156e-02 +1552000000,8.79719244e-02,8.38574817e-02,-1.17932368e-01,-2.89152482e-01,2.24961751e-04,-7.54011092e-05,3.11341088e-01,-1.69969327e-02 +1553000000,8.68219448e-02,8.25589636e-02,-1.22771540e-01,-2.86856914e-01,2.27681502e-04,-5.65957299e-05,3.08415042e-01,-1.44651401e-02 +1554000000,8.49051773e-02,8.27133594e-02,-1.25061320e-01,-2.89185589e-01,2.10389775e-04,-5.50600005e-05,3.09092047e-01,-1.26858811e-02 +1555000000,8.31407531e-02,8.16272865e-02,-1.27693754e-01,-2.87229232e-01,2.08511218e-04,-6.17011616e-05,3.07441242e-01,-6.91755525e-03 +1556000000,8.18713753e-02,7.99449351e-02,-1.32658298e-01,-2.82828577e-01,2.23287602e-04,-5.84489899e-05,3.07336740e-01,-5.58248668e-03 +1557000000,8.16092820e-02,8.00879985e-02,-1.41150561e-01,-2.85703414e-01,2.21999821e-04,-7.40946906e-05,3.08159235e-01,5.75411427e-03 +1558000000,7.87696788e-02,7.78158602e-02,-1.40520196e-01,-2.78972890e-01,2.10456766e-04,-5.43077309e-05,3.07538802e-01,8.78270541e-03 +1559000000,7.78122295e-02,7.86614162e-02,-1.46626945e-01,-2.84133831e-01,1.88328571e-04,-6.91820945e-05,3.10573140e-01,1.42159689e-02 +1560000000,7.50285255e-02,7.64852042e-02,-1.46238162e-01,-2.77608136e-01,2.17637563e-04,-5.22991369e-05,3.09535995e-01,2.11871339e-02 +1561000000,7.51380497e-02,7.57973356e-02,-1.56748322e-01,-2.76743490e-01,1.83959307e-04,-5.45656764e-05,3.07774441e-01,2.21374459e-02 +1562000000,7.31655477e-02,7.56178888e-02,-1.59494890e-01,-2.77559972e-01,2.04817539e-04,-6.92051058e-05,3.08081448e-01,3.00591662e-02 +1563000000,7.09965337e-02,7.31980112e-02,-1.61535957e-01,-2.70157339e-01,1.99295020e-04,-5.93979182e-05,3.06948905e-01,3.80917642e-02 +1564000000,6.85941627e-02,7.21408265e-02,-1.62786222e-01,-2.67450771e-01,1.84702051e-04,-2.61693633e-05,3.07359717e-01,4.12700476e-02 +1565000000,6.60470563e-02,7.20554781e-02,-1.63552851e-01,-2.68440836e-01,1.94631371e-04,-5.39063751e-05,3.03836690e-01,5.10935452e-02 +1566000000,6.71914909e-02,6.91522098e-02,-1.76856738e-01,-2.73113536e-01,1.93094283e-04,-4.90791343e-05,2.98416836e-01,5.06006539e-02 +1567000000,6.56298770e-02,6.85906007e-02,-1.81717523e-01,-2.71724876e-01,1.76306080e-04,-5.47046984e-05,2.96161533e-01,6.00043748e-02 +1568000000,6.37491436e-02,6.77319415e-02,-1.85118887e-01,-2.68941173e-01,1.66413917e-04,-4.34911831e-05,2.94596002e-01,6.77038617e-02 +1569000000,6.16427553e-02,6.72880961e-02,-1.88098048e-01,-2.67611534e-01,1.91808775e-04,-3.38472649e-05,2.93779581e-01,7.47979157e-02 +1570000000,6.01840106e-02,6.63221797e-02,-1.93462248e-01,-2.64150137e-01,1.60137628e-04,-3.49685381e-05,2.95265566e-01,7.66323953e-02 +1571000000,5.81563762e-02,6.44350812e-02,-1.96984253e-01,-2.56802619e-01,1.68074810e-04,-3.38476915e-05,2.93138156e-01,8.58867999e-02 +1572000000,5.63756146e-02,6.49070950e-02,-2.01309312e-01,-2.58501336e-01,1.60275617e-04,-2.35049510e-05,2.91850264e-01,9.01761865e-02 +1573000000,5.53053125e-02,6.35716248e-02,-2.08438467e-01,-2.52821890e-01,1.58019967e-04,-4.07570845e-05,2.91167908e-01,9.63284487e-02 +1574000000,5.17687979e-02,6.46316867e-02,-2.06542099e-01,-2.38392742e-01,1.69061493e-04,-8.84684730e-06,2.95482114e-01,1.09357410e-01 +1575000000,5.02511394e-02,6.45668289e-02,-2.11567062e-01,-2.37167305e-01,1.62517876e-04,-9.80940217e-06,2.93448626e-01,1.18558306e-01 +1576000000,4.89928342e-02,6.29652898e-02,-2.17506964e-01,-2.30356130e-01,8.38654389e-05,-7.01683839e-05,2.91592096e-01,1.26314769e-01 +1577000000,4.68096643e-02,6.18373872e-02,-2.19575288e-01,-2.23702281e-01,1.57349127e-04,-1.30416555e-05,2.91422181e-01,1.30504380e-01 +1578000000,4.59822401e-02,6.11846283e-02,-2.27142673e-01,-2.19021684e-01,1.42477519e-04,-2.39914241e-05,2.85520616e-01,1.41756900e-01 +1579000000,4.43272676e-02,6.01313552e-02,-2.31133160e-01,-2.12711971e-01,1.17932239e-04,-6.02011659e-06,2.83664237e-01,1.50180789e-01 +1580000000,4.32830866e-02,5.95440078e-02,-2.37700193e-01,-2.07440296e-01,1.43895430e-04,-4.43118895e-05,2.77322975e-01,1.61822847e-01 +1581000000,4.14667086e-02,5.85358606e-02,-2.41405301e-01,-2.00239631e-01,1.48577479e-04,-1.07669865e-05,2.74158804e-01,1.65670975e-01 +1582000000,4.01865024e-02,5.80145068e-02,-2.46958540e-01,-1.94710015e-01,1.23311878e-04,1.09369770e-05,2.71018872e-01,1.76761775e-01 +1583000000,3.86855836e-02,5.73030837e-02,-2.51820495e-01,-1.88131833e-01,1.17684435e-04,-4.76196136e-06,2.63206546e-01,1.88299729e-01 +1584000000,3.69291476e-02,5.69306046e-02,-2.55588410e-01,-1.81739842e-01,1.25918840e-04,1.21589305e-05,2.54640220e-01,2.00176307e-01 +1585000000,3.67354760e-02,5.60383413e-02,-2.64276475e-01,-1.73770220e-01,9.85611587e-05,1.10407410e-05,2.48655782e-01,2.12388899e-01 +1586000000,3.62359046e-02,5.46199634e-02,-2.82060120e-01,-1.77546178e-01,8.25668294e-05,1.70488308e-05,2.18203938e-01,2.13261379e-01 +1587000000,3.47013755e-02,5.36548052e-02,-2.86631078e-01,-1.67343870e-01,8.25887797e-05,2.13310760e-05,2.10025330e-01,2.21169380e-01 +1588000000,3.29231678e-02,5.34395208e-02,-2.90216503e-01,-1.61311074e-01,9.00027213e-05,3.28715955e-05,1.96365105e-01,2.31903922e-01 +1589000000,3.19945918e-02,5.36351508e-02,-2.95928861e-01,-1.54571200e-01,9.25479427e-05,4.36675128e-05,1.85284573e-01,2.44416519e-01 +1590000000,3.10123886e-02,5.33090020e-02,-3.01362911e-01,-1.44546956e-01,1.01757140e-04,5.00986045e-05,1.74254936e-01,2.53879477e-01 +1591000000,2.89786963e-02,5.33294274e-02,-3.03495215e-01,-1.37439666e-01,1.30878294e-04,4.04487327e-05,1.60177406e-01,2.63833996e-01 +1592000000,2.80018234e-02,5.26445013e-02,-3.08124869e-01,-1.27582217e-01,1.11636361e-04,5.09601155e-05,1.51934518e-01,2.69248123e-01 +1593000000,2.65889396e-02,5.31534657e-02,-3.11397922e-01,-1.20571459e-01,1.20789893e-04,6.71642557e-05,1.41228489e-01,2.76834588e-01 +1594000000,2.54930634e-02,5.25549282e-02,-3.14913232e-01,-1.11456176e-01,1.27695121e-04,7.74393936e-05,1.32485274e-01,2.80598217e-01 +1595000000,2.30314693e-02,5.30411723e-02,-3.15384062e-01,-1.09533006e-01,1.67804823e-04,8.94614181e-05,1.18058949e-01,2.88172094e-01 +1596000000,2.22865579e-02,5.32817407e-02,-3.19205868e-01,-1.00778137e-01,1.96189295e-04,7.25988864e-05,1.12599363e-01,2.93153700e-01 +1597000000,2.13012202e-02,5.33185672e-02,-3.22476766e-01,-9.11080556e-02,1.83905265e-04,5.63744975e-05,1.08159047e-01,2.96459773e-01 +1598000000,1.97530319e-02,5.32320837e-02,-3.24380998e-01,-8.25932094e-02,1.88162065e-04,6.86018774e-05,9.84499490e-02,2.98526454e-01 +1599000000,1.83498997e-02,5.40059351e-02,-3.26336669e-01,-7.90816344e-02,1.90505896e-04,7.05047915e-05,9.06242667e-02,3.05140616e-01 +1600000000,1.73304480e-02,5.36490432e-02,-3.28607445e-01,-6.57478174e-02,2.03009489e-04,7.13911580e-05,8.50563705e-02,3.04101667e-01 +1601000000,1.63679793e-02,5.46093742e-02,-3.30827969e-01,-5.94008607e-02,1.97314420e-04,7.43187030e-05,7.41162917e-02,3.12374779e-01 +1602000000,1.46021822e-02,5.49832020e-02,-3.31734648e-01,-5.33020371e-02,2.52488943e-04,7.31252686e-05,7.25616684e-02,3.11833520e-01 +1603000000,1.39183704e-02,5.53236144e-02,-3.33828019e-01,-4.37027512e-02,2.37611283e-04,7.78145825e-05,6.99840792e-02,3.15007373e-01 +1604000000,1.23505945e-02,5.73057526e-02,-3.21994754e-01,-3.52776964e-02,2.51307948e-04,7.51052551e-05,5.90923038e-02,3.23304555e-01 +1605000000,1.20180401e-02,5.80974749e-02,-3.24016836e-01,-2.70715705e-02,2.32459660e-04,6.84875595e-05,6.59824140e-02,3.24221935e-01 +1606000000,1.00012220e-02,5.81493076e-02,-3.24273138e-01,-1.92104471e-02,2.51275842e-04,5.76732764e-05,5.29248063e-02,3.22910968e-01 +1607000000,1.00096760e-02,5.70908745e-02,-3.24716266e-01,-1.12720803e-02,2.56385024e-04,4.51357214e-05,5.42362891e-02,3.13153763e-01 +1608000000,8.94910925e-03,5.70563829e-02,-3.25049068e-01,-2.74100496e-03,2.60421764e-04,7.38929835e-05,5.22813731e-02,3.07006581e-01 +1609000000,8.90611653e-03,5.83704674e-02,-3.25561688e-01,5.41047322e-03,2.55894302e-04,4.51707713e-05,6.12498176e-02,3.12949100e-01 +1610000000,8.46753658e-03,5.86178536e-02,-3.25428818e-01,1.36500506e-02,2.66729155e-04,5.21887019e-05,6.02130273e-02,3.11869873e-01 +1611000000,6.01007962e-03,5.92038276e-02,-3.26174123e-01,2.20051171e-02,2.45962003e-04,5.06994146e-05,5.42919127e-02,3.12007221e-01 +1612000000,5.85154515e-03,5.94929562e-02,-3.25672267e-01,2.92752859e-02,2.61849789e-04,4.79666990e-05,5.74715774e-02,3.06823957e-01 +1613000000,4.67441078e-03,6.13186603e-02,-3.25487157e-01,3.87992216e-02,2.59754285e-04,7.13148603e-05,6.35789997e-02,3.09776899e-01 +1614000000,5.79212565e-03,6.05397806e-02,-3.23637145e-01,4.50881475e-02,2.65232268e-04,1.10013908e-04,6.83576006e-02,3.06287542e-01 +1615000000,4.28282799e-03,6.32384783e-02,-3.23531960e-01,5.63634776e-02,2.64595758e-04,7.06542916e-05,6.38068723e-02,3.21357320e-01 +1616000000,3.30440284e-03,6.21024052e-02,-3.35611747e-01,6.54227288e-02,2.67487651e-04,6.98856918e-05,6.86941684e-02,3.16876172e-01 +1617000000,2.46753435e-03,6.27210814e-02,-3.34582627e-01,7.31012362e-02,2.85457754e-04,8.16349581e-05,7.78109955e-02,3.14376010e-01 +1618000000,2.01751150e-03,6.35929254e-02,-3.32714548e-01,8.31122582e-02,2.46204534e-04,7.37212417e-05,7.32450878e-02,3.18181404e-01 +1619000000,1.73902883e-03,6.39463072e-02,-3.30539513e-01,9.15273745e-02,2.56172399e-04,6.01658390e-05,7.67910347e-02,3.16041911e-01 +1620000000,1.61721449e-03,6.49664238e-02,-3.28105696e-01,1.00774161e-01,2.64095529e-04,6.84442674e-05,8.04731909e-02,3.15079386e-01 +1621000000,1.31285464e-03,6.56910520e-02,-3.25586042e-01,1.10563068e-01,2.62234199e-04,8.96422703e-05,8.46710456e-02,3.14912107e-01 +1622000000,1.20898909e-03,6.63806833e-02,-3.22678020e-01,1.19477894e-01,2.66165136e-04,7.30847612e-05,9.26126234e-02,3.12102718e-01 +1623000000,8.40727443e-04,6.70274602e-02,-3.20184993e-01,1.27238768e-01,2.73890224e-04,7.12332226e-05,8.97192693e-02,3.13956880e-01 +1624000000,1.14759662e-03,6.75242154e-02,-3.04878489e-01,1.31842388e-01,2.66499474e-04,8.00416012e-05,9.49255921e-02,3.00503936e-01 +1625000000,1.18310567e-03,6.79093549e-02,-3.00712881e-01,1.40920531e-01,2.40692546e-04,7.50123213e-05,9.04737046e-02,3.08598471e-01 +1626000000,1.34973638e-03,6.86050000e-02,-2.97008856e-01,1.51118771e-01,2.44208197e-04,8.38659020e-05,9.53869934e-02,3.04630346e-01 +1627000000,2.17651364e-03,6.86014915e-02,-2.91190810e-01,1.57843367e-01,2.43381627e-04,9.02699392e-05,9.84783359e-02,3.04022504e-01 +1628000000,1.51968860e-03,6.93174672e-02,-2.88872733e-01,1.66097455e-01,2.42831566e-04,7.39363805e-05,9.77647747e-02,3.08008238e-01 +1629000000,2.41257992e-03,6.96826197e-02,-2.83213111e-01,1.73780585e-01,2.59489428e-04,7.93960339e-05,1.01908372e-01,3.07031511e-01 +1630000000,2.89993118e-03,7.09584011e-02,-2.77394904e-01,1.83709462e-01,2.51179163e-04,1.05612071e-04,1.20456261e-01,3.01734655e-01 +1631000000,3.04006651e-03,7.17668348e-02,-2.72724921e-01,1.93003945e-01,2.51019172e-04,1.07277008e-04,1.20972738e-01,3.10820059e-01 +1632000000,2.27736664e-03,7.20546483e-02,-2.70945383e-01,2.00527642e-01,2.51916373e-04,9.35772927e-05,1.01021563e-01,3.14548042e-01 +1633000000,3.79169562e-03,7.25447940e-02,-2.62358659e-01,2.07195085e-01,2.53689930e-04,9.62644074e-05,1.14823271e-01,3.09657001e-01 +1634000000,2.71297050e-03,7.26372567e-02,-2.61561448e-01,2.14012121e-01,2.49074665e-04,8.14075813e-05,1.02084781e-01,3.08740882e-01 +1635000000,4.46084073e-03,7.31910283e-02,-2.51388571e-01,2.22573218e-01,2.45576841e-04,1.10091369e-04,1.07777194e-01,3.17743529e-01 +1636000000,4.78214346e-03,7.29666341e-02,-2.46110284e-01,2.27321026e-01,2.30169067e-04,1.11518900e-04,1.07232536e-01,3.13950312e-01 +1637000000,3.85568197e-03,7.39924112e-02,-2.44713682e-01,2.35400167e-01,2.52802603e-04,1.17685898e-04,1.09102541e-01,3.06816959e-01 +1638000000,4.21873058e-03,7.39051989e-02,-2.38636232e-01,2.41129190e-01,2.60401683e-04,1.21634702e-04,1.27532155e-01,3.01980336e-01 +1639000000,6.08369660e-03,7.38857295e-02,-2.27454544e-01,2.46951454e-01,2.46622237e-04,1.29748354e-04,1.28930852e-01,3.12132929e-01 +1640000000,6.59461605e-03,7.39330081e-02,-2.21111492e-01,2.52543591e-01,2.38706022e-04,1.37206368e-04,1.14703215e-01,3.12226326e-01 +1641000000,5.68190016e-03,7.57835296e-02,-2.30375176e-01,2.74752663e-01,2.23919924e-04,1.40146606e-04,1.12663173e-01,3.16416449e-01 +1642000000,6.96191850e-03,7.56750936e-02,-2.20687891e-01,2.80384729e-01,2.29188549e-04,1.46869026e-04,1.20102132e-01,3.15889532e-01 +1643000000,7.80856445e-03,7.65038614e-02,-2.12504088e-01,2.89224506e-01,2.49998052e-04,1.29887484e-04,1.14844570e-01,3.13751152e-01 +1644000000,7.89501300e-03,7.66611656e-02,-2.06589058e-01,2.95522877e-01,2.30862111e-04,1.31449690e-04,1.25056985e-01,3.18042918e-01 +1645000000,9.27556928e-03,7.64119704e-02,-1.96090303e-01,3.00046522e-01,2.55744475e-04,1.38774245e-04,1.40082405e-01,3.02973005e-01 +1646000000,9.22163651e-03,7.67239486e-02,-1.90670958e-01,3.07253329e-01,2.40897290e-04,1.36246271e-04,1.30739485e-01,3.02756876e-01 +1647000000,9.78602817e-03,7.57914748e-02,-1.81906696e-01,3.10320075e-01,2.33341056e-04,1.44112587e-04,1.08051868e-01,3.09083447e-01 +1648000000,1.06313589e-02,7.66795993e-02,-1.73368367e-01,3.18580406e-01,2.48911558e-04,1.51670776e-04,1.37833911e-01,3.02408721e-01 +1649000000,1.10024815e-02,7.59232682e-02,-1.65274147e-01,3.21619832e-01,2.35412501e-04,1.53758676e-04,1.18359781e-01,3.20510030e-01 +1650000000,1.25512078e-02,7.57418822e-02,-1.52448527e-01,3.26783738e-01,2.59085508e-04,1.36158134e-04,1.24820594e-01,3.13127240e-01 +1651000000,1.26310541e-02,7.51265531e-02,-1.45615084e-01,3.29722253e-01,2.48707340e-04,1.72418802e-04,1.23540122e-01,3.11895645e-01 +1652000000,1.31494620e-02,7.55948732e-02,-1.36379066e-01,3.37791076e-01,2.44877104e-04,1.66843622e-04,1.20564728e-01,3.16855129e-01 +1653000000,1.36441034e-02,7.43123834e-02,-1.26548393e-01,3.38260332e-01,2.13445176e-04,1.89114561e-04,1.20000551e-01,3.22182623e-01 +1654000000,1.39179649e-02,7.47345949e-02,-1.18202635e-01,3.45894092e-01,2.05823322e-04,2.05984704e-04,1.22194236e-01,3.25890384e-01 +1655000000,1.48282863e-02,7.41901119e-02,-1.06929796e-01,3.48817382e-01,2.11917012e-04,2.11662382e-04,1.32869569e-01,3.25547062e-01 +1656000000,1.49119955e-02,7.32822278e-02,-1.00631192e-01,3.49567444e-01,2.24713773e-04,2.20228590e-04,1.49188230e-01,3.17602614e-01 +1657000000,1.63549064e-02,7.26581082e-02,-8.80436157e-02,3.52107147e-01,2.59995106e-04,2.15264589e-04,1.67181638e-01,2.95949030e-01 +1658000000,1.72449831e-02,7.23208079e-02,-7.47060911e-02,3.57173265e-01,2.76134184e-04,2.02886925e-04,1.54609703e-01,2.98435541e-01 +1659000000,1.57505590e-02,7.02459225e-02,-6.04158097e-02,3.38883405e-01,2.70648270e-04,2.24079575e-04,1.36401730e-01,3.26893973e-01 +1660000000,1.62151007e-02,7.03201708e-02,-5.06860823e-02,3.45085696e-01,2.81438497e-04,2.57063380e-04,1.34788651e-01,3.28030543e-01 +1661000000,1.58030572e-02,6.98979200e-02,-4.28040500e-02,3.48102974e-01,2.85587569e-04,2.79237234e-04,1.40124281e-01,3.37032530e-01 +1662000000,1.56816343e-02,6.81720453e-02,-3.39373429e-02,3.45383542e-01,2.78825822e-04,2.38806693e-04,1.20347686e-01,2.91452405e-01 +1663000000,1.66909655e-02,6.71637350e-02,-2.14516494e-02,3.45075981e-01,3.37415467e-04,2.74324272e-04,1.39982607e-01,3.31531004e-01 +1664000000,1.64586775e-02,6.67258768e-02,-9.97993749e-03,3.48261953e-01,3.20711877e-04,2.85574832e-04,1.25941497e-01,3.19634198e-01 +1665000000,1.69898800e-02,6.60972981e-02,-3.40048045e-03,3.52035211e-01,3.40387207e-04,2.73144934e-04,1.39662052e-01,3.14432910e-01 +1666000000,1.74790183e-02,6.38547852e-02,1.10854183e-02,3.45883725e-01,3.24489915e-04,2.84937295e-04,1.32000512e-01,3.09787125e-01 +1667000000,1.59194253e-02,6.52169918e-02,1.75641417e-02,3.54231558e-01,3.97139729e-04,3.49732016e-04,1.16681776e-01,3.26983126e-01 +1668000000,1.89152359e-02,6.35168077e-02,3.39405628e-02,3.46989290e-01,4.42499072e-04,2.81982293e-04,2.13319733e-01,2.99914587e-01 +1669000000,1.80473338e-02,6.21378237e-02,4.51440702e-02,3.49925540e-01,4.00633080e-04,3.02300654e-04,1.60263211e-01,2.93686596e-01 +1670000000,1.56901551e-02,6.32430191e-02,5.01276591e-02,3.55006382e-01,4.36540209e-04,3.86922489e-04,1.08863647e-01,3.34294399e-01 +1671000000,1.77882921e-02,6.17882536e-02,6.25434557e-02,3.70622874e-01,4.23397402e-04,3.93347835e-04,1.15997470e-01,3.03616392e-01 +1672000000,1.95136327e-02,5.97507907e-02,7.64189380e-02,3.68491562e-01,5.02778828e-04,3.21761576e-04,2.01189776e-01,3.01133786e-01 +1673000000,1.78260458e-02,5.96145273e-02,8.79700310e-02,3.67874543e-01,5.04271331e-04,3.92996991e-04,1.24627880e-01,3.17985760e-01 +1674000000,1.73909961e-02,5.87909752e-02,9.53659016e-02,3.63355355e-01,5.13974218e-04,4.18259315e-04,9.48631296e-02,3.02545650e-01 +1675000000,1.78445842e-02,5.71415497e-02,1.08011419e-01,3.61850282e-01,5.47015010e-04,4.19897190e-04,9.55147837e-02,3.19500495e-01 +1676000000,1.74817299e-02,5.51152540e-02,1.20069972e-01,3.58125050e-01,5.75369875e-04,3.42910385e-04,1.21001641e-01,3.33238855e-01 +1677000000,1.71053886e-02,5.39493702e-02,1.30821168e-01,3.54076051e-01,6.00806385e-04,3.38537190e-04,1.15383683e-01,3.31937457e-01 +1678000000,1.55720406e-02,5.47706560e-02,1.39946375e-01,3.51268581e-01,6.41894970e-04,3.69943462e-04,9.66995746e-02,2.95811323e-01 +1679000000,1.49502789e-02,5.32761332e-02,1.53088581e-01,3.46660515e-01,6.81485074e-04,2.15511422e-04,1.97538649e-01,3.05150340e-01 +1680000000,1.56988256e-02,5.30274565e-02,1.58076622e-01,3.45011147e-01,6.98883593e-04,3.30451023e-04,6.13702654e-02,3.07644113e-01 +1681000000,1.38338417e-02,5.16944826e-02,1.66272428e-01,3.38961783e-01,7.42835760e-04,3.49311350e-04,5.79647520e-02,2.78429798e-01 +1682000000,1.34985312e-02,5.00474275e-02,1.78725698e-01,3.33813092e-01,7.67831574e-04,3.05722984e-04,6.87835928e-02,2.81253424e-01 +1683000000,1.17729193e-02,4.96114529e-02,1.92528680e-01,3.27139298e-01,7.70903336e-04,1.54586640e-04,1.79159233e-01,3.05205847e-01 +1684000000,1.22832257e-02,4.84428858e-02,2.01090205e-01,3.23902113e-01,7.94928397e-04,2.04185398e-04,1.10380243e-01,3.16384325e-01 +1685000000,1.06790308e-02,4.79041280e-02,2.12022820e-01,3.18798689e-01,8.32983087e-04,1.58148703e-04,1.40994812e-01,2.98254558e-01 +1686000000,1.04060733e-02,4.76129687e-02,2.16807758e-01,3.15444352e-01,8.66757159e-04,1.74326670e-04,-4.48639465e-03,2.68753752e-01 +1687000000,9.49771617e-03,4.53263441e-02,2.27090858e-01,3.08113455e-01,8.86717487e-04,1.27707702e-04,-7.45261981e-03,2.52477936e-01 +1688000000,8.40772012e-03,4.36730896e-02,2.39256645e-01,3.00028857e-01,8.32171663e-04,1.19692338e-05,4.08482480e-02,1.92027646e-01 +1689000000,7.10343305e-03,4.52988723e-02,2.49342352e-01,2.96086326e-01,8.65140764e-04,3.35766172e-06,-1.63089623e-02,2.53831273e-01 +1690000000,5.78329605e-03,4.44031024e-02,2.57451278e-01,2.85086734e-01,8.81763465e-04,-2.83382517e-05,1.79632878e-03,2.88553275e-01 +1691000000,4.97786916e-03,4.09028036e-02,2.70157472e-01,2.81949182e-01,9.53157281e-04,-2.73814726e-05,2.54506352e-02,2.72561473e-01 +1692000000,2.92228211e-03,3.82606289e-02,2.82049086e-01,2.80861071e-01,9.35966661e-04,-2.01901063e-04,6.10626030e-03,2.74231536e-01 +1693000000,1.36993278e-03,3.64060355e-02,2.93705298e-01,2.73063003e-01,8.71602373e-04,-2.70800288e-04,1.22924052e-01,2.42075213e-01 +1694000000,-2.32841710e-03,4.04606680e-02,2.83943988e-01,2.43048429e-01,7.16629044e-04,-2.17657719e-04,8.37738439e-02,1.71036856e-01 +1695000000,-4.19090026e-03,3.99320093e-02,2.90975158e-01,2.33069875e-01,6.59258103e-04,-2.32558489e-04,9.56792709e-02,1.49770376e-01 +1696000000,-6.06042099e-03,3.96136565e-02,2.97337739e-01,2.22520152e-01,6.44235799e-04,-2.79174080e-04,9.47629305e-02,1.15797637e-01 +1697000000,-7.87116897e-03,3.99056254e-02,3.04497796e-01,2.12711695e-01,6.12682490e-04,-3.00730993e-04,8.51008185e-02,1.26032571e-01 +1698000000,-9.88324722e-03,3.98885444e-02,3.10743637e-01,2.03598410e-01,5.91748145e-04,-3.10141970e-04,6.86500103e-02,1.09678993e-01 +1699000000,-1.18319075e-02,3.60848805e-02,3.34981610e-01,1.96544867e-01,5.78976464e-04,-3.75438075e-04,1.06500330e-01,3.20286452e-02 +1700000000,-1.48494236e-02,3.80334011e-02,3.33600172e-01,1.93236961e-01,3.70751639e-04,-5.36777986e-04,7.76799933e-02,2.04935407e-02 +1701000000,-1.54593288e-02,3.77533799e-02,3.46562747e-01,1.80655656e-01,5.26259385e-04,-4.14048114e-04,3.01328126e-02,3.51905687e-02 +1702000000,-1.91083671e-02,3.92779158e-02,3.44063377e-01,1.75258604e-01,5.51617076e-04,-3.44249216e-04,1.54246598e-02,7.35947556e-02 +1703000000,-2.12117611e-02,3.95826610e-02,3.47529368e-01,1.63272658e-01,5.44191713e-04,-4.73092701e-04,5.94261321e-02,1.00288168e-01 +1704000000,-2.12681147e-02,3.95226483e-02,3.57873399e-01,1.53515178e-01,4.82602749e-04,-4.79658008e-04,1.13033482e-01,4.80458970e-02 +1705000000,-2.45211732e-02,4.14575048e-02,3.56611993e-01,1.46364726e-01,4.12852523e-04,-4.59226994e-04,1.44598302e-02,3.82190289e-02 +1706000000,-2.75643272e-02,4.13027704e-02,3.57753402e-01,1.32127284e-01,4.19915182e-04,-4.89102378e-04,4.74553908e-02,5.96035042e-02 +1707000000,-2.87749001e-02,4.22383787e-02,3.62648059e-01,1.22535173e-01,3.89590367e-04,-4.94913207e-04,4.33089853e-02,5.83612674e-02 +1708000000,-2.98057725e-02,4.37459674e-02,3.67022478e-01,1.14713663e-01,3.30660069e-04,-5.04725657e-04,2.62333325e-02,1.98590111e-02 +1709000000,-2.99944579e-02,4.30106143e-02,3.73137094e-01,1.01308064e-01,3.08279740e-04,-4.34275824e-04,2.69316836e-02,3.82627384e-02 +1710000000,-3.56776751e-02,4.34190079e-02,3.67736400e-01,9.01723926e-02,3.48865016e-04,-4.23091011e-04,3.13191266e-02,4.89512894e-02 +1711000000,-3.64865883e-02,4.25560978e-02,3.71623122e-01,7.59850885e-02,3.03011559e-04,-4.09430417e-04,8.56152266e-02,5.10422798e-02 +1712000000,-3.84941770e-02,4.35379353e-02,3.72872542e-01,6.53656597e-02,2.80372203e-04,-3.98450487e-04,8.90898767e-02,4.81968054e-02 +1713000000,-4.11170909e-02,4.87800108e-02,3.73577907e-01,5.99888176e-02,2.77749698e-04,-4.40463194e-04,3.41193112e-02,4.08044055e-02 +1714000000,-3.93509561e-02,4.88871989e-02,3.77885720e-01,4.72261382e-02,1.80346896e-04,-4.32488041e-04,4.02409579e-02,1.51111573e-02 +1715000000,-4.58437623e-02,5.00595606e-02,3.75829842e-01,3.65477259e-02,2.25486422e-04,-3.96562838e-04,4.27048838e-02,4.71651775e-02 +1716000000,-4.37201617e-02,5.33606374e-02,3.78213202e-01,2.52032170e-02,2.22353154e-04,-4.69308719e-04,4.19437868e-02,5.27704326e-02 +1717000000,-4.79449325e-02,5.57718166e-02,3.78376931e-01,1.39217335e-02,2.30699187e-04,-4.08397467e-04,4.86644849e-02,5.66480854e-02 +1718000000,-4.66690669e-02,5.52056445e-02,3.77652214e-01,5.90961495e-04,1.76934157e-04,-3.27537052e-04,1.03506603e-01,5.90266940e-02 +1719000000,-5.16396752e-02,5.62644679e-02,3.79967631e-01,-1.20462336e-02,1.67154193e-04,-3.55247040e-04,7.75512480e-02,4.13994194e-02 +1720000000,-5.32951710e-02,5.93432717e-02,3.79702647e-01,-2.37213766e-02,1.53320189e-04,-3.64145037e-04,6.98601380e-02,3.84959368e-02 +1721000000,-5.59444744e-02,6.13653818e-02,3.79462114e-01,-3.52431844e-02,1.44345946e-04,-3.38874760e-04,7.12212535e-02,3.78768481e-02 +1722000000,-5.64726839e-02,6.30389159e-02,3.77038269e-01,-4.64598597e-02,1.30074294e-04,-3.09982435e-04,6.34692090e-02,4.87547412e-02 +1723000000,-5.87614132e-02,6.43034807e-02,3.75290648e-01,-5.68316428e-02,1.48266410e-04,-3.05024389e-04,6.56622090e-02,4.61943112e-02 +1724000000,-6.13094854e-02,6.81343609e-02,3.74587017e-01,-6.92676020e-02,1.32557482e-04,-3.15931522e-04,5.42383697e-02,5.98156523e-02 +1725000000,-6.20790808e-02,7.10059884e-02,3.70902090e-01,-8.18616395e-02,1.34026541e-04,-2.87541128e-04,1.01560831e-01,1.68095119e-02 +1726000000,-5.96482628e-02,7.27800160e-02,3.58630812e-01,-8.90631214e-02,1.21248688e-04,-2.81161561e-04,6.90961799e-02,1.26722773e-03 +1727000000,-6.10035704e-02,7.50757325e-02,3.55481552e-01,-9.86169221e-02,1.26970823e-04,-2.55980246e-04,4.43439906e-02,1.19390124e-02 +1728000000,-6.51111864e-02,7.59874902e-02,3.55542130e-01,-1.06257025e-01,1.21855676e-04,-2.63041367e-04,4.77736960e-02,5.01488176e-02 +1729000000,-6.90076095e-02,8.28953388e-02,3.56353765e-01,-1.23754507e-01,9.97230055e-05,-2.50108796e-04,7.00341475e-02,5.83425048e-02 +1730000000,-6.42963777e-02,8.16777906e-02,3.43103452e-01,-1.28333833e-01,9.15553660e-05,-1.80816332e-04,1.00191059e-01,5.83448866e-02 +1731000000,-6.44468610e-02,8.39678102e-02,3.36878345e-01,-1.34876317e-01,9.98776387e-05,-2.28281496e-04,4.53679317e-02,4.60910228e-02 +1732000000,-6.39740051e-02,9.24951078e-02,3.30572466e-01,-1.54185263e-01,1.00068116e-04,-1.99685641e-04,4.91649395e-02,6.00767992e-02 +1733000000,-7.24774415e-02,9.33944416e-02,3.38607652e-01,-1.59723015e-01,1.01920752e-04,-2.18697131e-04,4.34683388e-02,4.39974871e-02 +1734000000,-6.56441831e-02,1.00143827e-01,3.21200967e-01,-1.76294137e-01,1.05427369e-04,-2.16358440e-04,9.82551101e-02,1.16611156e-02 +1735000000,-6.84793154e-02,9.62530449e-02,3.18550163e-01,-1.71840001e-01,1.28808528e-04,-1.96093254e-04,3.70984164e-02,4.21782915e-02 +1736000000,-6.83832234e-02,9.98359624e-02,3.12031179e-01,-1.82044331e-01,1.11250848e-04,-1.79552519e-04,5.02405943e-02,4.19156100e-02 +1737000000,-6.45834778e-02,1.07044066e-01,2.98583302e-01,-1.99758189e-01,1.37393671e-04,-1.70406992e-04,8.73614808e-02,4.06637419e-02 +1738000000,-7.35286107e-02,1.08609948e-01,3.10637305e-01,-2.03708060e-01,9.04629226e-05,-2.02671468e-04,3.23733614e-02,4.05342875e-02 +1739000000,-7.45321901e-02,1.13349216e-01,3.06025299e-01,-2.21819050e-01,8.68067672e-05,-1.95249662e-04,3.95359634e-02,3.42726706e-02 +1740000000,-7.32097594e-02,1.18929244e-01,2.95948184e-01,-2.34327252e-01,1.03292213e-04,-2.07327392e-04,3.45679645e-02,3.58701341e-02 +1741000000,-7.30193385e-02,1.18671787e-01,2.88247866e-01,-2.35606633e-01,1.17651193e-04,-1.92019324e-04,3.30147102e-02,2.66010700e-02 +1742000000,-7.45633122e-02,1.24801926e-01,2.84499796e-01,-2.49051468e-01,1.00983830e-04,-1.77529870e-04,3.78751070e-02,2.07936235e-02 +1743000000,-7.09143724e-02,1.26923336e-01,2.71749078e-01,-2.53934558e-01,7.54894202e-05,-1.59150685e-04,2.52936599e-02,2.67079887e-02 +1744000000,-7.50943098e-02,1.30652587e-01,2.72227745e-01,-2.61659725e-01,1.13988341e-04,-1.60570091e-04,3.81777614e-02,1.71292716e-02 +1745000000,-7.26022899e-02,1.33780255e-01,2.60853636e-01,-2.68533865e-01,1.20151655e-04,-1.62219674e-04,6.29251262e-02,6.06155568e-03 +1746000000,-7.11508950e-02,1.36323656e-01,2.51070452e-01,-2.72667020e-01,1.00387847e-04,-1.61651936e-04,3.29217563e-02,-1.54182233e-02 +1747000000,-6.85802757e-02,1.38990502e-01,2.39153145e-01,-2.77703998e-01,1.03961985e-04,-1.47889248e-04,1.47274951e-02,-1.65322419e-02 +1748000000,-6.73488349e-02,1.42651404e-01,2.30529493e-01,-2.83608430e-01,1.03758756e-04,-1.33384505e-04,2.98423779e-02,1.12874349e-02 +1749000000,-6.87672906e-02,1.46265703e-01,2.26695006e-01,-2.89506109e-01,5.48952981e-05,-1.57102890e-04,-3.88719153e-02,-5.97603243e-02 +1750000000,-6.57221086e-02,1.55959344e-01,2.14367117e-01,-3.07190533e-01,5.48304019e-05,-1.42764885e-04,-3.35438850e-02,-6.63022439e-02 +1751000000,-5.98534409e-02,1.54152675e-01,1.98033092e-01,-3.01595901e-01,1.09645282e-04,-1.00109737e-04,-8.68693060e-02,-3.55854263e-02 +1752000000,-6.26567877e-02,1.64048367e-01,1.98044184e-01,-3.18957728e-01,8.88406954e-05,-8.30833882e-05,-1.03989425e-01,-2.08294067e-02 +1753000000,-5.52520885e-02,1.64400333e-01,1.76279101e-01,-3.18126013e-01,1.41586903e-04,-1.74774325e-04,9.43938075e-03,6.86531334e-02 +1754000000,-5.43257719e-02,1.61810796e-01,1.68712207e-01,-3.10731152e-01,9.71423485e-05,-1.51396084e-04,1.95624543e-02,5.87254690e-02 +1755000000,-5.76579256e-02,1.70472041e-01,1.69944428e-01,-3.24639086e-01,1.26409581e-04,-1.45901267e-04,3.25911823e-02,4.30119920e-02 +1756000000,-4.81346212e-02,1.68872876e-01,1.47437659e-01,-3.19060401e-01,1.32255018e-04,-5.48354478e-05,5.41493323e-02,1.01478261e-02 +1757000000,-4.58263352e-02,1.70268712e-01,1.37301761e-01,-3.19177775e-01,8.22163762e-05,-1.53154201e-04,-3.24819084e-02,-6.49829734e-02 +1758000000,-4.98985046e-02,1.73164334e-01,1.39930581e-01,-3.21845742e-01,1.14875814e-04,-1.35414117e-04,-3.30841188e-02,-6.36289055e-02 +1759000000,-3.85351005e-02,1.81395020e-01,1.15528903e-01,-3.34929298e-01,9.01680493e-05,-7.64764424e-05,3.96598123e-02,-1.87740052e-02 +1760000000,-4.00229678e-02,1.78158269e-01,1.11948386e-01,-3.25703411e-01,1.17699097e-04,-1.54275534e-04,-4.63883554e-02,-6.90870287e-02 +1761000000,-4.51145390e-02,1.84729354e-01,1.19633033e-01,-3.31723326e-01,1.62422305e-04,-5.38395294e-05,-5.67228236e-02,-1.23149519e-02 +1762000000,-3.79422717e-02,1.84323227e-01,1.01388895e-01,-3.27466520e-01,1.55786833e-04,-1.23014211e-04,-9.35551638e-02,3.69994636e-02 +1763000000,-3.01926267e-02,1.91542191e-01,8.32289013e-02,-3.38306619e-01,1.15832094e-04,-1.03644309e-04,-1.70211789e-02,5.73683252e-03 +1764000000,-2.50582198e-02,1.95344272e-01,6.62153393e-02,-3.43441150e-01,1.61758779e-04,-1.21428082e-04,-6.18935088e-02,-7.82183613e-02 +1765000000,-2.85784301e-02,1.98443784e-01,6.91073825e-02,-3.46839991e-01,1.83983274e-04,-1.40178235e-04,-8.04945201e-02,-4.55322150e-02 +1766000000,-2.10996329e-02,1.99239730e-01,5.33797855e-02,-3.43762128e-01,1.49716334e-04,-8.74952249e-05,-8.20169439e-02,-4.25849980e-02 +1767000000,-1.72570402e-02,2.00763052e-01,4.26041427e-02,-3.43139424e-01,1.57594408e-04,-1.00778579e-04,-8.25509903e-02,-4.91903505e-02 +1768000000,-1.47932760e-02,2.03631139e-01,3.45862800e-02,-3.44930781e-01,1.69887415e-04,-8.72199042e-05,-1.20141290e-01,8.30272241e-03 +1769000000,-1.22803269e-02,2.05738807e-01,2.63553837e-02,-3.45046360e-01,1.67311105e-04,-8.05564755e-05,-6.48580069e-02,1.50069534e-02 +1770000000,-8.62939418e-03,2.07512660e-01,1.65152226e-02,-3.44759553e-01,1.71837356e-04,-8.50867128e-05,-9.85372932e-02,3.49935402e-02 +1771000000,-5.33526676e-03,2.08675677e-01,6.98858761e-03,-3.42822939e-01,1.74291690e-04,-7.85135280e-05,-8.68691096e-02,-9.92459628e-02 +1772000000,-3.08285461e-04,2.08736856e-01,-4.03284947e-03,-3.39414680e-01,1.93596958e-04,-8.07317921e-05,-1.10127658e-01,-7.31969809e-02 +1773000000,3.74122567e-03,2.09569871e-01,-1.37252378e-02,-3.38589894e-01,2.11603608e-04,-5.48607187e-05,-1.99378851e-01,3.63178718e-02 +1774000000,7.54762119e-03,2.13724952e-01,-2.29952890e-02,-3.41104771e-01,1.89314848e-04,-5.13776873e-05,-1.67887476e-01,-4.82469383e-02 +1775000000,1.10417934e-02,2.12116993e-01,-3.17773295e-02,-3.35773057e-01,2.16024438e-04,-4.51567736e-05,-2.22027684e-01,2.70194247e-02 +1776000000,1.35083625e-02,2.14174702e-01,-3.89062929e-02,-3.35419394e-01,2.23982165e-04,-5.79757754e-05,-2.34319121e-01,1.31376268e-02 +1777000000,1.98668762e-02,2.15484552e-01,-5.16878078e-02,-3.33310465e-01,2.30976081e-04,-5.14486024e-05,-1.78807366e-01,-6.09417444e-02 +1778000000,2.28388151e-02,2.15985471e-01,-5.90087935e-02,-3.29981580e-01,2.36252051e-04,-6.31031975e-05,-1.04120518e-01,5.73581134e-05 +1779000000,2.55751961e-02,2.17981104e-01,-6.63814280e-02,-3.29463100e-01,2.33418524e-04,-6.92518341e-05,-1.34791074e-01,-8.71903791e-02 +1780000000,3.04594449e-02,2.18623459e-01,-7.61602588e-02,-3.28159648e-01,2.67077080e-04,-5.97177397e-05,-2.28569166e-01,4.19055847e-02 +1781000000,3.51041042e-02,2.18581856e-01,-8.56981428e-02,-3.24258464e-01,2.66395286e-04,-7.96576404e-05,-2.08099057e-01,4.60126237e-02 +1782000000,3.76117204e-02,2.19567918e-01,-9.18989898e-02,-3.21051813e-01,2.66134118e-04,-8.37804455e-05,-1.26257923e-01,1.40866066e-02 +1783000000,4.18356380e-02,2.18952109e-01,-1.00826174e-01,-3.18021167e-01,2.72598177e-04,-5.91775503e-05,-2.63630755e-01,6.21149699e-03 +1784000000,4.59249592e-02,2.10288825e-01,-1.06508500e-01,-2.99868719e-01,2.85004087e-04,-9.37871341e-05,-2.00858171e-01,1.71176731e-01 +1785000000,5.30253882e-02,2.21234866e-01,-1.18090127e-01,-3.10551117e-01,2.56860416e-04,-1.15753310e-04,-1.11272980e-02,3.21443189e-02 +1786000000,5.54824975e-02,2.20112333e-01,-1.27958495e-01,-3.08568021e-01,2.91199907e-04,-8.04036506e-05,-2.08084922e-01,-9.07728539e-02 +1787000000,5.90177845e-02,2.19658570e-01,-1.34968959e-01,-3.04570502e-01,3.01979035e-04,-8.13677296e-05,-1.93157472e-01,5.53274671e-03 +1788000000,6.19577969e-02,2.21077116e-01,-1.41044779e-01,-3.02303522e-01,2.76657136e-04,-7.51993133e-05,-2.07557147e-01,-1.19040146e-01 +1789000000,6.66857252e-02,2.19771072e-01,-1.49568592e-01,-2.96918838e-01,2.97073334e-04,-9.40299302e-05,-2.06298980e-01,-1.24249191e-01 +1790000000,7.16016645e-02,2.19024389e-01,-1.58266695e-01,-2.92354150e-01,3.03483810e-04,-9.92713187e-05,-2.20429470e-01,-1.22653799e-01 +1791000000,7.58255066e-02,2.18115270e-01,-1.65830346e-01,-2.87662222e-01,3.02631625e-04,-9.36741368e-05,-2.51911750e-01,-1.08000775e-01 +1792000000,7.89567858e-02,2.19379678e-01,-1.71771501e-01,-2.85838490e-01,3.11538896e-04,-7.64824421e-05,-2.83330491e-01,-6.67075357e-02 +1793000000,8.12698826e-02,2.18091483e-01,-1.76855634e-01,-2.80129939e-01,3.02700821e-04,-9.48356425e-05,-1.72537174e-01,-1.15217362e-03 +1794000000,8.58070664e-02,2.17503431e-01,-1.84428597e-01,-2.75833895e-01,3.06168506e-04,-1.00308103e-04,-2.02138825e-01,2.36764749e-02 +1795000000,8.95512587e-02,2.16298163e-01,-1.90873723e-01,-2.70594791e-01,3.28231358e-04,-1.05848310e-04,-2.11723684e-01,2.52668991e-02 +1796000000,9.26926918e-02,2.14723220e-01,-1.96348511e-01,-2.64452446e-01,3.27095107e-04,-1.03340423e-04,-1.96774766e-01,-4.75176654e-02 +1797000000,9.71218283e-02,2.13549439e-01,-2.03142844e-01,-2.59052529e-01,3.38073464e-04,-1.19448418e-04,-2.49505428e-01,-1.16728169e-01 +1798000000,1.02713099e-01,2.12130211e-01,-2.11559977e-01,-2.53387124e-01,3.19287007e-04,-7.50249983e-05,-2.58458451e-01,-1.01769620e-01 +1799000000,1.04833906e-01,2.08891037e-01,-2.15874629e-01,-2.46066620e-01,3.28667096e-04,-7.61301562e-05,-2.42110274e-01,-7.43039158e-02 +1800000000,1.10480763e-01,2.07477612e-01,-2.21761972e-01,-2.36995935e-01,3.54805098e-04,-1.38534661e-04,-2.66877823e-01,-8.97682946e-02 +1801000000,1.12370204e-01,2.05442036e-01,-2.25406470e-01,-2.30750750e-01,3.41624777e-04,-1.64797548e-04,-2.69417031e-01,-1.07642701e-01 +1802000000,1.17636042e-01,2.04084222e-01,-2.33268542e-01,-2.25355346e-01,3.55855819e-04,-1.95895276e-04,-2.75376531e-01,-8.79299199e-02 +1803000000,1.20833292e-01,2.02388206e-01,-2.38050623e-01,-2.19839709e-01,3.60970594e-04,-1.59716657e-04,-2.66622275e-01,3.98789444e-03 +1804000000,1.23337038e-01,1.99511835e-01,-2.42513678e-01,-2.12442435e-01,3.70544573e-04,-1.94815382e-04,-2.74928388e-01,-8.73646189e-02 +1805000000,1.27252134e-01,1.97796099e-01,-2.47932680e-01,-2.06420581e-01,3.60422002e-04,-1.99982614e-04,-2.76663174e-01,-9.40526096e-02 +1806000000,1.30722504e-01,1.96122551e-01,-2.52871558e-01,-2.00615744e-01,3.86353921e-04,-1.49705214e-04,-2.90150501e-01,-1.85438302e-02 +1807000000,1.33016997e-01,1.94708761e-01,-2.57238798e-01,-1.94966428e-01,3.87389988e-04,-1.78152041e-04,-2.93631986e-01,-4.03999061e-02 +1808000000,1.36581495e-01,1.91446227e-01,-2.62126933e-01,-1.87471252e-01,3.66847454e-04,-1.88249764e-04,-2.84266740e-01,-8.14937879e-02 +1809000000,1.39435557e-01,1.91828492e-01,-2.62826022e-01,-1.83233233e-01,4.01531239e-04,-1.53834633e-04,-2.76013426e-01,-8.64804224e-02 +1810000000,1.45430233e-01,1.86617004e-01,-2.70057922e-01,-1.74399365e-01,3.87614701e-04,-1.94779729e-04,-2.84845077e-01,-9.22367358e-02 +1811000000,1.45150618e-01,1.85482747e-01,-2.75347761e-01,-1.69907996e-01,4.94544666e-04,-1.56811041e-04,-2.88159794e-01,-4.65254102e-02 +1812000000,1.46814602e-01,1.82695039e-01,-2.78336468e-01,-1.63117125e-01,4.83773795e-04,-1.37490194e-04,-2.89241832e-01,-5.72025520e-02 +1813000000,1.50105122e-01,1.79286157e-01,-2.82721845e-01,-1.55634566e-01,5.11979146e-04,-1.45921169e-04,-2.87912009e-01,-4.21501703e-02 +1814000000,1.52592297e-01,1.76575185e-01,-2.86097698e-01,-1.48607496e-01,5.17865507e-04,-1.23924943e-04,-2.99995114e-01,-1.85351763e-02 +1815000000,1.55414081e-01,1.74153841e-01,-2.89933098e-01,-1.42192144e-01,5.23868753e-04,-1.78205747e-04,-2.87391846e-01,-3.58755236e-02 +1816000000,1.56924718e-01,1.71513419e-01,-2.92634247e-01,-1.35472777e-01,5.38476405e-04,-1.74371850e-04,-2.92523110e-01,-3.93685657e-02 +1817000000,1.59288576e-01,1.68326791e-01,-2.95857161e-01,-1.28194104e-01,5.53276083e-04,-1.91092683e-04,-2.89688599e-01,-3.22330037e-02 +1818000000,1.61680523e-01,1.65300078e-01,-2.98966496e-01,-1.21128254e-01,5.42743571e-04,-2.25992698e-04,-2.89600498e-01,-3.02076547e-02 +1819000000,1.63501512e-01,1.63035892e-01,-3.01704515e-01,-1.14634796e-01,5.65846532e-04,-2.18218586e-04,-2.90182843e-01,-2.86696999e-02 +1820000000,1.65388290e-01,1.59598973e-01,-3.04282808e-01,-1.07288225e-01,5.60396656e-04,-2.37180926e-04,-2.92305881e-01,-2.61418731e-02 +1821000000,1.68006730e-01,1.56629852e-01,-3.07267495e-01,-9.99575818e-02,5.83747978e-04,-2.55452022e-04,-2.98354388e-01,-9.88607249e-03 +1822000000,1.69183849e-01,1.53767894e-01,-3.09196192e-01,-9.32330603e-02,5.64465240e-04,-2.43836531e-04,-2.97620411e-01,-3.44943755e-02 +1823000000,1.70790198e-01,1.50299016e-01,-3.11320371e-01,-8.58569248e-02,5.66702172e-04,-3.15687749e-04,-2.95379255e-01,-3.06170245e-02 +1824000000,1.72977924e-01,1.47263047e-01,-3.13690997e-01,-7.85300839e-02,5.89052212e-04,-2.53412010e-04,-3.02080392e-01,-3.61308929e-03 +1825000000,1.74054514e-01,1.43544715e-01,-3.15246396e-01,-7.13138337e-02,5.70057986e-04,-2.93721081e-04,-2.98492632e-01,-3.19421735e-02 +1826000000,1.75258513e-01,1.40723078e-01,-3.16939813e-01,-6.42793265e-02,5.67049732e-04,-3.36304205e-04,-2.96879274e-01,-2.91401542e-02 +1827000000,1.76650027e-01,1.37135794e-01,-3.18517378e-01,-5.67161696e-02,5.93500748e-04,-3.29746751e-04,-2.97128632e-01,-1.15134147e-02 +1828000000,1.77832515e-01,1.33849431e-01,-3.19902022e-01,-4.93712754e-02,5.66428420e-04,-3.85446909e-04,-2.96393189e-01,-1.87693509e-02 +1829000000,1.73778533e-01,1.27781030e-01,-3.14313782e-01,-4.17889892e-02,5.35404193e-04,-3.14028500e-04,-3.06880777e-01,5.14673686e-03 +1830000000,1.75779806e-01,1.29581354e-01,-3.15711751e-01,-3.57090210e-02,5.46509926e-04,-3.55487796e-04,-3.06217858e-01,7.65246007e-03 +1831000000,1.81373805e-01,1.25772907e-01,-3.17944991e-01,-2.89053679e-02,5.70506778e-04,-3.25340499e-04,-2.90185737e-01,-2.45679842e-02 +1832000000,1.79876261e-01,1.17447326e-01,-3.18382914e-01,-2.11267101e-02,6.05623170e-04,-2.75639435e-04,-2.90714408e-01,-2.42112990e-02 +1833000000,1.82763871e-01,1.15917561e-01,-3.19291282e-01,-1.35462789e-02,5.69802341e-04,-4.04491037e-04,-3.12988358e-01,-1.62005290e-02 +1834000000,1.80591897e-01,1.17733794e-01,-3.19658902e-01,-5.90915062e-03,5.36094586e-04,-4.11625346e-04,-3.11574156e-01,-6.05635712e-04 +1835000000,1.78317994e-01,1.13197186e-01,-3.20412233e-01,1.22854046e-03,6.76862539e-04,-3.68439362e-04,-3.02765411e-01,-3.88096426e-02 +1836000000,1.83888806e-01,1.06890550e-01,-3.24544484e-01,1.06009161e-02,6.28733839e-04,-3.88235982e-04,-3.02836828e-01,-1.54983321e-02 +1837000000,1.83955801e-01,1.03596897e-01,-3.24349736e-01,1.85370954e-02,6.50082494e-04,-3.60344578e-04,-3.04143001e-01,-1.75645321e-02 +1838000000,1.84248007e-01,1.00654997e-01,-3.23815033e-01,2.65156680e-02,6.40435852e-04,-3.74174774e-04,-3.03431024e-01,-2.83383834e-02 +1839000000,1.84539461e-01,9.67733378e-02,-3.23218540e-01,3.46064861e-02,6.30293040e-04,-4.13963800e-04,-3.02768280e-01,-2.34110071e-02 +1840000000,1.84558349e-01,9.38740981e-02,-3.22234973e-01,4.29771734e-02,6.46433387e-04,-4.05838704e-04,-3.05088240e-01,-2.06446481e-02 +1841000000,1.84089132e-01,9.02193423e-02,-3.21377002e-01,5.13151633e-02,6.67774542e-04,-3.86061935e-04,-3.07162097e-01,-2.19981559e-02 +1842000000,1.84298973e-01,8.68411759e-02,-3.19956403e-01,5.95884825e-02,6.80960337e-04,-3.67225913e-04,-3.08170252e-01,-2.66435272e-02 +1843000000,1.84048528e-01,8.33542936e-02,-3.18575745e-01,6.77750263e-02,6.73995154e-04,-4.03474815e-04,-3.06415501e-01,-3.83666477e-02 +1844000000,1.83759926e-01,7.98794004e-02,-3.16775421e-01,7.65011534e-02,6.58522523e-04,-4.08582529e-04,-3.05305633e-01,-3.95813931e-02 +1845000000,1.83185116e-01,7.66462744e-02,-3.14929019e-01,8.57013920e-02,6.73540314e-04,-4.17089521e-04,-3.06248071e-01,-4.31024748e-02 +1846000000,1.82430850e-01,7.27421928e-02,-3.13089361e-01,9.45420457e-02,6.77254901e-04,-4.36602039e-04,-3.09573840e-01,-4.00268331e-02 +1847000000,1.81870926e-01,6.92219648e-02,-3.10772499e-01,1.03410208e-01,6.99165932e-04,-4.46460120e-04,-3.11164111e-01,-4.33885810e-02 +1848000000,1.81482914e-01,6.61763916e-02,-3.07546499e-01,1.12166659e-01,6.96211454e-04,-4.44914458e-04,-3.09267055e-01,-5.55125201e-02 +1849000000,1.80506923e-01,6.20794961e-02,-3.05282101e-01,1.20999532e-01,7.44973783e-04,-4.36882038e-04,-3.13390676e-01,-5.52536220e-02 +1850000000,1.80096113e-01,5.88370098e-02,-3.01070295e-01,1.30098780e-01,7.18415813e-04,-4.75940756e-04,-3.13645327e-01,-6.04198230e-02 +1851000000,1.78760313e-01,5.52554210e-02,-2.98769800e-01,1.38754354e-01,7.49206636e-04,-4.45745510e-04,-3.12003965e-01,-7.08558369e-02 +1852000000,1.78144763e-01,5.21283855e-02,-2.93870318e-01,1.48064254e-01,7.48516391e-04,-4.73535253e-04,-3.11385846e-01,-7.88940147e-02 +1853000000,1.76837136e-01,4.84586788e-02,-2.90441915e-01,1.56070431e-01,6.74990983e-04,-5.40137869e-04,-3.09696899e-01,-8.37721221e-02 +1854000000,1.75835048e-01,4.53618131e-02,-2.85069602e-01,1.65740622e-01,6.63694383e-04,-5.86703303e-04,-3.11066046e-01,-9.00521073e-02 +1855000000,1.74176384e-01,4.20119671e-02,-2.82031164e-01,1.74873090e-01,7.25288641e-04,-5.82170153e-04,-3.09787209e-01,-1.00406515e-01 +1856000000,1.76495458e-01,3.77698961e-02,-2.79570563e-01,1.87743496e-01,7.57304703e-04,-5.99643523e-04,-2.95247291e-01,-1.12382063e-01 +1857000000,1.74644747e-01,3.43506102e-02,-2.74728521e-01,1.93520895e-01,7.60434863e-04,-5.39698708e-04,-2.94313516e-01,-1.31501832e-01 +1858000000,1.71378248e-01,3.16275035e-02,-2.79226789e-01,2.05139437e-01,7.80976113e-04,-6.57170480e-04,-2.83983234e-01,-1.31281838e-01 +1859000000,1.66613464e-01,3.06696625e-02,-2.57772191e-01,2.03610700e-01,7.26655462e-04,-6.28371852e-04,-2.97696160e-01,-1.52008690e-01 +1860000000,1.64916696e-01,2.80491402e-02,-2.51077598e-01,2.13477068e-01,6.79333056e-04,-6.69856689e-04,-2.95046184e-01,-1.59064998e-01 +1861000000,1.63248378e-01,2.52860172e-02,-2.43733293e-01,2.19622227e-01,6.85619659e-04,-6.71164948e-04,-2.87493275e-01,-1.69952539e-01 +1862000000,1.61334274e-01,2.26303768e-02,-2.40266879e-01,2.24903822e-01,6.41241089e-04,-7.11117532e-04,-2.82667452e-01,-1.78761301e-01 +1863000000,1.59321154e-01,2.07326656e-02,-2.34606162e-01,2.35305815e-01,6.66268212e-04,-7.45488918e-04,-2.72623559e-01,-1.97855882e-01 +1864000000,1.57390910e-01,1.80834946e-02,-2.30028190e-01,2.39401116e-01,6.44791064e-04,-7.89768836e-04,-2.68420745e-01,-1.99441747e-01 +1865000000,1.55466922e-01,1.62939384e-02,-2.24841703e-01,2.46525807e-01,6.24009299e-04,-7.75717108e-04,-2.54715644e-01,-2.16210691e-01 +1866000000,1.53413659e-01,1.46251401e-02,-2.17974060e-01,2.55051762e-01,6.24090616e-04,-8.22271466e-04,-2.46923785e-01,-2.24772648e-01 +1867000000,1.51386264e-01,1.28103368e-02,-2.09630686e-01,2.61052167e-01,6.04775262e-04,-8.47016627e-04,-2.39750418e-01,-2.34269680e-01 +1868000000,1.49054245e-01,1.12840434e-02,-2.06386184e-01,2.66569977e-01,6.49523560e-04,-8.51083292e-04,-2.32802585e-01,-2.38297262e-01 +1869000000,1.46897668e-01,9.80546243e-03,-2.02365866e-01,2.70840710e-01,6.21348131e-04,-8.94048373e-04,-2.20861341e-01,-2.46426592e-01 +1870000000,1.44743126e-01,8.59984189e-03,-1.90259921e-01,2.73812588e-01,6.02774162e-04,-8.78765735e-04,-2.19892887e-01,-2.50399021e-01 +1871000000,1.42464335e-01,7.21718844e-03,-1.83985160e-01,2.81390726e-01,6.15346679e-04,-9.56290409e-04,-2.11387573e-01,-2.62442634e-01 +1872000000,1.40100614e-01,6.25774326e-03,-1.81421082e-01,2.81613208e-01,6.55612107e-04,-9.34323237e-04,-1.97039917e-01,-2.66814652e-01 +1873000000,1.37635883e-01,5.59515992e-03,-1.79104485e-01,2.90845468e-01,5.75440773e-04,-9.49228097e-04,-1.92007324e-01,-2.68078987e-01 +1874000000,1.35264748e-01,4.95328560e-03,-1.71911662e-01,2.90017254e-01,5.72280028e-04,-9.47728745e-04,-1.85107145e-01,-2.69538031e-01 +1875000000,1.32886343e-01,4.17176048e-03,-1.63837590e-01,3.01003483e-01,5.90641288e-04,-9.92548954e-04,-1.68505194e-01,-2.87078218e-01 +1876000000,1.30701266e-01,5.55790487e-04,-1.70196266e-01,3.06451107e-01,6.49200984e-04,-1.02045770e-03,-1.62321225e-01,-2.72405995e-01 +1877000000,1.27968620e-01,-2.88934678e-05,-1.60579925e-01,3.18296419e-01,5.32880093e-04,-1.03071229e-03,-1.47905477e-01,-2.88134521e-01 +1878000000,1.25455165e-01,-2.23754105e-04,-1.45078839e-01,3.18255505e-01,5.04911354e-04,-1.05802046e-03,-1.57458376e-01,-2.78542006e-01 +1879000000,1.22837798e-01,-3.40246368e-04,-1.45297470e-01,3.11699506e-01,5.51285723e-04,-1.05820947e-03,-1.33242149e-01,-2.79523502e-01 +1880000000,1.20305402e-01,-3.63795993e-04,-1.47345850e-01,3.23032073e-01,4.57344085e-04,-1.06858917e-03,-1.41655639e-01,-2.81955200e-01 +1881000000,1.17687242e-01,-4.25187410e-04,-1.33850049e-01,3.34415141e-01,5.31065009e-04,-1.06319383e-03,-1.40527914e-01,-2.98143218e-01 +1882000000,1.15114273e-01,-4.49923870e-04,-1.21148299e-01,3.22176092e-01,3.93623664e-04,-1.01458644e-03,-1.26671142e-01,-2.91754255e-01 +1883000000,1.12619817e-01,-3.74886589e-04,-1.26011333e-01,3.30456451e-01,4.42328029e-04,-1.07390039e-03,-1.09142584e-01,-2.94683668e-01 +1884000000,1.10658566e-01,4.09265297e-03,-1.06301380e-01,3.23290822e-01,3.77951158e-04,-1.02916494e-03,-1.33856971e-01,-3.00309546e-01 +1885000000,1.08209167e-01,4.24226277e-03,-9.92327649e-02,3.28331155e-01,3.60091386e-04,-1.05176481e-03,-1.16987347e-01,-3.08732021e-01 +1886000000,1.05965300e-01,4.59667007e-03,-9.29033266e-02,3.31399944e-01,3.70736729e-04,-1.06588671e-03,-1.15565450e-01,-3.05274212e-01 +1887000000,1.03534460e-01,4.94833918e-03,-8.62508855e-02,3.29089521e-01,3.35336388e-04,-1.05462835e-03,-1.08056809e-01,-3.07013205e-01 +1888000000,1.01155000e-01,5.39865785e-03,-8.51992495e-02,3.35484548e-01,3.43984369e-04,-1.08026310e-03,-9.96094437e-02,-3.12070285e-01 +1889000000,9.88411250e-02,5.84400749e-03,-7.94871862e-02,3.35947965e-01,3.56648435e-04,-1.07890041e-03,-1.02269102e-01,-3.06986988e-01 +1890000000,9.65990222e-02,6.33950354e-03,-6.46616742e-02,3.39842649e-01,3.11676796e-04,-1.08722539e-03,-1.08646429e-01,-3.10720384e-01 +1891000000,9.42413736e-02,6.83111546e-03,-6.09109606e-02,3.36732219e-01,3.17293402e-04,-1.05952404e-03,-1.04309619e-01,-3.06567489e-01 +1892000000,9.19479863e-02,7.44702876e-03,-5.95055036e-02,3.45699323e-01,3.16887332e-04,-1.07689716e-03,-9.66972496e-02,-3.10735066e-01 +1893000000,8.97758108e-02,7.98641496e-03,-4.51937289e-02,3.42275550e-01,2.53969473e-04,-1.07547377e-03,-1.03633886e-01,-3.03885598e-01 +1894000000,8.74745734e-02,8.69401244e-03,-4.75457244e-02,3.46068366e-01,2.69733734e-04,-1.07289022e-03,-9.77681303e-02,-3.03027002e-01 +1895000000,8.54386190e-02,9.34787555e-03,-3.09726967e-02,3.44789860e-01,2.09738073e-04,-1.09517102e-03,-1.06683624e-01,-3.02634385e-01 +1896000000,8.31050836e-02,1.01794331e-02,-3.40322772e-02,3.49071888e-01,2.39129276e-04,-1.09212800e-03,-9.71488614e-02,-3.03807324e-01 +1897000000,8.10579919e-02,1.08514159e-02,-2.17527028e-02,3.45934887e-01,2.13103965e-04,-1.11378947e-03,-9.80137781e-02,-3.09061385e-01 +1898000000,7.90905457e-02,1.18321036e-02,-1.00276971e-02,3.54999594e-01,2.39360731e-04,-1.09985107e-03,-9.34837004e-02,-3.10449420e-01 +1899000000,7.67886073e-02,1.25043042e-02,-1.16392745e-02,3.50955994e-01,2.36788277e-04,-1.10586158e-03,-6.51258447e-02,-3.10996608e-01 +1900000000,7.51680678e-02,1.35637371e-02,6.29792197e-03,3.53679071e-01,2.08059244e-04,-1.13450307e-03,-8.17168393e-02,-3.06503562e-01 +1901000000,7.12271581e-02,1.14436724e-02,1.29067646e-02,3.67789811e-01,1.77880870e-04,-1.12283791e-03,-8.31412528e-02,-3.17682317e-01 +1902000000,6.88564922e-02,1.24855224e-02,8.94693903e-03,3.63954440e-01,2.06747478e-04,-1.10336937e-03,-7.47646091e-02,-3.13370388e-01 +1903000000,6.68265354e-02,1.38146452e-02,1.48804459e-02,3.67644618e-01,2.19177121e-04,-1.12182796e-03,-7.68144695e-02,-3.16770619e-01 +1904000000,6.51414775e-02,1.47096622e-02,2.87760057e-02,3.59207145e-01,1.89702307e-04,-1.11736768e-03,-6.60917995e-02,-3.01566420e-01 +1905000000,6.30306921e-02,1.63752391e-02,2.95608524e-02,3.66761470e-01,1.99596522e-04,-1.13437738e-03,-5.72784951e-02,-3.10302924e-01 +1906000000,6.18064222e-02,1.75635960e-02,4.67702365e-02,3.58395738e-01,1.26183742e-04,-1.12000190e-03,-7.32630832e-02,-3.11167464e-01 +1907000000,5.97380486e-02,1.90014562e-02,4.62257759e-02,3.58861673e-01,1.41278332e-04,-1.09848399e-03,-7.68391750e-02,-3.10345898e-01 +1908000000,5.80461468e-02,2.02204128e-02,5.59601738e-02,3.57043248e-01,1.50871398e-04,-1.11784077e-03,-6.55263593e-02,-3.00857601e-01 +1909000000,5.96670373e-02,2.49508961e-02,6.81987113e-02,3.45024058e-01,6.25844589e-05,-1.07060006e-03,-7.71479942e-02,-3.07975766e-01 +1910000000,5.80596103e-02,2.63042930e-02,7.33182676e-02,3.43150765e-01,5.48809719e-05,-1.06570568e-03,-7.92225476e-02,-3.09228102e-01 +1911000000,5.67516638e-02,2.75781392e-02,8.37153501e-02,3.42461437e-01,3.30570571e-05,-1.07879708e-03,-9.88975194e-02,-3.13209925e-01 +1912000000,5.53065910e-02,2.93406863e-02,9.02748622e-02,3.45409705e-01,-2.31795759e-05,-1.07783641e-03,-1.10591507e-01,-3.03972462e-01 +1913000000,5.43328665e-02,3.06260748e-02,9.97833533e-02,3.40992814e-01,-4.64813672e-05,-1.06361761e-03,-8.64362138e-02,-3.11383428e-01 +1914000000,5.29568951e-02,3.18619932e-02,1.06676818e-01,3.37237773e-01,-7.21188059e-05,-1.03506754e-03,-8.01764109e-02,-2.97162547e-01 +1915000000,5.16103256e-02,3.29927940e-02,1.12066816e-01,3.32690424e-01,-1.02436937e-04,-1.03039436e-03,-9.00155463e-02,-3.07122364e-01 +1916000000,4.98506948e-02,3.44807552e-02,1.14889679e-01,3.31156749e-01,-1.10728892e-04,-1.02010371e-03,-8.24433271e-02,-2.84941647e-01 +1917000000,4.90136026e-02,3.57380976e-02,1.25478058e-01,3.27630460e-01,-1.74976126e-04,-9.71911233e-04,-9.47777168e-02,-2.76766099e-01 +1918000000,4.77134732e-02,3.78462828e-02,1.30518379e-01,3.34848162e-01,-1.71668598e-04,-1.00930043e-03,-1.23172172e-01,-3.02374194e-01 +1919000000,4.75985487e-02,3.87528162e-02,1.46746736e-01,3.28758388e-01,-2.61197234e-04,-9.48570489e-04,-1.17985111e-01,-2.93350416e-01 +1920000000,4.66872141e-02,4.05406334e-02,1.53518911e-01,3.29164757e-01,-2.95137808e-04,-9.59112037e-04,-1.25874551e-01,-2.85553284e-01 +1921000000,4.49934634e-02,4.21866473e-02,1.52903608e-01,3.26645446e-01,-3.16166796e-04,-9.47908129e-04,-9.34234461e-02,-2.94810548e-01 +1922000000,4.56691648e-02,4.36882510e-02,1.70888268e-01,3.23082792e-01,-3.84021544e-04,-9.07469444e-04,-1.13486935e-01,-2.88470216e-01 +1923000000,4.43658904e-02,4.41099794e-02,1.74881468e-01,3.10874913e-01,-4.37636472e-04,-8.53120726e-04,-1.24561022e-01,-2.80268803e-01 +1924000000,4.37961814e-02,4.65061952e-02,1.84566860e-01,3.16745730e-01,-5.19490968e-04,-8.28713823e-04,-1.24630254e-01,-3.04941969e-01 +1925000000,4.31806573e-02,4.60728507e-02,1.91583579e-01,3.03062735e-01,-5.14032755e-04,-7.88642834e-04,-1.39594759e-01,-2.73667779e-01 +1926000000,3.88521263e-02,4.82187873e-02,1.99025128e-01,3.19975925e-01,-6.03336648e-04,-8.41747382e-04,-1.63564611e-01,-2.70668415e-01 +1927000000,3.95304311e-02,4.95819232e-02,2.13981184e-01,3.16119812e-01,-6.38282206e-04,-8.00447003e-04,-1.74116236e-01,-2.76401187e-01 +1928000000,4.04366597e-02,5.04250109e-02,2.24372979e-01,3.08593445e-01,-7.14149567e-04,-7.76826221e-04,-1.61462934e-01,-2.93604184e-01 +1929000000,3.84398898e-02,5.27966884e-02,2.25144785e-01,3.08061761e-01,-7.41239799e-04,-7.31361056e-04,-1.79087167e-01,-2.71349475e-01 +1930000000,3.85785518e-02,5.37946263e-02,2.31568628e-01,2.97842586e-01,-7.93295885e-04,-6.49568297e-04,-1.50152948e-01,-2.86156327e-01 +1931000000,3.90943270e-02,5.61599090e-02,2.40252796e-01,2.97453127e-01,-8.45461126e-04,-6.05805672e-04,-1.60677711e-01,-2.87049700e-01 +1932000000,3.92352247e-02,5.50890746e-02,2.48733270e-01,2.82275255e-01,-9.78504466e-04,-5.38222314e-04,-1.55664527e-01,-2.58172644e-01 +1933000000,3.96765889e-02,5.69044531e-02,2.58083840e-01,2.77243140e-01,-9.61362334e-04,-4.40831168e-04,-1.56449321e-01,-2.74794384e-01 +1934000000,3.88460349e-02,5.73867268e-02,2.59775773e-01,2.69751814e-01,-1.03257056e-03,-4.07869400e-04,-1.88460470e-01,-2.62558789e-01 +1935000000,4.01225077e-02,6.07408166e-02,2.70180117e-01,2.70928980e-01,-1.07746978e-03,-2.90112490e-04,-1.57346690e-01,-2.71845120e-01 +1936000000,3.98716570e-02,6.15301061e-02,2.73522904e-01,2.62580310e-01,-1.11253412e-03,-2.09577591e-04,-1.60077983e-01,-2.68800467e-01 +1937000000,3.99199075e-02,6.16777051e-02,2.78848786e-01,2.52187721e-01,-1.09915187e-03,-1.64207539e-04,-2.05537001e-01,-2.31304149e-01 +1938000000,4.20019178e-02,6.39155981e-02,2.90813948e-01,2.49407900e-01,-1.18117677e-03,-7.93015578e-05,-2.08477821e-01,-2.29115089e-01 +1939000000,4.38710099e-02,6.18398830e-02,2.81287930e-01,2.23144154e-01,-1.04741738e-03,8.20512586e-05,-1.94487031e-01,-2.08540928e-01 +1940000000,4.48256050e-02,6.33329323e-02,2.88559998e-01,2.18747618e-01,-1.09312848e-03,2.05072454e-04,-1.85625887e-01,-2.13850823e-01 +1941000000,4.56406105e-02,6.39477179e-02,2.94623250e-01,2.11412538e-01,-1.13619770e-03,3.34858275e-04,-1.74576590e-01,-2.22569916e-01 +1942000000,4.45414529e-02,6.59240641e-02,2.94648538e-01,2.08206162e-01,-1.15256040e-03,4.64152150e-04,-1.66756570e-01,-2.32507895e-01 +1943000000,4.42732368e-02,6.51011204e-02,2.98606055e-01,1.96523305e-01,-1.14289630e-03,4.74347670e-04,-2.01153419e-01,-1.93325282e-01 +1944000000,4.68877653e-02,6.63769598e-02,3.09848670e-01,1.91926237e-01,-1.15275093e-03,7.05750032e-04,-2.26351034e-01,-2.11833437e-01 +1945000000,4.59701642e-02,6.76470999e-02,3.10799837e-01,1.86279544e-01,-1.23072255e-03,8.00198039e-04,-2.24001486e-01,-2.16335104e-01 +1946000000,4.72216094e-02,6.81904141e-02,3.17273910e-01,1.78953218e-01,-1.26912717e-03,9.06632537e-04,-2.18624113e-01,-2.26272793e-01 +1947000000,4.73203774e-02,6.85537537e-02,3.20551592e-01,1.70837706e-01,-1.28630409e-03,1.06855452e-03,-2.04504901e-01,-2.32462469e-01 +1948000000,4.99789227e-02,6.80102735e-02,3.30532655e-01,1.60513648e-01,-1.09428502e-03,1.11920773e-03,-1.98739710e-01,-2.23565324e-01 +1949000000,5.01507319e-02,6.84376132e-02,3.34288356e-01,1.52990092e-01,-7.48979986e-04,1.23978800e-03,-2.21701960e-01,-2.03933367e-01 +1950000000,5.08015116e-02,6.66281200e-02,3.38650457e-01,1.40686355e-01,-7.45118218e-04,1.30212789e-03,-2.25505487e-01,-1.97414438e-01 +1951000000,4.98132211e-02,6.88000312e-02,3.56861462e-01,1.41429281e-01,-9.56000095e-04,1.65474552e-03,-2.45930999e-01,-1.97561120e-01 +1952000000,5.09505145e-02,6.97633757e-02,3.61891562e-01,1.34219624e-01,-8.91295715e-04,1.80434260e-03,-2.51130075e-01,-1.94106577e-01 +1953000000,5.21551888e-02,6.93458272e-02,3.65983925e-01,1.24230030e-01,-1.00856502e-03,2.00786814e-03,-2.55560991e-01,-2.03012851e-01 +1954000000,5.23659375e-02,6.90716974e-02,3.68493732e-01,1.15085205e-01,-9.23591913e-04,2.16278281e-03,-2.59375628e-01,-1.98389828e-01 +1955000000,5.31222825e-02,6.96746745e-02,3.72165913e-01,1.07160766e-01,-7.50035986e-04,2.36550710e-03,-2.63169767e-01,-1.94444861e-01 +1956000000,5.36620042e-02,6.80720458e-02,3.75019749e-01,9.59506849e-02,-4.76015699e-04,2.43738333e-03,-2.71081357e-01,-1.82970679e-01 +1957000000,5.44768102e-02,6.85400004e-02,3.78190713e-01,8.76829829e-02,-3.84548232e-04,2.57961029e-03,-2.45509641e-01,-2.21184251e-01 +1958000000,5.49740492e-02,6.79325080e-02,3.80956861e-01,7.82006707e-02,-4.33956236e-04,2.90950547e-03,-2.25331678e-01,-2.04375133e-01 +1959000000,5.63306729e-02,6.83156633e-02,3.84109840e-01,6.89977521e-02,-2.33456698e-04,3.08000576e-03,-2.32319162e-01,-2.04996731e-01 +1960000000,5.62631043e-02,6.68055781e-02,3.85182372e-01,5.82020886e-02,7.70245566e-05,3.01720405e-03,-2.49144215e-01,-2.11366365e-01 +1961000000,5.67733297e-02,6.70287368e-02,3.86283563e-01,4.87756933e-02,1.62851645e-04,3.00070461e-03,-2.93789309e-01,-1.90696299e-01 +1962000000,5.71004891e-02,6.77544177e-02,3.88240857e-01,3.93436607e-02,4.35131330e-04,3.13075751e-03,-2.88290065e-01,-1.94770522e-01 +1963000000,5.76894217e-02,6.68197572e-02,3.88872687e-01,2.87766650e-02,6.23325074e-04,3.24834169e-03,-3.01017775e-01,-1.41769187e-01 +1964000000,5.75701978e-02,6.67027330e-02,3.89678186e-01,1.85888277e-02,6.12190960e-04,3.42810060e-03,-3.17389362e-01,-1.59208665e-01 +1965000000,5.81665765e-02,6.31696500e-02,3.90466786e-01,6.33109134e-03,1.19940134e-03,3.26190214e-03,-3.17540338e-01,-1.33212856e-01 +1966000000,5.86472455e-02,6.38774461e-02,3.91370008e-01,-4.29635835e-03,1.27957905e-03,3.45943464e-03,-3.21482177e-01,-1.32242621e-01 +1967000000,5.88648542e-02,6.22836124e-02,3.91383492e-01,-1.32580488e-02,1.41442819e-03,3.51008422e-03,-3.10941141e-01,-1.22222913e-01 +1968000000,6.04626410e-02,6.22877826e-02,3.91858296e-01,-2.44586060e-02,1.87351993e-03,3.24689070e-03,-3.14002970e-01,-1.58560040e-01 +1969000000,5.79838379e-02,5.92012888e-02,3.70738897e-01,-3.38724133e-02,1.86027435e-03,3.09776641e-03,-2.56740298e-01,-1.16418095e-01 +1970000000,5.70038995e-02,5.91947997e-02,3.69441484e-01,-4.38634471e-02,2.08267452e-03,2.68386046e-03,-3.04608195e-01,-5.29071280e-02 +1971000000,5.84960715e-02,5.92110980e-02,3.69274956e-01,-5.66880853e-02,2.30661376e-03,3.09869138e-03,-2.58644961e-01,-1.10038994e-01 +1972000000,5.68743897e-02,5.76323145e-02,3.70000402e-01,-6.59326723e-02,2.37174657e-03,2.95644797e-03,-2.66455294e-01,-8.42537571e-02 +1973000000,5.76399190e-02,5.57275863e-02,3.68107018e-01,-7.52938211e-02,2.84528597e-03,2.70964836e-03,-2.94046322e-01,-1.48101402e-01 +1974000000,5.60638985e-02,5.50392420e-02,3.66620188e-01,-8.82069622e-02,2.63932106e-03,2.56300025e-03,-3.30699053e-01,-6.01370085e-02 +1975000000,5.68509686e-02,5.54687370e-02,3.62998490e-01,-1.01523342e-01,2.85889563e-03,2.65360116e-03,-3.35278878e-01,-5.43954258e-02 +1976000000,5.86041460e-02,5.36575531e-02,3.58506725e-01,-1.09687418e-01,3.24530896e-03,1.88816456e-03,-3.37417384e-01,-2.32647900e-02 +1977000000,5.73660427e-02,5.12564142e-02,3.56616765e-01,-1.19284535e-01,3.18636906e-03,2.25127092e-03,-3.39422185e-01,-3.64517872e-02 +1978000000,5.56297741e-02,5.14165354e-02,3.58654512e-01,-1.30847793e-01,3.84392262e-03,1.80603337e-03,-3.61188571e-01,-1.85761721e-02 +1979000000,5.86402237e-02,5.07020537e-02,3.51008175e-01,-1.43808827e-01,3.56917949e-03,1.75985585e-03,-3.24795233e-01,-6.59763388e-02 +1980000000,5.65404634e-02,5.04338392e-02,3.47212282e-01,-1.56769395e-01,3.81006841e-03,2.06724159e-03,-3.52962530e-01,-1.69217688e-02 +1981000000,5.76876535e-02,4.70648564e-02,3.66663367e-01,-1.73678179e-01,4.38093791e-03,1.21384866e-03,-3.68049079e-01,1.42245916e-02 +1982000000,5.72737342e-02,4.54123249e-02,3.61100672e-01,-1.84177367e-01,4.46166396e-03,1.04698006e-03,-3.69932543e-01,2.22872968e-02 +1983000000,5.67454143e-02,4.43735970e-02,3.58368596e-01,-1.96769071e-01,4.57331410e-03,1.09714844e-03,-3.66795354e-01,-4.27684889e-02 +1984000000,5.59821971e-02,4.30754769e-02,3.51257427e-01,-2.06469680e-01,4.50714762e-03,1.02473688e-03,-3.84693864e-01,9.23251228e-03 +1985000000,5.54683082e-02,4.16739391e-02,3.44902871e-01,-2.17780129e-01,4.62782191e-03,5.70463935e-04,-3.73973553e-01,-1.94884511e-02 +1986000000,5.38295294e-02,4.08295912e-02,3.40556146e-01,-2.28841043e-01,4.56359357e-03,5.01676770e-04,-3.87487096e-01,2.52330550e-02 +1987000000,5.28106231e-02,3.98051263e-02,3.31276110e-01,-2.41645616e-01,4.62258663e-03,-2.29200526e-05,-3.71883419e-01,6.80840752e-02 +1988000000,5.18314724e-02,3.86687790e-02,3.24542305e-01,-2.52454569e-01,4.63805431e-03,-2.37794195e-04,-3.65698441e-01,6.84415120e-02 +1989000000,5.02897414e-02,3.68215818e-02,3.19225517e-01,-2.61017095e-01,4.76859121e-03,-1.25299583e-04,-3.62000001e-01,5.49785141e-02 +1990000000,4.89927816e-02,3.51178312e-02,3.09975081e-01,-2.70188798e-01,4.86600528e-03,-1.38436155e-04,-3.59613614e-01,3.39023365e-02 +1991000000,4.78516075e-02,3.43723395e-02,2.98986157e-01,-2.81071723e-01,4.81153946e-03,-3.46639616e-04,-3.63350013e-01,2.38453475e-02 +1992000000,4.60533144e-02,3.41271654e-02,2.92679840e-01,-2.93618841e-01,4.71248150e-03,-5.95481936e-04,-3.69217344e-01,3.14498178e-02 +1993000000,4.42949861e-02,3.33924647e-02,2.85336253e-01,-2.99923759e-01,4.46856304e-03,-1.03380165e-03,-3.63146854e-01,9.83436267e-02 +1994000000,4.14411866e-02,3.49557582e-02,2.52830827e-01,-2.90362967e-01,4.11479111e-03,-8.54486772e-04,-3.43383130e-01,3.78503390e-02 +1995000000,3.91597210e-02,3.51833734e-02,2.50270668e-01,-2.99448485e-01,3.83279287e-03,-1.21426898e-03,-3.83605049e-01,7.55056300e-02 +1996000000,3.75134383e-02,3.45727726e-02,2.40869686e-01,-3.07519431e-01,3.85516360e-03,-1.24599248e-03,-3.71311357e-01,6.15572901e-02 +1997000000,3.56913156e-02,3.35461981e-02,2.32164870e-01,-3.12276907e-01,3.87909820e-03,-1.31699932e-03,-3.51569531e-01,5.67210040e-02 +1998000000,3.44827199e-02,3.37010793e-02,2.16200089e-01,-3.16697533e-01,3.56507263e-03,-1.43415608e-03,-3.43891459e-01,1.66434007e-01 +1999000000,3.32363009e-02,3.41452903e-02,2.05759387e-01,-3.33258640e-01,3.27900222e-03,-1.44223583e-03,-3.42657842e-01,1.06157939e-01 +2000000000,3.12016731e-02,3.32721909e-02,1.95577878e-01,-3.30519592e-01,3.19768513e-03,-1.86690369e-03,-3.42488178e-01,1.36207758e-01 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result.png b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result.png new file mode 100644 index 0000000..9ceeb77 Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result.png differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result1.png b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result1.png new file mode 100644 index 0000000..f6116a1 Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result1.png differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result_after.png b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result_after.png new file mode 100644 index 0000000..60f462e Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result_after.png differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result_before.png b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result_before.png new file mode 100644 index 0000000..975908f Binary files /dev/null and b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/sweep_result_before.png differ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/test_sweep.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/test_sweep.py new file mode 100644 index 0000000..e5363f9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Python/test_sweep.py @@ -0,0 +1,336 @@ +""" +test_sweep.py - run synchronized sweeps continuously and draw the latest cycle live. + +Usage +----- +List connected devices: + python test_sweep.py + +Single device (S11, S21): + python test_sweep.py + +Two devices - master + one slave (S11, S21, S31, S41): + python test_sweep.py + +Multi-device runs always use hardware trigger synchronization. +Close the plot window or press Ctrl+C to stop the live sweep. +""" + +import signal +import sys +import time +from dataclasses import dataclass + +import matplotlib.pyplot as plt +import numpy as np +from matplotlib.axes import Axes +from matplotlib.figure import Figure +from matplotlib.lines import Line2D +from matplotlib.text import Text + +from librevna_multi_device_driver import ( + MultiDeviceVnaController, + SweepConfiguration, + SweepMeasurementResult, + list_connected_device_serial_numbers, +) + + +# Set to "internal" to keep each device on its own reference clock. +DEFAULT_REFERENCE_SOURCE = "external" +DEFAULT_SWEEP_CONFIGURATION = SweepConfiguration( + start_hz=100_000_000, + stop_hz=6_000_000_000, + points=501, + if_bandwidth=10000, + power_dbm=-10.0, +) + +_ACTIVE_MEASUREMENT_CONTROLLER: MultiDeviceVnaController | None = None + + +@dataclass +class LiveSweepPlot: + figure: Figure + status_text: Text + magnitude_axis: Axes + phase_axes: list[Axes] + magnitude_lines: dict[str, Line2D] + phase_lines: dict[str, Line2D] + + +def _force_external_reference_from_default_source() -> bool: + if DEFAULT_REFERENCE_SOURCE == "external": + return True + if DEFAULT_REFERENCE_SOURCE == "internal": + return False + raise ValueError( + "DEFAULT_REFERENCE_SOURCE must be either 'external' or 'internal'" + ) + + +def _parse_device_serial_numbers_from_command_line( + command_line_arguments: list[str], +) -> list[str]: + for command_line_argument in command_line_arguments: + if command_line_argument.startswith("--"): + raise SystemExit(f"Unknown option: {command_line_argument}") + return command_line_arguments + + +def _print_usage() -> None: + try: + connected_device_serial_numbers = list_connected_device_serial_numbers() + except RuntimeError as exc: + print(exc) + return + + if not connected_device_serial_numbers: + print("No LibreVNA devices found. Check the USB connection and OS USB access.") + return + + print("Connected LibreVNA devices:") + for connected_device_serial_number in connected_device_serial_numbers: + print(f" {connected_device_serial_number}") + print(f"\nUsage: {sys.argv[0]} [slave_serial ...]") + + +def _install_termination_signal_handlers(): + def handle_stop_signal(received_signal_number, _current_stack_frame) -> None: + global _ACTIVE_MEASUREMENT_CONTROLLER + if _ACTIVE_MEASUREMENT_CONTROLLER is not None: + try: + print( + f"\nSignal {received_signal_number} received, stopping devices...", + flush=True, + ) + _ACTIVE_MEASUREMENT_CONTROLLER.close() + except Exception: + pass + raise SystemExit(128 + received_signal_number) + + previous_sigint_handler = signal.getsignal(signal.SIGINT) + previous_sigterm_handler = signal.getsignal(signal.SIGTERM) + signal.signal(signal.SIGINT, handle_stop_signal) + signal.signal(signal.SIGTERM, handle_stop_signal) + return previous_sigint_handler, previous_sigterm_handler + + +def _restore_termination_signal_handlers( + previous_sigint_handler, + previous_sigterm_handler, +) -> None: + signal.signal(signal.SIGINT, previous_sigint_handler) + signal.signal(signal.SIGTERM, previous_sigterm_handler) + + +def _print_run_header( + master_serial_number: str, + slave_serial_numbers: list[str], + sweep_configuration: SweepConfiguration, +) -> None: + print(f"Master : {master_serial_number}") + for slave_index, slave_serial_number in enumerate(slave_serial_numbers): + print(f"Slave {slave_index} : {slave_serial_number}") + print( + "Sync : hardware trigger" + if slave_serial_numbers + else "Sync : disabled (single device)" + ) + print(f"Ref : {DEFAULT_REFERENCE_SOURCE} on all devices") + print("Sweeps : continuous until Ctrl+C or the plot window is closed") + print( + f"Sweep : {sweep_configuration.start_hz / 1e6:.3f} MHz - " + f"{sweep_configuration.stop_hz / 1e6:.3f} MHz, " + f"{sweep_configuration.points} points, " + f"IF BW {sweep_configuration.if_bandwidth} Hz" + ) + print("Running live sweep...") + + +def main() -> None: + global _ACTIVE_MEASUREMENT_CONTROLLER + + device_serial_numbers = _parse_device_serial_numbers_from_command_line( + sys.argv[1:] + ) + if not device_serial_numbers: + _print_usage() + return + + master_serial_number = device_serial_numbers[0] + slave_serial_numbers = device_serial_numbers[1:] + sweep_configuration = DEFAULT_SWEEP_CONFIGURATION + force_external_reference = _force_external_reference_from_default_source() + sweep_cycle_durations_seconds: list[float] = [] + + _print_run_header( + master_serial_number, + slave_serial_numbers, + sweep_configuration, + ) + previous_sigint_handler, previous_sigterm_handler = ( + _install_termination_signal_handlers() + ) + + try: + with MultiDeviceVnaController( + master_serial_number, + slave_serial_numbers, + force_external_reference=force_external_reference, + ) as measurement_controller: + _ACTIVE_MEASUREMENT_CONTROLLER = measurement_controller + measurement_controller.configure_continuous_sweep(sweep_configuration) + plt.ion() + + live_plot: LiveSweepPlot | None = None + sweep_cycle_count = 0 + print("Waiting for the first complete sweep cycle...") + + while True: + if live_plot is not None and not plt.fignum_exists(live_plot.figure.number): + print("\nPlot window closed, stopping sweep.", flush=True) + break + + cycle_collection_start_time = time.monotonic() + sweep_measurement_result = measurement_controller.collect_running_sweep_cycles( + 1, + ) + cycle_duration_seconds = time.monotonic() - cycle_collection_start_time + sweep_cycle_durations_seconds.append(cycle_duration_seconds) + sweep_cycle_count += 1 + + if ( + live_plot is not None + and not plt.fignum_exists(live_plot.figure.number) + ): + print("\nPlot window closed, stopping sweep.", flush=True) + break + + if live_plot is None: + live_plot = _create_live_sweep_plot(sweep_measurement_result) + + _update_live_sweep_plot( + live_plot, + sweep_measurement_result, + sweep_cycle_count=sweep_cycle_count, + last_cycle_duration_seconds=cycle_duration_seconds, + average_cycle_duration_seconds=float( + np.mean(sweep_cycle_durations_seconds) + ), + ) + finally: + _ACTIVE_MEASUREMENT_CONTROLLER = None + _restore_termination_signal_handlers( + previous_sigint_handler, + previous_sigterm_handler, + ) + + if sweep_cycle_durations_seconds: + average_sweep_duration_seconds = float(np.mean(sweep_cycle_durations_seconds)) + minimum_sweep_duration_seconds = float(np.min(sweep_cycle_durations_seconds)) + maximum_sweep_duration_seconds = float(np.max(sweep_cycle_durations_seconds)) + print( + "Sweep time (steady-state): " + f"{average_sweep_duration_seconds:.6f} s avg, " + f"{minimum_sweep_duration_seconds:.6f}-" + f"{maximum_sweep_duration_seconds:.6f} s " + f"over {len(sweep_cycle_durations_seconds)} cycles" + ) + else: + print("Sweep time (steady-state): not enough repeated cycles to estimate") + + print("Sweep stopped.") + + +def _create_live_sweep_plot( + sweep_measurement_result: SweepMeasurementResult, +) -> LiveSweepPlot: + frequencies_mhz = sweep_measurement_result.frequencies_hz / 1e6 + s_parameter_names = sorted(sweep_measurement_result.s_parameters) + figure_height_inches = 3.5 + 2.5 * len(s_parameter_names) + figure, axes = plt.subplots( + 1 + len(s_parameter_names), + 1, + figsize=(10, figure_height_inches), + sharex=True, + ) + axes = np.atleast_1d(axes) + magnitude_axis = axes[0] + phase_axes = list(axes[1:]) + magnitude_lines: dict[str, Line2D] = {} + phase_lines: dict[str, Line2D] = {} + + for s_parameter_name in s_parameter_names: + magnitude_line, = magnitude_axis.plot( + frequencies_mhz, + np.zeros_like(frequencies_mhz), + label=s_parameter_name, + linewidth=0.9, + ) + magnitude_lines[s_parameter_name] = magnitude_line + + magnitude_axis.set_title("Multi-port S-parameters (forward, Port 1 stimulus)") + magnitude_axis.set_ylabel("Magnitude (dB)") + magnitude_axis.set_ylim(-25, 0) + magnitude_axis.grid(True, alpha=0.4) + magnitude_axis.legend(loc="lower left") + + for phase_axis, s_parameter_name in zip(phase_axes, s_parameter_names): + phase_line, = phase_axis.plot( + frequencies_mhz, + np.zeros_like(frequencies_mhz), + label=s_parameter_name, + linewidth=0.9, + ) + phase_lines[s_parameter_name] = phase_line + phase_axis.set_ylabel("Phase (deg)") + phase_axis.set_title(f"{s_parameter_name} phase") + phase_axis.set_ylim(-180, 180) + phase_axis.grid(True, alpha=0.4) + phase_axis.legend(loc="lower left") + + phase_axes[-1].set_xlabel("Frequency (MHz)") + + status_text = figure.suptitle("") + figure.tight_layout(rect=(0, 0, 1, 0.97)) + if figure.canvas.manager is not None: + figure.canvas.manager.set_window_title("LibreVNA Live Sweep") + plt.show(block=False) + + return LiveSweepPlot( + figure=figure, + status_text=status_text, + magnitude_axis=magnitude_axis, + phase_axes=phase_axes, + magnitude_lines=magnitude_lines, + phase_lines=phase_lines, + ) + + +def _update_live_sweep_plot( + live_plot: LiveSweepPlot, + sweep_measurement_result: SweepMeasurementResult, + sweep_cycle_count: int, + last_cycle_duration_seconds: float, + average_cycle_duration_seconds: float, +) -> None: + for s_parameter_name, complex_trace in sweep_measurement_result.s_parameters.items(): + magnitude_db = 20 * np.log10(np.abs(complex_trace) + 1e-15) + phase_degrees = np.rad2deg(np.angle(complex_trace)) + live_plot.magnitude_lines[s_parameter_name].set_ydata(magnitude_db) + live_plot.phase_lines[s_parameter_name].set_ydata(phase_degrees) + + live_plot.status_text.set_text( + "Cycle " + f"{sweep_cycle_count} | " + f"Last {last_cycle_duration_seconds:.3f} s | " + f"Avg {average_cycle_duration_seconds:.3f} s" + ) + live_plot.figure.canvas.draw_idle() + live_plot.figure.canvas.flush_events() + plt.pause(0.001) + + +if __name__ == "__main__": + main() diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/README.md b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/README.md new file mode 100644 index 0000000..8792869 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/README.md @@ -0,0 +1,93 @@ +# LibreVNA + +![Build workflow status](https://github.com/jankae/LibreVNA/actions/workflows/Build.yml/badge.svg) ![Build workflow status](https://github.com/jankae/LibreVNA/actions/workflows/Test.yml/badge.svg) ![Build workflow status](https://github.com/jankae/LibreVNA/actions/workflows/HIL_Tests.yml/badge.svg) + +![LibreVNA](Software/PC_Application/LibreVNA-GUI/resources/banner.png) + +**100kHz to 6GHz VNA** + +This is the improved version of my [first attempt](https://www.github.com/jankae/VNA) at a VNA. + +![](Documentation/Pictures/RevisionB6LTop.JPG) + +## GUI Installation + +### Windows +* Download the latest [Release](https://github.com/jankae/LibreVNA/releases) and unpack the zip file +* Start the included LibreVNA-GUI.exe +* No installation or driver is required, simply move the extracted folder somewhere convenient + +### Ubuntu +* Download the latest [Release](https://github.com/jankae/LibreVNA/releases) and unpack the zip file +* Install the required libraries: +```console +sudo apt install qt6-base-dev libqt6svg6 +``` +* Install the udev rule (otherwise you don't have the permissions to access the USB device): +```console +wget https://raw.githubusercontent.com/jankae/LibreVNA/master/Software/PC_Application/51-vna.rules +sudo cp 51-vna.rules /etc/udev/rules.d +``` +* Either reboot or reload the udev rules manually: +```console +sudo udevadm control --reload-rules +sudo udevadm trigger +``` +* You can now start GUI: +```console +cd $UNPACKED_ZIP_FOLDER$ +./LibreVNA-GUI +``` + +### MacOS +* Download the latest [Release](https://github.com/jankae/LibreVNA/releases) + * If you are using MacOS 14+ use the release with `latest` in the name. + * If you are using MacOS >13.7 use the release with `13.7` in the name. +* Unpack the zip file and move LibreVNA-GUI.app to your `/Applications` folder. +* Start LibreVNA-GUI.app and add a security exception to allow the Mac to run the app with an "untrusted" signing key. +* Launch app again. + +## Quick Start +* You can find released versions of the GUI application and the device firmware [here](https://github.com/jankae/LibreVNA/releases). +* If you would like to try out the newest features, the compiled versions of each commit can be found [here](https://github.com/jankae/LibreVNA/actions) (but keep in mind that some features might be unstable or incomplete). If you are having trouble downloading them, please refer to this [guide](Documentation/DeveloperInfo/DownloadActionBuilds.md). +* An (incomplete) [user manual](Documentation/UserManual/manual.pdf) is also available. +* If you would like to control the LibreVNA with a script, see the [SCPI Programming Guide](Documentation/UserManual/ProgrammingGuide.pdf). + +Please also take a look at the [FAQ](Documentation/FAQ.md). + +If you notice bugs or have ideas for improvements, please create an issue for that. + +For general questions or discussions, the [LibreVNA group](https://groups.io/g/LibreVNA-support/) is probably the best place. + +### Preliminary specifications +Some [specifications](Documentation/UserManual/specsheet.pdf) are available but this project is still under development and the specifications might change. + +There are also some initial [example measurements](Documentation/Measurements/Measurements.md). + +## How does it work? +The PCB is really only the RF frontend with some processing power. Everything else is handled in the PC application once the data is transferred via USB. You can try out the application without the PCB (obviously no measurements are possible, but you can import provided example measurements and get an idea about what it can and can't do). +### RF path: +![](Documentation/DeveloperInfo/RFBlockdiagram.svg) + +* The main clock source is an Si5351C, providing all the required clocks for the different blocks. It also serves as the stimulus source for frequencies below 25MHz. Its own reference clock is either a 26MHz crystal or an external 10MHz signal. +* The stimulus source for frequencies above 25MHz is a MAX2871. Its output signal is slightly filtered to reduce the amount of harmonics. +* The stimulus signal power can be adjusted between approximately -42 and -10dbm with a digital attenuator (RFSA3714). +* After the amplifier(TRF37A73) the signal is split and the weaker part of it fed into the reference receiver. +* The stronger part of the signal can be routed to either port. In each signal path, two RF switches are used in series to achieve higher isolation between the ports. +* Instead of directional couplers, resistive return-loss-bridges are used (easier to implement for wide bandwidth). +* Both ports have completely separated receive paths. This increases BOM cost but allows measuring two parameters at once (S11 and S21 or S22 and S12). It also avoids potential isolation issues that could arise if the receive paths would merge into a single mixer/ADC. +* Each receiver consists of two down-convert mixers. The 1.IF sits at 60MHz, the 2.IF 250kHz. +* The ADCs are sampling the final IF with 16bit@800kHz. + +### Digital section: +![](Documentation/DeveloperInfo/DigitalBlockdiagram.svg) + +* The central element is the Spartan6 FPGA. It handles all communication with the RF blocks and samples the ADCs. This allows for nearly instant switching of the measurement frequency, only limited by the settling time of the PLLs. +* The microcontroller handles the setup of the sweep in the FPGA, extracts and preprocesses the measurements and passes them on through USB. +* The flash contains the FPGA bitstream. Because the microcontroller has access to the flash, no FPGA-related hardware tools (such as JTAG programmers) are needed, everything can be updated via USB. + +### Power supply: +![](Documentation/DeveloperInfo/PowerBlockdiagram.svg) + +* Everything is powered from USB (or optionally by external 5V DC) +* Almost every RF block has its own local regulater, preventing noise and signals coupling into the supply lines from propagating across the whole PCB diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/.gitignore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/.gitignore new file mode 100644 index 0000000..f7f8214 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/.gitignore @@ -0,0 +1,5 @@ +/.metadata/ +RemoteSystemsTempFiles +build-* +*.pyc + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.cproject b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.cproject new file mode 100644 index 0000000..0a0b02f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.cproject @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.gitignore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.gitignore new file mode 100644 index 0000000..3df573f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.gitignore @@ -0,0 +1 @@ +/Debug/ diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.project b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.project new file mode 100644 index 0000000..261faf8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.project @@ -0,0 +1,27 @@ + + + SignalIDSamplerates + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.settings/language.settings.xml b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.settings/language.settings.xml new file mode 100644 index 0000000..0c22135 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/.settings/language.settings.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/src/SignalIDSamplerates.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/src/SignalIDSamplerates.cpp new file mode 100644 index 0000000..1bad090 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/HelperTools/SignalIDSamplerates/src/SignalIDSamplerates.cpp @@ -0,0 +1,117 @@ +//============================================================================ +// Name : SignalIDSamplerates.cpp +// Author : +// Version : +// Copyright : Your copyright notice +// Description : Hello World in C++, Ansi-style +//============================================================================ + +#include +#include +#include +#include +using namespace std; + +constexpr int32_t freqRange = 20000000; +constexpr int32_t freqStep = 4000; +constexpr int32_t FPGA_CLK = 102400000; +constexpr int32_t IF_freq = 250000; +constexpr int32_t minAliasDistance = 100000; + +constexpr uint8_t minPrescaler = 112; +constexpr uint8_t maxPrescaler = 180; +constexpr uint8_t maxPrescalers = 5; + +int bestDistance; +vector bestPrescalers; + +int Alias(int f, int f_s) { + // move into f_s range + f %= f_s; + if (f < 0) { + f += f_s; + } + // fold at half the samplerate + if(f >= f_s / 2) { + f = f_s - f; + } + return f; +} + +int DistanceToIF(double f, double f_s) { + auto alias = Alias(f, f_s); + return abs(int(alias - IF_freq)); +} + +int farthestDistanceForFrequency(double f, vector &prescalers) { + int highestDistance = numeric_limits::min(); + + for(auto p : prescalers) { + double f_s = (double) FPGA_CLK / p; + auto dist = DistanceToIF(f, f_s); + if(dist > highestDistance) { + highestDistance = dist; + } + } + return highestDistance; +} + +void checkPrescalers(vector &prescalers) { +// cout << "Checking [" << prescalers[0]; +// for (auto i = prescalers.begin() + 1; i != prescalers.end(); i++) { +// cout << ',' << *i; +// } +// cout << "]... "; + int lowestDistance = numeric_limits::max(); + for(int freq = minAliasDistance + freqStep;freq < freqRange; freq += freqStep) { + int dist = farthestDistanceForFrequency(IF_freq + freq, prescalers); + if(dist < lowestDistance) { + lowestDistance = dist; + } + if(freq > 2*IF_freq + minAliasDistance) { + int dist = farthestDistanceForFrequency(IF_freq - freq, prescalers); + if(dist < lowestDistance) { + lowestDistance = dist; + } + } + if(lowestDistance < bestDistance) { + break; + } + } +// cout << lowestDistance << endl; + if(lowestDistance > bestDistance) { + bestDistance = lowestDistance; + bestPrescalers = prescalers; + } +} + +void recursivePrescalersTest(vector &prescalers, int depth) { + if(prescalers.size() >= depth) { + checkPrescalers(prescalers); + } else { + prescalers.push_back(0); + int start = minPrescaler; + if(prescalers.size() > 1) { + start = prescalers[prescalers.size() - 2] + 1; + } + for (int i = start; i <= maxPrescaler; i++) { + prescalers.back() = i; + recursivePrescalersTest(prescalers, depth); + } + prescalers.pop_back(); + } +} + +int main() { + vector prescalers = {112}; + for(int d = 2;d<=maxPrescalers;d++) { + bestDistance = 0; + recursivePrescalersTest(prescalers, d); + cout << "Depth " << d <<": best distance: " << bestDistance << " Prescalers: [" << bestPrescalers[0]; + for (auto i = bestPrescalers.begin() + 1; i != bestPrescalers.end(); i++) { + cout << ',' << *i; + } + cout << "]" << endl; + } + return 0; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/DUMMY.CALKIT b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/DUMMY.CALKIT new file mode 100644 index 0000000..cbff17e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/DUMMY.CALKIT @@ -0,0 +1,60 @@ +{ + "Description": "Dummy ideal calibration kit", + "Manufacturer": "LibreVNA", + "Serialnumber": "1234", + "standards": [ + { + "params": { + "C0": 0.0, + "C1": 0.0, + "C2": 0.0, + "C3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 13726173464103258082, + "loss": 0.0, + "name": "Default" + }, + "type": "Open" + }, + { + "params": { + "L0": 0.0, + "L1": 0.0, + "L2": 0.0, + "L3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 13573063103112146609, + "loss": 0.0, + "name": "Default" + }, + "type": "Short" + }, + { + "params": { + "Cfirst": true, + "Cparallel": 0.0, + "Lseries": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 11987083411312060381, + "loss": 0.0, + "name": "Default", + "resistance": 50.0 + }, + "type": "Load" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 2916288069679020801, + "loss": 0.0, + "name": "Default" + }, + "type": "Through" + } + ], + "version": "1.5.0-alpha.1-9b7f457aa" +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/Integrationtest.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/Integrationtest.py new file mode 100644 index 0000000..9ab9166 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/Integrationtest.py @@ -0,0 +1,38 @@ +import unittest +import glob, os + +testmodules = [ + 'tests.TestUpdate', # Must go first because it updates the connected VNA to the firwmare which should be tested + 'tests.TestConnect', + 'tests.TestStatusRegisters', + 'tests.TestMode', + 'tests.TestTemperature', + 'tests.TestSync', + 'tests.TestVNASweep', + 'tests.TestCalibration', + 'tests.TestGenerator', + 'tests.TestSASweep', + 'tests.TestRST', + ] + +suite = unittest.TestSuite() + +# Clean up potential error logs from previous test runs +for f in glob.glob("errorlog_*"): + os.remove(f) +for f in glob.glob("packetlog_*"): + os.remove(f) + +for t in testmodules: + try: + # If the module defines a suite() function, call it to get the suite. + mod = __import__(t, globals(), locals(), ['suite']) + suitefn = getattr(mod, 'suite') + suite.addTest(suitefn()) + except (ImportError, AttributeError): + # else, just load all the test cases from the module. + suite.addTest(unittest.defaultTestLoader.loadTestsFromName(t)) + +result = unittest.TextTestRunner(verbosity=2).run(suite) +exit(int(not result.wasSuccessful())) + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/LIBRECAL.cal b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/LIBRECAL.cal new file mode 100644 index 0000000..5a96bb7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/LIBRECAL.cal @@ -0,0 +1,117652 @@ +{ + "calkit": { + "Description": "Automatically created from LibreCAL module", + "Manufacturer": "LibreCAL (FACTORY)", + "Serialnumber": "RUZXMIOJeOoA", + "standards": [ + { + "params": { + "C0": 0.0, + "C1": 0.0, + "C2": 0.0, + "C3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 5265997809752029671, + "loss": 0.0, + "name": "Port 1", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.771479, + "real": 1.36659 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.692128, + "real": 1.38561 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.065659, + "real": 0.956764 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.093692, + "real": 0.954927 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.122682, + "real": 0.948404 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.147327, + "real": 0.94206 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.17673, + "real": 0.938601 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.203307, + "real": 0.932667 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.229264, + "real": 0.926016 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.255288, + "real": 0.918532 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.280095, + "real": 0.910865 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.304789, + "real": 0.902454 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.328944, + "real": 0.893728 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.354284, + "real": 0.883656 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.378431, + "real": 0.873361 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.402307, + "real": 0.86186 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.426288, + "real": 0.849842 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.450353, + "real": 0.836908 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.474019, + "real": 0.822621 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.497597, + "real": 0.807938 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.520844, + "real": 0.792268 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.543883, + "real": 0.775465 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.567035, + "real": 0.758321 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.589142, + "real": 0.740285 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.610641, + "real": 0.721895 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.631861, + "real": 0.702823 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.651983, + "real": 0.684372 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.671443, + "real": 0.663908 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.690278, + "real": 0.644545 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.708662, + "real": 0.624493 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.725389, + "real": 0.604831 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.741803, + "real": 0.585073 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.756715, + "real": 0.565972 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.771573, + "real": 0.545758 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.785687, + "real": 0.52571 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.798854, + "real": 0.505855 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.811421, + "real": 0.485081 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.823678, + "real": 0.464015 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.83482, + "real": 0.443092 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.845649, + "real": 0.420793 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.85631, + "real": 0.397794 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.866298, + "real": 0.373305 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.875652, + "real": 0.348203 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.884048, + "real": 0.321737 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.892664, + "real": 0.295128 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.900369, + "real": 0.265544 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.907591, + "real": 0.235166 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.91381, + "real": 0.205176 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.919385, + "real": 0.173872 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.923277, + "real": 0.142412 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.926704, + "real": 0.111098 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.929322, + "real": 0.078374 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.931108, + "real": 0.047017 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.931307, + "real": 0.016725 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.930591, + "real": -0.013904 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.929087, + "real": -0.043431 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.926714, + "real": -0.072572 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.923559, + "real": -0.100381 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.919616, + "real": -0.127438 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.915349, + "real": -0.153483 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.910506, + "real": -0.178572 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.904226, + "real": -0.203424 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.898154, + "real": -0.226709 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.891671, + "real": -0.250252 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.884621, + "real": -0.273393 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.876885, + "real": -0.296405 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.868548, + "real": -0.3191 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.860589, + "real": -0.342285 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.852033, + "real": -0.364797 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.842007, + "real": -0.389039 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.83174, + "real": -0.412794 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.820513, + "real": -0.436377 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.808246, + "real": -0.459894 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.795297, + "real": -0.484275 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.780531, + "real": -0.507845 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.764768, + "real": -0.531522 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.748244, + "real": -0.552953 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.729607, + "real": -0.577829 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.710699, + "real": -0.599841 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.690498, + "real": -0.621579 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.669021, + "real": -0.642748 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.647485, + "real": -0.663337 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.625162, + "real": -0.681933 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.602187, + "real": -0.700078 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.579995, + "real": -0.717162 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.556761, + "real": -0.733252 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.533357, + "real": -0.748292 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.50838, + "real": -0.764515 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.485224, + "real": -0.778038 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.461626, + "real": -0.790663 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.438234, + "real": -0.803298 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.412257, + "real": -0.816082 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.387461, + "real": -0.828264 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.364992, + "real": -0.840158 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.340512, + "real": -0.85155 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.314839, + "real": -0.861 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.289088, + "real": -0.870551 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.263466, + "real": -0.879864 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.236649, + "real": -0.887701 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.209576, + "real": -0.894528 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.181615, + "real": -0.900326 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.151858, + "real": -0.906557 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.122305, + "real": -0.911349 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.092848, + "real": -0.914056 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.062869, + "real": -0.916351 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.033628, + "real": -0.917317 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.002943, + "real": -0.91711 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": 0.026239, + "real": -0.916249 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": 0.056323, + "real": -0.914157 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": 0.084474, + "real": -0.911286 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": 0.112592, + "real": -0.907406 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": 0.140633, + "real": -0.903103 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.167994, + "real": -0.898186 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.194186, + "real": -0.893325 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.218851, + "real": -0.888133 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.243289, + "real": -0.883251 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.267363, + "real": -0.877546 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.290679, + "real": -0.873 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.313307, + "real": -0.867159 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.335504, + "real": -0.86007 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.357529, + "real": -0.851827 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.378941, + "real": -0.843372 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.400761, + "real": -0.83373 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.422706, + "real": -0.823476 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.444251, + "real": -0.812701 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.465138, + "real": -0.798665 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.486592, + "real": -0.789026 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.509477, + "real": -0.771464 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.531824, + "real": -0.754803 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.553734, + "real": -0.736019 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.574605, + "real": -0.716841 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.596761, + "real": -0.695789 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.618832, + "real": -0.674079 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.640898, + "real": -0.651543 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.66221, + "real": -0.629022 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.682951, + "real": -0.606503 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.70215, + "real": -0.583851 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.720147, + "real": -0.561564 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.737667, + "real": -0.539734 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.754439, + "real": -0.518037 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.770039, + "real": -0.49591 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.783593, + "real": -0.474335 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.796597, + "real": -0.45337 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.809369, + "real": -0.43325 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.821334, + "real": -0.412194 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.832392, + "real": -0.390716 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.843135, + "real": -0.370169 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.852129, + "real": -0.349105 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.860268, + "real": -0.327422 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.867679, + "real": -0.305762 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.876008, + "real": -0.278637 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.880009, + "real": -0.261763 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.88677, + "real": -0.23712 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.893207, + "real": -0.21102 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.898974, + "real": -0.185101 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.903521, + "real": -0.158367 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.907709, + "real": -0.130123 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.910041, + "real": -0.101723 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.911992, + "real": -0.072382 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.912855, + "real": -0.042753 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.913056, + "real": -0.012714 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.91236, + "real": 0.018234 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.909776, + "real": 0.048212 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.907218, + "real": 0.077832 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.903174, + "real": 0.107146 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.899361, + "real": 0.136 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.894685, + "real": 0.162426 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.888802, + "real": 0.19047 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.881827, + "real": 0.216617 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.873899, + "real": 0.242668 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.867881, + "real": 0.266835 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.857686, + "real": 0.29088 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.849522, + "real": 0.315949 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.841304, + "real": 0.339446 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.833573, + "real": 0.36309 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.825021, + "real": 0.385177 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.816488, + "real": 0.410547 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.806397, + "real": 0.428174 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.796361, + "real": 0.450124 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.784479, + "real": 0.470639 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.772239, + "real": 0.491468 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.759093, + "real": 0.51151 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.744818, + "real": 0.531913 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.727175, + "real": 0.553966 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.711389, + "real": 0.573498 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.695425, + "real": 0.593007 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.677376, + "real": 0.612705 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.65796, + "real": 0.631453 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.637831, + "real": 0.648936 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.616216, + "real": 0.666518 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.592887, + "real": 0.683891 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.569138, + "real": 0.700156 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.545234, + "real": 0.717008 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.520361, + "real": 0.733514 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.496215, + "real": 0.749583 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.472362, + "real": 0.764686 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.449134, + "real": 0.777744 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.426188, + "real": 0.791603 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.404046, + "real": 0.804523 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.380834, + "real": 0.816099 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.357955, + "real": 0.825794 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.335173, + "real": 0.833496 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.312381, + "real": 0.841094 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.290098, + "real": 0.848296 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.26652, + "real": 0.853694 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.240577, + "real": 0.860444 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.216259, + "real": 0.866055 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.192721, + "real": 0.871752 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.169516, + "real": 0.876551 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.143764, + "real": 0.878846 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.117522, + "real": 0.880602 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.09114, + "real": 0.881102 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.063694, + "real": 0.88024 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.034512, + "real": 0.878465 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.005487, + "real": 0.876261 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": -0.025247, + "real": 0.87445 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": -0.054971, + "real": 0.872838 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": -0.087148, + "real": 0.871309 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": -0.113571, + "real": 0.867582 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": -0.140646, + "real": 0.863367 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": -0.167629, + "real": 0.859076 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": -0.193909, + "real": 0.854575 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": -0.217444, + "real": 0.848349 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": -0.239353, + "real": 0.841933 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": -0.259666, + "real": 0.836882 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": -0.281904, + "real": 0.831101 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": -0.305841, + "real": 0.824867 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": -0.326603, + "real": 0.819288 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": -0.348035, + "real": 0.812685 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": -0.369034, + "real": 0.803903 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": -0.388717, + "real": 0.794992 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": -0.408193, + "real": 0.785712 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": -0.427475, + "real": 0.773907 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": -0.44555, + "real": 0.76122 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": -0.463923, + "real": 0.747275 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": -0.483406, + "real": 0.732786 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": -0.502481, + "real": 0.717003 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": -0.521518, + "real": 0.700998 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": -0.540608, + "real": 0.683831 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": -0.56078, + "real": 0.666736 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": -0.580162, + "real": 0.64868 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": -0.597499, + "real": 0.630423 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": -0.61706, + "real": 0.612615 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": -0.635363, + "real": 0.594837 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": -0.652738, + "real": 0.575829 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": -0.673528, + "real": 0.557045 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": -0.686641, + "real": 0.535115 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": -0.701472, + "real": 0.51202 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": -0.716297, + "real": 0.488952 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": -0.729214, + "real": 0.467318 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": -0.742274, + "real": 0.445019 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": -0.75333, + "real": 0.421778 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": -0.761978, + "real": 0.397412 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": -0.770884, + "real": 0.373861 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": -0.779263, + "real": 0.34946 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": -0.786242, + "real": 0.324486 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": -0.792507, + "real": 0.299509 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": -0.798058, + "real": 0.273966 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": -0.802762, + "real": 0.24723 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": -0.807774, + "real": 0.221045 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": -0.812311, + "real": 0.194511 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.816002, + "real": 0.16844 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.819521, + "real": 0.143456 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": -0.823656, + "real": 0.117313 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": -0.826905, + "real": 0.092249 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": -0.830679, + "real": 0.067683 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": -0.833753, + "real": 0.041984 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": -0.835117, + "real": 0.01595 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": -0.83583, + "real": -0.009352 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": -0.836192, + "real": -0.033761 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": -0.835516, + "real": -0.057961 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": -0.833754, + "real": -0.082699 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.831617, + "real": -0.107378 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.82901, + "real": -0.130985 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.825413, + "real": -0.154884 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.820758, + "real": -0.178237 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.815154, + "real": -0.202734 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.808379, + "real": -0.226506 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.799906, + "real": -0.251093 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.791953, + "real": -0.27382 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.782423, + "real": -0.296662 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.772454, + "real": -0.319432 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.761725, + "real": -0.340724 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.750857, + "real": -0.362779 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.739885, + "real": -0.383744 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.727986, + "real": -0.403671 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.715932, + "real": -0.423807 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.697477, + "real": -0.448511 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.689702, + "real": -0.463585 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.675665, + "real": -0.482116 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.661219, + "real": -0.499766 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.646544, + "real": -0.518078 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.629635, + "real": -0.536311 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.614149, + "real": -0.5542 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.597934, + "real": -0.571038 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.580379, + "real": -0.588887 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.563903, + "real": -0.605515 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.545602, + "real": -0.622762 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.529355, + "real": -0.637418 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.508244, + "real": -0.655274 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.487917, + "real": -0.672202 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.467667, + "real": -0.687744 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.448583, + "real": -0.703917 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.427087, + "real": -0.7183 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.40616, + "real": -0.73179 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.385118, + "real": -0.744897 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.36401, + "real": -0.757181 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.342002, + "real": -0.767688 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.319367, + "real": -0.777137 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.297424, + "real": -0.785963 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.27524, + "real": -0.793767 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.252437, + "real": -0.800056 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.229075, + "real": -0.805398 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.205686, + "real": -0.809858 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.182047, + "real": -0.814265 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.158922, + "real": -0.81777 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.135267, + "real": -0.820883 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.110976, + "real": -0.823368 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.088725, + "real": -0.824623 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.061146, + "real": -0.827337 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.037036, + "real": -0.829194 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.010968, + "real": -0.830695 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": 0.013048, + "real": -0.831662 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": 0.03864, + "real": -0.831535 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": 0.065319, + "real": -0.831956 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": 0.091312, + "real": -0.831418 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": 0.118256, + "real": -0.829529 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": 0.144669, + "real": -0.826344 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": 0.170205, + "real": -0.823632 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.194808, + "real": -0.818953 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.22164, + "real": -0.814256 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": 0.246976, + "real": -0.8081 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": 0.272253, + "real": -0.800593 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": 0.297029, + "real": -0.793534 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": 0.322445, + "real": -0.785473 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": 0.345512, + "real": -0.776339 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.368932, + "real": -0.765931 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.392428, + "real": -0.755203 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": 0.41519, + "real": -0.743747 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.437468, + "real": -0.732907 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.459225, + "real": -0.721016 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.479806, + "real": -0.709982 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.499287, + "real": -0.698393 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.518325, + "real": -0.686257 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.536775, + "real": -0.673013 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.555078, + "real": -0.660138 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.575841, + "real": -0.639326 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.594782, + "real": -0.625321 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.610534, + "real": -0.613223 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.627388, + "real": -0.598745 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.647308, + "real": -0.584372 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.662041, + "real": -0.56692 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.676949, + "real": -0.549493 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.693526, + "real": -0.531063 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.710234, + "real": -0.51239 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.733003, + "real": -0.491645 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.740433, + "real": -0.468875 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.752352, + "real": -0.443853 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.77047, + "real": -0.418068 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.779726, + "real": -0.397128 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.789815, + "real": -0.371145 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.802904, + "real": -0.345058 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.812947, + "real": -0.319398 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.822675, + "real": -0.293143 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.830225, + "real": -0.265843 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.839012, + "real": -0.237967 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.84388, + "real": -0.209787 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.850669, + "real": -0.17735 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.857468, + "real": -0.147399 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.864684, + "real": -0.117938 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.869517, + "real": -0.091429 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.87588, + "real": -0.064923 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.883375, + "real": -0.038943 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.887618, + "real": -0.011559 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.895987, + "real": 0.01536 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.896563, + "real": 0.042609 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.898025, + "real": 0.069026 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.898273, + "real": 0.098662 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.898288, + "real": 0.125228 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.904002, + "real": 0.152799 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.909341, + "real": 0.178403 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.909694, + "real": 0.200061 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.909278, + "real": 0.21929 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.909609, + "real": 0.241575 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.90813, + "real": 0.26042 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.901262, + "real": 0.280712 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.897347, + "real": 0.294785 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.890637, + "real": 0.305738 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.879909, + "real": 0.315147 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.86834, + "real": 0.323757 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.85649, + "real": 0.330721 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.848522, + "real": 0.342594 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.847447, + "real": 0.35345 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.856027, + "real": 0.365757 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.866265, + "real": 0.380103 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.880372, + "real": 0.404272 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.88492, + "real": 0.436636 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.877688, + "real": 0.479328 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.856734, + "real": 0.526845 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.82186, + "real": 0.576717 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.780093, + "real": 0.618759 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.7385, + "real": 0.651831 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.698755, + "real": 0.679529 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.662987, + "real": 0.707034 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.63191, + "real": 0.724504 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.602812, + "real": 0.742408 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.574064, + "real": 0.759844 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.546709, + "real": 0.775862 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.520841, + "real": 0.790675 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.494005, + "real": 0.801994 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.463686, + "real": 0.815445 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.43436, + "real": 0.827008 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.403148, + "real": 0.838302 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.375737, + "real": 0.850974 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.349499, + "real": 0.861027 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.322373, + "real": 0.868901 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.295462, + "real": 0.874421 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.268338, + "real": 0.877919 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.240976, + "real": 0.883987 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.216124, + "real": 0.887425 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.187053, + "real": 0.887908 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.160429, + "real": 0.889325 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.130912, + "real": 0.888831 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.105504, + "real": 0.891003 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.077016, + "real": 0.893317 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.04796, + "real": 0.893486 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.022319, + "real": 0.895632 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.004114, + "real": 0.897043 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.030184, + "real": 0.898639 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.055954, + "real": 0.898532 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.081246, + "real": 0.897446 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.107662, + "real": 0.890627 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.134288, + "real": 0.885055 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.164289, + "real": 0.881297 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.191545, + "real": 0.878155 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.220375, + "real": 0.870987 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.247317, + "real": 0.864214 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": -0.272791, + "real": 0.854826 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.297645, + "real": 0.845949 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.322213, + "real": 0.833202 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.348402, + "real": 0.823557 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.370157, + "real": 0.808164 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.392931, + "real": 0.796924 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.417794, + "real": 0.779647 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.437423, + "real": 0.765817 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.457618, + "real": 0.747647 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.475226, + "real": 0.736179 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.49444, + "real": 0.719882 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.514139, + "real": 0.703346 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": -0.532949, + "real": 0.688367 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": -0.54282, + "real": 0.674551 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": -0.563417, + "real": 0.659958 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": -0.575584, + "real": 0.645897 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": -0.591243, + "real": 0.625933 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": -0.607369, + "real": 0.608486 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": -0.622218, + "real": 0.590327 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": -0.637149, + "real": 0.574984 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.648748, + "real": 0.556419 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.658835, + "real": 0.53669 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": -0.669935, + "real": 0.517366 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": -0.678385, + "real": 0.496442 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": -0.687812, + "real": 0.476245 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": -0.696048, + "real": 0.454463 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": -0.704748, + "real": 0.431714 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": -0.711123, + "real": 0.409571 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": -0.7156, + "real": 0.386412 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": -0.728201, + "real": 0.362158 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": -0.731633, + "real": 0.338498 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": -0.737151, + "real": 0.31613 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": -0.74352, + "real": 0.290385 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": -0.748786, + "real": 0.268222 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": -0.748757, + "real": 0.244017 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": -0.754322, + "real": 0.222211 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": -0.757046, + "real": 0.199817 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": -0.759509, + "real": 0.178093 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": -0.759985, + "real": 0.156726 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": -0.763178, + "real": 0.136832 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": -0.764901, + "real": 0.116486 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": -0.766074, + "real": 0.096443 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -0.766463, + "real": 0.07672 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -0.76758, + "real": 0.056972 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -0.767532, + "real": 0.037841 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -0.766626, + "real": 0.019505 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -0.768781, + "real": -0.000842 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -0.766939, + "real": -0.022072 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -0.765761, + "real": -0.038903 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.761215, + "real": -0.061868 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.759017, + "real": -0.079699 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.753851, + "real": -0.097937 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.748696, + "real": -0.117231 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.737118, + "real": -0.137542 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.734637, + "real": -0.15487 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.726537, + "real": -0.173021 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.715898, + "real": -0.190969 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.706949, + "real": -0.20791 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.691908, + "real": -0.228683 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.683711, + "real": -0.246553 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.673973, + "real": -0.261663 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.66241, + "real": -0.275636 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.650399, + "real": -0.290764 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.638684, + "real": -0.302029 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P1_OPEN", + "ports": 1 + } + }, + "type": "Open" + }, + { + "params": { + "L0": 0.0, + "L1": 0.0, + "L2": 0.0, + "L3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 5569943011892084756, + "loss": 0.0, + "name": "Port 1", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.38695, + "real": -0.275187 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.104222, + "real": -0.580331 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": 0.047875, + "real": -0.716977 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": 0.070075, + "real": -0.715863 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": 0.091903, + "real": -0.71112 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": 0.111383, + "real": -0.706214 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": 0.134739, + "real": -0.702772 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": 0.15615, + "real": -0.697714 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": 0.177833, + "real": -0.691845 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": 0.199542, + "real": -0.684967 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": 0.220777, + "real": -0.677394 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": 0.241526, + "real": -0.669406 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": 0.262625, + "real": -0.661113 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": 0.284136, + "real": -0.65167 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": 0.304506, + "real": -0.642442 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": 0.324911, + "real": -0.6325 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": 0.344908, + "real": -0.621723 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": 0.363855, + "real": -0.611155 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": 0.382366, + "real": -0.600097 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": 0.400485, + "real": -0.588658 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": 0.417968, + "real": -0.577032 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": 0.435137, + "real": -0.564895 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.451627, + "real": -0.551613 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.467541, + "real": -0.538392 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": 0.483165, + "real": -0.524412 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": 0.498363, + "real": -0.509818 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": 0.51245, + "real": -0.49519 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": 0.527519, + "real": -0.478926 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": 0.541775, + "real": -0.462221 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": 0.555582, + "real": -0.444663 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": 0.569115, + "real": -0.426297 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": 0.582095, + "real": -0.407192 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": 0.594554, + "real": -0.387665 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": 0.607022, + "real": -0.366629 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": 0.61876, + "real": -0.346094 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": 0.630022, + "real": -0.325137 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": 0.640813, + "real": -0.303909 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": 0.651259, + "real": -0.28182 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": 0.661, + "real": -0.26043 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": 0.670208, + "real": -0.239152 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": 0.678639, + "real": -0.218422 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": 0.686765, + "real": -0.197721 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": 0.693943, + "real": -0.177696 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.70049, + "real": -0.157824 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": 0.706136, + "real": -0.138885 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.711426, + "real": -0.120082 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": 0.716032, + "real": -0.101531 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": 0.719512, + "real": -0.083619 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": 0.7226, + "real": -0.065628 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": 0.72536, + "real": -0.047881 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": 0.727562, + "real": -0.029881 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": 0.728769, + "real": -0.011992 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": 0.728786, + "real": 0.006365 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": 0.728348, + "real": 0.025201 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": 0.727573, + "real": 0.044315 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": 0.725645, + "real": 0.064672 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": 0.723223, + "real": 0.085025 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": 0.719571, + "real": 0.105324 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": 0.715688, + "real": 0.127336 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": 0.710877, + "real": 0.149309 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": 0.705401, + "real": 0.171651 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": 0.698727, + "real": 0.194868 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": 0.691148, + "real": 0.21706 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": 0.682898, + "real": 0.239411 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": 0.674062, + "real": 0.261517 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": 0.664262, + "real": 0.283617 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": 0.653953, + "real": 0.305233 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": 0.643436, + "real": 0.32602 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": 0.632499, + "real": 0.346017 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": 0.620625, + "real": 0.366428 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": 0.608636, + "real": 0.385146 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": 0.596263, + "real": 0.403602 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": 0.583748, + "real": 0.421443 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": 0.572273, + "real": 0.437812 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": 0.559896, + "real": 0.454209 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": 0.54511, + "real": 0.471901 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": 0.533427, + "real": 0.486334 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": 0.522056, + "real": 0.500506 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": 0.508383, + "real": 0.515131 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": 0.494759, + "real": 0.529221 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": 0.481028, + "real": 0.543021 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": 0.466851, + "real": 0.556239 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": 0.452273, + "real": 0.569783 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": 0.437208, + "real": 0.583155 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": 0.421474, + "real": 0.59587 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": 0.40474, + "real": 0.608534 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.38756, + "real": 0.620867 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": 0.369392, + "real": 0.631025 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": 0.351114, + "real": 0.641094 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": 0.332105, + "real": 0.651518 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.312475, + "real": 0.661299 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": 0.291875, + "real": 0.669839 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": 0.271693, + "real": 0.678575 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": 0.251298, + "real": 0.686111 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": 0.230755, + "real": 0.692968 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": 0.210264, + "real": 0.698951 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": 0.19051, + "real": 0.705241 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": 0.170021, + "real": 0.708913 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": 0.15064, + "real": 0.713038 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": 0.130124, + "real": 0.717209 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": 0.11044, + "real": 0.720682 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": 0.092022, + "real": 0.722903 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": 0.072728, + "real": 0.725135 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": 0.053605, + "real": 0.727167 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": 0.035574, + "real": 0.727756 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": 0.016479, + "real": 0.728286 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.002234, + "real": 0.728717 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.020239, + "real": 0.728387 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.039834, + "real": 0.726915 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.060105, + "real": 0.724797 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.079817, + "real": 0.72158 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.100545, + "real": 0.717467 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.121455, + "real": 0.712831 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.143337, + "real": 0.707386 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.165544, + "real": 0.701383 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.187234, + "real": 0.694758 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.209198, + "real": 0.687041 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.231553, + "real": 0.67728 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.254364, + "real": 0.667418 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.276776, + "real": 0.656811 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.299591, + "real": 0.645271 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.320828, + "real": 0.634252 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.342941, + "real": 0.622637 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.363702, + "real": 0.610857 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.384158, + "real": 0.599101 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.404036, + "real": 0.587618 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.422379, + "real": 0.576314 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.439774, + "real": 0.564676 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.456243, + "real": 0.553335 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.47254, + "real": 0.541492 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.487078, + "real": 0.528825 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.501036, + "real": 0.516901 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.514643, + "real": 0.504943 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.527608, + "real": 0.492258 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.540251, + "real": 0.479324 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.551953, + "real": 0.466248 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.563786, + "real": 0.451907 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.575202, + "real": 0.436229 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.585813, + "real": 0.419971 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": -0.596654, + "real": 0.40303 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": -0.607164, + "real": 0.385834 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": -0.61764, + "real": 0.366122 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": -0.627423, + "real": 0.346135 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": -0.637148, + "real": 0.324807 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": -0.646396, + "real": 0.303083 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": -0.655728, + "real": 0.280763 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": -0.664466, + "real": 0.258058 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": -0.672833, + "real": 0.234708 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": -0.680557, + "real": 0.212107 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": -0.68678, + "real": 0.189672 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": -0.691689, + "real": 0.166906 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": -0.698173, + "real": 0.143213 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": -0.703405, + "real": 0.121472 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": -0.70741, + "real": 0.100121 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": -0.711407, + "real": 0.078982 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": -0.714552, + "real": 0.058149 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": -0.7167, + "real": 0.037633 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": -0.718569, + "real": 0.018602 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": -0.719575, + "real": -0.000104 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": -0.720044, + "real": -0.019294 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": -0.719922, + "real": -0.038723 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": -0.719396, + "real": -0.056446 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": -0.717981, + "real": -0.074551 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": -0.715712, + "real": -0.092616 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": -0.712986, + "real": -0.110986 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": -0.70936, + "real": -0.129779 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": -0.705359, + "real": -0.14884 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": -0.700601, + "real": -0.167374 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.695158, + "real": -0.186728 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": -0.688702, + "real": -0.20594 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.681418, + "real": -0.224996 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": -0.672251, + "real": -0.244703 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": -0.662586, + "real": -0.265827 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.653771, + "real": -0.286701 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": -0.644226, + "real": -0.306999 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.63481, + "real": -0.326911 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": -0.620425, + "real": -0.347197 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": -0.609643, + "real": -0.367564 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.596728, + "real": -0.386984 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": -0.583849, + "real": -0.405783 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": -0.569977, + "real": -0.425232 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": -0.555987, + "real": -0.44296 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": -0.540537, + "real": -0.461134 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": -0.525846, + "real": -0.478107 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": -0.510774, + "real": -0.495193 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": -0.496274, + "real": -0.511915 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": -0.482323, + "real": -0.527197 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": -0.468672, + "real": -0.542045 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": -0.454164, + "real": -0.555056 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": -0.439031, + "real": -0.567574 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": -0.424197, + "real": -0.579062 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": -0.407648, + "real": -0.590682 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": -0.391142, + "real": -0.601636 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": -0.373397, + "real": -0.612379 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": -0.355581, + "real": -0.623593 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": -0.338223, + "real": -0.633799 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": -0.321187, + "real": -0.643699 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": -0.302923, + "real": -0.652681 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": -0.283699, + "real": -0.6614 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": -0.263889, + "real": -0.668996 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": -0.244179, + "real": -0.675868 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": -0.22234, + "real": -0.681753 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": -0.199778, + "real": -0.687726 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": -0.17737, + "real": -0.693814 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": -0.15544, + "real": -0.700269 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": -0.133923, + "real": -0.70694 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": -0.112459, + "real": -0.713148 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": -0.090798, + "real": -0.717314 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": -0.070473, + "real": -0.721644 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": -0.050305, + "real": -0.726261 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": -0.030327, + "real": -0.728988 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": -0.011184, + "real": -0.730787 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.008052, + "real": -0.730872 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.026481, + "real": -0.730925 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.04655, + "real": -0.729205 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.067448, + "real": -0.727443 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.086528, + "real": -0.725623 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.105391, + "real": -0.722805 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.123445, + "real": -0.71971 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.14226, + "real": -0.715603 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.160821, + "real": -0.710357 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.179701, + "real": -0.703025 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.198801, + "real": -0.694996 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.217932, + "real": -0.686759 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.237999, + "real": -0.67684 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.257343, + "real": -0.667825 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.277374, + "real": -0.658207 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.298715, + "real": -0.647366 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.321263, + "real": -0.637011 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.342777, + "real": -0.626314 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.363841, + "real": -0.615227 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.384044, + "real": -0.60472 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.404668, + "real": -0.59445 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.423894, + "real": -0.583977 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.44253, + "real": -0.570856 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.461131, + "real": -0.556562 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.480954, + "real": -0.542011 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.498308, + "real": -0.528786 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.515335, + "real": -0.515437 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.530554, + "real": -0.501151 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.545189, + "real": -0.487222 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.560016, + "real": -0.473502 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.574006, + "real": -0.459006 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.586666, + "real": -0.443505 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.598669, + "real": -0.427073 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.61548, + "real": -0.400577 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.621592, + "real": -0.39285 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.631683, + "real": -0.374818 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.6426, + "real": -0.356024 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.654407, + "real": -0.336584 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.663662, + "real": -0.316391 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.674194, + "real": -0.298636 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.684666, + "real": -0.279818 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.69379, + "real": -0.261207 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.702999, + "real": -0.242133 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.712493, + "real": -0.224102 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.721222, + "real": -0.20326 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.728049, + "real": -0.181304 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.734343, + "real": -0.161703 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.73966, + "real": -0.142095 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.744711, + "real": -0.122302 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.74883, + "real": -0.102217 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.752449, + "real": -0.083957 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.754946, + "real": -0.062604 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.756764, + "real": -0.042895 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.757381, + "real": -0.022379 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.757048, + "real": -0.001864 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.756782, + "real": 0.019616 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.75534, + "real": 0.039406 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.753255, + "real": 0.059629 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.750267, + "real": 0.082878 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.74763, + "real": 0.102838 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.743759, + "real": 0.123993 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.739124, + "real": 0.143965 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.734252, + "real": 0.164553 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.730161, + "real": 0.185339 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.724473, + "real": 0.206094 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.71811, + "real": 0.227564 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.710545, + "real": 0.248416 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.703258, + "real": 0.268856 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.695162, + "real": 0.287871 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.686211, + "real": 0.308212 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.677124, + "real": 0.32854 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.667101, + "real": 0.347858 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": 0.657153, + "real": 0.367072 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": 0.645716, + "real": 0.386832 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": 0.634087, + "real": 0.405423 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": 0.60101, + "real": 0.44772 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": 0.607998, + "real": 0.44367 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": 0.594447, + "real": 0.460917 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": 0.581154, + "real": 0.479002 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": 0.56718, + "real": 0.495297 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": 0.552364, + "real": 0.514022 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": 0.538245, + "real": 0.527267 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": 0.523901, + "real": 0.542833 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": 0.508276, + "real": 0.558705 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": 0.492412, + "real": 0.572074 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": 0.476224, + "real": 0.586113 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": 0.459562, + "real": 0.599041 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": 0.442528, + "real": 0.610619 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": 0.426135, + "real": 0.621207 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": 0.408739, + "real": 0.631429 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": 0.390389, + "real": 0.642112 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": 0.372676, + "real": 0.651176 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": 0.35434, + "real": 0.660004 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": 0.335587, + "real": 0.669012 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": 0.315831, + "real": 0.677795 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": 0.296475, + "real": 0.685393 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": 0.277593, + "real": 0.693007 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": 0.256374, + "real": 0.700414 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": 0.235686, + "real": 0.705843 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": 0.215143, + "real": 0.712874 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": 0.193933, + "real": 0.720216 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": 0.173172, + "real": 0.724901 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": 0.152134, + "real": 0.729663 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": 0.130555, + "real": 0.733098 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": 0.109033, + "real": 0.737348 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": 0.087112, + "real": 0.739707 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": 0.065832, + "real": 0.740783 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": 0.044518, + "real": 0.741516 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": 0.023607, + "real": 0.741627 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": 0.003559, + "real": 0.740935 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.016713, + "real": 0.739833 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.0359, + "real": 0.73838 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.056716, + "real": 0.735347 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.07637, + "real": 0.732449 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.095651, + "real": 0.729548 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.114085, + "real": 0.726548 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.132958, + "real": 0.722866 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.151578, + "real": 0.719241 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.169871, + "real": 0.714766 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.187614, + "real": 0.709917 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.205989, + "real": 0.704771 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.222828, + "real": 0.698601 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.241044, + "real": 0.692043 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.257129, + "real": 0.684327 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.276032, + "real": 0.676667 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.295559, + "real": 0.663678 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.311961, + "real": 0.654369 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.328821, + "real": 0.644403 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.347034, + "real": 0.632966 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.364227, + "real": 0.620848 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.382076, + "real": 0.608828 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.398182, + "real": 0.594413 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.414993, + "real": 0.57969 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.429927, + "real": 0.565646 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.447233, + "real": 0.548786 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.463298, + "real": 0.532189 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.478697, + "real": 0.516115 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": -0.49259, + "real": 0.500358 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": -0.503844, + "real": 0.487225 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.517797, + "real": 0.469667 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.531086, + "real": 0.45345 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": -0.544231, + "real": 0.438133 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": -0.555923, + "real": 0.422372 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": -0.570829, + "real": 0.416339 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.577561, + "real": 0.395353 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.586731, + "real": 0.375977 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": -0.597598, + "real": 0.359199 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": -0.608854, + "real": 0.344734 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": -0.617674, + "real": 0.332322 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": -0.625584, + "real": 0.316555 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": -0.634929, + "real": 0.302946 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": -0.640944, + "real": 0.286153 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": -0.648504, + "real": 0.27245 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": -0.653976, + "real": 0.255115 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": -0.659792, + "real": 0.238448 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": -0.664826, + "real": 0.221824 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": -0.670407, + "real": 0.203996 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": -0.674767, + "real": 0.187145 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": -0.679461, + "real": 0.16744 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": -0.680782, + "real": 0.149799 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": -0.68099, + "real": 0.131595 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": -0.681927, + "real": 0.111667 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": -0.680223, + "real": 0.092843 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": -0.677966, + "real": 0.07478 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": -0.676282, + "real": 0.053128 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": -0.67278, + "real": 0.032659 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": -0.6685, + "real": 0.011452 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": -0.664382, + "real": -0.009376 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": -0.660847, + "real": -0.03017 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": -0.657909, + "real": -0.050725 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": -0.654746, + "real": -0.070691 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": -0.649007, + "real": -0.088478 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": -0.641457, + "real": -0.106223 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": -0.636027, + "real": -0.120681 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": -0.629219, + "real": -0.137065 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": -0.622664, + "real": -0.152553 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": -0.612561, + "real": -0.165681 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": -0.600027, + "real": -0.183603 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": -0.58409, + "real": -0.197077 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": -0.572985, + "real": -0.21028 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": -0.559579, + "real": -0.221995 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": -0.548451, + "real": -0.228634 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": -0.540577, + "real": -0.234162 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": -0.5355, + "real": -0.236382 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": -0.534506, + "real": -0.238824 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": -0.536992, + "real": -0.244583 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": -0.540138, + "real": -0.255308 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": -0.538731, + "real": -0.270517 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.537014, + "real": -0.288403 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.530388, + "real": -0.312274 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.521032, + "real": -0.335645 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.510125, + "real": -0.356969 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.497502, + "real": -0.378708 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.482566, + "real": -0.397152 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.467819, + "real": -0.414927 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.453132, + "real": -0.429916 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": -0.439635, + "real": -0.445367 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": -0.421522, + "real": -0.459192 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": -0.405038, + "real": -0.472735 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": -0.390009, + "real": -0.487593 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": -0.37548, + "real": -0.502135 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": -0.360577, + "real": -0.515294 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": -0.347995, + "real": -0.529174 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": -0.334068, + "real": -0.540618 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": -0.320355, + "real": -0.553934 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": -0.30815, + "real": -0.567032 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": -0.296076, + "real": -0.577634 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": -0.284057, + "real": -0.58684 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": -0.272459, + "real": -0.596306 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.257628, + "real": -0.602968 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.2441, + "real": -0.609786 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.228202, + "real": -0.61695 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.214688, + "real": -0.623614 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": -0.199419, + "real": -0.628742 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": -0.183712, + "real": -0.632759 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.168741, + "real": -0.636093 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.152933, + "real": -0.639253 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.13655, + "real": -0.640924 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.119941, + "real": -0.640634 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.10405, + "real": -0.641112 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.085177, + "real": -0.641864 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.066189, + "real": -0.6405 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.047269, + "real": -0.639514 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.029525, + "real": -0.639216 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.011385, + "real": -0.640641 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.005732, + "real": -0.641811 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.021377, + "real": -0.639115 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.039061, + "real": -0.642949 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.050878, + "real": -0.640167 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.066669, + "real": -0.639818 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.080481, + "real": -0.635881 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.100474, + "real": -0.630454 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.119004, + "real": -0.629128 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.137747, + "real": -0.627422 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.155922, + "real": -0.623236 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.17282, + "real": -0.621111 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.18969, + "real": -0.61644 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.205917, + "real": -0.610322 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.225462, + "real": -0.605847 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.242121, + "real": -0.597191 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.260667, + "real": -0.589301 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.276608, + "real": -0.583908 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.296377, + "real": -0.571661 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.315519, + "real": -0.566924 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.335215, + "real": -0.552615 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.356597, + "real": -0.544988 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.371134, + "real": -0.532842 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.390679, + "real": -0.526133 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.406691, + "real": -0.516345 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.422613, + "real": -0.508613 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.434502, + "real": -0.500274 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.448579, + "real": -0.491986 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.462378, + "real": -0.482937 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.478278, + "real": -0.476358 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.494804, + "real": -0.46685 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.508873, + "real": -0.458885 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.523904, + "real": -0.450434 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.5362, + "real": -0.440842 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.549878, + "real": -0.430747 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.562764, + "real": -0.418914 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.5746, + "real": -0.407059 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.585347, + "real": -0.393204 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.598515, + "real": -0.379897 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.609031, + "real": -0.363135 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.616686, + "real": -0.351184 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.631193, + "real": -0.332939 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.643537, + "real": -0.315563 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.653331, + "real": -0.294134 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.664414, + "real": -0.274408 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.67384, + "real": -0.255588 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.683325, + "real": -0.233606 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.691323, + "real": -0.214475 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.698871, + "real": -0.192022 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.707645, + "real": -0.172789 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.71569, + "real": -0.150765 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.722241, + "real": -0.128805 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.729624, + "real": -0.108878 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.737287, + "real": -0.086633 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.743619, + "real": -0.069094 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.749359, + "real": -0.045141 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.756084, + "real": -0.024844 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.765374, + "real": -0.005033 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.769021, + "real": 0.013204 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.778899, + "real": 0.03433 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.780253, + "real": 0.055015 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.786271, + "real": 0.076363 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.791749, + "real": 0.090806 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 0.791348, + "real": 0.115314 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 0.795715, + "real": 0.135113 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P1_SHORT", + "ports": 1 + } + }, + "type": "Short" + }, + { + "params": { + "Cfirst": true, + "Cparallel": 0.0, + "Lseries": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 5506100953055748068, + "loss": 0.0, + "name": "Port 1", + "resistance": 50.0, + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.367592, + "real": 0.632788 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.118348, + "real": 0.54034 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.004403, + "real": 0.059292 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.00588, + "real": 0.059616 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.007255, + "real": 0.059632 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.008442, + "real": 0.059698 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.009494, + "real": 0.060371 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.010601, + "real": 0.060852 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.011399, + "real": 0.06106 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.012098, + "real": 0.061508 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.012527, + "real": 0.061697 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.012847, + "real": 0.061781 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.01321, + "real": 0.062046 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.01369, + "real": 0.061468 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.015264, + "real": 0.06079 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.015857, + "real": 0.060856 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.016538, + "real": 0.060773 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.01682, + "real": 0.060247 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.017521, + "real": 0.059588 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.018219, + "real": 0.059026 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.019108, + "real": 0.058144 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.020212, + "real": 0.057307 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.02144, + "real": 0.057101 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.022889, + "real": 0.0563 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.024464, + "real": 0.055812 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.026014, + "real": 0.055683 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.027533, + "real": 0.055632 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.02897, + "real": 0.055714 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.030574, + "real": 0.056116 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.032077, + "real": 0.056521 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.033357, + "real": 0.057123 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.034536, + "real": 0.057856 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.03545, + "real": 0.0589 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.035969, + "real": 0.059696 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.03624, + "real": 0.060134 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.036412, + "real": 0.060881 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.03647, + "real": 0.061313 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.036658, + "real": 0.061659 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.036286, + "real": 0.062277 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.035734, + "real": 0.062463 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.035144, + "real": 0.062612 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.033917, + "real": 0.062249 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.032866, + "real": 0.061675 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.031869, + "real": 0.060778 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.030968, + "real": 0.059952 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.030061, + "real": 0.057975 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.029284, + "real": 0.056227 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.028608, + "real": 0.053867 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.028488, + "real": 0.051323 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.028477, + "real": 0.048911 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.028569, + "real": 0.04609 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.029388, + "real": 0.043221 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.030299, + "real": 0.040519 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.031404, + "real": 0.037588 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.033135, + "real": 0.035068 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.03476, + "real": 0.032432 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.03661, + "real": 0.029935 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.038704, + "real": 0.02756 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.041006, + "real": 0.025439 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.043653, + "real": 0.023639 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.046145, + "real": 0.022411 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.048642, + "real": 0.021433 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.050957, + "real": 0.020688 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.053308, + "real": 0.020349 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.055187, + "real": 0.01996 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.056998, + "real": 0.020173 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.058404, + "real": 0.020395 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.059433, + "real": 0.020656 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.060233, + "real": 0.021036 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.060905, + "real": 0.021243 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.061099, + "real": 0.021393 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.061288, + "real": 0.021467 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.060937, + "real": 0.021508 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.060342, + "real": 0.021228 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.059456, + "real": 0.020935 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.059365, + "real": 0.020615 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.057984, + "real": 0.020262 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.056311, + "real": 0.01816 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.055293, + "real": 0.016644 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.054117, + "real": 0.014666 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.053215, + "real": 0.012647 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.052595, + "real": 0.010141 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.052024, + "real": 0.00807 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.051707, + "real": 0.005637 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.051635, + "real": 0.003088 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.0516, + "real": 0.00108 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.051341, + "real": -0.001076 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.051997, + "real": -0.004017 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.052338, + "real": -0.006089 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.053018, + "real": -0.00764 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.05307, + "real": -0.009028 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.053554, + "real": -0.011118 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.053745, + "real": -0.012534 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.054501, + "real": -0.013809 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.054687, + "real": -0.014571 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.054489, + "real": -0.01516 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.054207, + "real": -0.015694 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.053514, + "real": -0.016395 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.052445, + "real": -0.016862 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.05122, + "real": -0.017049 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.049677, + "real": -0.017455 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.047224, + "real": -0.019021 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.045146, + "real": -0.02023 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.04299, + "real": -0.021366 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.040681, + "real": -0.023109 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.038469, + "real": -0.024808 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.036496, + "real": -0.027037 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.033178, + "real": -0.030084 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.030929, + "real": -0.032834 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.028883, + "real": -0.035276 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.026991, + "real": -0.038384 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.025135, + "real": -0.042051 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.02381, + "real": -0.045565 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.022603, + "real": -0.049139 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.021921, + "real": -0.052341 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.021331, + "real": -0.055562 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.020888, + "real": -0.058403 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.021074, + "real": -0.062127 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.021319, + "real": -0.06456 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.022052, + "real": -0.066924 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.022625, + "real": -0.068702 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.023018, + "real": -0.070091 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.023367, + "real": -0.071191 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.023595, + "real": -0.072187 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.023821, + "real": -0.072832 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.024675, + "real": -0.07395 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.024105, + "real": -0.07233 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.02372, + "real": -0.071834 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.023107, + "real": -0.071047 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.021756, + "real": -0.069925 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.020319, + "real": -0.069238 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.018512, + "real": -0.067947 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.015816, + "real": -0.066568 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.013212, + "real": -0.065667 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.010031, + "real": -0.065254 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.006622, + "real": -0.064665 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.003257, + "real": -0.06456 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.000479, + "real": -0.0643 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.003201, + "real": -0.064876 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.006523, + "real": -0.06523 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.010075, + "real": -0.066031 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.013302, + "real": -0.066701 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.016364, + "real": -0.06808 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.019237, + "real": -0.06962 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.022223, + "real": -0.070945 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.024735, + "real": -0.072536 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.026692, + "real": -0.073748 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.02897, + "real": -0.075997 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.029867, + "real": -0.076577 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.031049, + "real": -0.077524 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.032385, + "real": -0.07826 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.032673, + "real": -0.079852 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.032953, + "real": -0.079945 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.033995, + "real": -0.079765 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.033799, + "real": -0.079474 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.034181, + "real": -0.078318 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.034995, + "real": -0.077222 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.035124, + "real": -0.07557 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.035948, + "real": -0.073447 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.036678, + "real": -0.071219 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.037948, + "real": -0.068704 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.0395, + "real": -0.066051 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.040794, + "real": -0.063014 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.042757, + "real": -0.060463 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.044878, + "real": -0.057542 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.048173, + "real": -0.054584 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.051094, + "real": -0.052 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.053511, + "real": -0.048826 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.056959, + "real": -0.046376 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.060431, + "real": -0.04383 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.063737, + "real": -0.04141 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.067064, + "real": -0.040117 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.070629, + "real": -0.038583 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.073794, + "real": -0.037485 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.076998, + "real": -0.036735 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.079493, + "real": -0.035187 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.08391, + "real": -0.032559 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.085294, + "real": -0.033597 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.08703, + "real": -0.033124 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.088903, + "real": -0.032549 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.090503, + "real": -0.031908 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.091741, + "real": -0.030974 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.092876, + "real": -0.030145 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.093376, + "real": -0.02899 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.09396, + "real": -0.027934 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.094277, + "real": -0.026578 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.09435, + "real": -0.025195 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.093967, + "real": -0.022785 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.09411, + "real": -0.020246 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.094175, + "real": -0.017348 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.093697, + "real": -0.014582 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.094114, + "real": -0.012139 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.094365, + "real": -0.00893 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.094561, + "real": -0.005635 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.095098, + "real": -0.002701 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.095622, + "real": 0.000645 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.096372, + "real": 0.003531 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.097238, + "real": 0.006142 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.097857, + "real": 0.009533 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.098433, + "real": 0.012025 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.099311, + "real": 0.014774 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.100134, + "real": 0.016962 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.100592, + "real": 0.0191 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.101324, + "real": 0.021252 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.101772, + "real": 0.022762 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.101425, + "real": 0.023628 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.100958, + "real": 0.025483 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.10037, + "real": 0.027617 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.099947, + "real": 0.028981 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.099063, + "real": 0.030132 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.09765, + "real": 0.031328 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.095943, + "real": 0.032859 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.093846, + "real": 0.034816 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.092316, + "real": 0.036546 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.090377, + "real": 0.038439 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.087773, + "real": 0.040694 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.085337, + "real": 0.043236 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.081889, + "real": 0.046744 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.080436, + "real": 0.04915 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.078277, + "real": 0.052031 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.075685, + "real": 0.055654 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.073749, + "real": 0.059595 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.072411, + "real": 0.063297 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.071274, + "real": 0.06748 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.07024, + "real": 0.072197 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.068288, + "real": 0.075723 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.066737, + "real": 0.080708 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.06537, + "real": 0.084839 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.063678, + "real": 0.088459 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.062093, + "real": 0.091602 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.060805, + "real": 0.094503 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.059838, + "real": 0.097262 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.058708, + "real": 0.098991 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.057756, + "real": 0.100729 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.056539, + "real": 0.102964 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.055308, + "real": 0.104605 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.053991, + "real": 0.105451 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.052312, + "real": 0.106209 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.050615, + "real": 0.10687 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.048214, + "real": 0.10742 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.046077, + "real": 0.107995 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.043971, + "real": 0.108156 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.041544, + "real": 0.108842 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.039049, + "real": 0.109459 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.036226, + "real": 0.10994 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.034231, + "real": 0.116305 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.031113, + "real": 0.111281 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.028076, + "real": 0.11166 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.024731, + "real": 0.111508 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.021598, + "real": 0.111884 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.018781, + "real": 0.11295 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.014877, + "real": 0.112902 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.012476, + "real": 0.112688 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.009848, + "real": 0.113021 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.007132, + "real": 0.113329 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.004863, + "real": 0.11364 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.002302, + "real": 0.113467 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.000265, + "real": 0.113617 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": -0.00237, + "real": 0.112223 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": -0.00513, + "real": 0.111245 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": -0.007149, + "real": 0.110474 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.009317, + "real": 0.109365 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.011395, + "real": 0.107647 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": -0.015046, + "real": 0.106453 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": -0.017495, + "real": 0.1049 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": -0.020068, + "real": 0.103348 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": -0.022971, + "real": 0.101384 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": -0.02544, + "real": 0.099738 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": -0.028325, + "real": 0.09679 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": -0.031389, + "real": 0.094886 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": -0.034846, + "real": 0.092801 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": -0.038187, + "real": 0.090159 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.041999, + "real": 0.087506 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.045628, + "real": 0.085678 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.049189, + "real": 0.084028 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.052309, + "real": 0.082696 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.056018, + "real": 0.080727 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.059446, + "real": 0.078535 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.062487, + "real": 0.076444 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.065625, + "real": 0.074964 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.068219, + "real": 0.072966 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.071397, + "real": 0.071206 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.07394, + "real": 0.069732 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.076412, + "real": 0.067874 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.079037, + "real": 0.066257 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.080948, + "real": 0.064357 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.08273, + "real": 0.062991 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.09203, + "real": 0.069127 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.08598, + "real": 0.059303 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.087348, + "real": 0.057067 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.087795, + "real": 0.054573 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.088618, + "real": 0.052745 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.089712, + "real": 0.050303 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.091007, + "real": 0.046918 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.091984, + "real": 0.044302 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.092446, + "real": 0.041388 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.093806, + "real": 0.038828 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.094036, + "real": 0.036118 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.094475, + "real": 0.03423 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.094225, + "real": 0.030113 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.094337, + "real": 0.026464 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.094613, + "real": 0.023202 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.094938, + "real": 0.019529 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.095277, + "real": 0.015966 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.095387, + "real": 0.012538 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.095553, + "real": 0.009262 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.096211, + "real": 0.006417 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.095604, + "real": 0.003345 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.094986, + "real": -0.000505 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.094733, + "real": -0.003549 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.093842, + "real": -0.007166 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.09346, + "real": -0.010996 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.092795, + "real": -0.0142 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.09265, + "real": -0.017652 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.091939, + "real": -0.020617 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.091072, + "real": -0.023392 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.089917, + "real": -0.026275 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.088979, + "real": -0.02918 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.088497, + "real": -0.031353 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.086316, + "real": -0.03474 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.084482, + "real": -0.037458 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.08274, + "real": -0.040297 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.080683, + "real": -0.043233 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.078669, + "real": -0.045483 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.076782, + "real": -0.048565 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.07478, + "real": -0.051158 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.072609, + "real": -0.053491 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.070168, + "real": -0.05544 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.067312, + "real": -0.057845 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.064044, + "real": -0.060676 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.06049, + "real": -0.063374 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.057757, + "real": -0.06592 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.054805, + "real": -0.069626 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.051168, + "real": -0.071514 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.047761, + "real": -0.073824 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.044997, + "real": -0.076994 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.041649, + "real": -0.079645 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.038018, + "real": -0.082098 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.034372, + "real": -0.08442 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.030731, + "real": -0.086997 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.026999, + "real": -0.089873 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.024055, + "real": -0.092313 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.020881, + "real": -0.094784 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.017622, + "real": -0.097118 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.014529, + "real": -0.099433 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.011242, + "real": -0.101269 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.008592, + "real": -0.103857 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.005854, + "real": -0.105092 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.002495, + "real": -0.106634 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.000894, + "real": -0.107991 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.004678, + "real": -0.108145 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.007471, + "real": -0.110802 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.0092, + "real": -0.112887 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.011466, + "real": -0.113682 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.014602, + "real": -0.115737 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.012694, + "real": -0.11487 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.017147, + "real": -0.114789 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.020627, + "real": -0.11337 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.026256, + "real": -0.111621 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.025423, + "real": -0.111815 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.026714, + "real": -0.111006 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.030183, + "real": -0.108778 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.032593, + "real": -0.107279 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.036277, + "real": -0.104801 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.039104, + "real": -0.102256 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.043082, + "real": -0.099027 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.047374, + "real": -0.096373 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.051569, + "real": -0.091239 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.055858, + "real": -0.088564 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.06049, + "real": -0.084789 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.064737, + "real": -0.083236 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.071558, + "real": -0.079394 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.077593, + "real": -0.075852 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.085262, + "real": -0.073738 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.09216, + "real": -0.07151 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.098151, + "real": -0.068477 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.103865, + "real": -0.068583 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.108841, + "real": -0.068276 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.114437, + "real": -0.066625 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.119831, + "real": -0.066893 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.125794, + "real": -0.068634 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.129341, + "real": -0.06882 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.1317, + "real": -0.072592 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.135628, + "real": -0.073558 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.137382, + "real": -0.0754 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.13704, + "real": -0.075087 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.137238, + "real": -0.077534 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.137355, + "real": -0.078985 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.135315, + "real": -0.079909 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.133166, + "real": -0.081424 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.13208, + "real": -0.080991 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.129741, + "real": -0.077624 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.128785, + "real": -0.074512 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.129382, + "real": -0.071001 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.12931, + "real": -0.066738 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.130861, + "real": -0.060953 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.132521, + "real": -0.05345 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.134232, + "real": -0.043592 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.134937, + "real": -0.034005 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.137995, + "real": -0.023439 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.138515, + "real": -0.011781 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.139982, + "real": -0.002997 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.141161, + "real": 0.004541 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.14237, + "real": 0.014405 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.142891, + "real": 0.021809 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.145319, + "real": 0.029924 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.147144, + "real": 0.037686 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.148594, + "real": 0.043858 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.14941, + "real": 0.048992 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.153341, + "real": 0.055131 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.154796, + "real": 0.061212 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.155407, + "real": 0.065182 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.15574, + "real": 0.069261 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.156031, + "real": 0.074179 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.156022, + "real": 0.078152 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.156309, + "real": 0.083031 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.155916, + "real": 0.08657 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.155174, + "real": 0.09066 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.153661, + "real": 0.093844 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.152673, + "real": 0.097177 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.149719, + "real": 0.10023 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.147832, + "real": 0.103703 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.143951, + "real": 0.106845 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.141369, + "real": 0.111682 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.137427, + "real": 0.116506 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.134897, + "real": 0.119611 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.131772, + "real": 0.125759 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.129465, + "real": 0.130634 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.126075, + "real": 0.13396 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.121984, + "real": 0.138651 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.11909, + "real": 0.144664 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.114949, + "real": 0.147447 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.112384, + "real": 0.150661 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.107638, + "real": 0.15599 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.105671, + "real": 0.16054 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.099853, + "real": 0.164376 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.095297, + "real": 0.168574 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.091191, + "real": 0.174666 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.087053, + "real": 0.17769 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.082947, + "real": 0.180454 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.07681, + "real": 0.188943 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.07436, + "real": 0.188932 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.068164, + "real": 0.194277 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.06499, + "real": 0.19854 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.060389, + "real": 0.202714 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.055803, + "real": 0.204537 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.051114, + "real": 0.208012 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.047109, + "real": 0.210595 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.041333, + "real": 0.215987 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.036309, + "real": 0.219658 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.042506, + "real": 0.21407 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.028312, + "real": 0.223213 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.023477, + "real": 0.225725 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.017309, + "real": 0.226989 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.01317, + "real": 0.230355 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.006623, + "real": 0.230712 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.000568, + "real": 0.233884 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.00219, + "real": 0.233075 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.008843, + "real": 0.23615 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": -0.01437, + "real": 0.235341 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": -0.019571, + "real": 0.23518 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": -0.023692, + "real": 0.233442 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": -0.030048, + "real": 0.232255 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": -0.034044, + "real": 0.230365 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": -0.037059, + "real": 0.22687 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": -0.040046, + "real": 0.220224 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": -0.043749, + "real": 0.220479 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": -0.047537, + "real": 0.217831 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": -0.051090000000000003, + "real": 0.217342 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": -0.056145, + "real": 0.216699 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": -0.05787, + "real": 0.212999 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": -0.063909, + "real": 0.211125 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": -0.07129, + "real": 0.210614 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": -0.076009, + "real": 0.209102 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": -0.081387, + "real": 0.205106 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": -0.084569, + "real": 0.201647 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": -0.090668, + "real": 0.200018 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": -0.096475, + "real": 0.196602 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": -0.104905, + "real": 0.194304 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -0.11, + "real": 0.191545 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -0.114276, + "real": 0.18857 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -0.120726, + "real": 0.187068 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -0.126576, + "real": 0.184855 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -0.132221, + "real": 0.180763 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -0.13823, + "real": 0.177812 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -0.143823, + "real": 0.17409 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.148428, + "real": 0.172444 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.153231, + "real": 0.170193 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.157856, + "real": 0.165418 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.164526, + "real": 0.162853 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.164911, + "real": 0.154585 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.171965, + "real": 0.156436 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.173794, + "real": 0.152765 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.179077, + "real": 0.149647 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.181765, + "real": 0.14238 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.183169, + "real": 0.142176 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.186036, + "real": 0.134718 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.18835, + "real": 0.130789 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.189941, + "real": 0.12551 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.191186, + "real": 0.119449 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.195968, + "real": 0.112912 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P1_LOAD", + "ports": 1 + } + }, + "type": "Load" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 3928729651506740804, + "loss": 0.0, + "name": "Port 1 to 2", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.480171, + "real": 0.268934 + }, + { + "imag": 0.232531, + "real": 0.689639 + }, + { + "imag": 0.467344, + "real": 0.614362 + }, + { + "imag": -0.026824, + "real": 0.127325 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.091344, + "real": 0.26454 + }, + { + "imag": -0.05482, + "real": 0.840194 + }, + { + "imag": 0.145407, + "real": 0.881431 + }, + { + "imag": -0.00997, + "real": 0.131196 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.010743, + "real": 0.121118 + }, + { + "imag": -0.072362, + "real": 0.835134 + }, + { + "imag": -0.073876, + "real": 0.838121 + }, + { + "imag": -0.012108, + "real": 0.123034 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.014098, + "real": 0.120225 + }, + { + "imag": -0.104654, + "real": 0.832165 + }, + { + "imag": -0.106556, + "real": 0.834771 + }, + { + "imag": -0.016301, + "real": 0.123388 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.016833, + "real": 0.118687 + }, + { + "imag": -0.136854, + "real": 0.824515 + }, + { + "imag": -0.138179, + "real": 0.827012 + }, + { + "imag": -0.020234, + "real": 0.123611 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.01893, + "real": 0.117265 + }, + { + "imag": -0.166287, + "real": 0.816574 + }, + { + "imag": -0.168367, + "real": 0.819122 + }, + { + "imag": -0.023538, + "real": 0.124007 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.021194, + "real": 0.116628 + }, + { + "imag": -0.19956, + "real": 0.810189 + }, + { + "imag": -0.201101, + "real": 0.812243 + }, + { + "imag": -0.027097, + "real": 0.125157 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.022727, + "real": 0.115964 + }, + { + "imag": -0.229885, + "real": 0.801152 + }, + { + "imag": -0.231798, + "real": 0.803438 + }, + { + "imag": -0.030361, + "real": 0.125881 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.024338, + "real": 0.115099 + }, + { + "imag": -0.259861, + "real": 0.791142 + }, + { + "imag": -0.262544, + "real": 0.793133 + }, + { + "imag": -0.033501, + "real": 0.126962 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.025775, + "real": 0.11469 + }, + { + "imag": -0.289661, + "real": 0.779842 + }, + { + "imag": -0.291683, + "real": 0.781904 + }, + { + "imag": -0.035882, + "real": 0.12811 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.026808, + "real": 0.114474 + }, + { + "imag": -0.318802, + "real": 0.767595 + }, + { + "imag": -0.320114, + "real": 0.770053 + }, + { + "imag": -0.038009, + "real": 0.128753 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.028193, + "real": 0.114393 + }, + { + "imag": -0.347375, + "real": 0.754253 + }, + { + "imag": -0.34935, + "real": 0.756528 + }, + { + "imag": -0.039894, + "real": 0.129242 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.029748, + "real": 0.114542 + }, + { + "imag": -0.375665, + "real": 0.740472 + }, + { + "imag": -0.377353, + "real": 0.7427009999999999 + }, + { + "imag": -0.042036, + "real": 0.12955 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.031067, + "real": 0.114912 + }, + { + "imag": -0.404148, + "real": 0.724905 + }, + { + "imag": -0.405462, + "real": 0.727311 + }, + { + "imag": -0.043957, + "real": 0.1292 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.032266, + "real": 0.114515 + }, + { + "imag": -0.431644, + "real": 0.708769 + }, + { + "imag": -0.432937, + "real": 0.710585 + }, + { + "imag": -0.045953, + "real": 0.128882 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.033853, + "real": 0.114059 + }, + { + "imag": -0.458246, + "real": 0.691591 + }, + { + "imag": -0.459793, + "real": 0.69297 + }, + { + "imag": -0.047925, + "real": 0.128029 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.035618, + "real": 0.113698 + }, + { + "imag": -0.483968, + "real": 0.6735679999999999 + }, + { + "imag": -0.485631, + "real": 0.674663 + }, + { + "imag": -0.049766, + "real": 0.127173 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.037873, + "real": 0.113104 + }, + { + "imag": -0.509453, + "real": 0.654082 + }, + { + "imag": -0.511028, + "real": 0.655355 + }, + { + "imag": -0.051554, + "real": 0.126169 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.040386, + "real": 0.112186 + }, + { + "imag": -0.533598, + "real": 0.63404 + }, + { + "imag": -0.535285, + "real": 0.635231 + }, + { + "imag": -0.053415, + "real": 0.124855 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.04298, + "real": 0.111739 + }, + { + "imag": -0.557351, + "real": 0.61319 + }, + { + "imag": -0.55919, + "real": 0.614468 + }, + { + "imag": -0.055435, + "real": 0.123297 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.045975, + "real": 0.110618 + }, + { + "imag": -0.580317, + "real": 0.591006 + }, + { + "imag": -0.582018, + "real": 0.592178 + }, + { + "imag": -0.057337, + "real": 0.120998 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.049167, + "real": 0.109756 + }, + { + "imag": -0.602751, + "real": 0.567768 + }, + { + "imag": -0.604366, + "real": 0.568773 + }, + { + "imag": -0.059853, + "real": 0.118972 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.052748, + "real": 0.108896 + }, + { + "imag": -0.623932, + "real": 0.544871 + }, + { + "imag": -0.625811, + "real": 0.54633 + }, + { + "imag": -0.062467, + "real": 0.117317 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.056182, + "real": 0.107861 + }, + { + "imag": -0.644367, + "real": 0.52049 + }, + { + "imag": -0.646276, + "real": 0.521742 + }, + { + "imag": -0.065031, + "real": 0.115721 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.059573, + "real": 0.106807 + }, + { + "imag": -0.663606, + "real": 0.495102 + }, + { + "imag": -0.665437, + "real": 0.4969 + }, + { + "imag": -0.067899, + "real": 0.114083 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.063379, + "real": 0.105745 + }, + { + "imag": -0.681794, + "real": 0.469295 + }, + { + "imag": -0.683862, + "real": 0.470637 + }, + { + "imag": -0.071054, + "real": 0.112009 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.066692, + "real": 0.105001 + }, + { + "imag": -0.698913, + "real": 0.443216 + }, + { + "imag": -0.699859, + "real": 0.446047 + }, + { + "imag": -0.073961, + "real": 0.109815 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.069994, + "real": 0.104181 + }, + { + "imag": -0.714693, + "real": 0.415751 + }, + { + "imag": -0.71711, + "real": 0.41648 + }, + { + "imag": -0.077247, + "real": 0.108385 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.073313, + "real": 0.103638 + }, + { + "imag": -0.729886, + "real": 0.387777 + }, + { + "imag": -0.732006, + "real": 0.38924 + }, + { + "imag": -0.081172, + "real": 0.106518 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.076523, + "real": 0.103338 + }, + { + "imag": -0.743627, + "real": 0.359841 + }, + { + "imag": -0.74609, + "real": 0.360928 + }, + { + "imag": -0.084879, + "real": 0.10452 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.079182, + "real": 0.103339 + }, + { + "imag": -0.756432, + "real": 0.330802 + }, + { + "imag": -0.758803, + "real": 0.331871 + }, + { + "imag": -0.088677, + "real": 0.102509 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.081874, + "real": 0.103254 + }, + { + "imag": -0.768207, + "real": 0.301609 + }, + { + "imag": -0.770571, + "real": 0.30211 + }, + { + "imag": -0.092225, + "real": 0.100882 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.083603, + "real": 0.103386 + }, + { + "imag": -0.779009, + "real": 0.272099 + }, + { + "imag": -0.781236, + "real": 0.273299 + }, + { + "imag": -0.095799, + "real": 0.099341 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.0851, + "real": 0.10319 + }, + { + "imag": -0.788425, + "real": 0.241861 + }, + { + "imag": -0.7906, + "real": 0.243277 + }, + { + "imag": -0.099539, + "real": 0.098097 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.086276, + "real": 0.102906 + }, + { + "imag": -0.796967, + "real": 0.211965 + }, + { + "imag": -0.799157, + "real": 0.213418 + }, + { + "imag": -0.102851, + "real": 0.096573 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.08722, + "real": 0.101622 + }, + { + "imag": -0.80402, + "real": 0.181275 + }, + { + "imag": -0.806605, + "real": 0.181826 + }, + { + "imag": -0.10639, + "real": 0.09525 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.088735, + "real": 0.100808 + }, + { + "imag": -0.810157, + "real": 0.150343 + }, + { + "imag": -0.812549, + "real": 0.151424 + }, + { + "imag": -0.10968, + "real": 0.093833 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.089756, + "real": 0.100378 + }, + { + "imag": -0.814912, + "real": 0.11942 + }, + { + "imag": -0.81726, + "real": 0.119482 + }, + { + "imag": -0.112758, + "real": 0.092205 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.089569, + "real": 0.099831 + }, + { + "imag": -0.818666, + "real": 0.088538 + }, + { + "imag": -0.82051, + "real": 0.08937 + }, + { + "imag": -0.115655, + "real": 0.090877 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.089448, + "real": 0.098896 + }, + { + "imag": -0.821202, + "real": 0.057372 + }, + { + "imag": -0.823186, + "real": 0.057123 + }, + { + "imag": -0.118471, + "real": 0.088987 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.089077, + "real": 0.097545 + }, + { + "imag": -0.822681, + "real": 0.026549 + }, + { + "imag": -0.824155, + "real": 0.024586 + }, + { + "imag": -0.121213, + "real": 0.087063 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.087755, + "real": 0.095735 + }, + { + "imag": -0.823203, + "real": -0.00512 + }, + { + "imag": -0.824573, + "real": -0.005638 + }, + { + "imag": -0.123432, + "real": 0.085573 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.086721, + "real": 0.093694 + }, + { + "imag": -0.822241, + "real": -0.036072 + }, + { + "imag": -0.823762, + "real": -0.036707 + }, + { + "imag": -0.125568, + "real": 0.083567 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.085605, + "real": 0.09086 + }, + { + "imag": -0.820003, + "real": -0.067529 + }, + { + "imag": -0.821874, + "real": -0.068807 + }, + { + "imag": -0.127179, + "real": 0.081301 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.084498, + "real": 0.088531 + }, + { + "imag": -0.816687, + "real": -0.098736 + }, + { + "imag": -0.818543, + "real": -0.099904 + }, + { + "imag": -0.128788, + "real": 0.078625 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.083508, + "real": 0.084805 + }, + { + "imag": -0.812493, + "real": -0.130282 + }, + { + "imag": -0.813978, + "real": -0.131402 + }, + { + "imag": -0.129894, + "real": 0.075649 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.08262, + "real": 0.080948 + }, + { + "imag": -0.806774, + "real": -0.161205 + }, + { + "imag": -0.808411, + "real": -0.163289 + }, + { + "imag": -0.130949, + "real": 0.072671 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.081662, + "real": 0.077117 + }, + { + "imag": -0.80034, + "real": -0.191704 + }, + { + "imag": -0.801689, + "real": -0.194369 + }, + { + "imag": -0.131929, + "real": 0.069476 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.08116, + "real": 0.072777 + }, + { + "imag": -0.792115, + "real": -0.222572 + }, + { + "imag": -0.794136, + "real": -0.224487 + }, + { + "imag": -0.132763, + "real": 0.066071 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.080791, + "real": 0.068704 + }, + { + "imag": -0.782648, + "real": -0.252989 + }, + { + "imag": -0.784432, + "real": -0.256194 + }, + { + "imag": -0.133534, + "real": 0.06239 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.080637, + "real": 0.064195 + }, + { + "imag": -0.772222, + "real": -0.282174 + }, + { + "imag": -0.773403, + "real": -0.286465 + }, + { + "imag": -0.134411, + "real": 0.056986 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.081126, + "real": 0.059656 + }, + { + "imag": -0.760371, + "real": -0.311987 + }, + { + "imag": -0.761589, + "real": -0.31581 + }, + { + "imag": -0.13445, + "real": 0.052665 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.081903, + "real": 0.055024 + }, + { + "imag": -0.747404, + "real": -0.340842 + }, + { + "imag": -0.748088, + "real": -0.34485 + }, + { + "imag": -0.134469, + "real": 0.048346 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.082771, + "real": 0.050584 + }, + { + "imag": -0.733499, + "real": -0.368627 + }, + { + "imag": -0.733953, + "real": -0.372944 + }, + { + "imag": -0.134542, + "real": 0.043875 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.084015, + "real": 0.046218 + }, + { + "imag": -0.718352, + "real": -0.396575 + }, + { + "imag": -0.718692, + "real": -0.400141 + }, + { + "imag": -0.134874, + "real": 0.039435 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.085564, + "real": 0.041761 + }, + { + "imag": -0.702087, + "real": -0.423732 + }, + { + "imag": -0.702898, + "real": -0.427654 + }, + { + "imag": -0.135086, + "real": 0.034551 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.087539, + "real": 0.037229 + }, + { + "imag": -0.685182, + "real": -0.449776 + }, + { + "imag": -0.686036, + "real": -0.453069 + }, + { + "imag": -0.135358, + "real": 0.029817 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.089733, + "real": 0.032918 + }, + { + "imag": -0.667124, + "real": -0.475082 + }, + { + "imag": -0.670707, + "real": -0.476538 + }, + { + "imag": -0.136088, + "real": 0.026022 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.092471, + "real": 0.028711 + }, + { + "imag": -0.647948, + "real": -0.49994 + }, + { + "imag": -0.649474, + "real": -0.503712 + }, + { + "imag": -0.13607, + "real": 0.020542 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.095377, + "real": 0.024816 + }, + { + "imag": -0.628406, + "real": -0.523852 + }, + { + "imag": -0.629511, + "real": -0.52805 + }, + { + "imag": -0.136329, + "real": 0.015928 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.098467, + "real": 0.021489 + }, + { + "imag": -0.607717, + "real": -0.547121 + }, + { + "imag": -0.609087, + "real": -0.550997 + }, + { + "imag": -0.136651, + "real": 0.011357 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.101018, + "real": 0.018435 + }, + { + "imag": -0.585558, + "real": -0.569933 + }, + { + "imag": -0.587258, + "real": -0.573603 + }, + { + "imag": -0.137242, + "real": 0.006623 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.103596, + "real": 0.015575 + }, + { + "imag": -0.563469, + "real": -0.591157 + }, + { + "imag": -0.563963, + "real": -0.594933 + }, + { + "imag": -0.137775, + "real": 0.00235 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.106313, + "real": 0.013107 + }, + { + "imag": -0.540279, + "real": -0.611897 + }, + { + "imag": -0.542495, + "real": -0.614833 + }, + { + "imag": -0.138068, + "real": -0.001053 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.108535, + "real": 0.010757 + }, + { + "imag": -0.516434, + "real": -0.63215 + }, + { + "imag": -0.517965, + "real": -0.635792 + }, + { + "imag": -0.138924, + "real": -0.005358 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.110515, + "real": 0.008593 + }, + { + "imag": -0.491859, + "real": -0.651269 + }, + { + "imag": -0.493191, + "real": -0.654341 + }, + { + "imag": -0.139278, + "real": -0.009295 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.112005, + "real": 0.006554 + }, + { + "imag": -0.46663, + "real": -0.669144 + }, + { + "imag": -0.467774, + "real": -0.672257 + }, + { + "imag": -0.139792, + "real": -0.013133 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.113056, + "real": 0.004896 + }, + { + "imag": -0.441167, + "real": -0.686058 + }, + { + "imag": -0.442224, + "real": -0.688895 + }, + { + "imag": -0.139867, + "real": -0.016593 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.113807, + "real": 0.003502 + }, + { + "imag": -0.415343, + "real": -0.701748 + }, + { + "imag": -0.419307, + "real": -0.702077 + }, + { + "imag": -0.13909, + "real": -0.01964 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.114644, + "real": 0.001969 + }, + { + "imag": -0.387606, + "real": -0.717616 + }, + { + "imag": -0.388579, + "real": -0.720431 + }, + { + "imag": -0.139421, + "real": -0.023716 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.114888, + "real": 0.000922 + }, + { + "imag": -0.36, + "real": -0.732043 + }, + { + "imag": -0.360702, + "real": -0.735135 + }, + { + "imag": -0.138275, + "real": -0.027328 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.114446, + "real": -0.000765 + }, + { + "imag": -0.331903, + "real": -0.744538 + }, + { + "imag": -0.332662, + "real": -0.747063 + }, + { + "imag": -0.136826, + "real": -0.031615 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.114005, + "real": -0.002104 + }, + { + "imag": -0.30335, + "real": -0.756295 + }, + { + "imag": -0.304176, + "real": -0.758631 + }, + { + "imag": -0.135421, + "real": -0.036782 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.112901, + "real": -0.003321 + }, + { + "imag": -0.273954, + "real": -0.767471 + }, + { + "imag": -0.275495, + "real": -0.769638 + }, + { + "imag": -0.1341, + "real": -0.041009 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.111805, + "real": -0.004466 + }, + { + "imag": -0.244056, + "real": -0.777431 + }, + { + "imag": -0.245838, + "real": -0.779709 + }, + { + "imag": -0.132538, + "real": -0.04555 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.111657, + "real": -0.00577 + }, + { + "imag": -0.211986, + "real": -0.786048 + }, + { + "imag": -0.213879, + "real": -0.788133 + }, + { + "imag": -0.130223, + "real": -0.050019 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.109828, + "real": -0.006802 + }, + { + "imag": -0.182426, + "real": -0.793282 + }, + { + "imag": -0.184981, + "real": -0.794701 + }, + { + "imag": -0.128591, + "real": -0.054512 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.107245, + "real": -0.009347 + }, + { + "imag": -0.153098, + "real": -0.798796 + }, + { + "imag": -0.153741, + "real": -0.801276 + }, + { + "imag": -0.125877, + "real": -0.058624 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.105551, + "real": -0.011499 + }, + { + "imag": -0.122111, + "real": -0.803724 + }, + { + "imag": -0.12314, + "real": -0.80641 + }, + { + "imag": -0.123343, + "real": -0.063282 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.10406, + "real": -0.013799 + }, + { + "imag": -0.091227, + "real": -0.80725 + }, + { + "imag": -0.092281, + "real": -0.809842 + }, + { + "imag": -0.120361, + "real": -0.068051 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.102423, + "real": -0.016728 + }, + { + "imag": -0.060461, + "real": -0.809528 + }, + { + "imag": -0.060961, + "real": -0.812725 + }, + { + "imag": -0.117593, + "real": -0.072892 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.101228, + "real": -0.019905 + }, + { + "imag": -0.029347, + "real": -0.810657 + }, + { + "imag": -0.03004, + "real": -0.814069 + }, + { + "imag": -0.114603, + "real": -0.078096 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.100229, + "real": -0.022982 + }, + { + "imag": 0.001608, + "real": -0.810664 + }, + { + "imag": 0.001245, + "real": -0.814374 + }, + { + "imag": -0.111904, + "real": -0.082772 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.099299, + "real": -0.026069 + }, + { + "imag": 0.03256, + "real": -0.809925 + }, + { + "imag": 0.032866, + "real": -0.812949 + }, + { + "imag": -0.109363, + "real": -0.087539 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.098541, + "real": -0.029735 + }, + { + "imag": 0.063121, + "real": -0.807387 + }, + { + "imag": 0.063197, + "real": -0.810949 + }, + { + "imag": -0.106771, + "real": -0.091954 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.097761, + "real": -0.033054 + }, + { + "imag": 0.093927, + "real": -0.804066 + }, + { + "imag": 0.096893, + "real": -0.806716 + }, + { + "imag": -0.10378, + "real": -0.097142 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.097041, + "real": -0.036643 + }, + { + "imag": 0.124209, + "real": -0.799714 + }, + { + "imag": 0.124509, + "real": -0.803046 + }, + { + "imag": -0.101917, + "real": -0.100265 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.095773, + "real": -0.040853 + }, + { + "imag": 0.154794, + "real": -0.79379 + }, + { + "imag": 0.156161, + "real": -0.796931 + }, + { + "imag": -0.099992, + "real": -0.103863 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.094778, + "real": -0.044578 + }, + { + "imag": 0.18445, + "real": -0.787033 + }, + { + "imag": 0.186687, + "real": -0.789488 + }, + { + "imag": -0.098252, + "real": -0.107304 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.094206, + "real": -0.047865 + }, + { + "imag": 0.214128, + "real": -0.779402 + }, + { + "imag": 0.215929, + "real": -0.781974 + }, + { + "imag": -0.096641, + "real": -0.110263 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.093368, + "real": -0.051418 + }, + { + "imag": 0.243186, + "real": -0.770467 + }, + { + "imag": 0.24445, + "real": -0.774341 + }, + { + "imag": -0.094977, + "real": -0.11237 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.091427, + "real": -0.054818 + }, + { + "imag": 0.272048, + "real": -0.761136 + }, + { + "imag": 0.273926, + "real": -0.763532 + }, + { + "imag": -0.09311, + "real": -0.114764 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.089863, + "real": -0.05813 + }, + { + "imag": 0.300988, + "real": -0.749789 + }, + { + "imag": 0.303402, + "real": -0.751625 + }, + { + "imag": -0.091247, + "real": -0.116295 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.088088, + "real": -0.061344 + }, + { + "imag": 0.32843, + "real": -0.737796 + }, + { + "imag": 0.330731, + "real": -0.739658 + }, + { + "imag": -0.088827, + "real": -0.117818 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.085955, + "real": -0.063984 + }, + { + "imag": 0.355414, + "real": -0.724988 + }, + { + "imag": 0.358877, + "real": -0.726126 + }, + { + "imag": -0.086607, + "real": -0.11939 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.083533, + "real": -0.066532 + }, + { + "imag": 0.383316, + "real": -0.710705 + }, + { + "imag": 0.38461, + "real": -0.712236 + }, + { + "imag": -0.084439, + "real": -0.120789 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.080677, + "real": -0.068785 + }, + { + "imag": 0.410323, + "real": -0.69578 + }, + { + "imag": 0.411913, + "real": -0.696762 + }, + { + "imag": -0.082181, + "real": -0.121287 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.077522, + "real": -0.071071 + }, + { + "imag": 0.436092, + "real": -0.679199 + }, + { + "imag": 0.438317, + "real": -0.680754 + }, + { + "imag": -0.080303, + "real": -0.121838 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.073738, + "real": -0.073057 + }, + { + "imag": 0.461058, + "real": -0.662082 + }, + { + "imag": 0.463445, + "real": -0.663694 + }, + { + "imag": -0.078055, + "real": -0.121981 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.069531, + "real": -0.074847 + }, + { + "imag": 0.485924, + "real": -0.643846 + }, + { + "imag": 0.488142, + "real": -0.64586 + }, + { + "imag": -0.075319, + "real": -0.122093 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.065107, + "real": -0.076752 + }, + { + "imag": 0.509543, + "real": -0.624948 + }, + { + "imag": 0.511691, + "real": -0.62737 + }, + { + "imag": -0.072607, + "real": -0.121939 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.060495, + "real": -0.079298 + }, + { + "imag": 0.532734, + "real": -0.604977 + }, + { + "imag": 0.53494, + "real": -0.60696 + }, + { + "imag": -0.069355, + "real": -0.121488 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.055667, + "real": -0.081259 + }, + { + "imag": 0.555644, + "real": -0.583259 + }, + { + "imag": 0.558408, + "real": -0.585161 + }, + { + "imag": -0.066169, + "real": -0.120893 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.050483, + "real": -0.082586 + }, + { + "imag": 0.576218, + "real": -0.560786 + }, + { + "imag": 0.578615, + "real": -0.563447 + }, + { + "imag": -0.06372, + "real": -0.121434 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.046891, + "real": -0.08486 + }, + { + "imag": 0.596769, + "real": -0.539678 + }, + { + "imag": 0.599492, + "real": -0.541533 + }, + { + "imag": -0.058486, + "real": -0.121689 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.042785, + "real": -0.087608 + }, + { + "imag": 0.617409, + "real": -0.516762 + }, + { + "imag": 0.620217, + "real": -0.517952 + }, + { + "imag": -0.05392, + "real": -0.12118 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.037916, + "real": -0.089934 + }, + { + "imag": 0.636131, + "real": -0.493093 + }, + { + "imag": 0.643376, + "real": -0.490236 + }, + { + "imag": -0.047904, + "real": -0.122441 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.033323, + "real": -0.093653 + }, + { + "imag": 0.654526, + "real": -0.467673 + }, + { + "imag": 0.657654, + "real": -0.468536 + }, + { + "imag": -0.045524, + "real": -0.120773 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.029183, + "real": -0.09649 + }, + { + "imag": 0.671658, + "real": -0.442396 + }, + { + "imag": 0.674339, + "real": -0.442188 + }, + { + "imag": -0.041425, + "real": -0.120621 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.025217, + "real": -0.09918 + }, + { + "imag": 0.687161, + "real": -0.416088 + }, + { + "imag": 0.690143, + "real": -0.416119 + }, + { + "imag": -0.037232, + "real": -0.120986 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.021259, + "real": -0.102013 + }, + { + "imag": 0.701958, + "real": -0.389383 + }, + { + "imag": 0.705131, + "real": -0.388992 + }, + { + "imag": -0.0332, + "real": -0.121165 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.017947, + "real": -0.105352 + }, + { + "imag": 0.715581, + "real": -0.362333 + }, + { + "imag": 0.718599, + "real": -0.361187 + }, + { + "imag": -0.029476, + "real": -0.121805 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.014719, + "real": -0.108164 + }, + { + "imag": 0.72829, + "real": -0.334252 + }, + { + "imag": 0.731523, + "real": -0.333059 + }, + { + "imag": -0.02594, + "real": -0.122386 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.011684, + "real": -0.110919 + }, + { + "imag": 0.739841, + "real": -0.30582 + }, + { + "imag": 0.742927, + "real": -0.304342 + }, + { + "imag": -0.022522, + "real": -0.122532 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.009469, + "real": -0.113258 + }, + { + "imag": 0.750387, + "real": -0.277489 + }, + { + "imag": 0.752856, + "real": -0.276509 + }, + { + "imag": -0.018886, + "real": -0.122571 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.007458, + "real": -0.115569 + }, + { + "imag": 0.760409, + "real": -0.248985 + }, + { + "imag": 0.763034, + "real": -0.247368 + }, + { + "imag": -0.015432, + "real": -0.123097 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.005404, + "real": -0.117964 + }, + { + "imag": 0.769279, + "real": -0.219841 + }, + { + "imag": 0.7719, + "real": -0.21705 + }, + { + "imag": -0.012459, + "real": -0.123688 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.0038, + "real": -0.119701 + }, + { + "imag": 0.776441, + "real": -0.189784 + }, + { + "imag": 0.778668, + "real": -0.187374 + }, + { + "imag": -0.009282, + "real": -0.12427 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.00282, + "real": -0.120928 + }, + { + "imag": 0.782504, + "real": -0.1599 + }, + { + "imag": 0.785, + "real": -0.157773 + }, + { + "imag": -0.006514, + "real": -0.124797 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.001608, + "real": -0.121277 + }, + { + "imag": 0.787574, + "real": -0.130023 + }, + { + "imag": 0.790168, + "real": -0.127323 + }, + { + "imag": -0.004339, + "real": -0.125269 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -6.6e-05, + "real": -0.121364 + }, + { + "imag": 0.79167, + "real": -0.099615 + }, + { + "imag": 0.797999, + "real": -0.083643 + }, + { + "imag": -0.001938, + "real": -0.122248 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.000994, + "real": -0.12079 + }, + { + "imag": 0.794342, + "real": -0.070362 + }, + { + "imag": 0.797268, + "real": -0.06738 + }, + { + "imag": -0.000681, + "real": -0.125704 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.002215, + "real": -0.119596 + }, + { + "imag": 0.795763, + "real": -0.040271 + }, + { + "imag": 0.798945, + "real": -0.037285 + }, + { + "imag": 0.001142, + "real": -0.125514 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.00363, + "real": -0.118459 + }, + { + "imag": 0.796681, + "real": -0.010267 + }, + { + "imag": 0.799459, + "real": -0.007123 + }, + { + "imag": 0.002841, + "real": -0.124901 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.005317, + "real": -0.116648 + }, + { + "imag": 0.796242, + "real": 0.019704 + }, + { + "imag": 0.799855, + "real": 0.022575 + }, + { + "imag": 0.004106, + "real": -0.124276 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.006483, + "real": -0.114408 + }, + { + "imag": 0.794328, + "real": 0.049055 + }, + { + "imag": 0.797915, + "real": 0.052514 + }, + { + "imag": 0.005693, + "real": -0.123354 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.0085, + "real": -0.111567 + }, + { + "imag": 0.792012, + "real": 0.079986 + }, + { + "imag": 0.796064, + "real": 0.082942 + }, + { + "imag": 0.007296, + "real": -0.12216 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.010569, + "real": -0.108071 + }, + { + "imag": 0.789299, + "real": 0.110446 + }, + { + "imag": 0.792968, + "real": 0.11341 + }, + { + "imag": 0.008688, + "real": -0.121654 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.012878, + "real": -0.105074 + }, + { + "imag": 0.784872, + "real": 0.140658 + }, + { + "imag": 0.788596, + "real": 0.142932 + }, + { + "imag": 0.010165, + "real": -0.120408 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.015835, + "real": -0.101847 + }, + { + "imag": 0.778581, + "real": 0.170309 + }, + { + "imag": 0.782269, + "real": 0.173087 + }, + { + "imag": 0.011572, + "real": -0.119093 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.018228, + "real": -0.098785 + }, + { + "imag": 0.771546, + "real": 0.199901 + }, + { + "imag": 0.775373, + "real": 0.202174 + }, + { + "imag": 0.012647, + "real": -0.117692 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.022193, + "real": -0.095199 + }, + { + "imag": 0.763254, + "real": 0.229295 + }, + { + "imag": 0.766277, + "real": 0.231871 + }, + { + "imag": 0.01416, + "real": -0.116292 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.026721, + "real": -0.091537 + }, + { + "imag": 0.753947, + "real": 0.258395 + }, + { + "imag": 0.756257, + "real": 0.261029 + }, + { + "imag": 0.015496, + "real": -0.114998 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.031, + "real": -0.088816 + }, + { + "imag": 0.743208, + "real": 0.286859 + }, + { + "imag": 0.746091, + "real": 0.289524 + }, + { + "imag": 0.017121, + "real": -0.113895 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.035327, + "real": -0.086258 + }, + { + "imag": 0.731163, + "real": 0.315122 + }, + { + "imag": 0.734744, + "real": 0.317415 + }, + { + "imag": 0.018283, + "real": -0.11269 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.04017, + "real": -0.083199 + }, + { + "imag": 0.718065, + "real": 0.341812 + }, + { + "imag": 0.721006, + "real": 0.344422 + }, + { + "imag": 0.019375, + "real": -0.111108 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.044797, + "real": -0.080754 + }, + { + "imag": 0.703738, + "real": 0.368876 + }, + { + "imag": 0.706628, + "real": 0.371415 + }, + { + "imag": 0.020815, + "real": -0.109486 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.048819, + "real": -0.078229 + }, + { + "imag": 0.68913, + "real": 0.395814 + }, + { + "imag": 0.692243, + "real": 0.397988 + }, + { + "imag": 0.022178, + "real": -0.108063 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.053321, + "real": -0.076127 + }, + { + "imag": 0.67355, + "real": 0.421489 + }, + { + "imag": 0.675699, + "real": 0.423466 + }, + { + "imag": 0.023534, + "real": -0.106932 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.057667, + "real": -0.074283 + }, + { + "imag": 0.656481, + "real": 0.446422 + }, + { + "imag": 0.65835, + "real": 0.448961 + }, + { + "imag": 0.025504, + "real": -0.105353 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.061803, + "real": -0.072621 + }, + { + "imag": 0.638967, + "real": 0.470305 + }, + { + "imag": 0.640257, + "real": 0.473832 + }, + { + "imag": 0.026889, + "real": -0.104363 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.06545, + "real": -0.070679 + }, + { + "imag": 0.620655, + "real": 0.49389 + }, + { + "imag": 0.623069, + "real": 0.49676 + }, + { + "imag": 0.028638, + "real": -0.103641 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.068673, + "real": -0.069491 + }, + { + "imag": 0.601427, + "real": 0.51617 + }, + { + "imag": 0.602274, + "real": 0.520736 + }, + { + "imag": 0.030193, + "real": -0.103091 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.071456, + "real": -0.068733 + }, + { + "imag": 0.581517, + "real": 0.537818 + }, + { + "imag": 0.581365, + "real": 0.542813 + }, + { + "imag": 0.031704, + "real": -0.102769 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.074134, + "real": -0.067627 + }, + { + "imag": 0.560612, + "real": 0.558942 + }, + { + "imag": 0.559851, + "real": 0.563567 + }, + { + "imag": 0.0331, + "real": -0.102676 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.076778, + "real": -0.066387 + }, + { + "imag": 0.539436, + "real": 0.579313 + }, + { + "imag": 0.537783, + "real": 0.583868 + }, + { + "imag": 0.033759, + "real": -0.102498 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.0781, + "real": -0.0654 + }, + { + "imag": 0.516974, + "real": 0.599023 + }, + { + "imag": 0.515033, + "real": 0.602682 + }, + { + "imag": 0.034718, + "real": -0.102283 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.078756, + "real": -0.064786 + }, + { + "imag": 0.493725, + "real": 0.617555 + }, + { + "imag": 0.491542, + "real": 0.621107 + }, + { + "imag": 0.035753, + "real": -0.102161 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.078464, + "real": -0.063659 + }, + { + "imag": 0.469725, + "real": 0.636335 + }, + { + "imag": 0.466982, + "real": 0.639255 + }, + { + "imag": 0.036631, + "real": -0.100992 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.077649, + "real": -0.062092 + }, + { + "imag": 0.444913, + "real": 0.653722 + }, + { + "imag": 0.44198, + "real": 0.65603 + }, + { + "imag": 0.037488, + "real": -0.099929 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.076399, + "real": -0.061036 + }, + { + "imag": 0.420325, + "real": 0.669838 + }, + { + "imag": 0.417445, + "real": 0.671623 + }, + { + "imag": 0.038354, + "real": -0.09897 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.074373, + "real": -0.060646 + }, + { + "imag": 0.395281, + "real": 0.685527 + }, + { + "imag": 0.392564, + "real": 0.687137 + }, + { + "imag": 0.039304, + "real": -0.098533 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.072547, + "real": -0.059339 + }, + { + "imag": 0.369211, + "real": 0.700219 + }, + { + "imag": 0.366378, + "real": 0.701602 + }, + { + "imag": 0.040357, + "real": -0.097411 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.070504, + "real": -0.057473 + }, + { + "imag": 0.342367, + "real": 0.7139 + }, + { + "imag": 0.3399, + "real": 0.714863 + }, + { + "imag": 0.041462, + "real": -0.096599 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.067626, + "real": -0.055244 + }, + { + "imag": 0.314878, + "real": 0.725868 + }, + { + "imag": 0.314064, + "real": 0.727153 + }, + { + "imag": 0.041847, + "real": -0.096069 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.064049, + "real": -0.052958 + }, + { + "imag": 0.286124, + "real": 0.736925 + }, + { + "imag": 0.28629, + "real": 0.740113 + }, + { + "imag": 0.043221, + "real": -0.095457 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.061327, + "real": -0.050992 + }, + { + "imag": 0.257458, + "real": 0.746671 + }, + { + "imag": 0.255976, + "real": 0.752084 + }, + { + "imag": 0.045026, + "real": -0.094861 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.058612, + "real": -0.048929 + }, + { + "imag": 0.227932, + "real": 0.755776 + }, + { + "imag": 0.226129, + "real": 0.761184 + }, + { + "imag": 0.046206, + "real": -0.094354 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.055633, + "real": -0.045924 + }, + { + "imag": 0.198506, + "real": 0.763308 + }, + { + "imag": 0.196914, + "real": 0.768846 + }, + { + "imag": 0.047064, + "real": -0.093603 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.052667, + "real": -0.043315 + }, + { + "imag": 0.168738, + "real": 0.76974 + }, + { + "imag": 0.167403, + "real": 0.775685 + }, + { + "imag": 0.047935, + "real": -0.092776 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.049787, + "real": -0.040557 + }, + { + "imag": 0.138858, + "real": 0.775092 + }, + { + "imag": 0.137351, + "real": 0.780919 + }, + { + "imag": 0.048769, + "real": -0.091858 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.046765, + "real": -0.037456 + }, + { + "imag": 0.109079, + "real": 0.779362 + }, + { + "imag": 0.107809, + "real": 0.784835 + }, + { + "imag": 0.04978, + "real": -0.090972 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.044261, + "real": -0.034709 + }, + { + "imag": 0.079267, + "real": 0.782166 + }, + { + "imag": 0.078019, + "real": 0.787418 + }, + { + "imag": 0.050394, + "real": -0.089915 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.042852, + "real": -0.031358 + }, + { + "imag": 0.049596, + "real": 0.784283 + }, + { + "imag": 0.047858, + "real": 0.78915 + }, + { + "imag": 0.051472, + "real": -0.089468 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.041187, + "real": -0.028889 + }, + { + "imag": 0.019474, + "real": 0.78488 + }, + { + "imag": 0.017895, + "real": 0.790021 + }, + { + "imag": 0.052407, + "real": -0.088826 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.041392, + "real": -0.025763 + }, + { + "imag": -0.010213, + "real": 0.784647 + }, + { + "imag": -0.012214, + "real": 0.790039 + }, + { + "imag": 0.053577, + "real": -0.087812 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.040635, + "real": -0.02364 + }, + { + "imag": -0.039741, + "real": 0.783135 + }, + { + "imag": -0.041618, + "real": 0.788999 + }, + { + "imag": 0.054901, + "real": -0.086864 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.039256, + "real": -0.021441 + }, + { + "imag": -0.068959, + "real": 0.780067 + }, + { + "imag": -0.07092, + "real": 0.786701 + }, + { + "imag": 0.056731, + "real": -0.086215 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.039509, + "real": -0.019878 + }, + { + "imag": -0.098078, + "real": 0.776395 + }, + { + "imag": -0.099894, + "real": 0.78286 + }, + { + "imag": 0.058789, + "real": -0.086191 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.039222, + "real": -0.01784 + }, + { + "imag": -0.127992, + "real": 0.771843 + }, + { + "imag": -0.129265, + "real": 0.77816 + }, + { + "imag": 0.060126, + "real": -0.086804 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.040122, + "real": -0.01647 + }, + { + "imag": -0.156988, + "real": 0.766348 + }, + { + "imag": -0.158447, + "real": 0.772013 + }, + { + "imag": 0.061746, + "real": -0.08701 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.041132, + "real": -0.015371 + }, + { + "imag": -0.185908, + "real": 0.75959 + }, + { + "imag": -0.187488, + "real": 0.764638 + }, + { + "imag": 0.063139, + "real": -0.087153 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.041968, + "real": -0.014686 + }, + { + "imag": -0.213934, + "real": 0.751868 + }, + { + "imag": -0.216473, + "real": 0.756709 + }, + { + "imag": 0.064497, + "real": -0.087046 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.04341, + "real": -0.014616 + }, + { + "imag": -0.242047, + "real": 0.743191 + }, + { + "imag": -0.245427, + "real": 0.747724 + }, + { + "imag": 0.065545, + "real": -0.087041 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.044303, + "real": -0.014344 + }, + { + "imag": -0.270065, + "real": 0.733991 + }, + { + "imag": -0.273322, + "real": 0.737576 + }, + { + "imag": 0.06681, + "real": -0.086995 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.044559, + "real": -0.014301 + }, + { + "imag": -0.296397, + "real": 0.721833 + }, + { + "imag": -0.300075, + "real": 0.72698 + }, + { + "imag": 0.068373, + "real": -0.086766 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.047929, + "real": -0.012685 + }, + { + "imag": -0.326603, + "real": 0.709706 + }, + { + "imag": -0.332364, + "real": 0.711296 + }, + { + "imag": 0.070825, + "real": -0.083979 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.047495, + "real": -0.014554 + }, + { + "imag": -0.35149, + "real": 0.697796 + }, + { + "imag": -0.354327, + "real": 0.701291 + }, + { + "imag": 0.071278, + "real": -0.086554 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.048612, + "real": -0.015072 + }, + { + "imag": -0.377505, + "real": 0.683901 + }, + { + "imag": -0.380683, + "real": 0.686869 + }, + { + "imag": 0.072786, + "real": -0.086259 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.048902, + "real": -0.015904 + }, + { + "imag": -0.403245, + "real": 0.668839 + }, + { + "imag": -0.406279, + "real": 0.671252 + }, + { + "imag": 0.074252, + "real": -0.086047 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.049481, + "real": -0.016711 + }, + { + "imag": -0.428028, + "real": 0.652722 + }, + { + "imag": -0.431931, + "real": 0.654529 + }, + { + "imag": 0.075648, + "real": -0.085707 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.049561, + "real": -0.017419 + }, + { + "imag": -0.452668, + "real": 0.635411 + }, + { + "imag": -0.456357, + "real": 0.637321 + }, + { + "imag": 0.077218, + "real": -0.085455 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.049613, + "real": -0.018078 + }, + { + "imag": -0.475981, + "real": 0.617217 + }, + { + "imag": -0.480384, + "real": 0.619099 + }, + { + "imag": 0.078567, + "real": -0.085323 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.049128, + "real": -0.019143 + }, + { + "imag": -0.498654, + "real": 0.598158 + }, + { + "imag": -0.503739, + "real": 0.599982 + }, + { + "imag": 0.079629, + "real": -0.085188 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.048664, + "real": -0.020195 + }, + { + "imag": -0.521211, + "real": 0.577852 + }, + { + "imag": -0.526257, + "real": 0.579244 + }, + { + "imag": 0.081211, + "real": -0.08518 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.047958, + "real": -0.020809 + }, + { + "imag": -0.543417, + "real": 0.557377 + }, + { + "imag": -0.547969, + "real": 0.558226 + }, + { + "imag": 0.082873, + "real": -0.085527 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.047276, + "real": -0.02204 + }, + { + "imag": -0.563752, + "real": 0.536051 + }, + { + "imag": -0.568609, + "real": 0.536477 + }, + { + "imag": 0.084482, + "real": -0.085911 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.046613, + "real": -0.022852 + }, + { + "imag": -0.581999, + "real": 0.513831 + }, + { + "imag": -0.587762, + "real": 0.514003 + }, + { + "imag": 0.085313, + "real": -0.086274 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.045597, + "real": -0.024005 + }, + { + "imag": -0.600736, + "real": 0.490968 + }, + { + "imag": -0.60648, + "real": 0.490741 + }, + { + "imag": 0.086612, + "real": -0.08682 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.045007, + "real": -0.024653 + }, + { + "imag": -0.618498, + "real": 0.467599 + }, + { + "imag": -0.623957, + "real": 0.466835 + }, + { + "imag": 0.08776, + "real": -0.086845 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.044487, + "real": -0.025619 + }, + { + "imag": -0.635198, + "real": 0.443524 + }, + { + "imag": -0.640457, + "real": 0.442036 + }, + { + "imag": 0.088791, + "real": -0.087351 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.044209, + "real": -0.026509 + }, + { + "imag": -0.650952, + "real": 0.418982 + }, + { + "imag": -0.655802, + "real": 0.41705 + }, + { + "imag": 0.08987, + "real": -0.088182 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.044532, + "real": -0.027519 + }, + { + "imag": -0.666328, + "real": 0.394266 + }, + { + "imag": -0.67042, + "real": 0.391973 + }, + { + "imag": 0.091291, + "real": -0.088349 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.044377, + "real": -0.028425 + }, + { + "imag": -0.679885, + "real": 0.368758 + }, + { + "imag": -0.684296, + "real": 0.366283 + }, + { + "imag": 0.092466, + "real": -0.089386 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.045333, + "real": -0.029653 + }, + { + "imag": -0.692872, + "real": 0.343003 + }, + { + "imag": -0.697085, + "real": 0.340365 + }, + { + "imag": 0.0934, + "real": -0.08998 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.046329, + "real": -0.030936 + }, + { + "imag": -0.706789, + "real": 0.315554 + }, + { + "imag": -0.709134, + "real": 0.314369 + }, + { + "imag": 0.093398, + "real": -0.090548 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.047384, + "real": -0.032404 + }, + { + "imag": -0.717903, + "real": 0.289725 + }, + { + "imag": -0.720251, + "real": 0.287736 + }, + { + "imag": 0.094015, + "real": -0.09162 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.049, + "real": -0.033854 + }, + { + "imag": -0.726736, + "real": 0.262494 + }, + { + "imag": -0.730686, + "real": 0.261201 + }, + { + "imag": 0.094746, + "real": -0.09302 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.050737, + "real": -0.034958 + }, + { + "imag": -0.736213, + "real": 0.234178 + }, + { + "imag": -0.739549, + "real": 0.233387 + }, + { + "imag": 0.094827, + "real": -0.093256 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.052615, + "real": -0.03662 + }, + { + "imag": -0.744458, + "real": 0.206325 + }, + { + "imag": -0.746872, + "real": 0.20544 + }, + { + "imag": 0.094909, + "real": -0.094191 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.05481, + "real": -0.038297 + }, + { + "imag": -0.751973, + "real": 0.178064 + }, + { + "imag": -0.754046, + "real": 0.176786 + }, + { + "imag": 0.094594, + "real": -0.094844 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.057651, + "real": -0.0397 + }, + { + "imag": -0.758132, + "real": 0.148986 + }, + { + "imag": -0.760316, + "real": 0.148144 + }, + { + "imag": 0.094481, + "real": -0.094599 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.060254, + "real": -0.041318 + }, + { + "imag": -0.763657, + "real": 0.120031 + }, + { + "imag": -0.765716, + "real": 0.118979 + }, + { + "imag": 0.094266, + "real": -0.094554 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.063034, + "real": -0.043024 + }, + { + "imag": -0.768086, + "real": 0.09081 + }, + { + "imag": -0.769583, + "real": 0.089608 + }, + { + "imag": 0.093986, + "real": -0.0942 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.065421, + "real": -0.044649 + }, + { + "imag": -0.771178, + "real": 0.061431 + }, + { + "imag": -0.772617, + "real": 0.060271 + }, + { + "imag": 0.093648, + "real": -0.093915 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.067349, + "real": -0.046614 + }, + { + "imag": -0.772056, + "real": 0.032418 + }, + { + "imag": -0.774038, + "real": 0.031304 + }, + { + "imag": 0.093786, + "real": -0.092976 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.069635, + "real": -0.048038 + }, + { + "imag": -0.772925, + "real": 0.002808 + }, + { + "imag": -0.773986, + "real": 0.001055 + }, + { + "imag": 0.09372, + "real": -0.091968 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.07254, + "real": -0.048946 + }, + { + "imag": -0.77216, + "real": -0.02702 + }, + { + "imag": -0.772758, + "real": -0.028337 + }, + { + "imag": 0.093353, + "real": -0.090695 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.075012, + "real": -0.049655 + }, + { + "imag": -0.770147, + "real": -0.056908 + }, + { + "imag": -0.770384, + "real": -0.058532 + }, + { + "imag": 0.093687, + "real": -0.089074 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.077283, + "real": -0.050746 + }, + { + "imag": -0.767169, + "real": -0.086618 + }, + { + "imag": -0.767067, + "real": -0.08817 + }, + { + "imag": 0.094348, + "real": -0.086808 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.079534, + "real": -0.051222 + }, + { + "imag": -0.762814, + "real": -0.116111 + }, + { + "imag": -0.762547, + "real": -0.11815 + }, + { + "imag": 0.095597, + "real": -0.084682 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.08192, + "real": -0.051226 + }, + { + "imag": -0.757148, + "real": -0.145227 + }, + { + "imag": -0.75734, + "real": -0.147637 + }, + { + "imag": 0.097122, + "real": -0.082028 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.084166, + "real": -0.050759 + }, + { + "imag": -0.750597, + "real": -0.173676 + }, + { + "imag": -0.750467, + "real": -0.176314 + }, + { + "imag": 0.098799, + "real": -0.079255 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.086647, + "real": -0.050195 + }, + { + "imag": -0.74198, + "real": -0.201865 + }, + { + "imag": -0.74254, + "real": -0.204252 + }, + { + "imag": 0.100588, + "real": -0.076331 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.089382, + "real": -0.04887 + }, + { + "imag": -0.733344, + "real": -0.229326 + }, + { + "imag": -0.732585, + "real": -0.232151 + }, + { + "imag": 0.103085, + "real": -0.072963 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.091902, + "real": -0.04668 + }, + { + "imag": -0.723798, + "real": -0.256277 + }, + { + "imag": -0.7223, + "real": -0.259053 + }, + { + "imag": 0.10636, + "real": -0.069807 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.094351, + "real": -0.043861 + }, + { + "imag": -0.712609, + "real": -0.282832 + }, + { + "imag": -0.711007, + "real": -0.285429 + }, + { + "imag": 0.110295, + "real": -0.065656 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.096642, + "real": -0.04045 + }, + { + "imag": -0.700784, + "real": -0.310146 + }, + { + "imag": -0.697732, + "real": -0.31556 + }, + { + "imag": 0.111417, + "real": -0.064206 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.099783, + "real": -0.037014 + }, + { + "imag": -0.688724, + "real": -0.334847 + }, + { + "imag": -0.686423, + "real": -0.337897 + }, + { + "imag": 0.117473, + "real": -0.059681 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.103338, + "real": -0.032999 + }, + { + "imag": -0.675084, + "real": -0.360011 + }, + { + "imag": -0.672721, + "real": -0.362722 + }, + { + "imag": 0.12275, + "real": -0.056036999999999997 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.106093, + "real": -0.028403 + }, + { + "imag": -0.659986, + "real": -0.384592 + }, + { + "imag": -0.658547, + "real": -0.386929 + }, + { + "imag": 0.127511, + "real": -0.052545 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.109265, + "real": -0.021583 + }, + { + "imag": -0.644028, + "real": -0.408168 + }, + { + "imag": -0.642946, + "real": -0.410146 + }, + { + "imag": 0.132199, + "real": -0.050053 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.112523, + "real": -0.015474 + }, + { + "imag": -0.628107, + "real": -0.430699 + }, + { + "imag": -0.626779, + "real": -0.431757 + }, + { + "imag": 0.137667, + "real": -0.047595 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.115544, + "real": -0.008633 + }, + { + "imag": -0.611046, + "real": -0.452623 + }, + { + "imag": -0.609749, + "real": -0.4536 + }, + { + "imag": 0.141443, + "real": -0.044434 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.118174, + "real": -0.000891 + }, + { + "imag": -0.593494, + "real": -0.473168 + }, + { + "imag": -0.593061, + "real": -0.474755 + }, + { + "imag": 0.144288, + "real": -0.042114 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.119771, + "real": 0.005411 + }, + { + "imag": -0.576397, + "real": -0.493506 + }, + { + "imag": -0.576026, + "real": -0.495543 + }, + { + "imag": 0.147837, + "real": -0.040151 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.12168, + "real": 0.012195 + }, + { + "imag": -0.558729, + "real": -0.513805 + }, + { + "imag": -0.558171, + "real": -0.516993 + }, + { + "imag": 0.148802, + "real": -0.039377 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.123786, + "real": 0.017677 + }, + { + "imag": -0.539472, + "real": -0.534356 + }, + { + "imag": -0.539477, + "real": -0.537325 + }, + { + "imag": 0.148607, + "real": -0.038168 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.126392, + "real": 0.02294 + }, + { + "imag": -0.519299, + "real": -0.554412 + }, + { + "imag": -0.519262, + "real": -0.558025 + }, + { + "imag": 0.149677, + "real": -0.03853 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.129071, + "real": 0.02807 + }, + { + "imag": -0.498439, + "real": -0.573472 + }, + { + "imag": -0.498735, + "real": -0.577302 + }, + { + "imag": 0.150328, + "real": -0.038623 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.132013, + "real": 0.032923 + }, + { + "imag": -0.476434, + "real": -0.591323 + }, + { + "imag": -0.476281, + "real": -0.595325 + }, + { + "imag": 0.151317, + "real": -0.038719 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.134785, + "real": 0.0374 + }, + { + "imag": -0.45398, + "real": -0.609512 + }, + { + "imag": -0.453384, + "real": -0.613315 + }, + { + "imag": 0.151409, + "real": -0.04007 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.137491, + "real": 0.042152 + }, + { + "imag": -0.430908, + "real": -0.625982 + }, + { + "imag": -0.429472, + "real": -0.62955 + }, + { + "imag": 0.151243, + "real": -0.040805 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.14013, + "real": 0.046495 + }, + { + "imag": -0.407866, + "real": -0.642011 + }, + { + "imag": -0.405883, + "real": -0.645341 + }, + { + "imag": 0.150422, + "real": -0.041397 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.142155, + "real": 0.051889 + }, + { + "imag": -0.38319, + "real": -0.656894 + }, + { + "imag": -0.381363, + "real": -0.660265 + }, + { + "imag": 0.150226, + "real": -0.040435 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.143836, + "real": 0.057345 + }, + { + "imag": -0.358858, + "real": -0.670414 + }, + { + "imag": -0.356547, + "real": -0.67397 + }, + { + "imag": 0.148942, + "real": -0.039428 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.145398, + "real": 0.061901 + }, + { + "imag": -0.332874, + "real": -0.684042 + }, + { + "imag": -0.330605, + "real": -0.687254 + }, + { + "imag": 0.147881, + "real": -0.038552 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.146425, + "real": 0.066718 + }, + { + "imag": -0.306791, + "real": -0.697136 + }, + { + "imag": -0.304005, + "real": -0.69908 + }, + { + "imag": 0.146224, + "real": -0.03582 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.147017, + "real": 0.071117 + }, + { + "imag": -0.280199, + "real": -0.709183 + }, + { + "imag": -0.276879, + "real": -0.709966 + }, + { + "imag": 0.14408, + "real": -0.032479 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.147011, + "real": 0.075952 + }, + { + "imag": -0.251528, + "real": -0.720642 + }, + { + "imag": -0.249701, + "real": -0.720522 + }, + { + "imag": 0.14225, + "real": -0.028909 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.146506, + "real": 0.080338 + }, + { + "imag": -0.222965, + "real": -0.730818 + }, + { + "imag": -0.222267, + "real": -0.729405 + }, + { + "imag": 0.140281, + "real": -0.024273 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.14636, + "real": 0.084829 + }, + { + "imag": -0.194285, + "real": -0.739706 + }, + { + "imag": -0.194461, + "real": -0.737057 + }, + { + "imag": 0.137987, + "real": -0.01919 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.145129, + "real": 0.089642 + }, + { + "imag": -0.165151, + "real": -0.746907 + }, + { + "imag": -0.166288, + "real": -0.743699 + }, + { + "imag": 0.136839, + "real": -0.012843 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.143428, + "real": 0.094937 + }, + { + "imag": -0.135458, + "real": -0.752771 + }, + { + "imag": -0.137214, + "real": -0.749255 + }, + { + "imag": 0.135835, + "real": -0.005849 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.141537, + "real": 0.100776 + }, + { + "imag": -0.10523, + "real": -0.757222 + }, + { + "imag": -0.108618, + "real": -0.753576 + }, + { + "imag": 0.135381, + "real": 0.000766 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.140296, + "real": 0.113318 + }, + { + "imag": -0.070313, + "real": -0.761866 + }, + { + "imag": -0.089636, + "real": -0.753825 + }, + { + "imag": 0.143865, + "real": 0.004467 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.137433, + "real": 0.112344 + }, + { + "imag": -0.046256, + "real": -0.760896 + }, + { + "imag": -0.05129, + "real": -0.759277 + }, + { + "imag": 0.133841, + "real": 0.015682 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.134997, + "real": 0.117143 + }, + { + "imag": -0.016258, + "real": -0.761327 + }, + { + "imag": -0.0217, + "real": -0.760525 + }, + { + "imag": 0.134147, + "real": 0.023166 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.130826, + "real": 0.122568 + }, + { + "imag": 0.011562, + "real": -0.760408 + }, + { + "imag": 0.00696, + "real": -0.760205 + }, + { + "imag": 0.134484, + "real": 0.031019 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.127411, + "real": 0.128486 + }, + { + "imag": 0.03924, + "real": -0.758061 + }, + { + "imag": 0.035042, + "real": -0.758527 + }, + { + "imag": 0.135171, + "real": 0.03846 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.123126, + "real": 0.135805 + }, + { + "imag": 0.066541, + "real": -0.751634 + }, + { + "imag": 0.0659, + "real": -0.754191 + }, + { + "imag": 0.13500499999999999, + "real": 0.047631 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.119103, + "real": 0.139181 + }, + { + "imag": 0.093693, + "real": -0.750868 + }, + { + "imag": 0.091819, + "real": -0.752523 + }, + { + "imag": 0.137412, + "real": 0.053816 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.115007, + "real": 0.143816 + }, + { + "imag": 0.120881, + "real": -0.748518 + }, + { + "imag": 0.119282, + "real": -0.74803 + }, + { + "imag": 0.138607, + "real": 0.06015 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.110141, + "real": 0.149024 + }, + { + "imag": 0.146736, + "real": -0.743817 + }, + { + "imag": 0.146743, + "real": -0.742528 + }, + { + "imag": 0.140115, + "real": 0.066044 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.105332, + "real": 0.154124 + }, + { + "imag": 0.17421, + "real": -0.738435 + }, + { + "imag": 0.174795, + "real": -0.736736 + }, + { + "imag": 0.14214, + "real": 0.072315 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.100771, + "real": 0.158867 + }, + { + "imag": 0.200683, + "real": -0.732335 + }, + { + "imag": 0.201652, + "real": -0.729605 + }, + { + "imag": 0.142962, + "real": 0.077654 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.095811, + "real": 0.163108 + }, + { + "imag": 0.227295, + "real": -0.725672 + }, + { + "imag": 0.228966, + "real": -0.721958 + }, + { + "imag": 0.144572, + "real": 0.082207 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.09084, + "real": 0.167603 + }, + { + "imag": 0.254034, + "real": -0.717757 + }, + { + "imag": 0.255662, + "real": -0.714487 + }, + { + "imag": 0.144787, + "real": 0.086088 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.084923, + "real": 0.170501 + }, + { + "imag": 0.281585, + "real": -0.708278 + }, + { + "imag": 0.283109, + "real": -0.704485 + }, + { + "imag": 0.146203, + "real": 0.089608 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.079218, + "real": 0.173511 + }, + { + "imag": 0.30899, + "real": -0.698231 + }, + { + "imag": 0.310418, + "real": -0.694281 + }, + { + "imag": 0.145737, + "real": 0.091857 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.073117, + "real": 0.176172 + }, + { + "imag": 0.336124, + "real": -0.686859 + }, + { + "imag": 0.336893, + "real": -0.683198 + }, + { + "imag": 0.145455, + "real": 0.09428 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.067428, + "real": 0.177872 + }, + { + "imag": 0.362367, + "real": -0.673835 + }, + { + "imag": 0.363339, + "real": -0.670457 + }, + { + "imag": 0.144843, + "real": 0.097142 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.062602, + "real": 0.178765 + }, + { + "imag": 0.388158, + "real": -0.660784 + }, + { + "imag": 0.388013, + "real": -0.658049 + }, + { + "imag": 0.142388, + "real": 0.101857 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.055551, + "real": 0.180409 + }, + { + "imag": 0.414772, + "real": -0.643929 + }, + { + "imag": 0.415436, + "real": -0.641237 + }, + { + "imag": 0.141792, + "real": 0.102168 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.049254, + "real": 0.181419 + }, + { + "imag": 0.440133, + "real": -0.626677 + }, + { + "imag": 0.439841, + "real": -0.624519 + }, + { + "imag": 0.139933, + "real": 0.103803 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.04312, + "real": 0.182066 + }, + { + "imag": 0.464341, + "real": -0.607984 + }, + { + "imag": 0.463414, + "real": -0.606751 + }, + { + "imag": 0.137094, + "real": 0.10542 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.036887, + "real": 0.182913 + }, + { + "imag": 0.487063, + "real": -0.588094 + }, + { + "imag": 0.486427, + "real": -0.587843 + }, + { + "imag": 0.133974, + "real": 0.107921 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.031089, + "real": 0.183611 + }, + { + "imag": 0.509132, + "real": -0.567487 + }, + { + "imag": 0.509098, + "real": -0.567407 + }, + { + "imag": 0.128473, + "real": 0.109635 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.025064, + "real": 0.183246 + }, + { + "imag": 0.529244, + "real": -0.546479 + }, + { + "imag": 0.528828, + "real": -0.54697 + }, + { + "imag": 0.124064, + "real": 0.111809 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.019046, + "real": 0.182223 + }, + { + "imag": 0.548876, + "real": -0.523968 + }, + { + "imag": 0.548191, + "real": -0.525546 + }, + { + "imag": 0.118501, + "real": 0.114586 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.011476, + "real": 0.181626 + }, + { + "imag": 0.566702, + "real": -0.502324 + }, + { + "imag": 0.566468, + "real": -0.503258 + }, + { + "imag": 0.113637, + "real": 0.116721 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.004704, + "real": 0.180369 + }, + { + "imag": 0.584146, + "real": -0.479021 + }, + { + "imag": 0.583612, + "real": -0.480744 + }, + { + "imag": 0.107534, + "real": 0.119464 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.002258, + "real": 0.178569 + }, + { + "imag": 0.60099, + "real": -0.455551 + }, + { + "imag": 0.600543, + "real": -0.457459 + }, + { + "imag": 0.100521, + "real": 0.123332 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.009397, + "real": 0.177408 + }, + { + "imag": 0.615842, + "real": -0.433095 + }, + { + "imag": 0.6156, + "real": -0.43488 + }, + { + "imag": 0.095053, + "real": 0.124252 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.0165, + "real": 0.176447 + }, + { + "imag": 0.631236, + "real": -0.409861 + }, + { + "imag": 0.629897, + "real": -0.411136 + }, + { + "imag": 0.089051, + "real": 0.127877 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.02334, + "real": 0.175884 + }, + { + "imag": 0.645542, + "real": -0.38644 + }, + { + "imag": 0.64341, + "real": -0.38668 + }, + { + "imag": 0.08182, + "real": 0.130696 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.02981, + "real": 0.173773 + }, + { + "imag": 0.660312, + "real": -0.362499 + }, + { + "imag": 0.658083, + "real": -0.362366 + }, + { + "imag": 0.076764, + "real": 0.132725 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.036381, + "real": 0.172313 + }, + { + "imag": 0.674111, + "real": -0.338539 + }, + { + "imag": 0.671635, + "real": -0.338309 + }, + { + "imag": 0.070632, + "real": 0.135465 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.04298, + "real": 0.170484 + }, + { + "imag": 0.687091, + "real": -0.313381 + }, + { + "imag": 0.684402, + "real": -0.312931 + }, + { + "imag": 0.063541, + "real": 0.137596 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.049742, + "real": 0.168813 + }, + { + "imag": 0.699417, + "real": -0.287228 + }, + { + "imag": 0.696188, + "real": -0.287565 + }, + { + "imag": 0.057444, + "real": 0.139569 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.05628, + "real": 0.166662 + }, + { + "imag": 0.710583, + "real": -0.261392 + }, + { + "imag": 0.707704, + "real": -0.260926 + }, + { + "imag": 0.051116, + "real": 0.141521 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.062661, + "real": 0.163948 + }, + { + "imag": 0.721205, + "real": -0.234159 + }, + { + "imag": 0.71827, + "real": -0.233811 + }, + { + "imag": 0.044119, + "real": 0.14265 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.068937, + "real": 0.161608 + }, + { + "imag": 0.729684, + "real": -0.206407 + }, + { + "imag": 0.726727, + "real": -0.206651 + }, + { + "imag": 0.038229, + "real": 0.143691 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.075024, + "real": 0.158712 + }, + { + "imag": 0.738085, + "real": -0.178285 + }, + { + "imag": 0.735307, + "real": -0.177902 + }, + { + "imag": 0.031612, + "real": 0.144184 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.081548, + "real": 0.156095 + }, + { + "imag": 0.744817, + "real": -0.148836 + }, + { + "imag": 0.742351, + "real": -0.149493 + }, + { + "imag": 0.025146, + "real": 0.144562 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.087442, + "real": 0.153102 + }, + { + "imag": 0.749628, + "real": -0.119726 + }, + { + "imag": 0.747544, + "real": -0.119993 + }, + { + "imag": 0.019354, + "real": 0.144962 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.093151, + "real": 0.150105 + }, + { + "imag": 0.753757, + "real": -0.090833 + }, + { + "imag": 0.752134, + "real": -0.090895 + }, + { + "imag": 0.013171, + "real": 0.144195 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.107608, + "real": 0.154461 + }, + { + "imag": 0.754463, + "real": -0.044586 + }, + { + "imag": 0.753526, + "real": -0.060989 + }, + { + "imag": 0.007734, + "real": 0.144025 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.103741, + "real": 0.143425 + }, + { + "imag": 0.756228, + "real": -0.032913 + }, + { + "imag": 0.75572, + "real": -0.031993 + }, + { + "imag": 0.00082, + "real": 0.142551 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.108478, + "real": 0.139819 + }, + { + "imag": 0.75587, + "real": -0.003644 + }, + { + "imag": 0.755851, + "real": -0.003033 + }, + { + "imag": -0.00505, + "real": 0.141472 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.113112, + "real": 0.134465 + }, + { + "imag": 0.754426, + "real": 0.025764 + }, + { + "imag": 0.754462, + "real": 0.025458 + }, + { + "imag": -0.011341, + "real": 0.139492 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.118005, + "real": 0.12917 + }, + { + "imag": 0.752595, + "real": 0.053317 + }, + { + "imag": 0.751543, + "real": 0.053674 + }, + { + "imag": -0.017264, + "real": 0.138102 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.12207, + "real": 0.124389 + }, + { + "imag": 0.748409, + "real": 0.083224 + }, + { + "imag": 0.748121, + "real": 0.082822 + }, + { + "imag": -0.024716, + "real": 0.135874 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.126226, + "real": 0.11794 + }, + { + "imag": 0.743878, + "real": 0.109099 + }, + { + "imag": 0.744675, + "real": 0.110103 + }, + { + "imag": -0.028014, + "real": 0.134497 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.129737, + "real": 0.11197 + }, + { + "imag": 0.739045, + "real": 0.137847 + }, + { + "imag": 0.738711, + "real": 0.136841 + }, + { + "imag": -0.03357, + "real": 0.132068 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.132372, + "real": 0.105561 + }, + { + "imag": 0.732403, + "real": 0.165386 + }, + { + "imag": 0.732334, + "real": 0.164666 + }, + { + "imag": -0.0381, + "real": 0.12942 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.135554, + "real": 0.099126 + }, + { + "imag": 0.725138, + "real": 0.19272 + }, + { + "imag": 0.724956, + "real": 0.191277 + }, + { + "imag": -0.042554, + "real": 0.12665 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.137744, + "real": 0.092934 + }, + { + "imag": 0.717543, + "real": 0.220185 + }, + { + "imag": 0.717305, + "real": 0.217578 + }, + { + "imag": -0.047106, + "real": 0.123827 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.139292, + "real": 0.087189 + }, + { + "imag": 0.709198, + "real": 0.24503 + }, + { + "imag": 0.708467, + "real": 0.243313 + }, + { + "imag": -0.050403, + "real": 0.1212 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.140377, + "real": 0.0796 + }, + { + "imag": 0.698404, + "real": 0.273102 + }, + { + "imag": 0.698338, + "real": 0.269828 + }, + { + "imag": -0.053948, + "real": 0.11933 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.140989, + "real": 0.07192 + }, + { + "imag": 0.687409, + "real": 0.299646 + }, + { + "imag": 0.687169, + "real": 0.295897 + }, + { + "imag": -0.056844, + "real": 0.115125 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.141396, + "real": 0.064235 + }, + { + "imag": 0.675728, + "real": 0.324895 + }, + { + "imag": 0.676172, + "real": 0.32218 + }, + { + "imag": -0.059423, + "real": 0.11121 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.141405, + "real": 0.056358 + }, + { + "imag": 0.661966, + "real": 0.350979 + }, + { + "imag": 0.664196, + "real": 0.347984 + }, + { + "imag": -0.061759, + "real": 0.106981 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.141177, + "real": 0.049174 + }, + { + "imag": 0.648658, + "real": 0.375466 + }, + { + "imag": 0.651438, + "real": 0.37272 + }, + { + "imag": -0.063695, + "real": 0.103099 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.140611, + "real": 0.041361 + }, + { + "imag": 0.634232, + "real": 0.399807 + }, + { + "imag": 0.637464, + "real": 0.397471 + }, + { + "imag": -0.064899, + "real": 0.098761 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.139853, + "real": 0.034464 + }, + { + "imag": 0.618374, + "real": 0.42383 + }, + { + "imag": 0.622767, + "real": 0.422242 + }, + { + "imag": -0.06643, + "real": 0.094095 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.138809, + "real": 0.027747 + }, + { + "imag": 0.601841, + "real": 0.447236 + }, + { + "imag": 0.607146, + "real": 0.445171 + }, + { + "imag": -0.066644, + "real": 0.090327 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.136998, + "real": 0.021037 + }, + { + "imag": 0.585165, + "real": 0.46884 + }, + { + "imag": 0.58986, + "real": 0.467868 + }, + { + "imag": -0.066736, + "real": 0.084589 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.134358, + "real": 0.013898 + }, + { + "imag": 0.566896, + "real": 0.490419 + }, + { + "imag": 0.572035, + "real": 0.490379 + }, + { + "imag": -0.066499, + "real": 0.077971 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.131445, + "real": 0.007304 + }, + { + "imag": 0.547695, + "real": 0.511808 + }, + { + "imag": 0.552887, + "real": 0.511751 + }, + { + "imag": -0.065678, + "real": 0.073333 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.128188, + "real": 0.000348 + }, + { + "imag": 0.527308, + "real": 0.532604 + }, + { + "imag": 0.532992, + "real": 0.531379 + }, + { + "imag": -0.067153, + "real": 0.067607 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.125389, + "real": -0.006571 + }, + { + "imag": 0.507989, + "real": 0.552069 + }, + { + "imag": 0.511866, + "real": 0.552449 + }, + { + "imag": -0.064131, + "real": 0.060643 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.122088, + "real": -0.012827 + }, + { + "imag": 0.487096, + "real": 0.571344 + }, + { + "imag": 0.490466, + "real": 0.572223 + }, + { + "imag": -0.062062, + "real": 0.051922 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.119214, + "real": -0.018752 + }, + { + "imag": 0.464618, + "real": 0.589206 + }, + { + "imag": 0.467642, + "real": 0.590855 + }, + { + "imag": -0.060063, + "real": 0.043634 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.115538, + "real": -0.02367 + }, + { + "imag": 0.441904, + "real": 0.606722 + }, + { + "imag": 0.444863, + "real": 0.608273 + }, + { + "imag": -0.059923, + "real": 0.035705 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.112158, + "real": -0.028341 + }, + { + "imag": 0.418732, + "real": 0.622686 + }, + { + "imag": 0.420813, + "real": 0.625323 + }, + { + "imag": -0.058619, + "real": 0.028295 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.108775, + "real": -0.03271 + }, + { + "imag": 0.394825, + "real": 0.638695 + }, + { + "imag": 0.396106, + "real": 0.640772 + }, + { + "imag": -0.05585, + "real": 0.021026 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.104765, + "real": -0.037055 + }, + { + "imag": 0.370959, + "real": 0.653337 + }, + { + "imag": 0.370921, + "real": 0.654973 + }, + { + "imag": -0.054499, + "real": 0.011982 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.101238, + "real": -0.03997 + }, + { + "imag": 0.347019, + "real": 0.66694 + }, + { + "imag": 0.344132, + "real": 0.669177 + }, + { + "imag": -0.053642, + "real": 0.005292 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.096577, + "real": -0.044373 + }, + { + "imag": 0.320451, + "real": 0.680303 + }, + { + "imag": 0.319607, + "real": 0.681364 + }, + { + "imag": -0.051576, + "real": -0.004277 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.092508, + "real": -0.047362 + }, + { + "imag": 0.295152, + "real": 0.692579 + }, + { + "imag": 0.292473, + "real": 0.692422 + }, + { + "imag": -0.050533, + "real": -0.014356 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.088271, + "real": -0.050316 + }, + { + "imag": 0.267955, + "real": 0.703667 + }, + { + "imag": 0.26529199999999997, + "real": 0.703595 + }, + { + "imag": -0.048519, + "real": -0.02183 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.083601, + "real": -0.053156 + }, + { + "imag": 0.240752, + "real": 0.713165 + }, + { + "imag": 0.23784, + "real": 0.71257 + }, + { + "imag": -0.049608, + "real": -0.028532 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.079441, + "real": -0.055438 + }, + { + "imag": 0.212639, + "real": 0.722428 + }, + { + "imag": 0.211233, + "real": 0.719997 + }, + { + "imag": -0.047919, + "real": -0.036416 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.074814, + "real": -0.057425 + }, + { + "imag": 0.184513, + "real": 0.730325 + }, + { + "imag": 0.182658, + "real": 0.727438 + }, + { + "imag": -0.046985, + "real": -0.042894 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.07045, + "real": -0.059362 + }, + { + "imag": 0.156472, + "real": 0.736901 + }, + { + "imag": 0.154752, + "real": 0.733936 + }, + { + "imag": -0.044973, + "real": -0.051377 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.065993, + "real": -0.060127 + }, + { + "imag": 0.127814, + "real": 0.742582 + }, + { + "imag": 0.12639, + "real": 0.739249 + }, + { + "imag": -0.044709, + "real": -0.056007 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.061195, + "real": -0.061261 + }, + { + "imag": 0.09879, + "real": 0.746329 + }, + { + "imag": 0.097799, + "real": 0.743632 + }, + { + "imag": -0.04691, + "real": -0.060333 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.055642, + "real": -0.062118 + }, + { + "imag": 0.069467, + "real": 0.749403 + }, + { + "imag": 0.069718, + "real": 0.745947 + }, + { + "imag": -0.046003, + "real": -0.063696 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.05001, + "real": -0.062934 + }, + { + "imag": 0.040729, + "real": 0.750565 + }, + { + "imag": 0.040296, + "real": 0.748889 + }, + { + "imag": -0.045096, + "real": -0.06737 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.044714, + "real": -0.063476 + }, + { + "imag": 0.010748, + "real": 0.750172 + }, + { + "imag": 0.012093, + "real": 0.749008 + }, + { + "imag": -0.045301, + "real": -0.068273 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.039028, + "real": -0.063981 + }, + { + "imag": -0.017365, + "real": 0.748601 + }, + { + "imag": -0.016077, + "real": 0.748706 + }, + { + "imag": -0.042827, + "real": -0.072023 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.033297, + "real": -0.065134 + }, + { + "imag": -0.04522, + "real": 0.74513 + }, + { + "imag": -0.044931, + "real": 0.747213 + }, + { + "imag": -0.040793, + "real": -0.073999 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.027681, + "real": -0.064174 + }, + { + "imag": -0.073541, + "real": 0.74131 + }, + { + "imag": -0.072886, + "real": 0.744689 + }, + { + "imag": -0.03896, + "real": -0.072516 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.022353, + "real": -0.064024 + }, + { + "imag": -0.102166, + "real": 0.736623 + }, + { + "imag": -0.101944, + "real": 0.741193 + }, + { + "imag": -0.035902, + "real": -0.072649 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.01696, + "real": -0.06382 + }, + { + "imag": -0.128834, + "real": 0.730216 + }, + { + "imag": -0.130489, + "real": 0.736585 + }, + { + "imag": -0.03397, + "real": -0.072916 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.012455, + "real": -0.064047 + }, + { + "imag": -0.155747, + "real": 0.723509 + }, + { + "imag": -0.157158, + "real": 0.730994 + }, + { + "imag": -0.029381, + "real": -0.070719 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.006314, + "real": -0.063046 + }, + { + "imag": -0.182005, + "real": 0.716608 + }, + { + "imag": -0.184453, + "real": 0.724234 + }, + { + "imag": -0.024737, + "real": -0.069009 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.000942, + "real": -0.062142 + }, + { + "imag": -0.208234, + "real": 0.7091 + }, + { + "imag": -0.212562, + "real": 0.716384 + }, + { + "imag": -0.021375, + "real": -0.067691 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.004298, + "real": -0.06117 + }, + { + "imag": -0.233588, + "real": 0.701185 + }, + { + "imag": -0.238741, + "real": 0.70721 + }, + { + "imag": -0.016235, + "real": -0.065561 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.008823, + "real": -0.060067 + }, + { + "imag": -0.258984, + "real": 0.692384 + }, + { + "imag": -0.264799, + "real": 0.697415 + }, + { + "imag": -0.009884, + "real": -0.062012 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.012939, + "real": -0.058594 + }, + { + "imag": -0.28395, + "real": 0.683686 + }, + { + "imag": -0.290923, + "real": 0.686071 + }, + { + "imag": -0.003707, + "real": -0.060246 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.016472, + "real": -0.056593 + }, + { + "imag": -0.308692, + "real": 0.67366 + }, + { + "imag": -0.315632, + "real": 0.673808 + }, + { + "imag": 0.003023, + "real": -0.058647 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.01985, + "real": -0.054255 + }, + { + "imag": -0.334095, + "real": 0.664194 + }, + { + "imag": -0.342524, + "real": 0.661749 + }, + { + "imag": 0.009836, + "real": -0.056437 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.023497, + "real": -0.052033 + }, + { + "imag": -0.359253, + "real": 0.652164 + }, + { + "imag": -0.367423, + "real": 0.64835 + }, + { + "imag": 0.016491, + "real": -0.055274 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.026693, + "real": -0.048166 + }, + { + "imag": -0.384913, + "real": 0.638763 + }, + { + "imag": -0.392779, + "real": 0.633994 + }, + { + "imag": 0.023333, + "real": -0.053752 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.028916, + "real": -0.046146 + }, + { + "imag": -0.410668, + "real": 0.624932 + }, + { + "imag": -0.417515, + "real": 0.619351 + }, + { + "imag": 0.030732, + "real": -0.051535 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.031304, + "real": -0.04373 + }, + { + "imag": -0.436064, + "real": 0.608564 + }, + { + "imag": -0.441112, + "real": 0.602432 + }, + { + "imag": 0.038134, + "real": -0.052044 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.033269, + "real": -0.040979 + }, + { + "imag": -0.461531, + "real": 0.590567 + }, + { + "imag": -0.463562, + "real": 0.585323 + }, + { + "imag": 0.044884, + "real": -0.052593 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.03513, + "real": -0.037969 + }, + { + "imag": -0.486336, + "real": 0.571595 + }, + { + "imag": -0.487515, + "real": 0.565041 + }, + { + "imag": 0.051993, + "real": -0.051843 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.035647, + "real": -0.033485 + }, + { + "imag": -0.508058, + "real": 0.555305 + }, + { + "imag": -0.50792, + "real": 0.549489 + }, + { + "imag": 0.056413, + "real": -0.05284 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.037769, + "real": -0.031486 + }, + { + "imag": -0.531352, + "real": 0.530409 + }, + { + "imag": -0.529753, + "real": 0.525082 + }, + { + "imag": 0.061261, + "real": -0.053615 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.038284, + "real": -0.028995 + }, + { + "imag": -0.552766, + "real": 0.506542 + }, + { + "imag": -0.550078, + "real": 0.501635 + }, + { + "imag": 0.065754, + "real": -0.05304 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.038871, + "real": -0.02723 + }, + { + "imag": -0.572028, + "real": 0.482135 + }, + { + "imag": -0.569936, + "real": 0.47767 + }, + { + "imag": 0.072102, + "real": -0.053056 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.037596, + "real": -0.024254 + }, + { + "imag": -0.589294, + "real": 0.457595 + }, + { + "imag": -0.58731, + "real": 0.454585 + }, + { + "imag": 0.073554, + "real": -0.051855 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.028438, + "real": -0.021721 + }, + { + "imag": -0.60163, + "real": 0.432441 + }, + { + "imag": -0.599999, + "real": 0.433959 + }, + { + "imag": 0.073213, + "real": -0.051301 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.031569, + "real": -0.018506 + }, + { + "imag": -0.617744, + "real": 0.407179 + }, + { + "imag": -0.617711, + "real": 0.407031 + }, + { + "imag": 0.076644, + "real": -0.051028 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.031043, + "real": -0.015481 + }, + { + "imag": -0.631359, + "real": 0.382383 + }, + { + "imag": -0.632816, + "real": 0.382218 + }, + { + "imag": 0.079261, + "real": -0.051318 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.034208, + "real": -0.012559 + }, + { + "imag": -0.643878, + "real": 0.354098 + }, + { + "imag": -0.636545, + "real": 0.371822 + }, + { + "imag": 0.080317, + "real": -0.029724 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.027753, + "real": -0.010841 + }, + { + "imag": -0.653241, + "real": 0.333183 + }, + { + "imag": -0.65757, + "real": 0.331942 + }, + { + "imag": 0.081493, + "real": -0.048125 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.024262, + "real": -0.009282 + }, + { + "imag": -0.663698, + "real": 0.309983 + }, + { + "imag": -0.669162, + "real": 0.307849 + }, + { + "imag": 0.080976, + "real": -0.046291 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.024149, + "real": -0.006742 + }, + { + "imag": -0.672255, + "real": 0.28606 + }, + { + "imag": -0.677492, + "real": 0.283574 + }, + { + "imag": 0.084355, + "real": -0.045389 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.022574, + "real": -0.005744 + }, + { + "imag": -0.680951, + "real": 0.261604 + }, + { + "imag": -0.685748, + "real": 0.257753 + }, + { + "imag": 0.084947, + "real": -0.043068 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.020357, + "real": -0.00275 + }, + { + "imag": -0.691114, + "real": 0.238241 + }, + { + "imag": -0.694729, + "real": 0.23227 + }, + { + "imag": 0.085236, + "real": -0.039507 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.016997, + "real": -0.000272 + }, + { + "imag": -0.699055, + "real": 0.213647 + }, + { + "imag": -0.702263, + "real": 0.207244 + }, + { + "imag": 0.0867, + "real": -0.035843 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.015006, + "real": 0.002465 + }, + { + "imag": -0.70768, + "real": 0.18876 + }, + { + "imag": -0.708597, + "real": 0.18113 + }, + { + "imag": 0.088123, + "real": -0.032973 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.013213, + "real": 0.00486 + }, + { + "imag": -0.715624, + "real": 0.164138 + }, + { + "imag": -0.714798, + "real": 0.155109 + }, + { + "imag": 0.089309, + "real": -0.028445 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.010132, + "real": 0.007516 + }, + { + "imag": -0.722512, + "real": 0.13783 + }, + { + "imag": -0.719695, + "real": 0.129489 + }, + { + "imag": 0.09096, + "real": -0.02507 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.008306, + "real": 0.009037 + }, + { + "imag": -0.7286, + "real": 0.110929 + }, + { + "imag": -0.724347, + "real": 0.102744 + }, + { + "imag": 0.091978, + "real": -0.021407 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.007285, + "real": 0.01134 + }, + { + "imag": -0.733637, + "real": 0.083525 + }, + { + "imag": -0.728262, + "real": 0.076968 + }, + { + "imag": 0.092443, + "real": -0.018668 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.005577, + "real": 0.009721 + }, + { + "imag": -0.738206, + "real": 0.056547 + }, + { + "imag": -0.73089, + "real": 0.052275 + }, + { + "imag": 0.091856, + "real": -0.015957 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.005562, + "real": 0.013647 + }, + { + "imag": -0.740279, + "real": 0.027213 + }, + { + "imag": -0.731876, + "real": 0.022251 + }, + { + "imag": 0.093171, + "real": -0.014029 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.00478, + "real": 0.016658 + }, + { + "imag": -0.741262, + "real": -0.00167 + }, + { + "imag": -0.733413, + "real": -0.007546 + }, + { + "imag": 0.094652, + "real": -0.012387 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.004907, + "real": 0.017664 + }, + { + "imag": -0.740779, + "real": -0.030604 + }, + { + "imag": -0.73266, + "real": -0.036327 + }, + { + "imag": 0.095229, + "real": -0.010614 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.005088, + "real": 0.018968 + }, + { + "imag": -0.737764, + "real": -0.060448 + }, + { + "imag": -0.730624, + "real": -0.064632 + }, + { + "imag": 0.092893, + "real": -0.011026 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.005071, + "real": 0.021652 + }, + { + "imag": -0.735066, + "real": -0.088824 + }, + { + "imag": -0.728643, + "real": -0.09356 + }, + { + "imag": 0.0913, + "real": -0.010879 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.00417, + "real": 0.02176 + }, + { + "imag": -0.730463, + "real": -0.117555 + }, + { + "imag": -0.724482, + "real": -0.122677 + }, + { + "imag": 0.090288, + "real": -0.009648 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.003597, + "real": 0.022596 + }, + { + "imag": -0.724416, + "real": -0.146718 + }, + { + "imag": -0.718941, + "real": -0.151692 + }, + { + "imag": 0.087283, + "real": -0.009805 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.002708, + "real": 0.024791 + }, + { + "imag": -0.717161, + "real": -0.176108 + }, + { + "imag": -0.711396, + "real": -0.181134 + }, + { + "imag": 0.084227, + "real": -0.009782 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.000623, + "real": 0.023986 + }, + { + "imag": -0.709287, + "real": -0.203712 + }, + { + "imag": -0.704226, + "real": -0.209423 + }, + { + "imag": 0.08027, + "real": -0.010048 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.00084, + "real": 0.023496 + }, + { + "imag": -0.700031, + "real": -0.231425 + }, + { + "imag": -0.693896, + "real": -0.23885 + }, + { + "imag": 0.074549, + "real": -0.01001 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": -0.00121, + "real": 0.023493 + }, + { + "imag": -0.689206, + "real": -0.258619 + }, + { + "imag": -0.682623, + "real": -0.266553 + }, + { + "imag": 0.069258, + "real": -0.009744 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": -0.004729, + "real": 0.021346 + }, + { + "imag": -0.677447, + "real": -0.285757 + }, + { + "imag": -0.672182, + "real": -0.293315 + }, + { + "imag": 0.063, + "real": -0.010047 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": -0.00585, + "real": 0.020627 + }, + { + "imag": -0.664002, + "real": -0.312406 + }, + { + "imag": -0.658563, + "real": -0.321065 + }, + { + "imag": 0.057866, + "real": -0.010184 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": -0.006459, + "real": 0.020125 + }, + { + "imag": -0.650236, + "real": -0.338125 + }, + { + "imag": -0.644209, + "real": -0.347152 + }, + { + "imag": 0.053189, + "real": -0.008727 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": -0.009904, + "real": 0.019709 + }, + { + "imag": -0.635531, + "real": -0.364127 + }, + { + "imag": -0.629031, + "real": -0.371659 + }, + { + "imag": 0.046253, + "real": -0.006721 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": -0.013519, + "real": 0.020243 + }, + { + "imag": -0.620652, + "real": -0.388459 + }, + { + "imag": -0.613737, + "real": -0.395127 + }, + { + "imag": 0.042378, + "real": -0.00281 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": -0.016512, + "real": 0.019721 + }, + { + "imag": -0.60446, + "real": -0.412165 + }, + { + "imag": -0.59701, + "real": -0.418443 + }, + { + "imag": 0.0387, + "real": 0.001035 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": -0.020429, + "real": 0.021851 + }, + { + "imag": -0.587837, + "real": -0.435297 + }, + { + "imag": -0.581114, + "real": -0.438725 + }, + { + "imag": 0.034825, + "real": 0.005361 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": -0.023545, + "real": 0.021139 + }, + { + "imag": -0.570905, + "real": -0.458065 + }, + { + "imag": -0.56292, + "real": -0.459685 + }, + { + "imag": 0.031088, + "real": 0.011593 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": -0.026051, + "real": 0.021295 + }, + { + "imag": -0.553471, + "real": -0.47861 + }, + { + "imag": -0.544475, + "real": -0.479511 + }, + { + "imag": 0.028255, + "real": 0.017422 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": -0.030165, + "real": 0.023842 + }, + { + "imag": -0.534698, + "real": -0.498601 + }, + { + "imag": -0.524702, + "real": -0.499719 + }, + { + "imag": 0.02455, + "real": 0.024808 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": -0.034048, + "real": 0.024753 + }, + { + "imag": -0.514115, + "real": -0.517877 + }, + { + "imag": -0.502903, + "real": -0.51949 + }, + { + "imag": 0.021849, + "real": 0.030765 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": -0.038483, + "real": 0.026617 + }, + { + "imag": -0.492292, + "real": -0.53444 + }, + { + "imag": -0.482286, + "real": -0.53918 + }, + { + "imag": 0.019828, + "real": 0.036399 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": -0.039552, + "real": 0.028393 + }, + { + "imag": -0.469775, + "real": -0.549848 + }, + { + "imag": -0.46296, + "real": -0.556887 + }, + { + "imag": 0.018998, + "real": 0.039543 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": -0.041078, + "real": 0.029565 + }, + { + "imag": -0.447202, + "real": -0.564722 + }, + { + "imag": -0.445522, + "real": -0.572026 + }, + { + "imag": 0.018439, + "real": 0.042037 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": -0.041064, + "real": 0.030768 + }, + { + "imag": -0.426534, + "real": -0.579074 + }, + { + "imag": -0.428338, + "real": -0.585165 + }, + { + "imag": 0.019043, + "real": 0.044235 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": -0.041741, + "real": 0.032396 + }, + { + "imag": -0.405148, + "real": -0.59295 + }, + { + "imag": -0.408092, + "real": -0.599392 + }, + { + "imag": 0.020782, + "real": 0.048504 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": -0.040202, + "real": 0.03308 + }, + { + "imag": -0.384599, + "real": -0.607069 + }, + { + "imag": -0.3884, + "real": -0.615276 + }, + { + "imag": 0.024541, + "real": 0.052667 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": -0.037247, + "real": 0.034109 + }, + { + "imag": -0.36515, + "real": -0.621301 + }, + { + "imag": -0.365782, + "real": -0.633395 + }, + { + "imag": 0.029102, + "real": 0.056646 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.03537, + "real": 0.03553 + }, + { + "imag": -0.344687, + "real": -0.635493 + }, + { + "imag": -0.34165, + "real": -0.652055 + }, + { + "imag": 0.032923, + "real": 0.059115 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.032916, + "real": 0.034205 + }, + { + "imag": -0.322349, + "real": -0.649539 + }, + { + "imag": -0.317337, + "real": -0.668956 + }, + { + "imag": 0.036761, + "real": 0.059188 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.030534, + "real": 0.032683 + }, + { + "imag": -0.299265, + "real": -0.663442 + }, + { + "imag": -0.289709, + "real": -0.683264 + }, + { + "imag": 0.040215, + "real": 0.056803 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.028579, + "real": 0.032835 + }, + { + "imag": -0.274295, + "real": -0.676412 + }, + { + "imag": -0.260921, + "real": -0.696453 + }, + { + "imag": 0.043126, + "real": 0.053914 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.026005, + "real": 0.030555 + }, + { + "imag": -0.248786, + "real": -0.689171 + }, + { + "imag": -0.231277, + "real": -0.70626 + }, + { + "imag": 0.045383, + "real": 0.05064 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.022203, + "real": 0.029423 + }, + { + "imag": -0.221837, + "real": -0.70073 + }, + { + "imag": -0.201208, + "real": -0.712898 + }, + { + "imag": 0.048926, + "real": 0.046005 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.016969, + "real": 0.027871 + }, + { + "imag": -0.191883, + "real": -0.711169 + }, + { + "imag": -0.169727, + "real": -0.718122 + }, + { + "imag": 0.052076, + "real": 0.041992 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.012886, + "real": 0.026642 + }, + { + "imag": -0.16244, + "real": -0.717599 + }, + { + "imag": -0.138708, + "real": -0.719863 + }, + { + "imag": 0.055506, + "real": 0.036203 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": -0.007271, + "real": 0.024471 + }, + { + "imag": -0.130419, + "real": -0.72241 + }, + { + "imag": -0.106518, + "real": -0.719322 + }, + { + "imag": 0.060075, + "real": 0.030824 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": -0.001335, + "real": 0.021602 + }, + { + "imag": -0.096877, + "real": -0.723713 + }, + { + "imag": -0.07816, + "real": -0.716717 + }, + { + "imag": 0.063145, + "real": 0.024631 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.000965, + "real": 0.022016 + }, + { + "imag": -0.064296, + "real": -0.721614 + }, + { + "imag": -0.049747, + "real": -0.712336 + }, + { + "imag": 0.064551, + "real": 0.020358 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.003252, + "real": 0.020047 + }, + { + "imag": -0.034743, + "real": -0.71677 + }, + { + "imag": -0.025506, + "real": -0.70629 + }, + { + "imag": 0.065137, + "real": 0.014483 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.002653, + "real": 0.019733 + }, + { + "imag": -0.004793, + "real": -0.709363 + }, + { + "imag": 0.000589, + "real": -0.70019 + }, + { + "imag": 0.06476, + "real": 0.008572 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.001768, + "real": 0.019181 + }, + { + "imag": 0.022046, + "real": -0.700862 + }, + { + "imag": 0.023708, + "real": -0.693335 + }, + { + "imag": 0.062791, + "real": 0.001437 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": -0.000101, + "real": 0.01776 + }, + { + "imag": 0.047954, + "real": -0.692646 + }, + { + "imag": 0.046695, + "real": -0.687016 + }, + { + "imag": 0.059697, + "real": -0.004636 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": -0.00164, + "real": 0.016066 + }, + { + "imag": 0.071814, + "real": -0.684074 + }, + { + "imag": 0.069569, + "real": -0.68147 + }, + { + "imag": 0.055415, + "real": -0.011878 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": -0.00436, + "real": 0.014643 + }, + { + "imag": 0.092508, + "real": -0.676446 + }, + { + "imag": 0.091273, + "real": -0.676953 + }, + { + "imag": 0.053243, + "real": -0.018704 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": -0.006133, + "real": 0.01192 + }, + { + "imag": 0.114163, + "real": -0.669472 + }, + { + "imag": 0.114901, + "real": -0.67311 + }, + { + "imag": 0.050076, + "real": -0.02687 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": -0.007518, + "real": 0.010269 + }, + { + "imag": 0.134526, + "real": -0.663793 + }, + { + "imag": 0.137735, + "real": -0.668637 + }, + { + "imag": 0.048001, + "real": -0.034909 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": -0.009012, + "real": 0.008789 + }, + { + "imag": 0.155836, + "real": -0.659697 + }, + { + "imag": 0.162739, + "real": -0.666944 + }, + { + "imag": 0.044542, + "real": -0.041803 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": -0.01153, + "real": 0.006821 + }, + { + "imag": 0.179059, + "real": -0.656703 + }, + { + "imag": 0.187987, + "real": -0.664373 + }, + { + "imag": 0.040147, + "real": -0.048521 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.01204, + "real": 0.007125 + }, + { + "imag": 0.202003, + "real": -0.654097 + }, + { + "imag": 0.21368, + "real": -0.662259 + }, + { + "imag": 0.036448, + "real": -0.053046 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.015494, + "real": 0.007486 + }, + { + "imag": 0.226433, + "real": -0.651883 + }, + { + "imag": 0.239301, + "real": -0.65881 + }, + { + "imag": 0.031648, + "real": -0.056298 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.017236, + "real": 0.007663 + }, + { + "imag": 0.252163, + "real": -0.648408 + }, + { + "imag": 0.265583, + "real": -0.653724 + }, + { + "imag": 0.028237, + "real": -0.060793 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.021425, + "real": 0.008877 + }, + { + "imag": 0.279714, + "real": -0.643612 + }, + { + "imag": 0.292484, + "real": -0.646905 + }, + { + "imag": 0.022376, + "real": -0.063438 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": -0.022441, + "real": 0.005641 + }, + { + "imag": 0.306016, + "real": -0.63709 + }, + { + "imag": 0.319225, + "real": -0.635952 + }, + { + "imag": 0.018586, + "real": -0.06764 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": -0.026657, + "real": 0.005021 + }, + { + "imag": 0.334335, + "real": -0.629475 + }, + { + "imag": 0.344192, + "real": -0.627113 + }, + { + "imag": 0.015572, + "real": -0.069387 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.027978, + "real": 0.003684 + }, + { + "imag": 0.3612, + "real": -0.619466 + }, + { + "imag": 0.368693, + "real": -0.613288 + }, + { + "imag": 0.012082, + "real": -0.072112 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.030346, + "real": 0.001383 + }, + { + "imag": 0.387311, + "real": -0.607329 + }, + { + "imag": 0.392719, + "real": -0.597834 + }, + { + "imag": 0.007844, + "real": -0.073157 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.032052, + "real": -0.000579 + }, + { + "imag": 0.412385, + "real": -0.592148 + }, + { + "imag": 0.415063, + "real": -0.58104 + }, + { + "imag": 0.006613, + "real": -0.075979 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.032708, + "real": 0.001566 + }, + { + "imag": 0.433986, + "real": -0.574512 + }, + { + "imag": 0.436527, + "real": -0.562238 + }, + { + "imag": 0.004534, + "real": -0.078364 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.034342, + "real": -0.001301 + }, + { + "imag": 0.455533, + "real": -0.554961 + }, + { + "imag": 0.455409, + "real": -0.541875 + }, + { + "imag": 0.002755, + "real": -0.077922 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.033859, + "real": -0.002353 + }, + { + "imag": 0.474645, + "real": -0.534347 + }, + { + "imag": 0.473332, + "real": -0.520238 + }, + { + "imag": 0.003007, + "real": -0.079414 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.034822, + "real": -0.004346 + }, + { + "imag": 0.490522, + "real": -0.511641 + }, + { + "imag": 0.489435, + "real": -0.498018 + }, + { + "imag": 0.000748, + "real": -0.081185 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.034091, + "real": -0.005057 + }, + { + "imag": 0.506075, + "real": -0.487855 + }, + { + "imag": 0.503801, + "real": -0.475791 + }, + { + "imag": 0.00152, + "real": -0.080988 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.03615, + "real": -0.008172 + }, + { + "imag": 0.519617, + "real": -0.463863 + }, + { + "imag": 0.51763, + "real": -0.452848 + }, + { + "imag": 0.00243, + "real": -0.080966 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.038369, + "real": -0.011187 + }, + { + "imag": 0.530911, + "real": -0.439706 + }, + { + "imag": 0.531269, + "real": -0.429819 + }, + { + "imag": 0.006634, + "real": -0.083719 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": -0.039494, + "real": -0.014205 + }, + { + "imag": 0.542314, + "real": -0.416494 + }, + { + "imag": 0.545217, + "real": -0.40748 + }, + { + "imag": 0.009483, + "real": -0.086989 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.040316, + "real": -0.017815 + }, + { + "imag": 0.551009, + "real": -0.393293 + }, + { + "imag": 0.558147, + "real": -0.386069 + }, + { + "imag": 0.011754, + "real": -0.095653 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.041513, + "real": -0.024169 + }, + { + "imag": 0.562214, + "real": -0.370757 + }, + { + "imag": 0.570848, + "real": -0.364915 + }, + { + "imag": 0.013507, + "real": -0.099162 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.042217, + "real": -0.021794 + }, + { + "imag": 0.570197, + "real": -0.349429 + }, + { + "imag": 0.581396, + "real": -0.343855 + }, + { + "imag": 0.015119, + "real": -0.105277 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.041474, + "real": -0.027413 + }, + { + "imag": 0.580562, + "real": -0.327437 + }, + { + "imag": 0.594457, + "real": -0.322635 + }, + { + "imag": 0.017457, + "real": -0.108884 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.04284, + "real": -0.027088 + }, + { + "imag": 0.590234, + "real": -0.306618 + }, + { + "imag": 0.606971, + "real": -0.301274 + }, + { + "imag": 0.022217, + "real": -0.112963 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.040696, + "real": -0.027695 + }, + { + "imag": 0.600074, + "real": -0.284428 + }, + { + "imag": 0.61785, + "real": -0.280951 + }, + { + "imag": 0.024584, + "real": -0.11774 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.040017, + "real": -0.029564 + }, + { + "imag": 0.612382, + "real": -0.260972 + }, + { + "imag": 0.629613, + "real": -0.258529 + }, + { + "imag": 0.02938, + "real": -0.121623 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.037387, + "real": -0.030693 + }, + { + "imag": 0.625062, + "real": -0.243301 + }, + { + "imag": 0.640169, + "real": -0.236173 + }, + { + "imag": 0.033284, + "real": -0.125501 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.035194, + "real": -0.029988 + }, + { + "imag": 0.635843, + "real": -0.221548 + }, + { + "imag": 0.651231, + "real": -0.212102 + }, + { + "imag": 0.038326, + "real": -0.130169 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.032871, + "real": -0.032054 + }, + { + "imag": 0.647628, + "real": -0.199242 + }, + { + "imag": 0.660127, + "real": -0.189197 + }, + { + "imag": 0.042573, + "real": -0.135328 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.032231, + "real": -0.035414 + }, + { + "imag": 0.659675, + "real": -0.175073 + }, + { + "imag": 0.668284, + "real": -0.165001 + }, + { + "imag": 0.045046, + "real": -0.141045 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": -0.032595, + "real": -0.036365 + }, + { + "imag": 0.669119, + "real": -0.153153 + }, + { + "imag": 0.674281, + "real": -0.14036 + }, + { + "imag": 0.047773, + "real": -0.146704 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": -0.017312, + "real": -0.041231 + }, + { + "imag": 0.679293, + "real": -0.127066 + }, + { + "imag": 0.680136, + "real": -0.113546 + }, + { + "imag": 0.049137, + "real": -0.157363 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": -0.025468, + "real": -0.040894 + }, + { + "imag": 0.683367, + "real": -0.10266 + }, + { + "imag": 0.682406, + "real": -0.089034 + }, + { + "imag": 0.052422, + "real": -0.158083 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": -0.023343, + "real": -0.041732 + }, + { + "imag": 0.688322, + "real": -0.076315 + }, + { + "imag": 0.684962, + "real": -0.063373 + }, + { + "imag": 0.054765, + "real": -0.156736 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": -0.023013, + "real": -0.044738 + }, + { + "imag": 0.690305, + "real": -0.052022 + }, + { + "imag": 0.684523, + "real": -0.037255 + }, + { + "imag": 0.057353, + "real": -0.156062 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": -0.018432, + "real": -0.045646 + }, + { + "imag": 0.692205, + "real": -0.025641 + }, + { + "imag": 0.684514, + "real": -0.010206 + }, + { + "imag": 0.060352, + "real": -0.154625 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": -0.0159, + "real": -0.046786 + }, + { + "imag": 0.691583, + "real": -5.7e-05 + }, + { + "imag": 0.681599, + "real": 0.016307 + }, + { + "imag": 0.06482, + "real": -0.152175 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": -0.011527, + "real": -0.046886 + }, + { + "imag": 0.690008, + "real": 0.025202 + }, + { + "imag": 0.678755, + "real": 0.043683 + }, + { + "imag": 0.06956, + "real": -0.149806 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.008028, + "real": -0.051471 + }, + { + "imag": 0.686879, + "real": 0.049676 + }, + { + "imag": 0.675793, + "real": 0.069416 + }, + { + "imag": 0.075217, + "real": -0.147269 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.005373, + "real": -0.051739 + }, + { + "imag": 0.682309, + "real": 0.074265 + }, + { + "imag": 0.670029, + "real": 0.0955 + }, + { + "imag": 0.081745, + "real": -0.143701 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.000155, + "real": -0.055208 + }, + { + "imag": 0.675972, + "real": 0.09739 + }, + { + "imag": 0.664635, + "real": 0.121267 + }, + { + "imag": 0.087928, + "real": -0.141742 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.004989, + "real": -0.057506 + }, + { + "imag": 0.67034, + "real": 0.120335 + }, + { + "imag": 0.658729, + "real": 0.146442 + }, + { + "imag": 0.095997, + "real": -0.139698 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.008341, + "real": -0.061452 + }, + { + "imag": 0.662794, + "real": 0.142947 + }, + { + "imag": 0.649855, + "real": 0.172728 + }, + { + "imag": 0.105522, + "real": -0.13833 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.011854, + "real": -0.061428 + }, + { + "imag": 0.654065, + "real": 0.16661 + }, + { + "imag": 0.642344, + "real": 0.196562 + }, + { + "imag": 0.114719, + "real": -0.136992 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.017726, + "real": -0.064819 + }, + { + "imag": 0.645235, + "real": 0.188405 + }, + { + "imag": 0.633187, + "real": 0.220272 + }, + { + "imag": 0.123557, + "real": -0.135807 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.022416, + "real": -0.067398 + }, + { + "imag": 0.635724, + "real": 0.210479 + }, + { + "imag": 0.623371, + "real": 0.244471 + }, + { + "imag": 0.134674, + "real": -0.137071 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.028369, + "real": -0.071124 + }, + { + "imag": 0.624769, + "real": 0.2336 + }, + { + "imag": 0.613908, + "real": 0.268214 + }, + { + "imag": 0.145037, + "real": -0.138179 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.035929, + "real": -0.072957 + }, + { + "imag": 0.614358, + "real": 0.255295 + }, + { + "imag": 0.602034, + "real": 0.29169 + }, + { + "imag": 0.155242, + "real": -0.137443 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.04148, + "real": -0.074304 + }, + { + "imag": 0.603418, + "real": 0.277834 + }, + { + "imag": 0.59079, + "real": 0.31491 + }, + { + "imag": 0.165773, + "real": -0.135348 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.047599, + "real": -0.076919 + }, + { + "imag": 0.592109, + "real": 0.299933 + }, + { + "imag": 0.579382, + "real": 0.336988 + }, + { + "imag": 0.179087, + "real": -0.132972 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.053176, + "real": -0.078128 + }, + { + "imag": 0.579481, + "real": 0.3228 + }, + { + "imag": 0.566698, + "real": 0.359966 + }, + { + "imag": 0.192618, + "real": -0.134345 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.060926, + "real": -0.080812 + }, + { + "imag": 0.569177, + "real": 0.341826 + }, + { + "imag": 0.554533, + "real": 0.380628 + }, + { + "imag": 0.204209, + "real": -0.138326 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.066107, + "real": -0.079748 + }, + { + "imag": 0.553982, + "real": 0.364714 + }, + { + "imag": 0.540223, + "real": 0.402343 + }, + { + "imag": 0.214797, + "real": -0.14097 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.071511, + "real": -0.078197 + }, + { + "imag": 0.539151, + "real": 0.385032 + }, + { + "imag": 0.527297, + "real": 0.42172 + }, + { + "imag": 0.221418, + "real": -0.144465 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.078264, + "real": -0.078475 + }, + { + "imag": 0.524528, + "real": 0.406657 + }, + { + "imag": 0.513591, + "real": 0.440908 + }, + { + "imag": 0.229583, + "real": -0.148379 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.083222, + "real": -0.078018 + }, + { + "imag": 0.507769, + "real": 0.426095 + }, + { + "imag": 0.496292, + "real": 0.459844 + }, + { + "imag": 0.236618, + "real": -0.149603 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.091726, + "real": -0.077754 + }, + { + "imag": 0.493869, + "real": 0.446044 + }, + { + "imag": 0.482295, + "real": 0.477479 + }, + { + "imag": 0.24437, + "real": -0.152155 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.098671, + "real": -0.076002 + }, + { + "imag": 0.477122, + "real": 0.464334 + }, + { + "imag": 0.467328, + "real": 0.492649 + }, + { + "imag": 0.246959, + "real": -0.152674 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.10374, + "real": -0.076395 + }, + { + "imag": 0.460722, + "real": 0.485051 + }, + { + "imag": 0.449332, + "real": 0.50775 + }, + { + "imag": 0.252448, + "real": -0.152397 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.108453, + "real": -0.073328 + }, + { + "imag": 0.44179, + "real": 0.501478 + }, + { + "imag": 0.43086, + "real": 0.522554 + }, + { + "imag": 0.255533, + "real": -0.152776 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.11489, + "real": -0.070255 + }, + { + "imag": 0.424001, + "real": 0.517715 + }, + { + "imag": 0.412202, + "real": 0.534749 + }, + { + "imag": 0.261736, + "real": -0.150162 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.120593, + "real": -0.065916 + }, + { + "imag": 0.404873, + "real": 0.532508 + }, + { + "imag": 0.391842, + "real": 0.547331 + }, + { + "imag": 0.263103, + "real": -0.148549 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.126361, + "real": -0.063636 + }, + { + "imag": 0.386042, + "real": 0.546592 + }, + { + "imag": 0.370038, + "real": 0.558834 + }, + { + "imag": 0.26478, + "real": -0.145135 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.132151, + "real": -0.060948 + }, + { + "imag": 0.366791, + "real": 0.560498 + }, + { + "imag": 0.349367, + "real": 0.571784 + }, + { + "imag": 0.266533, + "real": -0.141707 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.137251, + "real": -0.055764 + }, + { + "imag": 0.347982, + "real": 0.571974 + }, + { + "imag": 0.327301, + "real": 0.581672 + }, + { + "imag": 0.266531, + "real": -0.136228 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.142394, + "real": -0.050317 + }, + { + "imag": 0.32729, + "real": 0.58369 + }, + { + "imag": 0.304739, + "real": 0.592808 + }, + { + "imag": 0.265622, + "real": -0.129867 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.146888, + "real": -0.046602 + }, + { + "imag": 0.307079, + "real": 0.594225 + }, + { + "imag": 0.283343, + "real": 0.604428 + }, + { + "imag": 0.264027, + "real": -0.12126 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.151755, + "real": -0.041166 + }, + { + "imag": 0.288917, + "real": 0.605915 + }, + { + "imag": 0.260671, + "real": 0.614509 + }, + { + "imag": 0.264074, + "real": -0.11108 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.15656, + "real": -0.033542 + }, + { + "imag": 0.269746, + "real": 0.614596 + }, + { + "imag": 0.239452, + "real": 0.624812 + }, + { + "imag": 0.261454, + "real": -0.099702 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.161501, + "real": -0.027246 + }, + { + "imag": 0.249306, + "real": 0.625441 + }, + { + "imag": 0.217197, + "real": 0.63528 + }, + { + "imag": 0.262798, + "real": -0.086992 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.165431, + "real": -0.018912 + }, + { + "imag": 0.227256, + "real": 0.636187 + }, + { + "imag": 0.194061, + "real": 0.644413 + }, + { + "imag": 0.262226, + "real": -0.075414 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.17038, + "real": -0.016465 + }, + { + "imag": 0.206429, + "real": 0.644801 + }, + { + "imag": 0.169639, + "real": 0.655463 + }, + { + "imag": 0.263384, + "real": -0.060336 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.175403, + "real": -0.004359 + }, + { + "imag": 0.182406, + "real": 0.655326 + }, + { + "imag": 0.145272, + "real": 0.662952 + }, + { + "imag": 0.26185, + "real": -0.046187 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.180176, + "real": 0.002684 + }, + { + "imag": 0.157058, + "real": 0.665691 + }, + { + "imag": 0.120118, + "real": 0.669556 + }, + { + "imag": 0.261591, + "real": -0.029397 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.184882, + "real": 0.01055 + }, + { + "imag": 0.132145, + "real": 0.67517 + }, + { + "imag": 0.091286, + "real": 0.677509 + }, + { + "imag": 0.266694, + "real": -0.013325 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.187858, + "real": 0.014955 + }, + { + "imag": 0.10515, + "real": 0.68223 + }, + { + "imag": 0.062239, + "real": 0.683566 + }, + { + "imag": 0.267219, + "real": 0.00253 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.194743, + "real": 0.025187 + }, + { + "imag": 0.074515, + "real": 0.691375 + }, + { + "imag": 0.033946, + "real": 0.687051 + }, + { + "imag": 0.268652, + "real": 0.021207 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.196871, + "real": 0.031707 + }, + { + "imag": 0.043499, + "real": 0.695621 + }, + { + "imag": 0.005371, + "real": 0.690286 + }, + { + "imag": 0.274942, + "real": 0.036297 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.201504, + "real": 0.040225 + }, + { + "imag": 0.0116, + "real": 0.698717 + }, + { + "imag": -0.024348, + "real": 0.689264 + }, + { + "imag": 0.28065, + "real": 0.049307 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.207894, + "real": 0.044947 + }, + { + "imag": -0.020279, + "real": 0.700911 + }, + { + "imag": -0.052933, + "real": 0.685934 + }, + { + "imag": 0.284824, + "real": 0.06546 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 0.20944, + "real": 0.054742 + }, + { + "imag": -0.049947, + "real": 0.697389 + }, + { + "imag": -0.080423, + "real": 0.678931 + }, + { + "imag": 0.290971, + "real": 0.086531 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 0.211355, + "real": 0.062976 + }, + { + "imag": -0.080495, + "real": 0.692107 + }, + { + "imag": -0.108442, + "real": 0.670602 + }, + { + "imag": 0.297444, + "real": 0.105654 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P12_THROUGH", + "ports": 2 + } + }, + "type": "Through" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 14293876623961490041, + "loss": 0.0, + "name": "Port 1 to 3", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.482277, + "real": 0.266763 + }, + { + "imag": 0.232349, + "real": 0.689355 + }, + { + "imag": 0.47061, + "real": 0.615811 + }, + { + "imag": -0.02716, + "real": 0.12622 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.089234, + "real": 0.260605 + }, + { + "imag": -0.051307, + "real": 0.841168 + }, + { + "imag": 0.148825, + "real": 0.882567 + }, + { + "imag": -0.010004, + "real": 0.130096 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.0109, + "real": 0.120261 + }, + { + "imag": -0.066281, + "real": 0.836705 + }, + { + "imag": -0.067631, + "real": 0.839665 + }, + { + "imag": -0.011742, + "real": 0.121668 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.013903, + "real": 0.11954 + }, + { + "imag": -0.095898, + "real": 0.834433 + }, + { + "imag": -0.097809, + "real": 0.837143 + }, + { + "imag": -0.015288, + "real": 0.121778 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.016612, + "real": 0.118023 + }, + { + "imag": -0.125722, + "real": 0.827648 + }, + { + "imag": -0.127, + "real": 0.830246 + }, + { + "imag": -0.01848, + "real": 0.121725 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.01861, + "real": 0.116915 + }, + { + "imag": -0.152321, + "real": 0.820819 + }, + { + "imag": -0.154242, + "real": 0.823618 + }, + { + "imag": -0.021394, + "real": 0.12187 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.020662, + "real": 0.116569 + }, + { + "imag": -0.182646, + "real": 0.815746 + }, + { + "imag": -0.184492, + "real": 0.818034 + }, + { + "imag": -0.024171, + "real": 0.122731 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.022094, + "real": 0.115967 + }, + { + "imag": -0.210332, + "real": 0.80818 + }, + { + "imag": -0.21299, + "real": 0.810359 + }, + { + "imag": -0.026537, + "real": 0.123427 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.023065, + "real": 0.115415 + }, + { + "imag": -0.238391, + "real": 0.79977 + }, + { + "imag": -0.240736, + "real": 0.801912 + }, + { + "imag": -0.029016, + "real": 0.124426 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.024168, + "real": 0.115174 + }, + { + "imag": -0.266078, + "real": 0.790347 + }, + { + "imag": -0.267912, + "real": 0.792606 + }, + { + "imag": -0.030898, + "real": 0.125548 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.02485, + "real": 0.11522 + }, + { + "imag": -0.293221, + "real": 0.780114 + }, + { + "imag": -0.294267, + "real": 0.782538 + }, + { + "imag": -0.032281, + "real": 0.126459 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.025934, + "real": 0.115482 + }, + { + "imag": -0.319697, + "real": 0.768937 + }, + { + "imag": -0.321439, + "real": 0.771084 + }, + { + "imag": -0.033696, + "real": 0.127158 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.026865, + "real": 0.116124 + }, + { + "imag": -0.345796, + "real": 0.757425 + }, + { + "imag": -0.347457, + "real": 0.759417 + }, + { + "imag": -0.035199, + "real": 0.12787 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.027721, + "real": 0.116555 + }, + { + "imag": -0.372689, + "real": 0.744152 + }, + { + "imag": -0.374008, + "real": 0.746519 + }, + { + "imag": -0.036923, + "real": 0.127806 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.028225, + "real": 0.116734 + }, + { + "imag": -0.398521, + "real": 0.730703 + }, + { + "imag": -0.399765, + "real": 0.732966 + }, + { + "imag": -0.038711, + "real": 0.128133 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.029244, + "real": 0.116498 + }, + { + "imag": -0.423432, + "real": 0.716501 + }, + { + "imag": -0.425065, + "real": 0.717837 + }, + { + "imag": -0.040457, + "real": 0.127912 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.030318, + "real": 0.116849 + }, + { + "imag": -0.448387, + "real": 0.701331 + }, + { + "imag": -0.449679, + "real": 0.702664 + }, + { + "imag": -0.042257, + "real": 0.127566 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.031957, + "real": 0.116575 + }, + { + "imag": -0.472309, + "real": 0.685194 + }, + { + "imag": -0.47406, + "real": 0.686403 + }, + { + "imag": -0.043968, + "real": 0.127128 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.033981, + "real": 0.116426 + }, + { + "imag": -0.495851, + "real": 0.668174 + }, + { + "imag": -0.497408, + "real": 0.66961 + }, + { + "imag": -0.045912, + "real": 0.126439 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.036248, + "real": 0.116271 + }, + { + "imag": -0.519071, + "real": 0.650322 + }, + { + "imag": -0.520761, + "real": 0.651538 + }, + { + "imag": -0.047881, + "real": 0.125332 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.038806, + "real": 0.115867 + }, + { + "imag": -0.541191, + "real": 0.631722 + }, + { + "imag": -0.543256, + "real": 0.632727 + }, + { + "imag": -0.04989, + "real": 0.123621 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.041718, + "real": 0.115486 + }, + { + "imag": -0.563896, + "real": 0.611706 + }, + { + "imag": -0.564992, + "real": 0.612961 + }, + { + "imag": -0.052677, + "real": 0.122037 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.044861, + "real": 0.115311 + }, + { + "imag": -0.58495, + "real": 0.592079 + }, + { + "imag": -0.586225, + "real": 0.59407 + }, + { + "imag": -0.054943, + "real": 0.120847 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.04853, + "real": 0.11446 + }, + { + "imag": -0.605215, + "real": 0.571343 + }, + { + "imag": -0.606737, + "real": 0.573244 + }, + { + "imag": -0.057798, + "real": 0.119596 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.052056, + "real": 0.113728 + }, + { + "imag": -0.624847, + "real": 0.549724 + }, + { + "imag": -0.626694, + "real": 0.55141 + }, + { + "imag": -0.060443, + "real": 0.118222 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.055897, + "real": 0.113022 + }, + { + "imag": -0.643902, + "real": 0.52733 + }, + { + "imag": -0.6458, + "real": 0.528583 + }, + { + "imag": -0.063369, + "real": 0.1165 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.059417, + "real": 0.112536 + }, + { + "imag": -0.661699, + "real": 0.504995 + }, + { + "imag": -0.662455, + "real": 0.507706 + }, + { + "imag": -0.066262, + "real": 0.114499 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.063118, + "real": 0.111813 + }, + { + "imag": -0.678636, + "real": 0.480854 + }, + { + "imag": -0.680709, + "real": 0.482255 + }, + { + "imag": -0.069292, + "real": 0.113164 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.066751, + "real": 0.111269 + }, + { + "imag": -0.694944, + "real": 0.456435 + }, + { + "imag": -0.696874, + "real": 0.45845 + }, + { + "imag": -0.072615, + "real": 0.111564 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.070549, + "real": 0.110849 + }, + { + "imag": -0.710044, + "real": 0.432202 + }, + { + "imag": -0.712593, + "real": 0.433451 + }, + { + "imag": -0.075917, + "real": 0.109648 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.073796, + "real": 0.110543 + }, + { + "imag": -0.724892, + "real": 0.406683 + }, + { + "imag": -0.726898, + "real": 0.408158 + }, + { + "imag": -0.079256, + "real": 0.10765 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.076741, + "real": 0.110184 + }, + { + "imag": -0.738306, + "real": 0.381089 + }, + { + "imag": -0.740302, + "real": 0.38194 + }, + { + "imag": -0.082127, + "real": 0.105732 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.078886, + "real": 0.109847 + }, + { + "imag": -0.750956, + "real": 0.355263 + }, + { + "imag": -0.753243, + "real": 0.356563 + }, + { + "imag": -0.084882, + "real": 0.104359 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.081003, + "real": 0.109245 + }, + { + "imag": -0.762746, + "real": 0.328371 + }, + { + "imag": -0.764797, + "real": 0.329794 + }, + { + "imag": -0.087694, + "real": 0.102832 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.082753, + "real": 0.108522 + }, + { + "imag": -0.773747, + "real": 0.301488 + }, + { + "imag": -0.775714, + "real": 0.303115 + }, + { + "imag": -0.090069, + "real": 0.101096 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.084065, + "real": 0.106638 + }, + { + "imag": -0.783794, + "real": 0.274479 + }, + { + "imag": -0.786002, + "real": 0.275413 + }, + { + "imag": -0.092562, + "real": 0.099761 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.086212, + "real": 0.104968 + }, + { + "imag": -0.792766, + "real": 0.246394 + }, + { + "imag": -0.794925, + "real": 0.247817 + }, + { + "imag": -0.094722, + "real": 0.098248 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.087489, + "real": 0.103793 + }, + { + "imag": -0.800789, + "real": 0.218495 + }, + { + "imag": -0.802792, + "real": 0.219151 + }, + { + "imag": -0.09666, + "real": 0.096553 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.088033, + "real": 0.102551 + }, + { + "imag": -0.807673, + "real": 0.190362 + }, + { + "imag": -0.809408, + "real": 0.191817 + }, + { + "imag": -0.098306, + "real": 0.095135 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.088218, + "real": 0.100524 + }, + { + "imag": -0.813785, + "real": 0.162278 + }, + { + "imag": -0.815654, + "real": 0.162122 + }, + { + "imag": -0.099959, + "real": 0.093353 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.088328, + "real": 0.098188 + }, + { + "imag": -0.81868, + "real": 0.134116 + }, + { + "imag": -0.820682, + "real": 0.132453 + }, + { + "imag": -0.101556, + "real": 0.091446 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.087647, + "real": 0.095318 + }, + { + "imag": -0.823135, + "real": 0.105021 + }, + { + "imag": -0.824779, + "real": 0.104556 + }, + { + "imag": -0.102121, + "real": 0.090015 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.087349, + "real": 0.092304 + }, + { + "imag": -0.826299, + "real": 0.076541 + }, + { + "imag": -0.828012, + "real": 0.076243 + }, + { + "imag": -0.102686, + "real": 0.088276 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.086977, + "real": 0.088169 + }, + { + "imag": -0.828117, + "real": 0.047252 + }, + { + "imag": -0.830372, + "real": 0.046403 + }, + { + "imag": -0.103288, + "real": 0.086295 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.086673, + "real": 0.084502 + }, + { + "imag": -0.829161, + "real": 0.018528 + }, + { + "imag": -0.831284, + "real": 0.01721 + }, + { + "imag": -0.103359, + "real": 0.084193 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.086227, + "real": 0.080045 + }, + { + "imag": -0.829647, + "real": -0.010986 + }, + { + "imag": -0.831566, + "real": -0.011927 + }, + { + "imag": -0.103368, + "real": 0.08176 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.08618, + "real": 0.07509 + }, + { + "imag": -0.828476, + "real": -0.039833 + }, + { + "imag": -0.830845, + "real": -0.04154 + }, + { + "imag": -0.10335, + "real": 0.079515 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.086258, + "real": 0.069609 + }, + { + "imag": -0.826726, + "real": -0.068522 + }, + { + "imag": -0.829129, + "real": -0.071043 + }, + { + "imag": -0.103271, + "real": 0.077366 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.086871, + "real": 0.064045 + }, + { + "imag": -0.823539, + "real": -0.098192 + }, + { + "imag": -0.82646, + "real": -0.099944 + }, + { + "imag": -0.103032, + "real": 0.075062 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.08724, + "real": 0.05867 + }, + { + "imag": -0.81939, + "real": -0.127183 + }, + { + "imag": -0.822227, + "real": -0.130304 + }, + { + "imag": -0.103132, + "real": 0.072553 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.08839, + "real": 0.053005 + }, + { + "imag": -0.814289, + "real": -0.155462 + }, + { + "imag": -0.817152, + "real": -0.159129 + }, + { + "imag": -0.102679, + "real": 0.069857 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.089923, + "real": 0.047136 + }, + { + "imag": -0.808038, + "real": -0.184254 + }, + { + "imag": -0.810402, + "real": -0.188074 + }, + { + "imag": -0.103187, + "real": 0.065499 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.091808, + "real": 0.041424 + }, + { + "imag": -0.800541, + "real": -0.21265 + }, + { + "imag": -0.802792, + "real": -0.216652 + }, + { + "imag": -0.103651, + "real": 0.062742 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.093915, + "real": 0.03577 + }, + { + "imag": -0.792343, + "real": -0.24012 + }, + { + "imag": -0.794002, + "real": -0.2448 + }, + { + "imag": -0.103781, + "real": 0.05972 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.096216, + "real": 0.030511 + }, + { + "imag": -0.78296, + "real": -0.267958 + }, + { + "imag": -0.784853, + "real": -0.271628 + }, + { + "imag": -0.104716, + "real": 0.056663 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.098841, + "real": 0.025313 + }, + { + "imag": -0.772666, + "real": -0.295043 + }, + { + "imag": -0.774295, + "real": -0.299317 + }, + { + "imag": -0.105531, + "real": 0.053458 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.101728, + "real": 0.02002 + }, + { + "imag": -0.761343, + "real": -0.322143 + }, + { + "imag": -0.763362, + "real": -0.325373 + }, + { + "imag": -0.10644, + "real": 0.050188 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.104829, + "real": 0.01483 + }, + { + "imag": -0.74921, + "real": -0.347847 + }, + { + "imag": -0.7537, + "real": -0.348746 + }, + { + "imag": -0.108241, + "real": 0.047926 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.108479, + "real": 0.010251 + }, + { + "imag": -0.736475, + "real": -0.373821 + }, + { + "imag": -0.738891, + "real": -0.37739 + }, + { + "imag": -0.10932, + "real": 0.043684 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.112183, + "real": 0.006175 + }, + { + "imag": -0.72308, + "real": -0.398993 + }, + { + "imag": -0.724935, + "real": -0.402805 + }, + { + "imag": -0.110675, + "real": 0.040185 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.115935, + "real": 0.002703 + }, + { + "imag": -0.708522, + "real": -0.423747 + }, + { + "imag": -0.710706, + "real": -0.427268 + }, + { + "imag": -0.11192, + "real": 0.036649 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.118914, + "real": -0.000372 + }, + { + "imag": -0.692703, + "real": -0.448444 + }, + { + "imag": -0.69484, + "real": -0.452065 + }, + { + "imag": -0.113565, + "real": 0.033188 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.122464, + "real": -0.003146 + }, + { + "imag": -0.676787, + "real": -0.471956 + }, + { + "imag": -0.678275, + "real": -0.475436 + }, + { + "imag": -0.115283, + "real": 0.029719 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.125273, + "real": -0.005207 + }, + { + "imag": -0.659698, + "real": -0.494991 + }, + { + "imag": -0.662471, + "real": -0.497189 + }, + { + "imag": -0.116483, + "real": 0.026575 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.127599, + "real": -0.007402 + }, + { + "imag": -0.641956, + "real": -0.518191 + }, + { + "imag": -0.644142, + "real": -0.521208 + }, + { + "imag": -0.118221, + "real": 0.022493 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.129225, + "real": -0.009536 + }, + { + "imag": -0.623433, + "real": -0.53976 + }, + { + "imag": -0.625255, + "real": -0.5425 + }, + { + "imag": -0.119075, + "real": 0.019152 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.130668, + "real": -0.011014 + }, + { + "imag": -0.604102, + "real": -0.561517 + }, + { + "imag": -0.606095, + "real": -0.563798 + }, + { + "imag": -0.11997, + "real": 0.015658 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.131209, + "real": -0.012266 + }, + { + "imag": -0.584751, + "real": -0.581823 + }, + { + "imag": -0.586624, + "real": -0.584004 + }, + { + "imag": -0.120602, + "real": 0.012181 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.131345, + "real": -0.013311 + }, + { + "imag": -0.564695, + "real": -0.60128 + }, + { + "imag": -0.568699, + "real": -0.600645 + }, + { + "imag": -0.119457, + "real": 0.009173 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.131073, + "real": -0.01449 + }, + { + "imag": -0.542749, + "real": -0.621526 + }, + { + "imag": -0.544554, + "real": -0.623687 + }, + { + "imag": -0.119977, + "real": 0.00539 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.130252, + "real": -0.015829 + }, + { + "imag": -0.520751, + "real": -0.640114 + }, + { + "imag": -0.522394, + "real": -0.642525 + }, + { + "imag": -0.118935, + "real": 0.001651 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.128607, + "real": -0.016795 + }, + { + "imag": -0.498013, + "real": -0.657896 + }, + { + "imag": -0.499735, + "real": -0.660079 + }, + { + "imag": -0.11759, + "real": -0.002296 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.126417, + "real": -0.017638 + }, + { + "imag": -0.474619, + "real": -0.674644 + }, + { + "imag": -0.47649, + "real": -0.677236 + }, + { + "imag": -0.115765, + "real": -0.006734 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.123631, + "real": -0.018836 + }, + { + "imag": -0.450811, + "real": -0.691352 + }, + { + "imag": -0.452745, + "real": -0.693897 + }, + { + "imag": -0.113756, + "real": -0.011147 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.12052, + "real": -0.019951 + }, + { + "imag": -0.425922, + "real": -0.706883 + }, + { + "imag": -0.427994, + "real": -0.709505 + }, + { + "imag": -0.111941, + "real": -0.01522 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.117862, + "real": -0.020762 + }, + { + "imag": -0.398363, + "real": -0.722588 + }, + { + "imag": -0.400725, + "real": -0.724616 + }, + { + "imag": -0.109556, + "real": -0.019564 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.113538, + "real": -0.021739 + }, + { + "imag": -0.373663, + "real": -0.73544 + }, + { + "imag": -0.376398, + "real": -0.737161 + }, + { + "imag": -0.107241, + "real": -0.023828 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.108691, + "real": -0.024553 + }, + { + "imag": -0.348287, + "real": -0.747456 + }, + { + "imag": -0.349519, + "real": -0.750509 + }, + { + "imag": -0.104671, + "real": -0.02716 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.104443, + "real": -0.026568 + }, + { + "imag": -0.321383, + "real": -0.758856 + }, + { + "imag": -0.322786, + "real": -0.761898 + }, + { + "imag": -0.101914, + "real": -0.03139 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.100489, + "real": -0.028912 + }, + { + "imag": -0.294378, + "real": -0.769484 + }, + { + "imag": -0.295715, + "real": -0.772442 + }, + { + "imag": -0.098939, + "real": -0.035652 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.096542, + "real": -0.031345 + }, + { + "imag": -0.266867, + "real": -0.778839 + }, + { + "imag": -0.267885, + "real": -0.782245 + }, + { + "imag": -0.096441, + "real": -0.040053 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.093109, + "real": -0.034566 + }, + { + "imag": -0.23893, + "real": -0.787283 + }, + { + "imag": -0.240019, + "real": -0.791094 + }, + { + "imag": -0.093738, + "real": -0.044636 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.090001, + "real": -0.037165 + }, + { + "imag": -0.21133, + "real": -0.794759 + }, + { + "imag": -0.212101, + "real": -0.798626 + }, + { + "imag": -0.091639, + "real": -0.048746 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.087168, + "real": -0.040012 + }, + { + "imag": -0.183036, + "real": -0.801413 + }, + { + "imag": -0.183619, + "real": -0.805323 + }, + { + "imag": -0.089495, + "real": -0.053405 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.084724, + "real": -0.043284 + }, + { + "imag": -0.154906, + "real": -0.807057 + }, + { + "imag": -0.155548, + "real": -0.810729 + }, + { + "imag": -0.087323, + "real": -0.057637 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.082316, + "real": -0.046027 + }, + { + "imag": -0.126206, + "real": -0.811773 + }, + { + "imag": -0.124072, + "real": -0.815131 + }, + { + "imag": -0.085233, + "real": -0.062409 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.080559, + "real": -0.049082 + }, + { + "imag": -0.098158, + "real": -0.815193 + }, + { + "imag": -0.098581, + "real": -0.818737 + }, + { + "imag": -0.084017, + "real": -0.065379 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.078388, + "real": -0.052866 + }, + { + "imag": -0.068912, + "real": -0.818166 + }, + { + "imag": -0.068436, + "real": -0.821234 + }, + { + "imag": -0.082946, + "real": -0.069476 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.076867, + "real": -0.056253 + }, + { + "imag": -0.040805, + "real": -0.819584 + }, + { + "imag": -0.03918, + "real": -0.822242 + }, + { + "imag": -0.081824, + "real": -0.073222 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.076197, + "real": -0.058876 + }, + { + "imag": -0.012021, + "real": -0.82024 + }, + { + "imag": -0.01086, + "real": -0.823316 + }, + { + "imag": -0.080816, + "real": -0.076722 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.075268, + "real": -0.061648 + }, + { + "imag": 0.016325, + "real": -0.820094 + }, + { + "imag": 0.016276, + "real": -0.823451 + }, + { + "imag": -0.079641, + "real": -0.079489 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.073614, + "real": -0.06459 + }, + { + "imag": 0.044602, + "real": -0.819128 + }, + { + "imag": 0.045432, + "real": -0.82198 + }, + { + "imag": -0.07861, + "real": -0.082277 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.072699, + "real": -0.067228 + }, + { + "imag": 0.073431, + "real": -0.816792 + }, + { + "imag": 0.075263, + "real": -0.819317 + }, + { + "imag": -0.077262, + "real": -0.084753 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.071645, + "real": -0.070317 + }, + { + "imag": 0.101216, + "real": -0.813589 + }, + { + "imag": 0.103219, + "real": -0.815924 + }, + { + "imag": -0.075406, + "real": -0.087364 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.070235, + "real": -0.072252 + }, + { + "imag": 0.128999, + "real": -0.809423 + }, + { + "imag": 0.131654, + "real": -0.811704 + }, + { + "imag": -0.073502, + "real": -0.089633 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.069104, + "real": -0.07418 + }, + { + "imag": 0.157583, + "real": -0.804398 + }, + { + "imag": 0.158448, + "real": -0.806429 + }, + { + "imag": -0.071603, + "real": -0.091762 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.067174, + "real": -0.075458 + }, + { + "imag": 0.18547, + "real": -0.798661 + }, + { + "imag": 0.186836, + "real": -0.800323 + }, + { + "imag": -0.06969, + "real": -0.093391 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.06481, + "real": -0.076949 + }, + { + "imag": 0.213185, + "real": -0.791054 + }, + { + "imag": 0.2152, + "real": -0.793588 + }, + { + "imag": -0.067672, + "real": -0.094696 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.06217, + "real": -0.077898 + }, + { + "imag": 0.240689, + "real": -0.783246 + }, + { + "imag": 0.242633, + "real": -0.785706 + }, + { + "imag": -0.065208, + "real": -0.095558 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.059403, + "real": -0.078786 + }, + { + "imag": 0.267643, + "real": -0.77426 + }, + { + "imag": 0.269757, + "real": -0.776836 + }, + { + "imag": -0.06236, + "real": -0.096481 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.055833, + "real": -0.079807 + }, + { + "imag": 0.294241, + "real": -0.764318 + }, + { + "imag": 0.296005, + "real": -0.767411 + }, + { + "imag": -0.059301, + "real": -0.096955 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.052411, + "real": -0.080691 + }, + { + "imag": 0.320541, + "real": -0.7537 + }, + { + "imag": 0.322497, + "real": -0.755863 + }, + { + "imag": -0.055933, + "real": -0.097193 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.048632, + "real": -0.081362 + }, + { + "imag": 0.346685, + "real": -0.741779 + }, + { + "imag": 0.349201, + "real": -0.74414 + }, + { + "imag": -0.052113, + "real": -0.097232 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.044812, + "real": -0.081915 + }, + { + "imag": 0.372573, + "real": -0.728599 + }, + { + "imag": 0.374247, + "real": -0.731638 + }, + { + "imag": -0.048155, + "real": -0.097112 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.04082, + "real": -0.082212 + }, + { + "imag": 0.397515, + "real": -0.71494 + }, + { + "imag": 0.399664, + "real": -0.717635 + }, + { + "imag": -0.043956, + "real": -0.096698 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.037267, + "real": -0.083545 + }, + { + "imag": 0.422792, + "real": -0.700889 + }, + { + "imag": 0.425245, + "real": -0.702678 + }, + { + "imag": -0.039653, + "real": -0.096731 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.033174, + "real": -0.083921 + }, + { + "imag": 0.445523, + "real": -0.686034 + }, + { + "imag": 0.454286, + "real": -0.685488 + }, + { + "imag": -0.033244, + "real": -0.097988 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.029575, + "real": -0.08527 + }, + { + "imag": 0.470053, + "real": -0.669338 + }, + { + "imag": 0.472939, + "real": -0.671054 + }, + { + "imag": -0.030394, + "real": -0.096417 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.025802, + "real": -0.085686 + }, + { + "imag": 0.493112, + "real": -0.652126 + }, + { + "imag": 0.495819, + "real": -0.653354 + }, + { + "imag": -0.025509, + "real": -0.096041 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.022494, + "real": -0.086667 + }, + { + "imag": 0.515305, + "real": -0.634265 + }, + { + "imag": 0.518181, + "real": -0.635338 + }, + { + "imag": -0.020958, + "real": -0.095979 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.019023, + "real": -0.087506 + }, + { + "imag": 0.536947, + "real": -0.615407 + }, + { + "imag": 0.540003, + "real": -0.616345 + }, + { + "imag": -0.016226, + "real": -0.095438 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.016559, + "real": -0.088675 + }, + { + "imag": 0.557841, + "real": -0.596002 + }, + { + "imag": 0.561063, + "real": -0.596525 + }, + { + "imag": -0.011833, + "real": -0.095306 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.013713, + "real": -0.089767 + }, + { + "imag": 0.578257, + "real": -0.575442 + }, + { + "imag": 0.581397, + "real": -0.575386 + }, + { + "imag": -0.007706, + "real": -0.095045 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.011587, + "real": -0.090866 + }, + { + "imag": 0.597471, + "real": -0.554542 + }, + { + "imag": 0.600738, + "real": -0.554157 + }, + { + "imag": -0.003316, + "real": -0.09418 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.010094, + "real": -0.090846 + }, + { + "imag": 0.615659, + "real": -0.533389 + }, + { + "imag": 0.618632, + "real": -0.533451 + }, + { + "imag": 0.001071, + "real": -0.093357 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.008701, + "real": -0.091674 + }, + { + "imag": 0.634032, + "real": -0.511386 + }, + { + "imag": 0.637001, + "real": -0.511345 + }, + { + "imag": 0.005328, + "real": -0.092847 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.00738, + "real": -0.0921 + }, + { + "imag": 0.651706, + "real": -0.488955 + }, + { + "imag": 0.655069, + "real": -0.48765 + }, + { + "imag": 0.009073, + "real": -0.092274 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.006378, + "real": -0.092585 + }, + { + "imag": 0.668254, + "real": -0.464937 + }, + { + "imag": 0.67093, + "real": -0.464347 + }, + { + "imag": 0.012987, + "real": -0.091702 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.006098, + "real": -0.092533 + }, + { + "imag": 0.683778, + "real": -0.4412 + }, + { + "imag": 0.686309, + "real": -0.44072 + }, + { + "imag": 0.016402, + "real": -0.091182 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.005405, + "real": -0.091988 + }, + { + "imag": 0.69819, + "real": -0.417016 + }, + { + "imag": 0.701122, + "real": -0.416046 + }, + { + "imag": 0.019209, + "real": -0.090196 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.00503, + "real": -0.091255 + }, + { + "imag": 0.712684, + "real": -0.391225 + }, + { + "imag": 0.724094, + "real": -0.379407 + }, + { + "imag": 0.021872, + "real": -0.084913 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.004493, + "real": -0.089536 + }, + { + "imag": 0.725198, + "real": -0.366633 + }, + { + "imag": 0.728682, + "real": -0.365773 + }, + { + "imag": 0.024599, + "real": -0.08767 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.003896, + "real": -0.087717 + }, + { + "imag": 0.737208, + "real": -0.341048 + }, + { + "imag": 0.74058, + "real": -0.340258 + }, + { + "imag": 0.027061, + "real": -0.086313 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.002696, + "real": -0.086079 + }, + { + "imag": 0.748556, + "real": -0.315437 + }, + { + "imag": 0.75255, + "real": -0.314099 + }, + { + "imag": 0.029689, + "real": -0.084596 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.002277, + "real": -0.084077 + }, + { + "imag": 0.758872, + "real": -0.288469 + }, + { + "imag": 0.762618, + "real": -0.288053 + }, + { + "imag": 0.031783, + "real": -0.082792 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.003735, + "real": -0.08167 + }, + { + "imag": 0.765098, + "real": -0.263743 + }, + { + "imag": 0.768855, + "real": -0.260925 + }, + { + "imag": 0.032172, + "real": -0.080798 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.000802, + "real": -0.078833 + }, + { + "imag": 0.776507, + "real": -0.234654 + }, + { + "imag": 0.780497, + "real": -0.23432 + }, + { + "imag": 0.035707, + "real": -0.078698 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.000635, + "real": -0.075327 + }, + { + "imag": 0.785028, + "real": -0.207594 + }, + { + "imag": 0.78883, + "real": -0.206833 + }, + { + "imag": 0.037422, + "real": -0.076987 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.00211, + "real": -0.072708 + }, + { + "imag": 0.791849, + "real": -0.179918 + }, + { + "imag": 0.795787, + "real": -0.179187 + }, + { + "imag": 0.039283, + "real": -0.074897 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.004147, + "real": -0.069694 + }, + { + "imag": 0.797501, + "real": -0.151706 + }, + { + "imag": 0.801243, + "real": -0.151106 + }, + { + "imag": 0.041316, + "real": -0.072675 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.006145, + "real": -0.066975 + }, + { + "imag": 0.801859, + "real": -0.123784 + }, + { + "imag": 0.806051, + "real": -0.12315 + }, + { + "imag": 0.042642, + "real": -0.070324 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.009008, + "real": -0.064605 + }, + { + "imag": 0.805952, + "real": -0.095889 + }, + { + "imag": 0.809292, + "real": -0.094359 + }, + { + "imag": 0.044512, + "real": -0.068373 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.011922, + "real": -0.062214 + }, + { + "imag": 0.808838, + "real": -0.067186 + }, + { + "imag": 0.811763, + "real": -0.065617 + }, + { + "imag": 0.046181, + "real": -0.066209 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.015176, + "real": -0.060642 + }, + { + "imag": 0.810314, + "real": -0.038721 + }, + { + "imag": 0.813738, + "real": -0.037204 + }, + { + "imag": 0.048061, + "real": -0.06447 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.018256, + "real": -0.059285 + }, + { + "imag": 0.81067, + "real": -0.009942 + }, + { + "imag": 0.814414, + "real": -0.009128 + }, + { + "imag": 0.049791, + "real": -0.062685 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.022274, + "real": -0.057937 + }, + { + "imag": 0.8099189999999999, + "real": 0.017845 + }, + { + "imag": 0.812954, + "real": 0.019355 + }, + { + "imag": 0.051562, + "real": -0.060406 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.02618, + "real": -0.05715 + }, + { + "imag": 0.808159, + "real": 0.045982 + }, + { + "imag": 0.811232, + "real": 0.047311 + }, + { + "imag": 0.053436, + "real": -0.057687 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.029318, + "real": -0.05645 + }, + { + "imag": 0.806139, + "real": 0.074369 + }, + { + "imag": 0.809354, + "real": 0.075198 + }, + { + "imag": 0.055443, + "real": -0.05542 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.032894, + "real": -0.05706 + }, + { + "imag": 0.802449, + "real": 0.102562 + }, + { + "imag": 0.805442, + "real": 0.103393 + }, + { + "imag": 0.057959, + "real": -0.052899 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.036414, + "real": -0.057842 + }, + { + "imag": 0.798084, + "real": 0.130261 + }, + { + "imag": 0.800859, + "real": 0.131746 + }, + { + "imag": 0.060543, + "real": -0.05088 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.040165, + "real": -0.058625 + }, + { + "imag": 0.79285, + "real": 0.157574 + }, + { + "imag": 0.795342, + "real": 0.159212 + }, + { + "imag": 0.063002, + "real": -0.049198 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.043068, + "real": -0.059144 + }, + { + "imag": 0.786646, + "real": 0.184848 + }, + { + "imag": 0.790176, + "real": 0.186073 + }, + { + "imag": 0.065067, + "real": -0.047224 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.046067, + "real": -0.060104 + }, + { + "imag": 0.779327, + "real": 0.211815 + }, + { + "imag": 0.782835, + "real": 0.214452 + }, + { + "imag": 0.066858, + "real": -0.045413 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.048226, + "real": -0.062161 + }, + { + "imag": 0.771644, + "real": 0.238217 + }, + { + "imag": 0.774003, + "real": 0.241776 + }, + { + "imag": 0.06822, + "real": -0.043213 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.050619, + "real": -0.06359 + }, + { + "imag": 0.762426, + "real": 0.264798 + }, + { + "imag": 0.764868, + "real": 0.268055 + }, + { + "imag": 0.069844, + "real": -0.041109 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.052523, + "real": -0.064769 + }, + { + "imag": 0.75223, + "real": 0.290881 + }, + { + "imag": 0.755073, + "real": 0.293955 + }, + { + "imag": 0.07114, + "real": -0.038775 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.053586, + "real": -0.066219 + }, + { + "imag": 0.741406, + "real": 0.316376 + }, + { + "imag": 0.743689, + "real": 0.319475 + }, + { + "imag": 0.07216, + "real": -0.036366 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.054047, + "real": -0.067705 + }, + { + "imag": 0.72999, + "real": 0.341154 + }, + { + "imag": 0.731118, + "real": 0.344814 + }, + { + "imag": 0.073192, + "real": -0.034112 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.053837, + "real": -0.068528 + }, + { + "imag": 0.717518, + "real": 0.366925 + }, + { + "imag": 0.71804, + "real": 0.370328 + }, + { + "imag": 0.074103, + "real": -0.031274 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.052795, + "real": -0.068124 + }, + { + "imag": 0.703896, + "real": 0.392048 + }, + { + "imag": 0.703805, + "real": 0.395085 + }, + { + "imag": 0.07453, + "real": -0.028201 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.052673, + "real": -0.068216 + }, + { + "imag": 0.690187, + "real": 0.416161 + }, + { + "imag": 0.689633, + "real": 0.419733 + }, + { + "imag": 0.075615, + "real": -0.025236 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.050381, + "real": -0.068929 + }, + { + "imag": 0.676351, + "real": 0.439941 + }, + { + "imag": 0.675296, + "real": 0.44235 + }, + { + "imag": 0.075781, + "real": -0.022623 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.048338, + "real": -0.068473 + }, + { + "imag": 0.66083, + "real": 0.463519 + }, + { + "imag": 0.659431, + "real": 0.465527 + }, + { + "imag": 0.07642, + "real": -0.019566 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.046734, + "real": -0.067307 + }, + { + "imag": 0.644655, + "real": 0.486199 + }, + { + "imag": 0.64281, + "real": 0.48769 + }, + { + "imag": 0.07671, + "real": -0.01706 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.044188, + "real": -0.065998 + }, + { + "imag": 0.627227, + "real": 0.507958 + }, + { + "imag": 0.626555, + "real": 0.508952 + }, + { + "imag": 0.07657, + "real": -0.014697 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.041149, + "real": -0.063444 + }, + { + "imag": 0.608655, + "real": 0.529953 + }, + { + "imag": 0.609061, + "real": 0.531523 + }, + { + "imag": 0.076874, + "real": -0.012375 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.038243, + "real": -0.061284 + }, + { + "imag": 0.589273, + "real": 0.550671 + }, + { + "imag": 0.588681, + "real": 0.554717 + }, + { + "imag": 0.07757, + "real": -0.010068 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.035111, + "real": -0.058949 + }, + { + "imag": 0.569053, + "real": 0.5711 + }, + { + "imag": 0.56818, + "real": 0.575305 + }, + { + "imag": 0.077546, + "real": -0.008059 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.033117, + "real": -0.056179 + }, + { + "imag": 0.547751, + "real": 0.590528 + }, + { + "imag": 0.546732, + "real": 0.594979 + }, + { + "imag": 0.077376, + "real": -0.006058 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.031157, + "real": -0.052647 + }, + { + "imag": 0.526118, + "real": 0.609344 + }, + { + "imag": 0.525469, + "real": 0.613411 + }, + { + "imag": 0.076897, + "real": -0.003979 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.029137, + "real": -0.049108 + }, + { + "imag": 0.503624, + "real": 0.627546 + }, + { + "imag": 0.503567, + "real": 0.63104 + }, + { + "imag": 0.076605, + "real": -0.001761 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.027254, + "real": -0.045424 + }, + { + "imag": 0.4809, + "real": 0.644717 + }, + { + "imag": 0.48087, + "real": 0.647655 + }, + { + "imag": 0.076374, + "real": 0.00063 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.025968, + "real": -0.041646 + }, + { + "imag": 0.457348, + "real": 0.660704 + }, + { + "imag": 0.457626, + "real": 0.663231 + }, + { + "imag": 0.076253, + "real": 0.002962 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.025275, + "real": -0.037911 + }, + { + "imag": 0.433537, + "real": 0.676439 + }, + { + "imag": 0.433571, + "real": 0.678332 + }, + { + "imag": 0.076332, + "real": 0.005241 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.024941, + "real": -0.034407 + }, + { + "imag": 0.408915, + "real": 0.690703 + }, + { + "imag": 0.409424, + "real": 0.692638 + }, + { + "imag": 0.076623, + "real": 0.007073 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.026911, + "real": -0.031487 + }, + { + "imag": 0.384332, + "real": 0.7039 + }, + { + "imag": 0.384816, + "real": 0.70652 + }, + { + "imag": 0.077111, + "real": 0.00893 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.027538, + "real": -0.028206 + }, + { + "imag": 0.359647, + "real": 0.715956 + }, + { + "imag": 0.360119, + "real": 0.720133 + }, + { + "imag": 0.077505, + "real": 0.010649 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.027906, + "real": -0.025448 + }, + { + "imag": 0.333825, + "real": 0.727162 + }, + { + "imag": 0.335715, + "real": 0.732024 + }, + { + "imag": 0.077807, + "real": 0.012649 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.029565, + "real": -0.023211 + }, + { + "imag": 0.308123, + "real": 0.737555 + }, + { + "imag": 0.310776, + "real": 0.743156 + }, + { + "imag": 0.078238, + "real": 0.014192 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.031484, + "real": -0.020796 + }, + { + "imag": 0.281961, + "real": 0.747435 + }, + { + "imag": 0.284763, + "real": 0.753674 + }, + { + "imag": 0.077691, + "real": 0.015143 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.034169, + "real": -0.019207 + }, + { + "imag": 0.255722, + "real": 0.756473 + }, + { + "imag": 0.25814, + "real": 0.762702 + }, + { + "imag": 0.07753, + "real": 0.016492 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.037534, + "real": -0.018488 + }, + { + "imag": 0.229227, + "real": 0.764229 + }, + { + "imag": 0.231223, + "real": 0.770629 + }, + { + "imag": 0.077457, + "real": 0.017714 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.04067, + "real": -0.017685 + }, + { + "imag": 0.202726, + "real": 0.771315 + }, + { + "imag": 0.203199, + "real": 0.778293 + }, + { + "imag": 0.076814, + "real": 0.019403 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.044139, + "real": -0.018015 + }, + { + "imag": 0.176115, + "real": 0.778169 + }, + { + "imag": 0.175277, + "real": 0.784851 + }, + { + "imag": 0.075747, + "real": 0.021227 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.04757, + "real": -0.01852 + }, + { + "imag": 0.149366, + "real": 0.783789 + }, + { + "imag": 0.1471, + "real": 0.790774 + }, + { + "imag": 0.075021, + "real": 0.023104 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.04968, + "real": -0.018787 + }, + { + "imag": 0.122319, + "real": 0.787993 + }, + { + "imag": 0.119854, + "real": 0.79546 + }, + { + "imag": 0.074571, + "real": 0.025078 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.055129, + "real": -0.017981 + }, + { + "imag": 0.092545, + "real": 0.792488 + }, + { + "imag": 0.086176, + "real": 0.798002 + }, + { + "imag": 0.074037, + "real": 0.029498 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.057607, + "real": -0.02016 + }, + { + "imag": 0.066973, + "real": 0.795485 + }, + { + "imag": 0.064775, + "real": 0.800093 + }, + { + "imag": 0.072859, + "real": 0.02893 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.060934, + "real": -0.021297 + }, + { + "imag": 0.03924, + "real": 0.797299 + }, + { + "imag": 0.036749, + "real": 0.800762 + }, + { + "imag": 0.072386, + "real": 0.030667 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.064019, + "real": -0.022693 + }, + { + "imag": 0.011258, + "real": 0.798449 + }, + { + "imag": 0.008612, + "real": 0.800678 + }, + { + "imag": 0.071795, + "real": 0.032274 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.066896, + "real": -0.023911 + }, + { + "imag": -0.017, + "real": 0.797994 + }, + { + "imag": -0.019652, + "real": 0.799535 + }, + { + "imag": 0.071118, + "real": 0.033935 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.069333, + "real": -0.024788 + }, + { + "imag": -0.045418, + "real": 0.796736 + }, + { + "imag": -0.047597, + "real": 0.79822 + }, + { + "imag": 0.07057, + "real": 0.035353 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.071539, + "real": -0.026063 + }, + { + "imag": -0.073481, + "real": 0.794396 + }, + { + "imag": -0.075736, + "real": 0.795754 + }, + { + "imag": 0.069858, + "real": 0.036366 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.073007, + "real": -0.02703 + }, + { + "imag": -0.101456, + "real": 0.790585 + }, + { + "imag": -0.103397, + "real": 0.792081 + }, + { + "imag": 0.068357, + "real": 0.037607 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.074159, + "real": -0.027498 + }, + { + "imag": -0.129079, + "real": 0.785812 + }, + { + "imag": -0.130738, + "real": 0.78743 + }, + { + "imag": 0.06735, + "real": 0.038625 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.075305, + "real": -0.027598 + }, + { + "imag": -0.157935, + "real": 0.780353 + }, + { + "imag": -0.158176, + "real": 0.782341 + }, + { + "imag": 0.065521, + "real": 0.039561 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.076129, + "real": -0.027973 + }, + { + "imag": -0.18531, + "real": 0.773731 + }, + { + "imag": -0.184824, + "real": 0.775498 + }, + { + "imag": 0.064938, + "real": 0.040043 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.076125, + "real": -0.028157 + }, + { + "imag": -0.211299, + "real": 0.765513 + }, + { + "imag": -0.211419, + "real": 0.767717 + }, + { + "imag": 0.064261, + "real": 0.040282 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.076239, + "real": -0.027245 + }, + { + "imag": -0.237379, + "real": 0.756932 + }, + { + "imag": -0.237787, + "real": 0.759417 + }, + { + "imag": 0.063131, + "real": 0.040846 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.076049, + "real": -0.026608 + }, + { + "imag": -0.263203, + "real": 0.747725 + }, + { + "imag": -0.263818, + "real": 0.750162 + }, + { + "imag": 0.061628, + "real": 0.040599 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.075978, + "real": -0.025893 + }, + { + "imag": -0.288493, + "real": 0.737413 + }, + { + "imag": -0.289896, + "real": 0.740239 + }, + { + "imag": 0.06023, + "real": 0.040301 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.075939, + "real": -0.02516 + }, + { + "imag": -0.313337, + "real": 0.72644 + }, + { + "imag": -0.314532, + "real": 0.729663 + }, + { + "imag": 0.058489, + "real": 0.039889 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.076067, + "real": -0.023878 + }, + { + "imag": -0.338014, + "real": 0.715017 + }, + { + "imag": -0.339193, + "real": 0.718669 + }, + { + "imag": 0.057355, + "real": 0.039832 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.075582, + "real": -0.022372 + }, + { + "imag": -0.3625, + "real": 0.702918 + }, + { + "imag": -0.364194, + "real": 0.706579 + }, + { + "imag": 0.055709, + "real": 0.039199 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.075713, + "real": -0.021508 + }, + { + "imag": -0.3865, + "real": 0.689691 + }, + { + "imag": -0.388711, + "real": 0.693533 + }, + { + "imag": 0.05372, + "real": 0.038216 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.075758, + "real": -0.020063 + }, + { + "imag": -0.411188, + "real": 0.676823 + }, + { + "imag": -0.412582, + "real": 0.680065 + }, + { + "imag": 0.052426, + "real": 0.037736 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.075892, + "real": -0.018811 + }, + { + "imag": -0.435006, + "real": 0.662211 + }, + { + "imag": -0.436239, + "real": 0.665563 + }, + { + "imag": 0.049677, + "real": 0.036032 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.076237, + "real": -0.018132 + }, + { + "imag": -0.45692, + "real": 0.646021 + }, + { + "imag": -0.459508, + "real": 0.650221 + }, + { + "imag": 0.046326, + "real": 0.033952 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.076261, + "real": -0.016853 + }, + { + "imag": -0.480054, + "real": 0.629029 + }, + { + "imag": -0.482066, + "real": 0.632851 + }, + { + "imag": 0.043266, + "real": 0.033131 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.076494, + "real": -0.016325 + }, + { + "imag": -0.5016929999999999, + "real": 0.611622 + }, + { + "imag": -0.503831, + "real": 0.61474 + }, + { + "imag": 0.040285, + "real": 0.031715 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.076597, + "real": -0.015843 + }, + { + "imag": -0.522902, + "real": 0.593559 + }, + { + "imag": -0.524979, + "real": 0.596676 + }, + { + "imag": 0.03685, + "real": 0.03046 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.077065, + "real": -0.015514 + }, + { + "imag": -0.543585, + "real": 0.574403 + }, + { + "imag": -0.54605, + "real": 0.577447 + }, + { + "imag": 0.033624, + "real": 0.029107 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.077527, + "real": -0.015161 + }, + { + "imag": -0.563687, + "real": 0.554431 + }, + { + "imag": -0.565673, + "real": 0.557168 + }, + { + "imag": 0.030224, + "real": 0.027729 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.077983, + "real": -0.014807 + }, + { + "imag": -0.583284, + "real": 0.533526 + }, + { + "imag": -0.58466, + "real": 0.536608 + }, + { + "imag": 0.026645, + "real": 0.026553 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.078743, + "real": -0.015022 + }, + { + "imag": -0.601397, + "real": 0.512662 + }, + { + "imag": -0.602633, + "real": 0.515685 + }, + { + "imag": 0.0232, + "real": 0.025538 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.078753, + "real": -0.015273 + }, + { + "imag": -0.617577, + "real": 0.49023 + }, + { + "imag": -0.619727, + "real": 0.49415 + }, + { + "imag": 0.019333, + "real": 0.024699 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.078506, + "real": -0.015555 + }, + { + "imag": -0.63449, + "real": 0.467799 + }, + { + "imag": -0.635904, + "real": 0.471704 + }, + { + "imag": 0.015965, + "real": 0.023852 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.078781, + "real": -0.015826 + }, + { + "imag": -0.650476, + "real": 0.444984 + }, + { + "imag": -0.651287, + "real": 0.448857 + }, + { + "imag": 0.012624, + "real": 0.023123 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.078946, + "real": -0.01643 + }, + { + "imag": -0.665357, + "real": 0.421426 + }, + { + "imag": -0.666449, + "real": 0.425351 + }, + { + "imag": 0.009444, + "real": 0.022811 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.079072, + "real": -0.017179 + }, + { + "imag": -0.679617, + "real": 0.397297 + }, + { + "imag": -0.68027, + "real": 0.401454 + }, + { + "imag": 0.006382, + "real": 0.022442 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.078794, + "real": -0.01733 + }, + { + "imag": -0.692515, + "real": 0.372772 + }, + { + "imag": -0.693136, + "real": 0.377629 + }, + { + "imag": 0.003971, + "real": 0.022208 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.079106, + "real": -0.018025 + }, + { + "imag": -0.704636, + "real": 0.347711 + }, + { + "imag": -0.706557, + "real": 0.351027 + }, + { + "imag": 0.001689, + "real": 0.022158 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.079064, + "real": -0.018179 + }, + { + "imag": -0.715458, + "real": 0.322528 + }, + { + "imag": -0.71797, + "real": 0.325585 + }, + { + "imag": -1.1e-05, + "real": 0.021936 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.079259, + "real": -0.018186 + }, + { + "imag": -0.725133, + "real": 0.296898 + }, + { + "imag": -0.728031, + "real": 0.30009 + }, + { + "imag": -0.001413, + "real": 0.021864 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.079481, + "real": -0.017535 + }, + { + "imag": -0.733834, + "real": 0.271055 + }, + { + "imag": -0.737043, + "real": 0.273938 + }, + { + "imag": -0.002074, + "real": 0.022202 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.079896, + "real": -0.016574 + }, + { + "imag": -0.742309, + "real": 0.245626 + }, + { + "imag": -0.745268, + "real": 0.24793 + }, + { + "imag": -0.002354, + "real": 0.022079 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.080547, + "real": -0.014973 + }, + { + "imag": -0.748666, + "real": 0.219759 + }, + { + "imag": -0.751737, + "real": 0.222221 + }, + { + "imag": -0.001987, + "real": 0.02252 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.080278, + "real": -0.012946 + }, + { + "imag": -0.755609, + "real": 0.192457 + }, + { + "imag": -0.759864, + "real": 0.191456 + }, + { + "imag": -0.004511, + "real": 0.020143 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.081577, + "real": -0.011437 + }, + { + "imag": -0.760569, + "real": 0.167426 + }, + { + "imag": -0.763693, + "real": 0.168066 + }, + { + "imag": -0.000914, + "real": 0.022512 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.082502, + "real": -0.009609 + }, + { + "imag": -0.765066, + "real": 0.140984 + }, + { + "imag": -0.767778, + "real": 0.14134 + }, + { + "imag": -0.000345, + "real": 0.02197 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.083667, + "real": -0.006741 + }, + { + "imag": -0.768151, + "real": 0.114293 + }, + { + "imag": -0.771241, + "real": 0.114405 + }, + { + "imag": 0.001563, + "real": 0.021506 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.085382, + "real": -0.002743 + }, + { + "imag": -0.769853, + "real": 0.087279 + }, + { + "imag": -0.773324, + "real": 0.08847 + }, + { + "imag": 0.001981, + "real": 0.021166 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.087752, + "real": 0.001155 + }, + { + "imag": -0.770757, + "real": 0.061699 + }, + { + "imag": -0.774016, + "real": 0.06236 + }, + { + "imag": 0.004819, + "real": 0.020177 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.089723, + "real": 0.006226 + }, + { + "imag": -0.771127, + "real": 0.036576 + }, + { + "imag": -0.774105, + "real": 0.037192 + }, + { + "imag": 0.006317, + "real": 0.020533 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.091944, + "real": 0.012201 + }, + { + "imag": -0.770873, + "real": 0.011357 + }, + { + "imag": -0.774107, + "real": 0.012448 + }, + { + "imag": 0.006971, + "real": 0.021703 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.092235, + "real": 0.018082 + }, + { + "imag": -0.771371, + "real": -0.01324 + }, + { + "imag": -0.773769, + "real": -0.01198 + }, + { + "imag": 0.006578, + "real": 0.022152 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.092699, + "real": 0.022712 + }, + { + "imag": -0.771135, + "real": -0.037325 + }, + { + "imag": -0.775051, + "real": -0.036984 + }, + { + "imag": 0.004237, + "real": 0.021167 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.092925, + "real": 0.02743 + }, + { + "imag": -0.770476, + "real": -0.064155 + }, + { + "imag": -0.774009, + "real": -0.063579 + }, + { + "imag": 0.000736, + "real": 0.020994 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.09299, + "real": 0.030662 + }, + { + "imag": -0.768839, + "real": -0.09061 + }, + { + "imag": -0.773046, + "real": -0.090901 + }, + { + "imag": -0.002436, + "real": 0.018193 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.093846, + "real": 0.033424 + }, + { + "imag": -0.76597, + "real": -0.117511 + }, + { + "imag": -0.770042, + "real": -0.117872 + }, + { + "imag": -0.005339, + "real": 0.015667 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.094679, + "real": 0.035886 + }, + { + "imag": -0.76167, + "real": -0.144715 + }, + { + "imag": -0.765866, + "real": -0.145218 + }, + { + "imag": -0.008563, + "real": 0.012605 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.096109, + "real": 0.03769 + }, + { + "imag": -0.756394, + "real": -0.171131 + }, + { + "imag": -0.760335, + "real": -0.172078 + }, + { + "imag": -0.011889, + "real": 0.008696 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.097304, + "real": 0.039811 + }, + { + "imag": -0.749896, + "real": -0.197596 + }, + { + "imag": -0.753989, + "real": -0.198713 + }, + { + "imag": -0.015047, + "real": 0.005022 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.098806, + "real": 0.041402 + }, + { + "imag": -0.742214, + "real": -0.223783 + }, + { + "imag": -0.746307, + "real": -0.22511 + }, + { + "imag": -0.018754, + "real": 0.001223 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.100454, + "real": 0.043503 + }, + { + "imag": -0.734113, + "real": -0.249593 + }, + { + "imag": -0.738274, + "real": -0.250362 + }, + { + "imag": -0.021946, + "real": -0.001238 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.101834, + "real": 0.04551 + }, + { + "imag": -0.72539, + "real": -0.274011 + }, + { + "imag": -0.728983, + "real": -0.275991 + }, + { + "imag": -0.02476, + "real": -0.003565 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.102715, + "real": 0.046351 + }, + { + "imag": -0.715597, + "real": -0.299498 + }, + { + "imag": -0.718381, + "real": -0.302132 + }, + { + "imag": -0.02755, + "real": -0.006411 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.103788, + "real": 0.047807 + }, + { + "imag": -0.704806, + "real": -0.324724 + }, + { + "imag": -0.707475, + "real": -0.32687 + }, + { + "imag": -0.029826, + "real": -0.007947 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.104569, + "real": 0.049125 + }, + { + "imag": -0.693165, + "real": -0.349219 + }, + { + "imag": -0.695054, + "real": -0.351809 + }, + { + "imag": -0.032004, + "real": -0.009201 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.104777, + "real": 0.050579 + }, + { + "imag": -0.680288, + "real": -0.374349 + }, + { + "imag": -0.682221, + "real": -0.37591 + }, + { + "imag": -0.03423, + "real": -0.00997 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.104556, + "real": 0.051967 + }, + { + "imag": -0.667222, + "real": -0.398579 + }, + { + "imag": -0.668352, + "real": -0.399163 + }, + { + "imag": -0.036014, + "real": -0.010421 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.105078, + "real": 0.052686 + }, + { + "imag": -0.653201, + "real": -0.42179 + }, + { + "imag": -0.653897, + "real": -0.422012 + }, + { + "imag": -0.037853, + "real": -0.010049 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.104877, + "real": 0.054148 + }, + { + "imag": -0.637841, + "real": -0.444897 + }, + { + "imag": -0.638818, + "real": -0.444046 + }, + { + "imag": -0.038387, + "real": -0.008607 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.104147, + "real": 0.05592 + }, + { + "imag": -0.621387, + "real": -0.467724 + }, + { + "imag": -0.62282, + "real": -0.466237 + }, + { + "imag": -0.038657, + "real": -0.007415 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.103689, + "real": 0.05799 + }, + { + "imag": -0.603906, + "real": -0.489569 + }, + { + "imag": -0.606317, + "real": -0.487348 + }, + { + "imag": -0.038175, + "real": -0.006067 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.10479, + "real": 0.067021 + }, + { + "imag": -0.583085, + "real": -0.515614 + }, + { + "imag": -0.593357, + "real": -0.499204 + }, + { + "imag": -0.028059, + "real": -0.005996 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.103125, + "real": 0.062437 + }, + { + "imag": -0.566598, + "real": -0.530957 + }, + { + "imag": -0.571025, + "real": -0.528179 + }, + { + "imag": -0.035753, + "real": -0.002692 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.10197, + "real": 0.065111 + }, + { + "imag": -0.546748, + "real": -0.55047 + }, + { + "imag": -0.551753, + "real": -0.548915 + }, + { + "imag": -0.03353, + "real": -0.001314 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.100595, + "real": 0.067704 + }, + { + "imag": -0.527064, + "real": -0.568787 + }, + { + "imag": -0.532298, + "real": -0.567633 + }, + { + "imag": -0.031128, + "real": 0.000279 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.10064, + "real": 0.070787 + }, + { + "imag": -0.506533, + "real": -0.584981 + }, + { + "imag": -0.511984, + "real": -0.585137 + }, + { + "imag": -0.027701, + "real": 0.001657 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.099467, + "real": 0.074351 + }, + { + "imag": -0.48468, + "real": -0.598995 + }, + { + "imag": -0.48945, + "real": -0.602753 + }, + { + "imag": -0.023353, + "real": 0.004148 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.098236, + "real": 0.076647 + }, + { + "imag": -0.463428, + "real": -0.615552 + }, + { + "imag": -0.468881, + "real": -0.619897 + }, + { + "imag": -0.019301, + "real": 0.004532 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.097665, + "real": 0.079148 + }, + { + "imag": -0.443292, + "real": -0.631316 + }, + { + "imag": -0.446922, + "real": -0.635358 + }, + { + "imag": -0.015324, + "real": 0.004828 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.096732, + "real": 0.082652 + }, + { + "imag": -0.421455, + "real": -0.645697 + }, + { + "imag": -0.424195, + "real": -0.649501 + }, + { + "imag": -0.010583, + "real": 0.005242 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.095623, + "real": 0.086301 + }, + { + "imag": -0.399595, + "real": -0.659238 + }, + { + "imag": -0.400281, + "real": -0.66421 + }, + { + "imag": -0.004799, + "real": 0.005603 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.095086, + "real": 0.089544 + }, + { + "imag": -0.377298, + "real": -0.671889 + }, + { + "imag": -0.376806, + "real": -0.676409 + }, + { + "imag": -0.000301, + "real": 0.005183 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.094416, + "real": 0.093064 + }, + { + "imag": -0.354859, + "real": -0.684225 + }, + { + "imag": -0.352549, + "real": -0.688676 + }, + { + "imag": 0.004924, + "real": 0.004218 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.094017, + "real": 0.096833 + }, + { + "imag": -0.332224, + "real": -0.695955 + }, + { + "imag": -0.329673, + "real": -0.70044 + }, + { + "imag": 0.008744, + "real": 0.002648 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.092718, + "real": 0.099533 + }, + { + "imag": -0.307892, + "real": -0.707406 + }, + { + "imag": -0.303888, + "real": -0.711364 + }, + { + "imag": 0.014326, + "real": 0.001124 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.091621, + "real": 0.102428 + }, + { + "imag": -0.283646, + "real": -0.718446 + }, + { + "imag": -0.279543, + "real": -0.721116 + }, + { + "imag": 0.018281, + "real": -0.000277 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.090405, + "real": 0.10575 + }, + { + "imag": -0.258914, + "real": -0.728596 + }, + { + "imag": -0.255005, + "real": -0.730918 + }, + { + "imag": 0.022515, + "real": -0.002804 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.08836, + "real": 0.108275 + }, + { + "imag": -0.234095, + "real": -0.73767 + }, + { + "imag": -0.229299, + "real": -0.739893 + }, + { + "imag": 0.026718, + "real": -0.004795 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.087586, + "real": 0.110408 + }, + { + "imag": -0.209418, + "real": -0.746312 + }, + { + "imag": -0.205907, + "real": -0.74759 + }, + { + "imag": 0.029362, + "real": -0.004083 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.084808, + "real": 0.112612 + }, + { + "imag": -0.182246, + "real": -0.75337 + }, + { + "imag": -0.17737, + "real": -0.755111 + }, + { + "imag": 0.032526, + "real": -0.008279 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.082429, + "real": 0.114612 + }, + { + "imag": -0.155151, + "real": -0.759901 + }, + { + "imag": -0.151198, + "real": -0.760677 + }, + { + "imag": 0.034927, + "real": -0.010769 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.079733, + "real": 0.116475 + }, + { + "imag": -0.12776, + "real": -0.765172 + }, + { + "imag": -0.124358, + "real": -0.765367 + }, + { + "imag": 0.036716, + "real": -0.012775 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.077264, + "real": 0.117757 + }, + { + "imag": -0.099475, + "real": -0.768952 + }, + { + "imag": -0.096891, + "real": -0.76957 + }, + { + "imag": 0.038814, + "real": -0.01347 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.074938, + "real": 0.119039 + }, + { + "imag": -0.07069, + "real": -0.771966 + }, + { + "imag": -0.068818, + "real": -0.772714 + }, + { + "imag": 0.038825, + "real": -0.01544 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.072377, + "real": 0.118976 + }, + { + "imag": -0.042776, + "real": -0.772784 + }, + { + "imag": -0.042097, + "real": -0.773976 + }, + { + "imag": 0.040814, + "real": -0.016051 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.069822, + "real": 0.119511 + }, + { + "imag": -0.014482, + "real": -0.771953 + }, + { + "imag": -0.014213, + "real": -0.77465 + }, + { + "imag": 0.041564, + "real": -0.01632 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.066437, + "real": 0.12094 + }, + { + "imag": 0.012342, + "real": -0.770448 + }, + { + "imag": 0.012577, + "real": -0.773612 + }, + { + "imag": 0.04146, + "real": -0.015896 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.063349, + "real": 0.121428 + }, + { + "imag": 0.040585, + "real": -0.767508 + }, + { + "imag": 0.039785, + "real": -0.771826 + }, + { + "imag": 0.042459, + "real": -0.015152 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.059563, + "real": 0.120908 + }, + { + "imag": 0.068404, + "real": -0.76284 + }, + { + "imag": 0.067118, + "real": -0.768567 + }, + { + "imag": 0.041826, + "real": -0.012556 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.054857, + "real": 0.121212 + }, + { + "imag": 0.093252, + "real": -0.75864 + }, + { + "imag": 0.093401, + "real": -0.764578 + }, + { + "imag": 0.042762, + "real": -0.012825 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.050854, + "real": 0.121667 + }, + { + "imag": 0.118871, + "real": -0.753018 + }, + { + "imag": 0.119712, + "real": -0.759215 + }, + { + "imag": 0.043749, + "real": -0.010355 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.047308, + "real": 0.122364 + }, + { + "imag": 0.14324, + "real": -0.747657 + }, + { + "imag": 0.145041, + "real": -0.752805 + }, + { + "imag": 0.043292, + "real": -0.008436 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.042642, + "real": 0.122255 + }, + { + "imag": 0.168484, + "real": -0.741893 + }, + { + "imag": 0.171281, + "real": -0.746748 + }, + { + "imag": 0.043704, + "real": -0.00736 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.038463, + "real": 0.121909 + }, + { + "imag": 0.192335, + "real": -0.736079 + }, + { + "imag": 0.197238, + "real": -0.740343 + }, + { + "imag": 0.043183, + "real": -0.005612 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.034533, + "real": 0.122373 + }, + { + "imag": 0.216795, + "real": -0.729606 + }, + { + "imag": 0.221498, + "real": -0.732923 + }, + { + "imag": 0.043141, + "real": -0.002798 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.030504, + "real": 0.122854 + }, + { + "imag": 0.241297, + "real": -0.722482 + }, + { + "imag": 0.24645, + "real": -0.724775 + }, + { + "imag": 0.043365, + "real": 0.000455 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.027122, + "real": 0.123255 + }, + { + "imag": 0.26642, + "real": -0.714814 + }, + { + "imag": 0.271835, + "real": -0.715901 + }, + { + "imag": 0.04304, + "real": 0.002274 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.022616, + "real": 0.123874 + }, + { + "imag": 0.291044, + "real": -0.706862 + }, + { + "imag": 0.296191, + "real": -0.707258 + }, + { + "imag": 0.04265, + "real": 0.006046 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.018157, + "real": 0.124889 + }, + { + "imag": 0.316144, + "real": -0.697548 + }, + { + "imag": 0.320205, + "real": -0.696903 + }, + { + "imag": 0.042113, + "real": 0.009758 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.014021, + "real": 0.125192 + }, + { + "imag": 0.341267, + "real": -0.687063 + }, + { + "imag": 0.344829, + "real": -0.686092 + }, + { + "imag": 0.041496, + "real": 0.013088 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": 0.009517, + "real": 0.12597 + }, + { + "imag": 0.366353, + "real": -0.675701 + }, + { + "imag": 0.369405, + "real": -0.674802 + }, + { + "imag": 0.040173, + "real": 0.016165 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": 0.005359, + "real": 0.127017 + }, + { + "imag": 0.390752, + "real": -0.662909 + }, + { + "imag": 0.393471, + "real": -0.661506 + }, + { + "imag": 0.039193, + "real": 0.020131 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": 0.00164, + "real": 0.12773 + }, + { + "imag": 0.415299, + "real": -0.649524 + }, + { + "imag": 0.417114, + "real": -0.648087 + }, + { + "imag": 0.038561, + "real": 0.023586 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.01218, + "real": 0.138704 + }, + { + "imag": 0.450959, + "real": -0.622036 + }, + { + "imag": 0.44006, + "real": -0.631076 + }, + { + "imag": 0.039515, + "real": 0.026082 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.007083, + "real": 0.130771 + }, + { + "imag": 0.460182, + "real": -0.617467 + }, + { + "imag": 0.462874, + "real": -0.615438 + }, + { + "imag": 0.036586, + "real": 0.030905 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.010387, + "real": 0.132339 + }, + { + "imag": 0.482085, + "real": -0.599698 + }, + { + "imag": 0.484209, + "real": -0.598092 + }, + { + "imag": 0.036152, + "real": 0.034739 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.01314, + "real": 0.134001 + }, + { + "imag": 0.503462, + "real": -0.581003 + }, + { + "imag": 0.505244, + "real": -0.579417 + }, + { + "imag": 0.035178, + "real": 0.038185 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.016709, + "real": 0.135235 + }, + { + "imag": 0.523063, + "real": -0.561355 + }, + { + "imag": 0.52455, + "real": -0.56038 + }, + { + "imag": 0.034311, + "real": 0.041381 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.020994, + "real": 0.137381 + }, + { + "imag": 0.542393, + "real": -0.539894 + }, + { + "imag": 0.543569, + "real": -0.539953 + }, + { + "imag": 0.030992, + "real": 0.044904 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.025905, + "real": 0.136856 + }, + { + "imag": 0.559291, + "real": -0.520398 + }, + { + "imag": 0.560334, + "real": -0.521135 + }, + { + "imag": 0.029722, + "real": 0.048603 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.031006, + "real": 0.137919 + }, + { + "imag": 0.575353, + "real": -0.499298 + }, + { + "imag": 0.576218, + "real": -0.500565 + }, + { + "imag": 0.027806, + "real": 0.05196 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.034944, + "real": 0.138887 + }, + { + "imag": 0.591571, + "real": -0.477667 + }, + { + "imag": 0.592131, + "real": -0.479216 + }, + { + "imag": 0.02476, + "real": 0.056021 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.040206, + "real": 0.140098 + }, + { + "imag": 0.606221, + "real": -0.456233 + }, + { + "imag": 0.606304, + "real": -0.457306 + }, + { + "imag": 0.022817, + "real": 0.059569 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.04431, + "real": 0.140367 + }, + { + "imag": 0.62095, + "real": -0.43519 + }, + { + "imag": 0.620642, + "real": -0.436477 + }, + { + "imag": 0.020699, + "real": 0.0626 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.048546, + "real": 0.141087 + }, + { + "imag": 0.633234, + "real": -0.414911 + }, + { + "imag": 0.634122, + "real": -0.414896 + }, + { + "imag": 0.018698, + "real": 0.064487 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.052399, + "real": 0.140587 + }, + { + "imag": 0.646936, + "real": -0.391914 + }, + { + "imag": 0.647125, + "real": -0.391794 + }, + { + "imag": 0.016505, + "real": 0.067759 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.056173, + "real": 0.138908 + }, + { + "imag": 0.659631, + "real": -0.369657 + }, + { + "imag": 0.659447, + "real": -0.369412 + }, + { + "imag": 0.01452, + "real": 0.070842 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.060717, + "real": 0.137515 + }, + { + "imag": 0.671605, + "real": -0.347119 + }, + { + "imag": 0.671939, + "real": -0.346424 + }, + { + "imag": 0.012909, + "real": 0.073466 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.065456, + "real": 0.135934 + }, + { + "imag": 0.683075, + "real": -0.323608 + }, + { + "imag": 0.683494, + "real": -0.322881 + }, + { + "imag": 0.011561, + "real": 0.07584 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.069755, + "real": 0.134282 + }, + { + "imag": 0.694366, + "real": -0.301096 + }, + { + "imag": 0.694249, + "real": -0.299888 + }, + { + "imag": 0.009391, + "real": 0.078175 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.074676, + "real": 0.132289 + }, + { + "imag": 0.704899, + "real": -0.277277 + }, + { + "imag": 0.704616, + "real": -0.27601 + }, + { + "imag": 0.007127, + "real": 0.07953 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.078998, + "real": 0.129603 + }, + { + "imag": 0.714843, + "real": -0.251908 + }, + { + "imag": 0.714406, + "real": -0.251382 + }, + { + "imag": 0.005808, + "real": 0.080947 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.084096, + "real": 0.126799 + }, + { + "imag": 0.723957, + "real": -0.226811 + }, + { + "imag": 0.723431, + "real": -0.226276 + }, + { + "imag": 0.003213, + "real": 0.082663 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.088012, + "real": 0.124073 + }, + { + "imag": 0.731728, + "real": -0.202942 + }, + { + "imag": 0.73091, + "real": -0.201918 + }, + { + "imag": 0.000785, + "real": 0.083001 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.091797, + "real": 0.120822 + }, + { + "imag": 0.738566, + "real": -0.177292 + }, + { + "imag": 0.73803, + "real": -0.176097 + }, + { + "imag": -0.00129, + "real": 0.083523 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.095997, + "real": 0.117231 + }, + { + "imag": 0.744416, + "real": -0.150901 + }, + { + "imag": 0.743444, + "real": -0.150194 + }, + { + "imag": -0.0033, + "real": 0.083782 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.098894, + "real": 0.113264 + }, + { + "imag": 0.749513, + "real": -0.123698 + }, + { + "imag": 0.747545, + "real": -0.124877 + }, + { + "imag": -0.004617, + "real": 0.083305 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.102226, + "real": 0.109211 + }, + { + "imag": 0.75382, + "real": -0.097933 + }, + { + "imag": 0.751574, + "real": -0.097742 + }, + { + "imag": -0.007276, + "real": 0.0827 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.105125, + "real": 0.104686 + }, + { + "imag": 0.756912, + "real": -0.071404 + }, + { + "imag": 0.755071, + "real": -0.071292 + }, + { + "imag": -0.009791, + "real": 0.081125 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.108404, + "real": 0.099598 + }, + { + "imag": 0.759053, + "real": -0.044795 + }, + { + "imag": 0.756498, + "real": -0.044007 + }, + { + "imag": -0.012126, + "real": 0.079449 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.111482, + "real": 0.094791 + }, + { + "imag": 0.759513, + "real": -0.017636 + }, + { + "imag": 0.757074, + "real": -0.01778 + }, + { + "imag": -0.014696, + "real": 0.076682 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.114184, + "real": 0.090209 + }, + { + "imag": 0.758924, + "real": 0.00873 + }, + { + "imag": 0.756707, + "real": 0.009553 + }, + { + "imag": -0.017986, + "real": 0.073519 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.116448, + "real": 0.085699 + }, + { + "imag": 0.757833, + "real": 0.035437 + }, + { + "imag": 0.755467, + "real": 0.035831 + }, + { + "imag": -0.019984, + "real": 0.070096 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.118253, + "real": 0.08133 + }, + { + "imag": 0.755711, + "real": 0.061935 + }, + { + "imag": 0.753102, + "real": 0.062914 + }, + { + "imag": -0.023342, + "real": 0.067134 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.12051, + "real": 0.077183 + }, + { + "imag": 0.752673, + "real": 0.086835 + }, + { + "imag": 0.749876, + "real": 0.089763 + }, + { + "imag": -0.028271, + "real": 0.063836 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.121496, + "real": 0.071876 + }, + { + "imag": 0.748465, + "real": 0.113783 + }, + { + "imag": 0.746298, + "real": 0.114546 + }, + { + "imag": -0.030292, + "real": 0.058798 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.122708, + "real": 0.067101 + }, + { + "imag": 0.744443, + "real": 0.139473 + }, + { + "imag": 0.742516, + "real": 0.141095 + }, + { + "imag": -0.032339, + "real": 0.055968 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.123599, + "real": 0.062246 + }, + { + "imag": 0.738011, + "real": 0.165604 + }, + { + "imag": 0.735618, + "real": 0.166772 + }, + { + "imag": -0.038044, + "real": 0.050626 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.124243, + "real": 0.057778 + }, + { + "imag": 0.73163, + "real": 0.190534 + }, + { + "imag": 0.728953, + "real": 0.19144 + }, + { + "imag": -0.041655, + "real": 0.047476 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.124681, + "real": 0.053382 + }, + { + "imag": 0.724094, + "real": 0.216151 + }, + { + "imag": 0.721003, + "real": 0.218197 + }, + { + "imag": -0.04425, + "real": 0.043631 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.125049, + "real": 0.047949 + }, + { + "imag": 0.716074, + "real": 0.241161 + }, + { + "imag": 0.713483, + "real": 0.241203 + }, + { + "imag": -0.049039, + "real": 0.036866 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.12562, + "real": 0.043273 + }, + { + "imag": 0.707014, + "real": 0.266112 + }, + { + "imag": 0.704574, + "real": 0.265871 + }, + { + "imag": -0.052203, + "real": 0.030699 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.125814, + "real": 0.038633 + }, + { + "imag": 0.696834, + "real": 0.289593 + }, + { + "imag": 0.694803, + "real": 0.289971 + }, + { + "imag": -0.057185, + "real": 0.027277 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.125807, + "real": 0.033879 + }, + { + "imag": 0.686456, + "real": 0.3138 + }, + { + "imag": 0.68408, + "real": 0.313288 + }, + { + "imag": -0.063006, + "real": 0.023236 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.126061, + "real": 0.02928 + }, + { + "imag": 0.674559, + "real": 0.337809 + }, + { + "imag": 0.673438, + "real": 0.336387 + }, + { + "imag": -0.068336, + "real": 0.019905 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.125513, + "real": 0.024435 + }, + { + "imag": 0.662427, + "real": 0.360262 + }, + { + "imag": 0.661086, + "real": 0.360113 + }, + { + "imag": -0.071559, + "real": 0.016306 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.124588, + "real": 0.019493 + }, + { + "imag": 0.648915, + "real": 0.383294 + }, + { + "imag": 0.647012, + "real": 0.383302 + }, + { + "imag": -0.074994, + "real": 0.014046 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.123571, + "real": 0.014282 + }, + { + "imag": 0.634934, + "real": 0.404999 + }, + { + "imag": 0.634403, + "real": 0.404269 + }, + { + "imag": -0.07895, + "real": 0.010606 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.122472, + "real": 0.008886 + }, + { + "imag": 0.619384, + "real": 0.426631 + }, + { + "imag": 0.620003, + "real": 0.426374 + }, + { + "imag": -0.082106, + "real": 0.007046 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.121241, + "real": 0.00334 + }, + { + "imag": 0.603265, + "real": 0.447316 + }, + { + "imag": 0.604738, + "real": 0.446829 + }, + { + "imag": -0.084986, + "real": 0.005461 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.119676, + "real": -0.002337 + }, + { + "imag": 0.586275, + "real": 0.467876 + }, + { + "imag": 0.588507, + "real": 0.468414 + }, + { + "imag": -0.086636, + "real": 0.001506 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.118694, + "real": -0.00806 + }, + { + "imag": 0.568553, + "real": 0.487515 + }, + { + "imag": 0.571753, + "real": 0.488081 + }, + { + "imag": -0.090312, + "real": -0.001144 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.117776, + "real": -0.013628 + }, + { + "imag": 0.550415, + "real": 0.506563 + }, + { + "imag": 0.5546, + "real": 0.507561 + }, + { + "imag": -0.090768, + "real": -0.002678 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.116372, + "real": -0.019316 + }, + { + "imag": 0.532499, + "real": 0.52412 + }, + { + "imag": 0.536083, + "real": 0.526471 + }, + { + "imag": -0.09033, + "real": -0.004469 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.114227, + "real": -0.024675 + }, + { + "imag": 0.512919, + "real": 0.542189 + }, + { + "imag": 0.517437, + "real": 0.544865 + }, + { + "imag": -0.09188, + "real": -0.00768 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.111873, + "real": -0.029851 + }, + { + "imag": 0.493167, + "real": 0.559665 + }, + { + "imag": 0.497939, + "real": 0.562143 + }, + { + "imag": -0.092317, + "real": -0.010165 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.109484, + "real": -0.035223 + }, + { + "imag": 0.47363, + "real": 0.574767 + }, + { + "imag": 0.478464, + "real": 0.579064 + }, + { + "imag": -0.090459, + "real": -0.013251 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.106671, + "real": -0.040611 + }, + { + "imag": 0.453815, + "real": 0.590298 + }, + { + "imag": 0.457904, + "real": 0.594781 + }, + { + "imag": -0.089116, + "real": -0.015204 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.103986, + "real": -0.046754 + }, + { + "imag": 0.433886, + "real": 0.60487 + }, + { + "imag": 0.436873, + "real": 0.608524 + }, + { + "imag": -0.086878, + "real": -0.017774 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.100881, + "real": -0.052002 + }, + { + "imag": 0.414106, + "real": 0.619083 + }, + { + "imag": 0.41511, + "real": 0.623828 + }, + { + "imag": -0.083688, + "real": -0.021187 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.097634, + "real": -0.057699 + }, + { + "imag": 0.394178, + "real": 0.632548 + }, + { + "imag": 0.393212, + "real": 0.637865 + }, + { + "imag": -0.079967, + "real": -0.025764 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.093919, + "real": -0.063113 + }, + { + "imag": 0.373669, + "real": 0.645639 + }, + { + "imag": 0.370593, + "real": 0.651647 + }, + { + "imag": -0.076282, + "real": -0.030957 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.091143, + "real": -0.068003 + }, + { + "imag": 0.352159, + "real": 0.658148 + }, + { + "imag": 0.347241, + "real": 0.66408 + }, + { + "imag": -0.072676, + "real": -0.035779 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.087959, + "real": -0.072358 + }, + { + "imag": 0.330503, + "real": 0.670696 + }, + { + "imag": 0.325331, + "real": 0.676379 + }, + { + "imag": -0.069319, + "real": -0.041863 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.084335, + "real": -0.07669 + }, + { + "imag": 0.307047, + "real": 0.682458 + }, + { + "imag": 0.302406, + "real": 0.687381 + }, + { + "imag": -0.066808, + "real": -0.048482 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": -0.081023, + "real": -0.08071 + }, + { + "imag": 0.282807, + "real": 0.694599 + }, + { + "imag": 0.277499, + "real": 0.698173 + }, + { + "imag": -0.062591, + "real": -0.053363 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": -0.075417, + "real": -0.082118 + }, + { + "imag": 0.262812, + "real": 0.70646 + }, + { + "imag": 0.256848, + "real": 0.708915 + }, + { + "imag": -0.059472, + "real": -0.058601 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.073405, + "real": -0.088431 + }, + { + "imag": 0.233759, + "real": 0.716005 + }, + { + "imag": 0.228966, + "real": 0.716709 + }, + { + "imag": -0.056674, + "real": -0.066133 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.071892, + "real": -0.092701 + }, + { + "imag": 0.205836, + "real": 0.725409 + }, + { + "imag": 0.201804, + "real": 0.724423 + }, + { + "imag": -0.053883, + "real": -0.073356 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": -0.06857, + "real": -0.097251 + }, + { + "imag": 0.178027, + "real": 0.733759 + }, + { + "imag": 0.172667, + "real": 0.731194 + }, + { + "imag": -0.048934, + "real": -0.081034 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": -0.066464, + "real": -0.100175 + }, + { + "imag": 0.149688, + "real": 0.740413 + }, + { + "imag": 0.147375, + "real": 0.736965 + }, + { + "imag": -0.047558, + "real": -0.08655500000000001 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": -0.067797, + "real": -0.096516 + }, + { + "imag": 0.121763, + "real": 0.742401 + }, + { + "imag": 0.122844, + "real": 0.739489 + }, + { + "imag": -0.045759, + "real": -0.090131 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.062626, + "real": -0.100438 + }, + { + "imag": 0.092953, + "real": 0.746844 + }, + { + "imag": 0.092148, + "real": 0.745138 + }, + { + "imag": -0.041999, + "real": -0.097123 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.05888, + "real": -0.10109 + }, + { + "imag": 0.064248, + "real": 0.747963 + }, + { + "imag": 0.063876, + "real": 0.747554 + }, + { + "imag": -0.038601, + "real": -0.103071 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": -0.056776, + "real": -0.100236 + }, + { + "imag": 0.037452, + "real": 0.746599 + }, + { + "imag": 0.032634, + "real": 0.750365 + }, + { + "imag": -0.036385, + "real": -0.114805 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": -0.055558, + "real": -0.09848 + }, + { + "imag": 0.010052, + "real": 0.744271 + }, + { + "imag": 0.01167, + "real": 0.747337 + }, + { + "imag": -0.033123, + "real": -0.112626 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": -0.052784, + "real": -0.095466 + }, + { + "imag": -0.016157, + "real": 0.740252 + }, + { + "imag": -0.015585, + "real": 0.746939 + }, + { + "imag": -0.029306, + "real": -0.114386 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": -0.05323, + "real": -0.093614 + }, + { + "imag": -0.039624, + "real": 0.736207 + }, + { + "imag": -0.038071, + "real": 0.744025 + }, + { + "imag": -0.027659, + "real": -0.11818 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": -0.05318, + "real": -0.089569 + }, + { + "imag": -0.063924, + "real": 0.730976 + }, + { + "imag": -0.06419, + "real": 0.739547 + }, + { + "imag": -0.025141, + "real": -0.121037 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": -0.04954, + "real": -0.085998 + }, + { + "imag": -0.086992, + "real": 0.727163 + }, + { + "imag": -0.089511, + "real": 0.736551 + }, + { + "imag": -0.023183, + "real": -0.124695 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": -0.047451, + "real": -0.081523 + }, + { + "imag": -0.109088, + "real": 0.721296 + }, + { + "imag": -0.113674, + "real": 0.731619 + }, + { + "imag": -0.019298, + "real": -0.125701 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": -0.043005, + "real": -0.075795 + }, + { + "imag": -0.131059, + "real": 0.716099 + }, + { + "imag": -0.138868, + "real": 0.726258 + }, + { + "imag": -0.014764, + "real": -0.12862 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": -0.037534, + "real": -0.072663 + }, + { + "imag": -0.152341, + "real": 0.713896 + }, + { + "imag": -0.162603, + "real": 0.721714 + }, + { + "imag": -0.009258, + "real": -0.131357 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": -0.032816, + "real": -0.066156 + }, + { + "imag": -0.174671, + "real": 0.710182 + }, + { + "imag": -0.186418, + "real": 0.716172 + }, + { + "imag": -0.002478, + "real": -0.132666 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": -0.027335, + "real": -0.061194 + }, + { + "imag": -0.197107, + "real": 0.70675 + }, + { + "imag": -0.210671, + "real": 0.710033 + }, + { + "imag": 0.003286, + "real": -0.135103 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": -0.021567, + "real": -0.055273 + }, + { + "imag": -0.221669, + "real": 0.702683 + }, + { + "imag": -0.233956, + "real": 0.704646 + }, + { + "imag": 0.009285, + "real": -0.136557 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": -0.017683, + "real": -0.052389 + }, + { + "imag": -0.245643, + "real": 0.700025 + }, + { + "imag": -0.25519, + "real": 0.69919 + }, + { + "imag": 0.014329, + "real": -0.135727 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": -0.007796, + "real": -0.046896 + }, + { + "imag": -0.270663, + "real": 0.694654 + }, + { + "imag": -0.281133, + "real": 0.689699 + }, + { + "imag": 0.021543, + "real": -0.13943 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.001253, + "real": -0.043697 + }, + { + "imag": -0.297338, + "real": 0.687762 + }, + { + "imag": -0.306768, + "real": 0.681354 + }, + { + "imag": 0.029353, + "real": -0.14166 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.010437, + "real": -0.042079 + }, + { + "imag": -0.323811, + "real": 0.679948 + }, + { + "imag": -0.332054, + "real": 0.671122 + }, + { + "imag": 0.036761, + "real": -0.144808 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.019304, + "real": -0.041453 + }, + { + "imag": -0.350646, + "real": 0.6696 + }, + { + "imag": -0.355422, + "real": 0.659836 + }, + { + "imag": 0.038907, + "real": -0.15023 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.027712, + "real": -0.040561 + }, + { + "imag": -0.377281, + "real": 0.656925 + }, + { + "imag": -0.379552, + "real": 0.646335 + }, + { + "imag": 0.047384, + "real": -0.150011 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.038098, + "real": -0.046056 + }, + { + "imag": -0.403394, + "real": 0.644588 + }, + { + "imag": -0.404733, + "real": 0.632772 + }, + { + "imag": 0.052251, + "real": -0.15466 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.046561, + "real": -0.050462 + }, + { + "imag": -0.428911, + "real": 0.629292 + }, + { + "imag": -0.429038, + "real": 0.616994 + }, + { + "imag": 0.058313, + "real": -0.158413 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.054945, + "real": -0.0547 + }, + { + "imag": -0.454048, + "real": 0.612215 + }, + { + "imag": -0.452934, + "real": 0.600113 + }, + { + "imag": 0.063402, + "real": -0.159769 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.063737, + "real": -0.060061 + }, + { + "imag": -0.477105, + "real": 0.592871 + }, + { + "imag": -0.476, + "real": 0.581891 + }, + { + "imag": 0.066895, + "real": -0.160904 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.070839, + "real": -0.067576 + }, + { + "imag": -0.498711, + "real": 0.571522 + }, + { + "imag": -0.498755, + "real": 0.562366 + }, + { + "imag": 0.071674, + "real": -0.162294 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.074666, + "real": -0.075818 + }, + { + "imag": -0.517445, + "real": 0.550319 + }, + { + "imag": -0.518051, + "real": 0.542639 + }, + { + "imag": 0.074128, + "real": -0.162454 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.077564, + "real": -0.086443 + }, + { + "imag": -0.535495, + "real": 0.528518 + }, + { + "imag": -0.536636, + "real": 0.523613 + }, + { + "imag": 0.075826, + "real": -0.163867 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.077799, + "real": -0.095386 + }, + { + "imag": -0.550101, + "real": 0.505699 + }, + { + "imag": -0.552823, + "real": 0.501925 + }, + { + "imag": 0.075785, + "real": -0.162527 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.07625, + "real": -0.105516 + }, + { + "imag": -0.562897, + "real": 0.48376 + }, + { + "imag": -0.567344, + "real": 0.481981 + }, + { + "imag": 0.075283, + "real": -0.160498 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.070493, + "real": -0.115558 + }, + { + "imag": -0.57472, + "real": 0.462302 + }, + { + "imag": -0.579879, + "real": 0.461542 + }, + { + "imag": 0.075138, + "real": -0.159402 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.065132, + "real": -0.127577 + }, + { + "imag": -0.585227, + "real": 0.441285 + }, + { + "imag": -0.592543, + "real": 0.442174 + }, + { + "imag": 0.075021, + "real": -0.158631 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.059299, + "real": -0.137945 + }, + { + "imag": -0.59518, + "real": 0.418863 + }, + { + "imag": -0.603182, + "real": 0.422258 + }, + { + "imag": 0.076084, + "real": -0.154964 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.051547, + "real": -0.14777 + }, + { + "imag": -0.60511, + "real": 0.397342 + }, + { + "imag": -0.614226, + "real": 0.401673 + }, + { + "imag": 0.077414, + "real": -0.151096 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.043584, + "real": -0.155926 + }, + { + "imag": -0.615608, + "real": 0.375552 + }, + { + "imag": -0.62435, + "real": 0.380769 + }, + { + "imag": 0.078463, + "real": -0.146236 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.037151000000000003, + "real": -0.163068 + }, + { + "imag": -0.625556, + "real": 0.354153 + }, + { + "imag": -0.634452, + "real": 0.361924 + }, + { + "imag": 0.080765, + "real": -0.140377 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.029243, + "real": -0.166196 + }, + { + "imag": -0.636395, + "real": 0.333909 + }, + { + "imag": -0.645639, + "real": 0.342507 + }, + { + "imag": 0.081768, + "real": -0.134048 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.024099, + "real": -0.168714 + }, + { + "imag": -0.64733, + "real": 0.313555 + }, + { + "imag": -0.655404, + "real": 0.322758 + }, + { + "imag": 0.085083, + "real": -0.125399 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.01867, + "real": -0.168353 + }, + { + "imag": -0.658727, + "real": 0.292823 + }, + { + "imag": -0.664966, + "real": 0.3047 + }, + { + "imag": 0.086474, + "real": -0.116533 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.015298, + "real": -0.164977 + }, + { + "imag": -0.669934, + "real": 0.271834 + }, + { + "imag": -0.675016, + "real": 0.287332 + }, + { + "imag": 0.090407, + "real": -0.107797 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.011593, + "real": -0.157321 + }, + { + "imag": -0.681029, + "real": 0.251359 + }, + { + "imag": -0.684886, + "real": 0.266903 + }, + { + "imag": 0.094086, + "real": -0.099277 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.008919, + "real": -0.145847 + }, + { + "imag": -0.691671, + "real": 0.229824 + }, + { + "imag": -0.697594, + "real": 0.242602 + }, + { + "imag": 0.098957, + "real": -0.092251 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.006025, + "real": -0.131208 + }, + { + "imag": -0.701214, + "real": 0.207426 + }, + { + "imag": -0.710993, + "real": 0.215763 + }, + { + "imag": 0.104178, + "real": -0.08518 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.002689, + "real": -0.117192 + }, + { + "imag": -0.70997, + "real": 0.18216 + }, + { + "imag": -0.723218, + "real": 0.188082 + }, + { + "imag": 0.108923, + "real": -0.078064 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.000322, + "real": -0.100498 + }, + { + "imag": -0.718441, + "real": 0.157247 + }, + { + "imag": -0.732513, + "real": 0.157723 + }, + { + "imag": 0.115428, + "real": -0.070253 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.002626, + "real": -0.086935 + }, + { + "imag": -0.724694, + "real": 0.130454 + }, + { + "imag": -0.738725, + "real": 0.127638 + }, + { + "imag": 0.121195, + "real": -0.061952 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.003499, + "real": -0.072748 + }, + { + "imag": -0.731926, + "real": 0.103884 + }, + { + "imag": -0.743764, + "real": 0.098983 + }, + { + "imag": 0.127954, + "real": -0.054055 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.005238, + "real": -0.060901 + }, + { + "imag": -0.736759, + "real": 0.076436 + }, + { + "imag": -0.746029, + "real": 0.06843 + }, + { + "imag": 0.135034, + "real": -0.046422 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.006951, + "real": -0.048564 + }, + { + "imag": -0.740286, + "real": 0.049477 + }, + { + "imag": -0.746789, + "real": 0.039122 + }, + { + "imag": 0.14292, + "real": -0.040381 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.006703, + "real": -0.037661 + }, + { + "imag": -0.742077, + "real": 0.021555 + }, + { + "imag": -0.746317, + "real": 0.009174 + }, + { + "imag": 0.149241, + "real": -0.03382 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.006208, + "real": -0.027423 + }, + { + "imag": -0.743649, + "real": -0.004724 + }, + { + "imag": -0.744025, + "real": -0.019651 + }, + { + "imag": 0.155262, + "real": -0.029294 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.005212, + "real": -0.017665 + }, + { + "imag": -0.742818, + "real": -0.032995 + }, + { + "imag": -0.741382, + "real": -0.048764 + }, + { + "imag": 0.160115, + "real": -0.02416 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.0034, + "real": -0.010188 + }, + { + "imag": -0.739979, + "real": -0.059175 + }, + { + "imag": -0.736223, + "real": -0.076034 + }, + { + "imag": 0.166604, + "real": -0.021261 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.000737, + "real": -0.004049 + }, + { + "imag": -0.736219, + "real": -0.086255 + }, + { + "imag": -0.730583, + "real": -0.104581 + }, + { + "imag": 0.171055, + "real": -0.019584 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.003476, + "real": 0.001137 + }, + { + "imag": -0.732533, + "real": -0.110246 + }, + { + "imag": -0.723473, + "real": -0.129725 + }, + { + "imag": 0.177674, + "real": -0.017563 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.007572, + "real": 0.004821 + }, + { + "imag": -0.72662, + "real": -0.136418 + }, + { + "imag": -0.715864, + "real": -0.155391 + }, + { + "imag": 0.182762, + "real": -0.016463 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.012241, + "real": 0.007022 + }, + { + "imag": -0.721323, + "real": -0.159235 + }, + { + "imag": -0.7067, + "real": -0.178311 + }, + { + "imag": 0.18888, + "real": -0.016695 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.016708, + "real": 0.007568 + }, + { + "imag": -0.715165, + "real": -0.183761 + }, + { + "imag": -0.697129, + "real": -0.202965 + }, + { + "imag": 0.192725, + "real": -0.016245 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.021268, + "real": 0.008164 + }, + { + "imag": -0.707872, + "real": -0.206796 + }, + { + "imag": -0.68702, + "real": -0.22534 + }, + { + "imag": 0.197138, + "real": -0.014951 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.024379, + "real": 0.007713 + }, + { + "imag": -0.700232, + "real": -0.23001 + }, + { + "imag": -0.67674, + "real": -0.246682 + }, + { + "imag": 0.200531, + "real": -0.01325 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.027624, + "real": 0.006295 + }, + { + "imag": -0.691893, + "real": -0.252619 + }, + { + "imag": -0.665756, + "real": -0.267261 + }, + { + "imag": 0.202843, + "real": -0.009849 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.03081, + "real": 0.005615 + }, + { + "imag": -0.683363, + "real": -0.274453 + }, + { + "imag": -0.655341, + "real": -0.286257 + }, + { + "imag": 0.203965, + "real": -0.008278 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.032933, + "real": 0.004183 + }, + { + "imag": -0.672343, + "real": -0.297228 + }, + { + "imag": -0.644971, + "real": -0.305179 + }, + { + "imag": 0.204442, + "real": -0.003531 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.034807, + "real": 0.001957 + }, + { + "imag": -0.661951, + "real": -0.318909 + }, + { + "imag": -0.634247, + "real": -0.323607 + }, + { + "imag": 0.203423, + "real": 0.000431 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.035902, + "real": 0.000126 + }, + { + "imag": -0.650628, + "real": -0.340999 + }, + { + "imag": -0.625328, + "real": -0.344094 + }, + { + "imag": 0.20109, + "real": 0.00405 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.035636, + "real": -0.001343 + }, + { + "imag": -0.639216, + "real": -0.362957 + }, + { + "imag": -0.615536, + "real": -0.364282 + }, + { + "imag": 0.198888, + "real": 0.00742 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.036491, + "real": -0.002609 + }, + { + "imag": -0.626962, + "real": -0.384287 + }, + { + "imag": -0.605234, + "real": -0.385339 + }, + { + "imag": 0.195453, + "real": 0.010486 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.036189, + "real": -0.003872 + }, + { + "imag": -0.614155, + "real": -0.405242 + }, + { + "imag": -0.594562, + "real": -0.406255 + }, + { + "imag": 0.192066, + "real": 0.013822 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.036218, + "real": -0.00391 + }, + { + "imag": -0.600544, + "real": -0.426223 + }, + { + "imag": -0.582716, + "real": -0.429136 + }, + { + "imag": 0.188498, + "real": 0.017625 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.035025, + "real": -0.00343 + }, + { + "imag": -0.58691, + "real": -0.447298 + }, + { + "imag": -0.570433, + "real": -0.451866 + }, + { + "imag": 0.185076, + "real": 0.022682 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.034045, + "real": -0.004385 + }, + { + "imag": -0.572103, + "real": -0.467949 + }, + { + "imag": -0.555694, + "real": -0.473791 + }, + { + "imag": 0.182085, + "real": 0.026799 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.03277, + "real": -0.002662 + }, + { + "imag": -0.556031, + "real": -0.490637 + }, + { + "imag": -0.541733, + "real": -0.496931 + }, + { + "imag": 0.177908, + "real": 0.031733 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.031016, + "real": -0.000124 + }, + { + "imag": -0.539863, + "real": -0.511685 + }, + { + "imag": -0.524791, + "real": -0.518375 + }, + { + "imag": 0.173411, + "real": 0.038772 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.029036, + "real": 0.001598 + }, + { + "imag": -0.522487, + "real": -0.533066 + }, + { + "imag": -0.506918, + "real": -0.54051 + }, + { + "imag": 0.168935, + "real": 0.046033 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.026194, + "real": 0.003871 + }, + { + "imag": -0.503089, + "real": -0.553792 + }, + { + "imag": -0.485714, + "real": -0.561139 + }, + { + "imag": 0.165118, + "real": 0.052581 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.026346, + "real": 0.006692 + }, + { + "imag": -0.484395, + "real": -0.573138 + }, + { + "imag": -0.465363, + "real": -0.580616 + }, + { + "imag": 0.162394, + "real": 0.059503 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.025535, + "real": 0.008521 + }, + { + "imag": -0.463679, + "real": -0.59291 + }, + { + "imag": -0.442189, + "real": -0.599439 + }, + { + "imag": 0.160731, + "real": 0.06642 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.024495, + "real": 0.009066 + }, + { + "imag": -0.442363, + "real": -0.612367 + }, + { + "imag": -0.417382, + "real": -0.615225 + }, + { + "imag": 0.159566, + "real": 0.071623 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.02386, + "real": 0.01013 + }, + { + "imag": -0.419843, + "real": -0.628837 + }, + { + "imag": -0.392141, + "real": -0.629649 + }, + { + "imag": 0.157784, + "real": 0.07586 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.026971, + "real": 0.011132 + }, + { + "imag": -0.395024, + "real": -0.644999 + }, + { + "imag": -0.366328, + "real": -0.642142 + }, + { + "imag": 0.156707, + "real": 0.079004 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.024738, + "real": 0.012088 + }, + { + "imag": -0.368902, + "real": -0.659047 + }, + { + "imag": -0.340559, + "real": -0.651065 + }, + { + "imag": 0.154064, + "real": 0.082994 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.026699, + "real": 0.013087 + }, + { + "imag": -0.342222, + "real": -0.672634 + }, + { + "imag": -0.313828, + "real": -0.659807 + }, + { + "imag": 0.151844, + "real": 0.087707 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.028073, + "real": 0.014252 + }, + { + "imag": -0.31435, + "real": -0.683959 + }, + { + "imag": -0.287037, + "real": -0.665714 + }, + { + "imag": 0.148998, + "real": 0.09409 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.030753, + "real": 0.016333 + }, + { + "imag": -0.285696, + "real": -0.690456 + }, + { + "imag": -0.260356, + "real": -0.670531 + }, + { + "imag": 0.145328, + "real": 0.101124 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.031332, + "real": 0.017219 + }, + { + "imag": -0.257384, + "real": -0.700468 + }, + { + "imag": -0.235341, + "real": -0.674493 + }, + { + "imag": 0.142433, + "real": 0.108096 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.033582, + "real": 0.022626 + }, + { + "imag": -0.229638, + "real": -0.702298 + }, + { + "imag": -0.213416, + "real": -0.675526 + }, + { + "imag": 0.138446, + "real": 0.111451 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.030329, + "real": 0.022732 + }, + { + "imag": -0.203687, + "real": -0.708595 + }, + { + "imag": -0.190482, + "real": -0.681706 + }, + { + "imag": 0.134108, + "real": 0.117468 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.031114, + "real": 0.025782 + }, + { + "imag": -0.177352, + "real": -0.711766 + }, + { + "imag": -0.168803, + "real": -0.685139 + }, + { + "imag": 0.129431, + "real": 0.121281 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.031878, + "real": 0.02971 + }, + { + "imag": -0.151511, + "real": -0.713219 + }, + { + "imag": -0.149857, + "real": -0.68905 + }, + { + "imag": 0.122525, + "real": 0.124345 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.031707, + "real": 0.031517 + }, + { + "imag": -0.125665, + "real": -0.716073 + }, + { + "imag": -0.127862, + "real": -0.694343 + }, + { + "imag": 0.117274, + "real": 0.126051 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.030759, + "real": 0.031876 + }, + { + "imag": -0.100897, + "real": -0.721797 + }, + { + "imag": -0.106962, + "real": -0.698812 + }, + { + "imag": 0.110146, + "real": 0.130364 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.032278, + "real": 0.033419 + }, + { + "imag": -0.076467, + "real": -0.724432 + }, + { + "imag": -0.083856, + "real": -0.703988 + }, + { + "imag": 0.102096, + "real": 0.135096 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.031403, + "real": 0.033447 + }, + { + "imag": -0.051269, + "real": -0.728294 + }, + { + "imag": -0.060313, + "real": -0.709868 + }, + { + "imag": 0.091708, + "real": 0.140516 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.030569, + "real": 0.034818 + }, + { + "imag": -0.025516, + "real": -0.73286 + }, + { + "imag": -0.036892, + "real": -0.715329 + }, + { + "imag": 0.082131, + "real": 0.143744 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.030425, + "real": 0.035588 + }, + { + "imag": -0.001346, + "real": -0.735338 + }, + { + "imag": -0.012828, + "real": -0.719882 + }, + { + "imag": 0.071783, + "real": 0.147723 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.034744, + "real": 0.025378 + }, + { + "imag": 0.0276, + "real": -0.739156 + }, + { + "imag": 0.015624, + "real": -0.722681 + }, + { + "imag": 0.053136, + "real": 0.146502 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.028723, + "real": 0.035747 + }, + { + "imag": 0.054348, + "real": -0.739022 + }, + { + "imag": 0.040329, + "real": -0.723084 + }, + { + "imag": 0.042027, + "real": 0.148864 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.028384, + "real": 0.03937 + }, + { + "imag": 0.08185, + "real": -0.739629 + }, + { + "imag": 0.066795, + "real": -0.722721 + }, + { + "imag": 0.035554, + "real": 0.152848 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.024369, + "real": 0.039766 + }, + { + "imag": 0.109248, + "real": -0.738108 + }, + { + "imag": 0.094898, + "real": -0.719377 + }, + { + "imag": 0.027641, + "real": 0.158713 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.025499, + "real": 0.04439 + }, + { + "imag": 0.137995, + "real": -0.735677 + }, + { + "imag": 0.123065, + "real": -0.714623 + }, + { + "imag": 0.020503, + "real": 0.165121 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.027803, + "real": 0.044196 + }, + { + "imag": 0.16517, + "real": -0.730612 + }, + { + "imag": 0.150931, + "real": -0.705137 + }, + { + "imag": 0.014414, + "real": 0.171063 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.028524, + "real": 0.045903 + }, + { + "imag": 0.193513, + "real": -0.72425 + }, + { + "imag": 0.176681, + "real": -0.697468 + }, + { + "imag": 0.009353, + "real": 0.174564 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.032015, + "real": 0.045364 + }, + { + "imag": 0.220407, + "real": -0.715994 + }, + { + "imag": 0.202692, + "real": -0.68535 + }, + { + "imag": 0.005772, + "real": 0.177127 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.033627, + "real": 0.048419 + }, + { + "imag": 0.245601, + "real": -0.704426 + }, + { + "imag": 0.22658, + "real": -0.673869 + }, + { + "imag": 0.002702, + "real": 0.177523 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.034349, + "real": 0.047326 + }, + { + "imag": 0.268882, + "real": -0.692355 + }, + { + "imag": 0.248704, + "real": -0.661199 + }, + { + "imag": -0.003807, + "real": 0.178161 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.037836, + "real": 0.046377 + }, + { + "imag": 0.289005, + "real": -0.679785 + }, + { + "imag": 0.267926, + "real": -0.647006 + }, + { + "imag": -0.005598, + "real": 0.179804 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.041263, + "real": 0.04645 + }, + { + "imag": 0.308262, + "real": -0.666922 + }, + { + "imag": 0.286814, + "real": -0.631833 + }, + { + "imag": -0.002308, + "real": 0.179737 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.046743, + "real": 0.048991 + }, + { + "imag": 0.326613, + "real": -0.653715 + }, + { + "imag": 0.303918, + "real": -0.619225 + }, + { + "imag": 0.003786, + "real": 0.181488 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.053892, + "real": 0.048561 + }, + { + "imag": 0.3422, + "real": -0.64321 + }, + { + "imag": 0.319274, + "real": -0.607078 + }, + { + "imag": 0.013308, + "real": 0.18232 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.059165, + "real": 0.049993 + }, + { + "imag": 0.357985, + "real": -0.634098 + }, + { + "imag": 0.335645, + "real": -0.596804 + }, + { + "imag": 0.023797, + "real": 0.185836 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.062879, + "real": 0.051853 + }, + { + "imag": 0.377435, + "real": -0.623699 + }, + { + "imag": 0.3543, + "real": -0.586756 + }, + { + "imag": 0.032409, + "real": 0.19126 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.066162, + "real": 0.057542 + }, + { + "imag": 0.398008, + "real": -0.61381 + }, + { + "imag": 0.37301, + "real": -0.576787 + }, + { + "imag": 0.037211, + "real": 0.198109 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.067948, + "real": 0.061882 + }, + { + "imag": 0.419218, + "real": -0.600488 + }, + { + "imag": 0.394213, + "real": -0.564944 + }, + { + "imag": 0.037276, + "real": 0.200531 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.065827, + "real": 0.065374 + }, + { + "imag": 0.440693, + "real": -0.583652 + }, + { + "imag": 0.414731, + "real": -0.551988 + }, + { + "imag": 0.035236, + "real": 0.200651 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.063178, + "real": 0.066414 + }, + { + "imag": 0.461987, + "real": -0.56566 + }, + { + "imag": 0.4362, + "real": -0.53725 + }, + { + "imag": 0.035811, + "real": 0.198015 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.063084, + "real": 0.065523 + }, + { + "imag": 0.481294, + "real": -0.547594 + }, + { + "imag": 0.455084, + "real": -0.525426 + }, + { + "imag": 0.028493, + "real": 0.190742 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.061074, + "real": 0.06565 + }, + { + "imag": 0.502112, + "real": -0.525174 + }, + { + "imag": 0.477504, + "real": -0.506013 + }, + { + "imag": 0.024987, + "real": 0.183433 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.057543, + "real": 0.065246 + }, + { + "imag": 0.519257, + "real": -0.503831 + }, + { + "imag": 0.496397, + "real": -0.490053 + }, + { + "imag": 0.018359, + "real": 0.17481 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.053582, + "real": 0.062662 + }, + { + "imag": 0.536772, + "real": -0.48161 + }, + { + "imag": 0.515405, + "real": -0.474789 + }, + { + "imag": 0.013348, + "real": 0.163234 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.051779, + "real": 0.05997 + }, + { + "imag": 0.551225, + "real": -0.457997 + }, + { + "imag": 0.533083, + "real": -0.455642 + }, + { + "imag": 0.008276, + "real": 0.151637 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.051886, + "real": 0.058716 + }, + { + "imag": 0.56677, + "real": -0.43633 + }, + { + "imag": 0.552384, + "real": -0.439691 + }, + { + "imag": 0.003532, + "real": 0.140141 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.045313, + "real": 0.058774 + }, + { + "imag": 0.580356, + "real": -0.414426 + }, + { + "imag": 0.567476, + "real": -0.422503 + }, + { + "imag": -0.007689, + "real": 0.128551 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.043938, + "real": 0.056405 + }, + { + "imag": 0.593446, + "real": -0.39225 + }, + { + "imag": 0.5823, + "real": -0.405185 + }, + { + "imag": -0.016887, + "real": 0.112739 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.040252, + "real": 0.055957 + }, + { + "imag": 0.60378, + "real": -0.369471 + }, + { + "imag": 0.596579, + "real": -0.386261 + }, + { + "imag": -0.027637, + "real": 0.101042 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.037669, + "real": 0.052616 + }, + { + "imag": 0.616522, + "real": -0.349027 + }, + { + "imag": 0.609209, + "real": -0.367822 + }, + { + "imag": -0.039217, + "real": 0.090572 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.035434, + "real": 0.049792 + }, + { + "imag": 0.627563, + "real": -0.327892 + }, + { + "imag": 0.620598, + "real": -0.347489 + }, + { + "imag": -0.05251, + "real": 0.078865 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.03303, + "real": 0.04983 + }, + { + "imag": 0.638042, + "real": -0.305973 + }, + { + "imag": 0.632289, + "real": -0.326113 + }, + { + "imag": -0.064878, + "real": 0.068296 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.03227, + "real": 0.052207 + }, + { + "imag": 0.650335, + "real": -0.284818 + }, + { + "imag": 0.643601, + "real": -0.305384 + }, + { + "imag": -0.076166, + "real": 0.059137 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.029189, + "real": 0.045794 + }, + { + "imag": 0.660481, + "real": -0.26451 + }, + { + "imag": 0.653091, + "real": -0.281722 + }, + { + "imag": -0.090178, + "real": 0.049594 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.026431, + "real": 0.04644 + }, + { + "imag": 0.670261, + "real": -0.242228 + }, + { + "imag": 0.663388, + "real": -0.258593 + }, + { + "imag": -0.104516, + "real": 0.041599 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.025361, + "real": 0.043768 + }, + { + "imag": 0.67969, + "real": -0.217604 + }, + { + "imag": 0.672616, + "real": -0.234168 + }, + { + "imag": -0.117459, + "real": 0.033748 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.024078, + "real": 0.045669 + }, + { + "imag": 0.690933, + "real": -0.195177 + }, + { + "imag": 0.679967, + "real": -0.209713 + }, + { + "imag": -0.131135, + "real": 0.026578 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.021923, + "real": 0.044231 + }, + { + "imag": 0.696783, + "real": -0.170997 + }, + { + "imag": 0.686406, + "real": -0.183843 + }, + { + "imag": -0.144578, + "real": 0.019694 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.022623, + "real": 0.043947 + }, + { + "imag": 0.704894, + "real": -0.144749 + }, + { + "imag": 0.691879, + "real": -0.159687 + }, + { + "imag": -0.160469, + "real": 0.016408 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.022208, + "real": 0.045413 + }, + { + "imag": 0.711615, + "real": -0.117546 + }, + { + "imag": 0.696483, + "real": -0.133169 + }, + { + "imag": -0.168456, + "real": 0.009362 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.027465, + "real": 0.041965 + }, + { + "imag": 0.717136, + "real": -0.091925 + }, + { + "imag": 0.699205, + "real": -0.106311 + }, + { + "imag": -0.17861, + "real": 0.008584 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.021986, + "real": 0.045827 + }, + { + "imag": 0.717982, + "real": -0.062752 + }, + { + "imag": 0.701322, + "real": -0.078781 + }, + { + "imag": -0.187909, + "real": 0.003696 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.024049, + "real": 0.045009 + }, + { + "imag": 0.718799, + "real": -0.033771 + }, + { + "imag": 0.702007, + "real": -0.054185 + }, + { + "imag": -0.19904, + "real": 0.000159 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.022906, + "real": 0.044961 + }, + { + "imag": 0.717875, + "real": -0.005631 + }, + { + "imag": 0.701776, + "real": -0.027537 + }, + { + "imag": -0.205902, + "real": -0.000957 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.023828, + "real": 0.041421 + }, + { + "imag": 0.713906, + "real": 0.02061 + }, + { + "imag": 0.69955, + "real": -0.002159 + }, + { + "imag": -0.213769, + "real": -0.004685 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.025568, + "real": 0.044698 + }, + { + "imag": 0.709396, + "real": 0.05127 + }, + { + "imag": 0.69856, + "real": 0.022243 + }, + { + "imag": -0.219195, + "real": -0.006613 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.024055, + "real": 0.040508 + }, + { + "imag": 0.700983, + "real": 0.079216 + }, + { + "imag": 0.695265, + "real": 0.04589 + }, + { + "imag": -0.222279, + "real": -0.006664 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.026007, + "real": 0.038887 + }, + { + "imag": 0.694138, + "real": 0.105761 + }, + { + "imag": 0.691227, + "real": 0.067438 + }, + { + "imag": -0.222353, + "real": -0.006892 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.027179, + "real": 0.036185 + }, + { + "imag": 0.686872, + "real": 0.130481 + }, + { + "imag": 0.686741, + "real": 0.089249 + }, + { + "imag": -0.219455, + "real": -0.009658 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 0.03018, + "real": 0.033012 + }, + { + "imag": 0.675276, + "real": 0.154291 + }, + { + "imag": 0.683624, + "real": 0.110714 + }, + { + "imag": -0.224779, + "real": -0.012796 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 0.029825, + "real": 0.031224 + }, + { + "imag": 0.665799, + "real": 0.17873 + }, + { + "imag": 0.676948, + "real": 0.132987 + }, + { + "imag": -0.225562, + "real": -0.010885 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P13_THROUGH", + "ports": 2 + } + }, + "type": "Through" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 10159144201078859110, + "loss": 0.0, + "name": "Port 1 to 4", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.478579, + "real": 0.262215 + }, + { + "imag": 0.234239, + "real": 0.689875 + }, + { + "imag": 0.47006, + "real": 0.620268 + }, + { + "imag": -0.028837, + "real": 0.125897 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.101852, + "real": 0.263319 + }, + { + "imag": -0.063146, + "real": 0.842852 + }, + { + "imag": 0.136668, + "real": 0.888008 + }, + { + "imag": -0.009674, + "real": 0.128446 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.010364, + "real": 0.118649 + }, + { + "imag": -0.08847, + "real": 0.836478 + }, + { + "imag": -0.090041, + "real": 0.839642 + }, + { + "imag": -0.011576, + "real": 0.120204 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.013355, + "real": 0.117968 + }, + { + "imag": -0.128212, + "real": 0.831659 + }, + { + "imag": -0.130087, + "real": 0.834417 + }, + { + "imag": -0.015307, + "real": 0.120463 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.016361, + "real": 0.116759 + }, + { + "imag": -0.167287, + "real": 0.821432 + }, + { + "imag": -0.168995, + "real": 0.823871 + }, + { + "imag": -0.018723, + "real": 0.120452 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.01856, + "real": 0.115682 + }, + { + "imag": -0.203372, + "real": 0.810517 + }, + { + "imag": -0.205858, + "real": 0.812963 + }, + { + "imag": -0.022229, + "real": 0.120616 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.020894, + "real": 0.115358 + }, + { + "imag": -0.243401, + "real": 0.800059 + }, + { + "imag": -0.245367, + "real": 0.802152 + }, + { + "imag": -0.025453, + "real": 0.121367 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.02297, + "real": 0.114815 + }, + { + "imag": -0.279675, + "real": 0.786981 + }, + { + "imag": -0.282572, + "real": 0.788913 + }, + { + "imag": -0.028731, + "real": 0.12169 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.02467, + "real": 0.114157 + }, + { + "imag": -0.316002, + "real": 0.77194 + }, + { + "imag": -0.318495, + "real": 0.774042 + }, + { + "imag": -0.031982, + "real": 0.122071 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.026321, + "real": 0.113685 + }, + { + "imag": -0.351422, + "real": 0.755372 + }, + { + "imag": -0.353621, + "real": 0.757235 + }, + { + "imag": -0.034767, + "real": 0.122523 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.027996, + "real": 0.113303 + }, + { + "imag": -0.385817, + "real": 0.737516 + }, + { + "imag": -0.387402, + "real": 0.739621 + }, + { + "imag": -0.037009, + "real": 0.122886 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.029978, + "real": 0.113051 + }, + { + "imag": -0.418774, + "real": 0.718049 + }, + { + "imag": -0.421268, + "real": 0.719859 + }, + { + "imag": -0.03933, + "real": 0.122362 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.031839, + "real": 0.113058 + }, + { + "imag": -0.45128, + "real": 0.697229 + }, + { + "imag": -0.453781, + "real": 0.699045 + }, + { + "imag": -0.041653, + "real": 0.121891 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.033751, + "real": 0.112835 + }, + { + "imag": -0.48395, + "real": 0.674368 + }, + { + "imag": -0.485797, + "real": 0.67664 + }, + { + "imag": -0.043999, + "real": 0.120836 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.035211, + "real": 0.111962 + }, + { + "imag": -0.514653, + "real": 0.650818 + }, + { + "imag": -0.516389, + "real": 0.652611 + }, + { + "imag": -0.046358, + "real": 0.119711 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.036913, + "real": 0.110898 + }, + { + "imag": -0.54405, + "real": 0.625735 + }, + { + "imag": -0.546075, + "real": 0.626926 + }, + { + "imag": -0.048713, + "real": 0.118174 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.038776, + "real": 0.110302 + }, + { + "imag": -0.572153, + "real": 0.59956 + }, + { + "imag": -0.574078, + "real": 0.600297 + }, + { + "imag": -0.050719, + "real": 0.11676 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.040987, + "real": 0.108896 + }, + { + "imag": -0.599285, + "real": 0.571531 + }, + { + "imag": -0.601138, + "real": 0.572606 + }, + { + "imag": -0.053091, + "real": 0.114853 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.043451, + "real": 0.107662 + }, + { + "imag": -0.624604, + "real": 0.542991 + }, + { + "imag": -0.626429, + "real": 0.543833 + }, + { + "imag": -0.055216, + "real": 0.113095 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.045886, + "real": 0.106728 + }, + { + "imag": -0.648851, + "real": 0.512844 + }, + { + "imag": -0.65113, + "real": 0.513688 + }, + { + "imag": -0.057531, + "real": 0.110769 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.048692, + "real": 0.105152 + }, + { + "imag": -0.671784, + "real": 0.481401 + }, + { + "imag": -0.673659, + "real": 0.482289 + }, + { + "imag": -0.059481, + "real": 0.108317 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.051713, + "real": 0.103903 + }, + { + "imag": -0.693226, + "real": 0.448929 + }, + { + "imag": -0.69501, + "real": 0.449461 + }, + { + "imag": -0.06219, + "real": 0.10555200000000001 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.054953, + "real": 0.103047 + }, + { + "imag": -0.713151, + "real": 0.416677 + }, + { + "imag": -0.715218, + "real": 0.417783 + }, + { + "imag": -0.064904, + "real": 0.103803 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.05836, + "real": 0.101533 + }, + { + "imag": -0.731492, + "real": 0.382802 + }, + { + "imag": -0.73343, + "real": 0.383721 + }, + { + "imag": -0.067885, + "real": 0.101763 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.06177, + "real": 0.100475 + }, + { + "imag": -0.747966, + "real": 0.347872 + }, + { + "imag": -0.750324, + "real": 0.349009 + }, + { + "imag": -0.070786, + "real": 0.099911 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.06515, + "real": 0.099615 + }, + { + "imag": -0.762786, + "real": 0.312439 + }, + { + "imag": -0.76514, + "real": 0.313394 + }, + { + "imag": -0.073949, + "real": 0.097746 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.068689, + "real": 0.098789 + }, + { + "imag": -0.776074, + "real": 0.2773 + }, + { + "imag": -0.77768, + "real": 0.279528 + }, + { + "imag": -0.077248, + "real": 0.095197 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.072268, + "real": 0.098071 + }, + { + "imag": -0.787162, + "real": 0.240266 + }, + { + "imag": -0.789846, + "real": 0.24094 + }, + { + "imag": -0.080669, + "real": 0.093761 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.075917, + "real": 0.097623 + }, + { + "imag": -0.796937, + "real": 0.203305 + }, + { + "imag": -0.799729, + "real": 0.204596 + }, + { + "imag": -0.084541, + "real": 0.091437 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.079521, + "real": 0.097314 + }, + { + "imag": -0.804952, + "real": 0.166352 + }, + { + "imag": -0.807943, + "real": 0.166731 + }, + { + "imag": -0.087973, + "real": 0.089205 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.082894, + "real": 0.097184 + }, + { + "imag": -0.811243, + "real": 0.128984 + }, + { + "imag": -0.813997, + "real": 0.129234 + }, + { + "imag": -0.091359, + "real": 0.087151 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.08589, + "real": 0.097149 + }, + { + "imag": -0.815826, + "real": 0.091054 + }, + { + "imag": -0.818655, + "real": 0.090838 + }, + { + "imag": -0.094562, + "real": 0.085303 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.088455, + "real": 0.096983 + }, + { + "imag": -0.818549, + "real": 0.053364 + }, + { + "imag": -0.82164, + "real": 0.053699 + }, + { + "imag": -0.097827, + "real": 0.083725 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.090579, + "real": 0.096544 + }, + { + "imag": -0.819987, + "real": 0.015072 + }, + { + "imag": -0.822571, + "real": 0.015569 + }, + { + "imag": -0.10105, + "real": 0.08241 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.092352, + "real": 0.095632 + }, + { + "imag": -0.819488, + "real": -0.022396 + }, + { + "imag": -0.822215, + "real": -0.021747 + }, + { + "imag": -0.103624, + "real": 0.080565 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.094026, + "real": 0.093918 + }, + { + "imag": -0.817166, + "real": -0.060147 + }, + { + "imag": -0.819984, + "real": -0.060466 + }, + { + "imag": -0.106323, + "real": 0.079177 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.09589, + "real": 0.092509 + }, + { + "imag": -0.813163, + "real": -0.098257 + }, + { + "imag": -0.815759, + "real": -0.098328 + }, + { + "imag": -0.108592, + "real": 0.07744 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.097517, + "real": 0.091163 + }, + { + "imag": -0.807308, + "real": -0.135502 + }, + { + "imag": -0.809493, + "real": -0.136311 + }, + { + "imag": -0.110676, + "real": 0.075751 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.097886, + "real": 0.089909 + }, + { + "imag": -0.799868, + "real": -0.172524 + }, + { + "imag": -0.801875, + "real": -0.172562 + }, + { + "imag": -0.112202, + "real": 0.074405 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.097974, + "real": 0.087987 + }, + { + "imag": -0.79075, + "real": -0.209044 + }, + { + "imag": -0.792486, + "real": -0.210291 + }, + { + "imag": -0.113822, + "real": 0.072433 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.097838, + "real": 0.085833 + }, + { + "imag": -0.780004, + "real": -0.245171 + }, + { + "imag": -0.780933, + "real": -0.247502 + }, + { + "imag": -0.115171, + "real": 0.070327 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.096558, + "real": 0.083369 + }, + { + "imag": -0.767554, + "real": -0.281427 + }, + { + "imag": -0.768984, + "real": -0.282555 + }, + { + "imag": -0.115582, + "real": 0.068875 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.095235, + "real": 0.080265 + }, + { + "imag": -0.75369, + "real": -0.316263 + }, + { + "imag": -0.755097, + "real": -0.317506 + }, + { + "imag": -0.115898, + "real": 0.067302 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.093793, + "real": 0.076558 + }, + { + "imag": -0.737733, + "real": -0.350837 + }, + { + "imag": -0.739053, + "real": -0.352973 + }, + { + "imag": -0.115853, + "real": 0.065269 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.092377, + "real": 0.073101 + }, + { + "imag": -0.720492, + "real": -0.3848 + }, + { + "imag": -0.721802, + "real": -0.38646200000000003 + }, + { + "imag": -0.115368, + "real": 0.063038 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.090776, + "real": 0.068913 + }, + { + "imag": -0.70177, + "real": -0.418049 + }, + { + "imag": -0.702714, + "real": -0.419915 + }, + { + "imag": -0.114468, + "real": 0.060695 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.089025, + "real": 0.064455 + }, + { + "imag": -0.681287, + "real": -0.449927 + }, + { + "imag": -0.681947, + "real": -0.45248 + }, + { + "imag": -0.113489, + "real": 0.058373 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.08743, + "real": 0.05985 + }, + { + "imag": -0.659677, + "real": -0.480809 + }, + { + "imag": -0.660261, + "real": -0.483994 + }, + { + "imag": -0.112584, + "real": 0.055674 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.085962, + "real": 0.055281 + }, + { + "imag": -0.63607, + "real": -0.510976 + }, + { + "imag": -0.637409, + "real": -0.51359 + }, + { + "imag": -0.111124, + "real": 0.052831 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.084724, + "real": 0.051024 + }, + { + "imag": -0.610759, + "real": -0.539927 + }, + { + "imag": -0.611397, + "real": -0.543625 + }, + { + "imag": -0.109295, + "real": 0.049413 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.083685, + "real": 0.046286 + }, + { + "imag": -0.58497, + "real": -0.567272 + }, + { + "imag": -0.584845, + "real": -0.571318 + }, + { + "imag": -0.108162, + "real": 0.045245 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.08315, + "real": 0.041513 + }, + { + "imag": -0.557266, + "real": -0.593976 + }, + { + "imag": -0.556842, + "real": -0.597894 + }, + { + "imag": -0.107041, + "real": 0.041776 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.082651, + "real": 0.036911 + }, + { + "imag": -0.528437, + "real": -0.61892 + }, + { + "imag": -0.528207, + "real": -0.622592 + }, + { + "imag": -0.10569, + "real": 0.038585 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.082665, + "real": 0.032336 + }, + { + "imag": -0.498882, + "real": -0.641912 + }, + { + "imag": -0.497767, + "real": -0.645987 + }, + { + "imag": -0.10432, + "real": 0.035306 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.082914, + "real": 0.027859 + }, + { + "imag": -0.467983, + "real": -0.664241 + }, + { + "imag": -0.467682, + "real": -0.667515 + }, + { + "imag": -0.103121, + "real": 0.031456 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.08343, + "real": 0.023465 + }, + { + "imag": -0.43631, + "real": -0.684182 + }, + { + "imag": -0.435733, + "real": -0.688177 + }, + { + "imag": -0.102135, + "real": 0.027966 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.084305, + "real": 0.019087 + }, + { + "imag": -0.403804, + "real": -0.703281 + }, + { + "imag": -0.4037, + "real": -0.707003 + }, + { + "imag": -0.101221, + "real": 0.02455 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.085492, + "real": 0.014963 + }, + { + "imag": -0.370765, + "real": -0.720696 + }, + { + "imag": -0.373637, + "real": -0.72379 + }, + { + "imag": -0.100989, + "real": 0.021439 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.086956, + "real": 0.010837 + }, + { + "imag": -0.336616, + "real": -0.736759 + }, + { + "imag": -0.336271, + "real": -0.740719 + }, + { + "imag": -0.099897, + "real": 0.017254 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.08880300000000001, + "real": 0.007098 + }, + { + "imag": -0.302414, + "real": -0.750828 + }, + { + "imag": -0.301324, + "real": -0.755105 + }, + { + "imag": -0.099294, + "real": 0.013458 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.090667, + "real": 0.003992 + }, + { + "imag": -0.266981, + "real": -0.7635 + }, + { + "imag": -0.266521, + "real": -0.767539 + }, + { + "imag": -0.098793, + "real": 0.010044 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.092448, + "real": 0.00122 + }, + { + "imag": -0.230963, + "real": -0.774455 + }, + { + "imag": -0.230009, + "real": -0.778526 + }, + { + "imag": -0.098622, + "real": 0.006528 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.093982, + "real": -0.001478 + }, + { + "imag": -0.194495, + "real": -0.783587 + }, + { + "imag": -0.193707, + "real": -0.787235 + }, + { + "imag": -0.098433, + "real": 0.003007 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.095576, + "real": -0.003786 + }, + { + "imag": -0.158281, + "real": -0.791419 + }, + { + "imag": -0.158687, + "real": -0.79485 + }, + { + "imag": -0.098127, + "real": 0.000168 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.096451, + "real": -0.006223 + }, + { + "imag": -0.121429, + "real": -0.797444 + }, + { + "imag": -0.12055, + "real": -0.801379 + }, + { + "imag": -0.098236, + "real": -0.003542 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.097495, + "real": -0.008174 + }, + { + "imag": -0.084488, + "real": -0.802022 + }, + { + "imag": -0.08368, + "real": -0.80515 + }, + { + "imag": -0.097979, + "real": -0.00685 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.09799, + "real": -0.010091 + }, + { + "imag": -0.047109, + "real": -0.804628 + }, + { + "imag": -0.04641, + "real": -0.807557 + }, + { + "imag": -0.097669, + "real": -0.009623 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.098279, + "real": -0.011427 + }, + { + "imag": -0.01011, + "real": -0.805357 + }, + { + "imag": -0.009586, + "real": -0.808248 + }, + { + "imag": -0.097288, + "real": -0.012373 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.098328, + "real": -0.012927 + }, + { + "imag": 0.025986, + "real": -0.804931 + }, + { + "imag": 0.02304, + "real": -0.807207 + }, + { + "imag": -0.095621, + "real": -0.014967 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.0981, + "real": -0.014652 + }, + { + "imag": 0.064148, + "real": -0.802372 + }, + { + "imag": 0.064953, + "real": -0.805267 + }, + { + "imag": -0.09548, + "real": -0.017855 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.097538, + "real": -0.015523 + }, + { + "imag": 0.101624, + "real": -0.798925 + }, + { + "imag": 0.101836, + "real": -0.802052 + }, + { + "imag": -0.093512, + "real": -0.020525 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.096779, + "real": -0.017401 + }, + { + "imag": 0.137736, + "real": -0.79236 + }, + { + "imag": 0.138671, + "real": -0.795122 + }, + { + "imag": -0.091905, + "real": -0.023709 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.095518, + "real": -0.018669 + }, + { + "imag": 0.174012, + "real": -0.784914 + }, + { + "imag": 0.174774, + "real": -0.787415 + }, + { + "imag": -0.090292, + "real": -0.026598 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.094186, + "real": -0.019907 + }, + { + "imag": 0.210245, + "real": -0.775473 + }, + { + "imag": 0.211005, + "real": -0.778579 + }, + { + "imag": -0.088535, + "real": -0.029506 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.092561, + "real": -0.021347 + }, + { + "imag": 0.245713, + "real": -0.764854 + }, + { + "imag": 0.246368, + "real": -0.767929 + }, + { + "imag": -0.086924, + "real": -0.032254 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.091267, + "real": -0.023244 + }, + { + "imag": 0.282217, + "real": -0.75061 + }, + { + "imag": 0.283265, + "real": -0.754118 + }, + { + "imag": -0.085097, + "real": -0.034902 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.089172, + "real": -0.024634 + }, + { + "imag": 0.316282, + "real": -0.73739 + }, + { + "imag": 0.315974, + "real": -0.74014 + }, + { + "imag": -0.083769, + "real": -0.03732 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.086786, + "real": -0.027134 + }, + { + "imag": 0.348765, + "real": -0.721832 + }, + { + "imag": 0.350591, + "real": -0.724974 + }, + { + "imag": -0.081482, + "real": -0.039509 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.084726, + "real": -0.029447 + }, + { + "imag": 0.381691, + "real": -0.704592 + }, + { + "imag": 0.383506, + "real": -0.707386 + }, + { + "imag": -0.079741, + "real": -0.04171 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.082671, + "real": -0.032086 + }, + { + "imag": 0.413591, + "real": -0.68582 + }, + { + "imag": 0.415527, + "real": -0.688365 + }, + { + "imag": -0.07822, + "real": -0.043901 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.080803, + "real": -0.034845 + }, + { + "imag": 0.444747, + "real": -0.66539 + }, + { + "imag": 0.446637, + "real": -0.667747 + }, + { + "imag": -0.076754, + "real": -0.045751 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.078998, + "real": -0.037738 + }, + { + "imag": 0.474813, + "real": -0.643357 + }, + { + "imag": 0.477011, + "real": -0.646137 + }, + { + "imag": -0.075497, + "real": -0.047495 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.077252, + "real": -0.040513 + }, + { + "imag": 0.503661, + "real": -0.620196 + }, + { + "imag": 0.506045, + "real": -0.622919 + }, + { + "imag": -0.074223, + "real": -0.049442 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.075465, + "real": -0.043442 + }, + { + "imag": 0.531606, + "real": -0.595748 + }, + { + "imag": 0.534277, + "real": -0.598074 + }, + { + "imag": -0.073428, + "real": -0.05133 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.073658, + "real": -0.04626 + }, + { + "imag": 0.558179, + "real": -0.570465 + }, + { + "imag": 0.561038, + "real": -0.572486 + }, + { + "imag": -0.073454, + "real": -0.053109 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.071755, + "real": -0.048814 + }, + { + "imag": 0.583919, + "real": -0.54363 + }, + { + "imag": 0.588005, + "real": -0.54319 + }, + { + "imag": -0.073167, + "real": -0.055743 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.069918, + "real": -0.051105 + }, + { + "imag": 0.608293, + "real": -0.515672 + }, + { + "imag": 0.610421, + "real": -0.517936 + }, + { + "imag": -0.073323, + "real": -0.056332 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.068273, + "real": -0.053832 + }, + { + "imag": 0.630781, + "real": -0.48653 + }, + { + "imag": 0.633987, + "real": -0.487483 + }, + { + "imag": -0.073766, + "real": -0.057574 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.066535, + "real": -0.055747 + }, + { + "imag": 0.65219, + "real": -0.456829 + }, + { + "imag": 0.655175, + "real": -0.456602 + }, + { + "imag": -0.074534, + "real": -0.058578 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.064547, + "real": -0.057536 + }, + { + "imag": 0.671998, + "real": -0.425987 + }, + { + "imag": 0.675307, + "real": -0.426479 + }, + { + "imag": -0.075538, + "real": -0.0596 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.062414, + "real": -0.058593 + }, + { + "imag": 0.690465, + "real": -0.394968 + }, + { + "imag": 0.693525, + "real": -0.396122 + }, + { + "imag": -0.075904, + "real": -0.059973 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.060459, + "real": -0.060009 + }, + { + "imag": 0.707848, + "real": -0.362219 + }, + { + "imag": 0.711014, + "real": -0.362795 + }, + { + "imag": -0.076916, + "real": -0.060635 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.057918, + "real": -0.060976 + }, + { + "imag": 0.723663, + "real": -0.328613 + }, + { + "imag": 0.726765, + "real": -0.328237 + }, + { + "imag": -0.077972, + "real": -0.061443 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.055948, + "real": -0.060834 + }, + { + "imag": 0.737294, + "real": -0.295228 + }, + { + "imag": 0.740469, + "real": -0.29471 + }, + { + "imag": -0.078253, + "real": -0.061692 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.053865, + "real": -0.060805 + }, + { + "imag": 0.749852, + "real": -0.260924 + }, + { + "imag": 0.752977, + "real": -0.260139 + }, + { + "imag": -0.078194, + "real": -0.061664 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.050752, + "real": -0.060569 + }, + { + "imag": 0.760831, + "real": -0.2259 + }, + { + "imag": 0.762572, + "real": -0.226286 + }, + { + "imag": -0.078599, + "real": -0.062234 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.047773, + "real": -0.059897 + }, + { + "imag": 0.770466, + "real": -0.19064 + }, + { + "imag": 0.772304, + "real": -0.190324 + }, + { + "imag": -0.078458, + "real": -0.062329 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.045008, + "real": -0.059214 + }, + { + "imag": 0.777499, + "real": -0.154697 + }, + { + "imag": 0.780562, + "real": -0.15413 + }, + { + "imag": -0.078259, + "real": -0.062548 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.041442, + "real": -0.058324 + }, + { + "imag": 0.783308, + "real": -0.118754 + }, + { + "imag": 0.786411, + "real": -0.118294 + }, + { + "imag": -0.077917, + "real": -0.062529 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.037944, + "real": -0.056963 + }, + { + "imag": 0.787343, + "real": -0.082572 + }, + { + "imag": 0.790709, + "real": -0.081709 + }, + { + "imag": -0.077459, + "real": -0.062531 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.033979, + "real": -0.056228 + }, + { + "imag": 0.789761, + "real": -0.046426 + }, + { + "imag": 0.793192, + "real": -0.045743 + }, + { + "imag": -0.076665, + "real": -0.062209 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.029846, + "real": -0.056818 + }, + { + "imag": 0.790964, + "real": -0.010122 + }, + { + "imag": 0.793955, + "real": -0.008881 + }, + { + "imag": -0.075488, + "real": -0.061824 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.026045, + "real": -0.056775 + }, + { + "imag": 0.790221, + "real": 0.026753 + }, + { + "imag": 0.793189, + "real": 0.02831 + }, + { + "imag": -0.074005, + "real": -0.061563 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.022371, + "real": -0.056728 + }, + { + "imag": 0.787163, + "real": 0.063626 + }, + { + "imag": 0.790341, + "real": 0.06437 + }, + { + "imag": -0.072838, + "real": -0.06127 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.018723, + "real": -0.057868 + }, + { + "imag": 0.782546, + "real": 0.099239 + }, + { + "imag": 0.785235, + "real": 0.100359 + }, + { + "imag": -0.071957, + "real": -0.061655 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.014998, + "real": -0.058521 + }, + { + "imag": 0.778003, + "real": 0.134437 + }, + { + "imag": 0.779911, + "real": 0.136841 + }, + { + "imag": -0.069252, + "real": -0.062837 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.011434, + "real": -0.059472 + }, + { + "imag": 0.770598, + "real": 0.16993 + }, + { + "imag": 0.772176, + "real": 0.177815 + }, + { + "imag": -0.065208, + "real": -0.065166 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.006925, + "real": -0.062757 + }, + { + "imag": 0.761542, + "real": 0.205521 + }, + { + "imag": 0.763084, + "real": 0.208002 + }, + { + "imag": -0.064447, + "real": -0.064427 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.003557, + "real": -0.064905 + }, + { + "imag": 0.750662, + "real": 0.240473 + }, + { + "imag": 0.75198, + "real": 0.242641 + }, + { + "imag": -0.062151, + "real": -0.065667 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.000398, + "real": -0.066937 + }, + { + "imag": 0.737914, + "real": 0.27472800000000003 + }, + { + "imag": 0.739565, + "real": 0.277121 + }, + { + "imag": -0.059508, + "real": -0.067426 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": 0.002665, + "real": -0.069299 + }, + { + "imag": 0.723582, + "real": 0.308129 + }, + { + "imag": 0.725759, + "real": 0.310643 + }, + { + "imag": -0.057408, + "real": -0.068723 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": 0.005309, + "real": -0.072422 + }, + { + "imag": 0.708039, + "real": 0.340829 + }, + { + "imag": 0.709967, + "real": 0.343957 + }, + { + "imag": -0.055219, + "real": -0.070897 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.007501, + "real": -0.075476 + }, + { + "imag": 0.691001, + "real": 0.372861 + }, + { + "imag": 0.692257, + "real": 0.376534 + }, + { + "imag": -0.05315, + "real": -0.073507 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.009018, + "real": -0.078606 + }, + { + "imag": 0.672514, + "real": 0.40424 + }, + { + "imag": 0.673424, + "real": 0.407929 + }, + { + "imag": -0.05096, + "real": -0.075792 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.010305, + "real": -0.081589 + }, + { + "imag": 0.652919, + "real": 0.43416 + }, + { + "imag": 0.653783, + "real": 0.437452 + }, + { + "imag": -0.048566, + "real": -0.078189 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.011488, + "real": -0.084157 + }, + { + "imag": 0.63223, + "real": 0.463571 + }, + { + "imag": 0.632612, + "real": 0.467978 + }, + { + "imag": -0.046674, + "real": -0.080795 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.012387, + "real": -0.086859 + }, + { + "imag": 0.609953, + "real": 0.492075 + }, + { + "imag": 0.609291, + "real": 0.496781 + }, + { + "imag": -0.044763, + "real": -0.083644 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.012845, + "real": -0.089864 + }, + { + "imag": 0.585564, + "real": 0.519256 + }, + { + "imag": 0.585064, + "real": 0.523759 + }, + { + "imag": -0.04248, + "real": -0.086813 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.012603, + "real": -0.092153 + }, + { + "imag": 0.560444, + "real": 0.545012 + }, + { + "imag": 0.560067, + "real": 0.549811 + }, + { + "imag": -0.040076, + "real": -0.090285 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.012171, + "real": -0.093901 + }, + { + "imag": 0.534315, + "real": 0.56937 + }, + { + "imag": 0.533465, + "real": 0.574702 + }, + { + "imag": -0.038238, + "real": -0.093851 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.011494, + "real": -0.094844 + }, + { + "imag": 0.506753, + "real": 0.593362 + }, + { + "imag": 0.497377, + "real": 0.608196 + }, + { + "imag": -0.036575, + "real": -0.094539 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.011051, + "real": -0.095971 + }, + { + "imag": 0.479185, + "real": 0.615446 + }, + { + "imag": 0.4781, + "real": 0.62023 + }, + { + "imag": -0.035234, + "real": -0.101023 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.010601, + "real": -0.096369 + }, + { + "imag": 0.450288, + "real": 0.636221 + }, + { + "imag": 0.449071, + "real": 0.640878 + }, + { + "imag": -0.034047, + "real": -0.103869 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.010027, + "real": -0.096588 + }, + { + "imag": 0.420301, + "real": 0.656233 + }, + { + "imag": 0.419376, + "real": 0.660477 + }, + { + "imag": -0.032603, + "real": -0.106519 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.009278, + "real": -0.096081 + }, + { + "imag": 0.389837, + "real": 0.674616 + }, + { + "imag": 0.389334, + "real": 0.679164 + }, + { + "imag": -0.030699, + "real": -0.109023 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.008999, + "real": -0.095307 + }, + { + "imag": 0.35854, + "real": 0.691167 + }, + { + "imag": 0.357684, + "real": 0.69617 + }, + { + "imag": -0.028846, + "real": -0.111533 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.008094, + "real": -0.093467 + }, + { + "imag": 0.326081, + "real": 0.707113 + }, + { + "imag": 0.325371, + "real": 0.711736 + }, + { + "imag": -0.026529, + "real": -0.113738 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.00776, + "real": -0.091976 + }, + { + "imag": 0.292782, + "real": 0.721961 + }, + { + "imag": 0.292206, + "real": 0.726382 + }, + { + "imag": -0.024224, + "real": -0.116685 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.008115, + "real": -0.090381 + }, + { + "imag": 0.259364, + "real": 0.734437 + }, + { + "imag": 0.258649, + "real": 0.739126 + }, + { + "imag": -0.021993, + "real": -0.118592 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.008808, + "real": -0.087711 + }, + { + "imag": 0.224497, + "real": 0.745308 + }, + { + "imag": 0.223986, + "real": 0.749373 + }, + { + "imag": -0.019253, + "real": -0.120676 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.009837, + "real": -0.085633 + }, + { + "imag": 0.189732, + "real": 0.754642 + }, + { + "imag": 0.189467, + "real": 0.759011 + }, + { + "imag": -0.016294, + "real": -0.122761 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.010664, + "real": -0.082903 + }, + { + "imag": 0.154923, + "real": 0.762129 + }, + { + "imag": 0.153874, + "real": 0.766406 + }, + { + "imag": -0.013594, + "real": -0.124551 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.012674, + "real": -0.08049 + }, + { + "imag": 0.119065, + "real": 0.768394 + }, + { + "imag": 0.118164, + "real": 0.772377 + }, + { + "imag": -0.010205, + "real": -0.126408 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.014994, + "real": -0.077771 + }, + { + "imag": 0.083443, + "real": 0.772467 + }, + { + "imag": 0.082489, + "real": 0.7772 + }, + { + "imag": -0.006829, + "real": -0.127464 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.017491, + "real": -0.075784 + }, + { + "imag": 0.047439, + "real": 0.775034 + }, + { + "imag": 0.047001, + "real": 0.779562 + }, + { + "imag": -0.002775, + "real": -0.128798 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.019834, + "real": -0.074073 + }, + { + "imag": 0.012115, + "real": 0.775695 + }, + { + "imag": 0.010856, + "real": 0.779488 + }, + { + "imag": 0.000716, + "real": -0.130045 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.022146, + "real": -0.0725 + }, + { + "imag": -0.023389, + "real": 0.774815 + }, + { + "imag": -0.025379, + "real": 0.778252 + }, + { + "imag": 0.004248, + "real": -0.130767 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.024201, + "real": -0.070738 + }, + { + "imag": -0.059673, + "real": 0.772939 + }, + { + "imag": -0.061179, + "real": 0.776189 + }, + { + "imag": 0.008542, + "real": -0.131657 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.026915, + "real": -0.069729 + }, + { + "imag": -0.09522, + "real": 0.769032 + }, + { + "imag": -0.09672, + "real": 0.772023 + }, + { + "imag": 0.012272, + "real": -0.132002 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.029392, + "real": -0.069319 + }, + { + "imag": -0.130337, + "real": 0.763195 + }, + { + "imag": -0.132691, + "real": 0.766011 + }, + { + "imag": 0.016224, + "real": -0.131973 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.032149, + "real": -0.068823 + }, + { + "imag": -0.164733, + "real": 0.75604 + }, + { + "imag": -0.16779, + "real": 0.758288 + }, + { + "imag": 0.020296, + "real": -0.132046 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.034754, + "real": -0.06868 + }, + { + "imag": -0.199147, + "real": 0.74726 + }, + { + "imag": -0.200656, + "real": 0.749695 + }, + { + "imag": 0.025569, + "real": -0.131663 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.03754, + "real": -0.069315 + }, + { + "imag": -0.232726, + "real": 0.736642 + }, + { + "imag": -0.236288, + "real": 0.738142 + }, + { + "imag": 0.029783, + "real": -0.131462 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.03963, + "real": -0.07017 + }, + { + "imag": -0.265821, + "real": 0.724916 + }, + { + "imag": -0.268858, + "real": 0.725598 + }, + { + "imag": 0.034314, + "real": -0.131542 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.04188, + "real": -0.071074 + }, + { + "imag": -0.298515, + "real": 0.711664 + }, + { + "imag": -0.301842, + "real": 0.711674 + }, + { + "imag": 0.037941, + "real": -0.131191 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.04423, + "real": -0.071961 + }, + { + "imag": -0.330806, + "real": 0.69691 + }, + { + "imag": -0.333844, + "real": 0.697119 + }, + { + "imag": 0.041686, + "real": -0.130772 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.046063, + "real": -0.073283 + }, + { + "imag": -0.361986, + "real": 0.680876 + }, + { + "imag": -0.364722, + "real": 0.680306 + }, + { + "imag": 0.045186, + "real": -0.129492 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.048008, + "real": -0.074591 + }, + { + "imag": -0.391888, + "real": 0.663372 + }, + { + "imag": -0.394957, + "real": 0.662572 + }, + { + "imag": 0.048577, + "real": -0.128243 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.049739, + "real": -0.075437 + }, + { + "imag": -0.422322, + "real": 0.643855 + }, + { + "imag": -0.425038, + "real": 0.643367 + }, + { + "imag": 0.051882, + "real": -0.12684 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.05107, + "real": -0.075843 + }, + { + "imag": -0.451308, + "real": 0.62356 + }, + { + "imag": -0.453796, + "real": 0.622335 + }, + { + "imag": 0.054948, + "real": -0.125347 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.053343, + "real": -0.076855 + }, + { + "imag": -0.479286, + "real": 0.602607 + }, + { + "imag": -0.48177, + "real": 0.600773 + }, + { + "imag": 0.058474, + "real": -0.123496 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.053961, + "real": -0.078335 + }, + { + "imag": -0.505231, + "real": 0.580079 + }, + { + "imag": -0.5081, + "real": 0.578546 + }, + { + "imag": 0.061083, + "real": -0.122123 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.055569, + "real": -0.078078 + }, + { + "imag": -0.531233, + "real": 0.555977 + }, + { + "imag": -0.534336, + "real": 0.554413 + }, + { + "imag": 0.064185, + "real": -0.12005300000000001 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.057252, + "real": -0.077706 + }, + { + "imag": -0.556242, + "real": 0.530959 + }, + { + "imag": -0.559257, + "real": 0.529721 + }, + { + "imag": 0.067221, + "real": -0.118205 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.0586, + "real": -0.077003 + }, + { + "imag": -0.579995, + "real": 0.504699 + }, + { + "imag": -0.582254, + "real": 0.504865 + }, + { + "imag": 0.069678, + "real": -0.116309 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.060299, + "real": -0.075759 + }, + { + "imag": -0.602494, + "real": 0.477054 + }, + { + "imag": -0.605943, + "real": 0.47834 + }, + { + "imag": 0.072742, + "real": -0.11465 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.062448, + "real": -0.073864 + }, + { + "imag": -0.623719, + "real": 0.448335 + }, + { + "imag": -0.628738, + "real": 0.448457 + }, + { + "imag": 0.076447, + "real": -0.112301 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.064158, + "real": -0.071663 + }, + { + "imag": -0.643324, + "real": 0.418778 + }, + { + "imag": -0.648646, + "real": 0.418175 + }, + { + "imag": 0.07957, + "real": -0.110014 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.066066, + "real": -0.068739 + }, + { + "imag": -0.661421, + "real": 0.38833 + }, + { + "imag": -0.667006, + "real": 0.38748 + }, + { + "imag": 0.082484, + "real": -0.10777 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.06868200000000001, + "real": -0.066218 + }, + { + "imag": -0.678078, + "real": 0.357179 + }, + { + "imag": -0.683965, + "real": 0.355945 + }, + { + "imag": 0.08531, + "real": -0.105145 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.071351, + "real": -0.062465 + }, + { + "imag": -0.693527, + "real": 0.325227 + }, + { + "imag": -0.69958, + "real": 0.323778 + }, + { + "imag": 0.088173, + "real": -0.10291 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.074317, + "real": -0.059278 + }, + { + "imag": -0.707354, + "real": 0.292556 + }, + { + "imag": -0.713583, + "real": 0.291231 + }, + { + "imag": 0.091245, + "real": -0.100481 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.07731, + "real": -0.055668 + }, + { + "imag": -0.719376, + "real": 0.258926 + }, + { + "imag": -0.725687, + "real": 0.257963 + }, + { + "imag": 0.094105, + "real": -0.097773 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.080117, + "real": -0.051877 + }, + { + "imag": -0.730404, + "real": 0.225304 + }, + { + "imag": -0.736271, + "real": 0.223893 + }, + { + "imag": 0.096923, + "real": -0.094645 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.083399, + "real": -0.047948 + }, + { + "imag": -0.739684, + "real": 0.191039 + }, + { + "imag": -0.744637, + "real": 0.189459 + }, + { + "imag": 0.100122, + "real": -0.091499 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.087278, + "real": -0.044466 + }, + { + "imag": -0.747342, + "real": 0.156861 + }, + { + "imag": -0.751778, + "real": 0.154492 + }, + { + "imag": 0.103447, + "real": -0.088668 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.090964, + "real": -0.040486 + }, + { + "imag": -0.753239, + "real": 0.122736 + }, + { + "imag": -0.757763, + "real": 0.119822 + }, + { + "imag": 0.10667600000000001, + "real": -0.086032 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.094455, + "real": -0.035785 + }, + { + "imag": -0.757573, + "real": 0.087865 + }, + { + "imag": -0.762029, + "real": 0.085132 + }, + { + "imag": 0.109063, + "real": -0.083243 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.098532, + "real": -0.032367 + }, + { + "imag": -0.760188, + "real": 0.053306 + }, + { + "imag": -0.7649, + "real": 0.050869 + }, + { + "imag": 0.111447, + "real": -0.080756 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.102367, + "real": -0.028771 + }, + { + "imag": -0.761349, + "real": 0.018336 + }, + { + "imag": -0.766801, + "real": 0.016295 + }, + { + "imag": 0.112865, + "real": -0.077594 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.105655, + "real": -0.025286 + }, + { + "imag": -0.761641, + "real": -0.01722 + }, + { + "imag": -0.766351, + "real": -0.019024 + }, + { + "imag": 0.114779, + "real": -0.074104 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.108416, + "real": -0.022847 + }, + { + "imag": -0.758846, + "real": -0.051594 + }, + { + "imag": -0.76436, + "real": -0.052886 + }, + { + "imag": 0.11633, + "real": -0.071468 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.111106, + "real": -0.019895 + }, + { + "imag": -0.75515, + "real": -0.08632 + }, + { + "imag": -0.760748, + "real": -0.087939 + }, + { + "imag": 0.117777, + "real": -0.068336 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.11387, + "real": -0.01734 + }, + { + "imag": -0.750436, + "real": -0.120874 + }, + { + "imag": -0.755597, + "real": -0.123143 + }, + { + "imag": 0.118806, + "real": -0.065104 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.116148, + "real": -0.015114 + }, + { + "imag": -0.744028, + "real": -0.155177 + }, + { + "imag": -0.748717, + "real": -0.158156 + }, + { + "imag": 0.119566, + "real": -0.06161 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.117705, + "real": -0.012033 + }, + { + "imag": -0.735739, + "real": -0.189242 + }, + { + "imag": -0.740358, + "real": -0.193293 + }, + { + "imag": 0.120486, + "real": -0.058667 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.120895, + "real": -0.00827 + }, + { + "imag": -0.725511, + "real": -0.22481 + }, + { + "imag": -0.728081, + "real": -0.231901 + }, + { + "imag": 0.121715, + "real": -0.051909 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.121095, + "real": -0.00884 + }, + { + "imag": -0.715276, + "real": -0.255802 + }, + { + "imag": -0.71965, + "real": -0.259345 + }, + { + "imag": 0.121725, + "real": -0.05209 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.121801, + "real": -0.007221 + }, + { + "imag": -0.702456, + "real": -0.288583 + }, + { + "imag": -0.706204, + "real": -0.291527 + }, + { + "imag": 0.122326, + "real": -0.049028 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.121992, + "real": -0.005534 + }, + { + "imag": -0.688418, + "real": -0.320399 + }, + { + "imag": -0.691006, + "real": -0.323013 + }, + { + "imag": 0.12279, + "real": -0.046984 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.121984, + "real": -0.003946 + }, + { + "imag": -0.672392, + "real": -0.351711 + }, + { + "imag": -0.673918, + "real": -0.354388 + }, + { + "imag": 0.123106, + "real": -0.04443 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.12146, + "real": -0.002095 + }, + { + "imag": -0.655514, + "real": -0.382504 + }, + { + "imag": -0.656309, + "real": -0.385025 + }, + { + "imag": 0.123849, + "real": -0.042083 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.121025, + "real": 3.1e-05 + }, + { + "imag": -0.636506, + "real": -0.412333 + }, + { + "imag": -0.636972, + "real": -0.41521 + }, + { + "imag": 0.124308, + "real": -0.040248 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.120049, + "real": 0.002371 + }, + { + "imag": -0.616406, + "real": -0.440569 + }, + { + "imag": -0.616656, + "real": -0.444429 + }, + { + "imag": 0.124819, + "real": -0.038516 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.11925, + "real": 0.004817 + }, + { + "imag": -0.594421, + "real": -0.468191 + }, + { + "imag": -0.594948, + "real": -0.472756 + }, + { + "imag": 0.125466, + "real": -0.036996 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.118475, + "real": 0.006719 + }, + { + "imag": -0.570969, + "real": -0.496216 + }, + { + "imag": -0.572455, + "real": -0.500076 + }, + { + "imag": 0.124795, + "real": -0.034694 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.117197, + "real": 0.009451 + }, + { + "imag": -0.546986, + "real": -0.521253 + }, + { + "imag": -0.548395, + "real": -0.525352 + }, + { + "imag": 0.125011, + "real": -0.033373 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.115096, + "real": 0.012736 + }, + { + "imag": -0.521341, + "real": -0.544499 + }, + { + "imag": -0.522772, + "real": -0.549223 + }, + { + "imag": 0.124712, + "real": -0.033177 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.113563, + "real": 0.016646 + }, + { + "imag": -0.495325, + "real": -0.567 + }, + { + "imag": -0.495579, + "real": -0.571502 + }, + { + "imag": 0.124823, + "real": -0.032197 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.112186, + "real": 0.020959 + }, + { + "imag": -0.468065, + "real": -0.588444 + }, + { + "imag": -0.467546, + "real": -0.593062 + }, + { + "imag": 0.125337, + "real": -0.031391 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.109982, + "real": 0.024958 + }, + { + "imag": -0.44088, + "real": -0.607795 + }, + { + "imag": -0.438712, + "real": -0.613254 + }, + { + "imag": 0.125255, + "real": -0.030646 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.10824, + "real": 0.029399 + }, + { + "imag": -0.411842, + "real": -0.62681 + }, + { + "imag": -0.409981, + "real": -0.632113 + }, + { + "imag": 0.124259, + "real": -0.030331 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.106813, + "real": 0.033968 + }, + { + "imag": -0.382877, + "real": -0.64444 + }, + { + "imag": -0.381367, + "real": -0.649405 + }, + { + "imag": 0.124226, + "real": -0.030157 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.104975, + "real": 0.03903 + }, + { + "imag": -0.353387, + "real": -0.660647 + }, + { + "imag": -0.351534, + "real": -0.665453 + }, + { + "imag": 0.124297, + "real": -0.029894 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.103091, + "real": 0.043638 + }, + { + "imag": -0.323704, + "real": -0.675475 + }, + { + "imag": -0.321391, + "real": -0.680579 + }, + { + "imag": 0.123846, + "real": -0.030115 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.10166, + "real": 0.048255 + }, + { + "imag": -0.292223, + "real": -0.690993 + }, + { + "imag": -0.290956, + "real": -0.694089 + }, + { + "imag": 0.123708, + "real": -0.030612 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.099817, + "real": 0.053133 + }, + { + "imag": -0.260783, + "real": -0.704 + }, + { + "imag": -0.259525, + "real": -0.707565 + }, + { + "imag": 0.122617, + "real": -0.030727 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.097885, + "real": 0.057297 + }, + { + "imag": -0.228607, + "real": -0.714182 + }, + { + "imag": -0.227595, + "real": -0.718902 + }, + { + "imag": 0.119493, + "real": -0.030783 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.095974, + "real": 0.062145 + }, + { + "imag": -0.194546, + "real": -0.724721 + }, + { + "imag": -0.193623, + "real": -0.7283 + }, + { + "imag": 0.11743, + "real": -0.029888 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.093836, + "real": 0.065807 + }, + { + "imag": -0.160897, + "real": -0.733058 + }, + { + "imag": -0.159157, + "real": -0.736006 + }, + { + "imag": 0.115008, + "real": -0.029501 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.091816, + "real": 0.069305 + }, + { + "imag": -0.126526, + "real": -0.739932 + }, + { + "imag": -0.124669, + "real": -0.743338 + }, + { + "imag": 0.11248, + "real": -0.028723 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.08954, + "real": 0.07203 + }, + { + "imag": -0.091504, + "real": -0.74531 + }, + { + "imag": -0.089963, + "real": -0.74872 + }, + { + "imag": 0.109864, + "real": -0.027292 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.086868, + "real": 0.074674 + }, + { + "imag": -0.056234, + "real": -0.748369 + }, + { + "imag": -0.054934, + "real": -0.752016 + }, + { + "imag": 0.106206, + "real": -0.026311 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.084608, + "real": 0.076979 + }, + { + "imag": -0.020459, + "real": -0.749729 + }, + { + "imag": -0.02008, + "real": -0.753329 + }, + { + "imag": 0.10236, + "real": -0.025297 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.081972, + "real": 0.078774 + }, + { + "imag": 0.014356, + "real": -0.749353 + }, + { + "imag": 0.014578, + "real": -0.753002 + }, + { + "imag": 0.09861, + "real": -0.023467 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.078869, + "real": 0.079252 + }, + { + "imag": 0.048723, + "real": -0.746225 + }, + { + "imag": 0.04915, + "real": -0.750831 + }, + { + "imag": 0.094984, + "real": -0.020767999999999998 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.075059, + "real": 0.080557 + }, + { + "imag": 0.083323, + "real": -0.742492 + }, + { + "imag": 0.084318, + "real": -0.7466 + }, + { + "imag": 0.09122, + "real": -0.018194 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.071211, + "real": 0.081814 + }, + { + "imag": 0.118034, + "real": -0.73728 + }, + { + "imag": 0.118484, + "real": -0.74115 + }, + { + "imag": 0.087553, + "real": -0.015797 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.067756, + "real": 0.082431 + }, + { + "imag": 0.151761, + "real": -0.730251 + }, + { + "imag": 0.15294, + "real": -0.7341529999999999 + }, + { + "imag": 0.083706, + "real": -0.013298 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.063738, + "real": 0.082165 + }, + { + "imag": 0.185279, + "real": -0.721729 + }, + { + "imag": 0.186405, + "real": -0.725809 + }, + { + "imag": 0.079894, + "real": -0.010535 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.059435, + "real": 0.081902 + }, + { + "imag": 0.218081, + "real": -0.711906 + }, + { + "imag": 0.219562, + "real": -0.715733 + }, + { + "imag": 0.075963, + "real": -0.007504 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.055007, + "real": 0.081341 + }, + { + "imag": 0.250231, + "real": -0.700956 + }, + { + "imag": 0.252096, + "real": -0.70409 + }, + { + "imag": 0.072614, + "real": -0.004214 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.050317, + "real": 0.080834 + }, + { + "imag": 0.282152, + "real": -0.688103 + }, + { + "imag": 0.28421, + "real": -0.6908 + }, + { + "imag": 0.069494, + "real": -0.000926 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.045386, + "real": 0.080081 + }, + { + "imag": 0.312938, + "real": -0.674134 + }, + { + "imag": 0.315588, + "real": -0.676491 + }, + { + "imag": 0.067144, + "real": 0.001886 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.04035, + "real": 0.079208 + }, + { + "imag": 0.343726, + "real": -0.658889 + }, + { + "imag": 0.346123, + "real": -0.660713 + }, + { + "imag": 0.064648, + "real": 0.004894 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.035143, + "real": 0.078573 + }, + { + "imag": 0.372879, + "real": -0.642963 + }, + { + "imag": 0.375783, + "real": -0.643649 + }, + { + "imag": 0.063115, + "real": 0.008092 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.029575, + "real": 0.07763 + }, + { + "imag": 0.402439, + "real": -0.624386 + }, + { + "imag": 0.404409, + "real": -0.625587 + }, + { + "imag": 0.061698, + "real": 0.01056 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.023567, + "real": 0.077657 + }, + { + "imag": 0.431358, + "real": -0.604516 + }, + { + "imag": 0.436248, + "real": -0.604648 + }, + { + "imag": 0.057866, + "real": 0.010966 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.019831, + "real": 0.07621 + }, + { + "imag": 0.457295, + "real": -0.585124 + }, + { + "imag": 0.459921, + "real": -0.585672 + }, + { + "imag": 0.059682, + "real": 0.015213 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.015016, + "real": 0.07568 + }, + { + "imag": 0.484469, + "real": -0.562643 + }, + { + "imag": 0.485849, + "real": -0.563556 + }, + { + "imag": 0.058717, + "real": 0.017018 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.009981, + "real": 0.07431 + }, + { + "imag": 0.509127, + "real": -0.539639 + }, + { + "imag": 0.510888, + "real": -0.539339 + }, + { + "imag": 0.058556, + "real": 0.018883 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.005832, + "real": 0.074007 + }, + { + "imag": 0.532938, + "real": -0.515348 + }, + { + "imag": 0.535455, + "real": -0.515247 + }, + { + "imag": 0.058264, + "real": 0.019905 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.001995, + "real": 0.073427 + }, + { + "imag": 0.555668, + "real": -0.490218 + }, + { + "imag": 0.558188, + "real": -0.490274 + }, + { + "imag": 0.058618, + "real": 0.020804 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": -0.001023, + "real": 0.07257 + }, + { + "imag": 0.576908, + "real": -0.463797 + }, + { + "imag": 0.580015, + "real": -0.463945 + }, + { + "imag": 0.058204, + "real": 0.021402 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": -0.003808, + "real": 0.071656 + }, + { + "imag": 0.597803, + "real": -0.43654 + }, + { + "imag": 0.600397, + "real": -0.436556 + }, + { + "imag": 0.0587, + "real": 0.022156 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": -0.006255, + "real": 0.069851 + }, + { + "imag": 0.616744, + "real": -0.409535 + }, + { + "imag": 0.619411, + "real": -0.408091 + }, + { + "imag": 0.059503, + "real": 0.021122 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": -0.009061, + "real": 0.068578 + }, + { + "imag": 0.633729, + "real": -0.380454 + }, + { + "imag": 0.636781, + "real": -0.379292 + }, + { + "imag": 0.058091, + "real": 0.021345 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": -0.010353, + "real": 0.06744 + }, + { + "imag": 0.650229, + "real": -0.350483 + }, + { + "imag": 0.653275, + "real": -0.348495 + }, + { + "imag": 0.057572, + "real": 0.021124 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": -0.011718, + "real": 0.065585 + }, + { + "imag": 0.665013, + "real": -0.319526 + }, + { + "imag": 0.668314, + "real": -0.318244 + }, + { + "imag": 0.056414, + "real": 0.021112 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": -0.011878, + "real": 0.063359 + }, + { + "imag": 0.678953, + "real": -0.288683 + }, + { + "imag": 0.682015, + "real": -0.287269 + }, + { + "imag": 0.05575, + "real": 0.020401 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": -0.012336, + "real": 0.061147 + }, + { + "imag": 0.690439, + "real": -0.257439 + }, + { + "imag": 0.693136, + "real": -0.255873 + }, + { + "imag": 0.053526, + "real": 0.019938 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": -0.01167, + "real": 0.059373 + }, + { + "imag": 0.701293, + "real": -0.225327 + }, + { + "imag": 0.704064, + "real": -0.223247 + }, + { + "imag": 0.052569, + "real": 0.018715 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": -0.011068, + "real": 0.056728 + }, + { + "imag": 0.710286, + "real": -0.192707 + }, + { + "imag": 0.712789, + "real": -0.190407 + }, + { + "imag": 0.050484, + "real": 0.017677 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": -0.010254, + "real": 0.053589 + }, + { + "imag": 0.71779, + "real": -0.159697 + }, + { + "imag": 0.720128, + "real": -0.158047 + }, + { + "imag": 0.047186, + "real": 0.016729 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": -0.00913, + "real": 0.050595 + }, + { + "imag": 0.723878, + "real": -0.126483 + }, + { + "imag": 0.726588, + "real": -0.12501 + }, + { + "imag": 0.044291, + "real": 0.015914 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": -0.007596, + "real": 0.048155 + }, + { + "imag": 0.728023, + "real": -0.093673 + }, + { + "imag": 0.731088, + "real": -0.091924 + }, + { + "imag": 0.042024, + "real": 0.015553 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": -0.006459, + "real": 0.044468 + }, + { + "imag": 0.731094, + "real": -0.059321 + }, + { + "imag": 0.734096, + "real": -0.05812 + }, + { + "imag": 0.038963, + "real": 0.014667 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": -0.004887, + "real": 0.041168 + }, + { + "imag": 0.732747, + "real": -0.025789 + }, + { + "imag": 0.735445, + "real": -0.023874 + }, + { + "imag": 0.036268, + "real": 0.01413 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": -0.00296, + "real": 0.03854 + }, + { + "imag": 0.732318, + "real": 0.007878 + }, + { + "imag": 0.73467, + "real": 0.009659 + }, + { + "imag": 0.033729, + "real": 0.013733 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": -0.0017, + "real": 0.035403 + }, + { + "imag": 0.731241, + "real": 0.042159 + }, + { + "imag": 0.73357, + "real": 0.044127 + }, + { + "imag": 0.030771, + "real": 0.014034 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": -4e-05, + "real": 0.032525 + }, + { + "imag": 0.728385, + "real": 0.075884 + }, + { + "imag": 0.730221, + "real": 0.077441 + }, + { + "imag": 0.028547, + "real": 0.014078 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.001892, + "real": 0.02935 + }, + { + "imag": 0.724129, + "real": 0.108775 + }, + { + "imag": 0.725029, + "real": 0.110701 + }, + { + "imag": 0.026146, + "real": 0.014616 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.003948, + "real": 0.027483 + }, + { + "imag": 0.71804, + "real": 0.141797 + }, + { + "imag": 0.718908, + "real": 0.143556 + }, + { + "imag": 0.024757, + "real": 0.015818 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.00547, + "real": 0.025269 + }, + { + "imag": 0.71025, + "real": 0.175368 + }, + { + "imag": 0.710744, + "real": 0.176462 + }, + { + "imag": 0.023714, + "real": 0.016843 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.007664, + "real": 0.023427 + }, + { + "imag": 0.701179, + "real": 0.207702 + }, + { + "imag": 0.701266, + "real": 0.20826 + }, + { + "imag": 0.023596, + "real": 0.018041 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.011896, + "real": 0.027784 + }, + { + "imag": 0.689882, + "real": 0.245085 + }, + { + "imag": 0.692056, + "real": 0.230318 + }, + { + "imag": 0.032376, + "real": 0.017079 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.012646, + "real": 0.021678 + }, + { + "imag": 0.67774, + "real": 0.271982 + }, + { + "imag": 0.679156, + "real": 0.270655 + }, + { + "imag": 0.024046, + "real": 0.020472 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.01467, + "real": 0.020804 + }, + { + "imag": 0.664055, + "real": 0.303539 + }, + { + "imag": 0.665079, + "real": 0.302369 + }, + { + "imag": 0.024644, + "real": 0.021963 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.016904, + "real": 0.020942 + }, + { + "imag": 0.649006, + "real": 0.333172 + }, + { + "imag": 0.650442, + "real": 0.332185 + }, + { + "imag": 0.026021, + "real": 0.023279 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.020019, + "real": 0.020957 + }, + { + "imag": 0.632503, + "real": 0.361971 + }, + { + "imag": 0.633443, + "real": 0.360971 + }, + { + "imag": 0.027996, + "real": 0.024609 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.021254, + "real": 0.021638 + }, + { + "imag": 0.612367, + "real": 0.388031 + }, + { + "imag": 0.615261, + "real": 0.38958 + }, + { + "imag": 0.031557, + "real": 0.02553 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.025064, + "real": 0.022209 + }, + { + "imag": 0.594247, + "real": 0.416202 + }, + { + "imag": 0.596072, + "real": 0.417926 + }, + { + "imag": 0.03395, + "real": 0.026682 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.02806, + "real": 0.02281 + }, + { + "imag": 0.575251, + "real": 0.442893 + }, + { + "imag": 0.575992, + "real": 0.444275 + }, + { + "imag": 0.036376, + "real": 0.027186 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.031538, + "real": 0.024059 + }, + { + "imag": 0.553781, + "real": 0.468045 + }, + { + "imag": 0.554354, + "real": 0.469844 + }, + { + "imag": 0.039823, + "real": 0.028104 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.034325, + "real": 0.026316 + }, + { + "imag": 0.531584, + "real": 0.492416 + }, + { + "imag": 0.531176, + "real": 0.495049 + }, + { + "imag": 0.044042, + "real": 0.029057 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.037222, + "real": 0.028002 + }, + { + "imag": 0.508725, + "real": 0.515039 + }, + { + "imag": 0.508213, + "real": 0.517672 + }, + { + "imag": 0.046996, + "real": 0.028934 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.039995, + "real": 0.030289 + }, + { + "imag": 0.484997, + "real": 0.537296 + }, + { + "imag": 0.483541, + "real": 0.540039 + }, + { + "imag": 0.050705, + "real": 0.028267 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.043359, + "real": 0.032776 + }, + { + "imag": 0.460184, + "real": 0.557724 + }, + { + "imag": 0.459373, + "real": 0.561534 + }, + { + "imag": 0.052637, + "real": 0.027768 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.045895, + "real": 0.034751 + }, + { + "imag": 0.434035, + "real": 0.578192 + }, + { + "imag": 0.4326, + "real": 0.581874 + }, + { + "imag": 0.056721, + "real": 0.026839 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.048115, + "real": 0.036863 + }, + { + "imag": 0.407735, + "real": 0.597382 + }, + { + "imag": 0.405662, + "real": 0.600993 + }, + { + "imag": 0.059753, + "real": 0.025903 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.050042, + "real": 0.039442 + }, + { + "imag": 0.379974, + "real": 0.615658 + }, + { + "imag": 0.37827, + "real": 0.619282 + }, + { + "imag": 0.062186, + "real": 0.025113 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.051715, + "real": 0.042061 + }, + { + "imag": 0.35245, + "real": 0.632552 + }, + { + "imag": 0.350257, + "real": 0.636285 + }, + { + "imag": 0.064503, + "real": 0.023312 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.053588, + "real": 0.044055 + }, + { + "imag": 0.324387, + "real": 0.648133 + }, + { + "imag": 0.322971, + "real": 0.651349 + }, + { + "imag": 0.066006, + "real": 0.024668 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.05337, + "real": 0.046865 + }, + { + "imag": 0.293748, + "real": 0.663034 + }, + { + "imag": 0.290748, + "real": 0.666415 + }, + { + "imag": 0.067529, + "real": 0.021786 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.054065, + "real": 0.048874 + }, + { + "imag": 0.262365, + "real": 0.676471 + }, + { + "imag": 0.259935, + "real": 0.678766 + }, + { + "imag": 0.068645, + "real": 0.019927 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.053722, + "real": 0.051316 + }, + { + "imag": 0.229968, + "real": 0.688549 + }, + { + "imag": 0.227871, + "real": 0.68964 + }, + { + "imag": 0.068696, + "real": 0.019022 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.052802, + "real": 0.0536 + }, + { + "imag": 0.196718, + "real": 0.698566 + }, + { + "imag": 0.195092, + "real": 0.699396 + }, + { + "imag": 0.069394, + "real": 0.018454 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.052705, + "real": 0.055825 + }, + { + "imag": 0.163006, + "real": 0.707362 + }, + { + "imag": 0.161238, + "real": 0.707623 + }, + { + "imag": 0.068393, + "real": 0.017596 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.051733, + "real": 0.057145 + }, + { + "imag": 0.129363, + "real": 0.713846 + }, + { + "imag": 0.128343, + "real": 0.71354 + }, + { + "imag": 0.068645, + "real": 0.017189 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.050125, + "real": 0.058404 + }, + { + "imag": 0.094621, + "real": 0.718223 + }, + { + "imag": 0.094556, + "real": 0.717576 + }, + { + "imag": 0.067885, + "real": 0.017387 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.048409, + "real": 0.061731 + }, + { + "imag": 0.061317, + "real": 0.721028 + }, + { + "imag": 0.060762, + "real": 0.720019 + }, + { + "imag": 0.066592, + "real": 0.018496 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.046156, + "real": 0.063443 + }, + { + "imag": 0.02636, + "real": 0.72173 + }, + { + "imag": 0.02715, + "real": 0.720471 + }, + { + "imag": 0.065972, + "real": 0.019154 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.043613, + "real": 0.064773 + }, + { + "imag": -0.007643, + "real": 0.720507 + }, + { + "imag": -0.00605, + "real": 0.720064 + }, + { + "imag": 0.064344, + "real": 0.021596 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.040003, + "real": 0.067111 + }, + { + "imag": -0.040095, + "real": 0.717718 + }, + { + "imag": -0.038997, + "real": 0.71767 + }, + { + "imag": 0.063436, + "real": 0.022558 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.036561, + "real": 0.069758 + }, + { + "imag": -0.071939, + "real": 0.713356 + }, + { + "imag": -0.071699, + "real": 0.713988 + }, + { + "imag": 0.062519, + "real": 0.024749 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.033506, + "real": 0.072263 + }, + { + "imag": -0.103362, + "real": 0.708377 + }, + { + "imag": -0.103574, + "real": 0.708145 + }, + { + "imag": 0.060751, + "real": 0.028814 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.029353, + "real": 0.073973 + }, + { + "imag": -0.134047, + "real": 0.702013 + }, + { + "imag": -0.135652, + "real": 0.702782 + }, + { + "imag": 0.05878, + "real": 0.029367 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.025409, + "real": 0.075957 + }, + { + "imag": -0.16464, + "real": 0.695349 + }, + { + "imag": -0.166743, + "real": 0.695976 + }, + { + "imag": 0.05721, + "real": 0.031785 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.021591, + "real": 0.078047 + }, + { + "imag": -0.194921, + "real": 0.687064 + }, + { + "imag": -0.197484, + "real": 0.687281 + }, + { + "imag": 0.055483, + "real": 0.035615 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.017534, + "real": 0.080858 + }, + { + "imag": -0.225333, + "real": 0.677505 + }, + { + "imag": -0.227919, + "real": 0.677935 + }, + { + "imag": 0.053611, + "real": 0.038945 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.013861, + "real": 0.082538 + }, + { + "imag": -0.255746, + "real": 0.667303 + }, + { + "imag": -0.258554, + "real": 0.666571 + }, + { + "imag": 0.052334, + "real": 0.041615 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.009625, + "real": 0.084671 + }, + { + "imag": -0.285717, + "real": 0.655672 + }, + { + "imag": -0.288864, + "real": 0.654882 + }, + { + "imag": 0.049982, + "real": 0.045583 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.005328, + "real": 0.086881 + }, + { + "imag": -0.31539, + "real": 0.642481 + }, + { + "imag": -0.318267, + "real": 0.641552 + }, + { + "imag": 0.04728, + "real": 0.04913 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.001053, + "real": 0.08846 + }, + { + "imag": -0.345098, + "real": 0.627811 + }, + { + "imag": -0.348059, + "real": 0.626765 + }, + { + "imag": 0.04464, + "real": 0.052413 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.003633, + "real": 0.089862 + }, + { + "imag": -0.374391, + "real": 0.611581 + }, + { + "imag": -0.377003, + "real": 0.610713 + }, + { + "imag": 0.041391, + "real": 0.055839 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.008206, + "real": 0.091626 + }, + { + "imag": -0.402618, + "real": 0.593317 + }, + { + "imag": -0.405486, + "real": 0.592434 + }, + { + "imag": 0.038283, + "real": 0.059712 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.012613, + "real": 0.092899 + }, + { + "imag": -0.430637, + "real": 0.573782 + }, + { + "imag": -0.432741, + "real": 0.57316 + }, + { + "imag": 0.035783, + "real": 0.063152 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.02584, + "real": 0.103678 + }, + { + "imag": -0.467876, + "real": 0.540312 + }, + { + "imag": -0.459837, + "real": 0.550146 + }, + { + "imag": 0.034571, + "real": 0.064515 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.021999, + "real": 0.095922 + }, + { + "imag": -0.482344, + "real": 0.529939 + }, + { + "imag": -0.485159, + "real": 0.528264 + }, + { + "imag": 0.02998, + "real": 0.068231 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.026465, + "real": 0.096918 + }, + { + "imag": -0.506473, + "real": 0.505739 + }, + { + "imag": -0.509143, + "real": 0.504568 + }, + { + "imag": 0.027265, + "real": 0.070067 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.029977, + "real": 0.097534 + }, + { + "imag": -0.529482, + "real": 0.480253 + }, + { + "imag": -0.53169, + "real": 0.479161 + }, + { + "imag": 0.024, + "real": 0.071653 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.034599, + "real": 0.098369 + }, + { + "imag": -0.550843, + "real": 0.453516 + }, + { + "imag": -0.552446, + "real": 0.452985 + }, + { + "imag": 0.018906, + "real": 0.07252 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.039787, + "real": 0.098354 + }, + { + "imag": -0.570775, + "real": 0.426167 + }, + { + "imag": -0.572038, + "real": 0.42545 + }, + { + "imag": 0.01464, + "real": 0.074336 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.045677, + "real": 0.09655 + }, + { + "imag": -0.588341, + "real": 0.399476 + }, + { + "imag": -0.589974, + "real": 0.399184 + }, + { + "imag": 0.011874, + "real": 0.075927 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.051405, + "real": 0.095758 + }, + { + "imag": -0.605637, + "real": 0.371143 + }, + { + "imag": -0.605839, + "real": 0.371586 + }, + { + "imag": 0.007329, + "real": 0.076869 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.056453, + "real": 0.094236 + }, + { + "imag": -0.620145, + "real": 0.342263 + }, + { + "imag": -0.620548, + "real": 0.342404 + }, + { + "imag": 0.003219, + "real": 0.077648 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.062327, + "real": 0.092279 + }, + { + "imag": -0.633873, + "real": 0.312583 + }, + { + "imag": -0.634014, + "real": 0.313349 + }, + { + "imag": -0.000749, + "real": 0.078168 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.067544, + "real": 0.090137 + }, + { + "imag": -0.647782, + "real": 0.283643 + }, + { + "imag": -0.647217, + "real": 0.284702 + }, + { + "imag": -0.005029, + "real": 0.078193 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.072719, + "real": 0.088174 + }, + { + "imag": -0.658296, + "real": 0.255434 + }, + { + "imag": -0.658643, + "real": 0.255709 + }, + { + "imag": -0.007865, + "real": 0.07723 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.07686, + "real": 0.083487 + }, + { + "imag": -0.668896, + "real": 0.224239 + }, + { + "imag": -0.669427, + "real": 0.225574 + }, + { + "imag": -0.011889, + "real": 0.077119 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.081663, + "real": 0.079379 + }, + { + "imag": -0.678096, + "real": 0.193467 + }, + { + "imag": -0.678701, + "real": 0.195235 + }, + { + "imag": -0.01538, + "real": 0.07624 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.086165, + "real": 0.074996 + }, + { + "imag": -0.685916, + "real": 0.162308 + }, + { + "imag": -0.686947, + "real": 0.163968 + }, + { + "imag": -0.018237, + "real": 0.075185 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.090514, + "real": 0.069638 + }, + { + "imag": -0.692387, + "real": 0.130517 + }, + { + "imag": -0.693447, + "real": 0.132026 + }, + { + "imag": -0.021633, + "real": 0.073836 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.094475, + "real": 0.064723 + }, + { + "imag": -0.69768, + "real": 0.099239 + }, + { + "imag": -0.698871, + "real": 0.101288 + }, + { + "imag": -0.024822, + "real": 0.072285 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.098463, + "real": 0.058753 + }, + { + "imag": -0.701648, + "real": 0.067115 + }, + { + "imag": -0.703474, + "real": 0.069161 + }, + { + "imag": -0.027698, + "real": 0.070223 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.10157, + "real": 0.052755 + }, + { + "imag": -0.704514, + "real": 0.03436 + }, + { + "imag": -0.70583, + "real": 0.036199 + }, + { + "imag": -0.02982, + "real": 0.067201 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.105247, + "real": 0.046893 + }, + { + "imag": -0.705065, + "real": 0.001456 + }, + { + "imag": -0.706666, + "real": 0.004129 + }, + { + "imag": -0.031979, + "real": 0.065388 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.107534, + "real": 0.04064 + }, + { + "imag": -0.704822, + "real": -0.030131 + }, + { + "imag": -0.705649, + "real": -0.028828 + }, + { + "imag": -0.033599, + "real": 0.060916 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.109126, + "real": 0.033998 + }, + { + "imag": -0.702015, + "real": -0.062112 + }, + { + "imag": -0.703563, + "real": -0.061231 + }, + { + "imag": -0.036379, + "real": 0.056952 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.110692, + "real": 0.027363 + }, + { + "imag": -0.698016, + "real": -0.095027 + }, + { + "imag": -0.699598, + "real": -0.093778 + }, + { + "imag": -0.03732, + "real": 0.052325 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.111283, + "real": 0.020499 + }, + { + "imag": -0.692491, + "real": -0.127862 + }, + { + "imag": -0.693787, + "real": -0.125102 + }, + { + "imag": -0.038902, + "real": 0.049098 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.111879, + "real": 0.012781 + }, + { + "imag": -0.685704, + "real": -0.159165 + }, + { + "imag": -0.687383, + "real": -0.156985 + }, + { + "imag": -0.039147, + "real": 0.043066 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.112102, + "real": 0.005949 + }, + { + "imag": -0.677883, + "real": -0.190508 + }, + { + "imag": -0.679121, + "real": -0.189364 + }, + { + "imag": -0.040566, + "real": 0.036809 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.112069, + "real": -0.001124 + }, + { + "imag": -0.66769, + "real": -0.220908 + }, + { + "imag": -0.668842, + "real": -0.220847 + }, + { + "imag": -0.040763, + "real": 0.030034 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.111284, + "real": -0.007685 + }, + { + "imag": -0.656056, + "real": -0.252305 + }, + { + "imag": -0.657825, + "real": -0.251032 + }, + { + "imag": -0.042487, + "real": 0.023287 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.109833, + "real": -0.013636 + }, + { + "imag": -0.643395, + "real": -0.281328 + }, + { + "imag": -0.645096, + "real": -0.281631 + }, + { + "imag": -0.043422, + "real": 0.015795 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.107793, + "real": -0.0196 + }, + { + "imag": -0.629822, + "real": -0.31025 + }, + { + "imag": -0.6311, + "real": -0.310791 + }, + { + "imag": -0.042796, + "real": 0.00888 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.104961, + "real": -0.025973 + }, + { + "imag": -0.614641, + "real": -0.338829 + }, + { + "imag": -0.614965, + "real": -0.339783 + }, + { + "imag": -0.043589, + "real": 0.001356 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.10283, + "real": -0.031089 + }, + { + "imag": -0.599537, + "real": -0.365452 + }, + { + "imag": -0.598357, + "real": -0.36896 + }, + { + "imag": -0.045076, + "real": -0.005275 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.098574, + "real": -0.037334 + }, + { + "imag": -0.581284, + "real": -0.393014 + }, + { + "imag": -0.581857, + "real": -0.394809 + }, + { + "imag": -0.044095, + "real": -0.014377 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.094248, + "real": -0.04345 + }, + { + "imag": -0.562362, + "real": -0.419264 + }, + { + "imag": -0.561826, + "real": -0.422291 + }, + { + "imag": -0.044102, + "real": -0.021145 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.089983, + "real": -0.048696 + }, + { + "imag": -0.542504, + "real": -0.444275 + }, + { + "imag": -0.541169, + "real": -0.447464 + }, + { + "imag": -0.043277, + "real": -0.029904 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.085468, + "real": -0.054052 + }, + { + "imag": -0.521409, + "real": -0.468594 + }, + { + "imag": -0.519636, + "real": -0.471485 + }, + { + "imag": -0.044485, + "real": -0.036499 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.080598, + "real": -0.058692 + }, + { + "imag": -0.499789, + "real": -0.491594 + }, + { + "imag": -0.495516, + "real": -0.495618 + }, + { + "imag": -0.043138, + "real": -0.042353 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.075449, + "real": -0.062977 + }, + { + "imag": -0.475771, + "real": -0.515157 + }, + { + "imag": -0.473355, + "real": -0.516457 + }, + { + "imag": -0.042576, + "real": -0.050592 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.070127, + "real": -0.067103 + }, + { + "imag": -0.450854, + "real": -0.537305 + }, + { + "imag": -0.448987, + "real": -0.538452 + }, + { + "imag": -0.039863, + "real": -0.058675 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.064455, + "real": -0.070566 + }, + { + "imag": -0.425651, + "real": -0.556984 + }, + { + "imag": -0.423021, + "real": -0.558263 + }, + { + "imag": -0.040196, + "real": -0.063299 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.058241, + "real": -0.074018 + }, + { + "imag": -0.399244, + "real": -0.576248 + }, + { + "imag": -0.396568, + "real": -0.576653 + }, + { + "imag": -0.041017, + "real": -0.068447 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.052249, + "real": -0.07715 + }, + { + "imag": -0.371487, + "real": -0.594514 + }, + { + "imag": -0.369639, + "real": -0.593562 + }, + { + "imag": -0.03975, + "real": -0.072778 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.045238, + "real": -0.080332 + }, + { + "imag": -0.34293, + "real": -0.61072 + }, + { + "imag": -0.341062, + "real": -0.610479 + }, + { + "imag": -0.037657, + "real": -0.077576 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.037927, + "real": -0.082998 + }, + { + "imag": -0.313137, + "real": -0.62603 + }, + { + "imag": -0.312101, + "real": -0.624611 + }, + { + "imag": -0.034148, + "real": -0.078214 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.030998, + "real": -0.085566 + }, + { + "imag": -0.283233, + "real": -0.63936 + }, + { + "imag": -0.283034, + "real": -0.637822 + }, + { + "imag": -0.031396, + "real": -0.082741 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.023758, + "real": -0.088212 + }, + { + "imag": -0.253126, + "real": -0.649992 + }, + { + "imag": -0.253045, + "real": -0.649658 + }, + { + "imag": -0.027252, + "real": -0.086211 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.016313, + "real": -0.089613 + }, + { + "imag": -0.220816, + "real": -0.660181 + }, + { + "imag": -0.222381, + "real": -0.659744 + }, + { + "imag": -0.024012, + "real": -0.086972 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.008767, + "real": -0.090439 + }, + { + "imag": -0.189562, + "real": -0.667701 + }, + { + "imag": -0.191011, + "real": -0.66909 + }, + { + "imag": -0.018481, + "real": -0.088934 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.00211, + "real": -0.091839 + }, + { + "imag": -0.158237, + "real": -0.674116 + }, + { + "imag": -0.159429, + "real": -0.677047 + }, + { + "imag": -0.014783, + "real": -0.089328 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.004589, + "real": -0.092644 + }, + { + "imag": -0.127235, + "real": -0.678898 + }, + { + "imag": -0.128049, + "real": -0.683324 + }, + { + "imag": -0.008275, + "real": -0.088945 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.01287, + "real": -0.092202 + }, + { + "imag": -0.096581, + "real": -0.682215 + }, + { + "imag": -0.096227, + "real": -0.686759 + }, + { + "imag": -0.000926, + "real": -0.088259 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": 0.020281, + "real": -0.092021 + }, + { + "imag": -0.065228, + "real": -0.684565 + }, + { + "imag": -0.064188, + "real": -0.690624 + }, + { + "imag": 0.003748, + "real": -0.088627 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.027147, + "real": -0.091413 + }, + { + "imag": -0.035323, + "real": -0.685857 + }, + { + "imag": -0.032518, + "real": -0.691722 + }, + { + "imag": 0.010718, + "real": -0.08768 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.033406, + "real": -0.090586 + }, + { + "imag": -0.00603, + "real": -0.685514 + }, + { + "imag": -0.001907, + "real": -0.691821 + }, + { + "imag": 0.018536, + "real": -0.086308 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.040071, + "real": -0.089178 + }, + { + "imag": 0.024592, + "real": -0.685076 + }, + { + "imag": 0.030235, + "real": -0.690259 + }, + { + "imag": 0.025901, + "real": -0.08521 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.046385, + "real": -0.088199 + }, + { + "imag": 0.054275, + "real": -0.683775 + }, + { + "imag": 0.060879, + "real": -0.68682 + }, + { + "imag": 0.033964, + "real": -0.084024 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.052011, + "real": -0.085496 + }, + { + "imag": 0.083935, + "real": -0.682325 + }, + { + "imag": 0.092876, + "real": -0.683201 + }, + { + "imag": 0.042313, + "real": -0.082466 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.057698, + "real": -0.083026 + }, + { + "imag": 0.114177, + "real": -0.679022 + }, + { + "imag": 0.123898, + "real": -0.678426 + }, + { + "imag": 0.050493, + "real": -0.080937 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.063633, + "real": -0.078924 + }, + { + "imag": 0.145746, + "real": -0.67462 + }, + { + "imag": 0.156068, + "real": -0.672434 + }, + { + "imag": 0.059054, + "real": -0.079541 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.067736, + "real": -0.076112 + }, + { + "imag": 0.176901, + "real": -0.669924 + }, + { + "imag": 0.186924, + "real": -0.665475 + }, + { + "imag": 0.067511, + "real": -0.077445 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.072088, + "real": -0.072748 + }, + { + "imag": 0.209289, + "real": -0.662818 + }, + { + "imag": 0.217783, + "real": -0.657054 + }, + { + "imag": 0.076094, + "real": -0.077016 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.075903, + "real": -0.069234 + }, + { + "imag": 0.241096, + "real": -0.653761 + }, + { + "imag": 0.247331, + "real": -0.646594 + }, + { + "imag": 0.083509, + "real": -0.076762 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.080077, + "real": -0.065153 + }, + { + "imag": 0.273372, + "real": -0.642661 + }, + { + "imag": 0.27853, + "real": -0.634913 + }, + { + "imag": 0.091475, + "real": -0.075004 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.08319, + "real": -0.058601 + }, + { + "imag": 0.302459, + "real": -0.632422 + }, + { + "imag": 0.306568, + "real": -0.62437 + }, + { + "imag": 0.097517, + "real": -0.072984 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.085478, + "real": -0.055716 + }, + { + "imag": 0.334999, + "real": -0.614276 + }, + { + "imag": 0.336887, + "real": -0.60552 + }, + { + "imag": 0.104411, + "real": -0.071987 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.087326, + "real": -0.052467 + }, + { + "imag": 0.36515, + "real": -0.595187 + }, + { + "imag": 0.366005, + "real": -0.586839 + }, + { + "imag": 0.110575, + "real": -0.070592 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.088619, + "real": -0.046817 + }, + { + "imag": 0.393856, + "real": -0.575022 + }, + { + "imag": 0.394438, + "real": -0.56626 + }, + { + "imag": 0.117647, + "real": -0.069336 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.089541, + "real": -0.042564 + }, + { + "imag": 0.421692, + "real": -0.552959 + }, + { + "imag": 0.419853, + "real": -0.5457 + }, + { + "imag": 0.121397, + "real": -0.065819 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.081023, + "real": -0.034364 + }, + { + "imag": 0.443584, + "real": -0.528232 + }, + { + "imag": 0.440826, + "real": -0.524661 + }, + { + "imag": 0.12285, + "real": -0.06276 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.084806, + "real": -0.029864 + }, + { + "imag": 0.469053, + "real": -0.504267 + }, + { + "imag": 0.467526, + "real": -0.500017 + }, + { + "imag": 0.127604, + "real": -0.060097 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.083951, + "real": -0.023542 + }, + { + "imag": 0.490684, + "real": -0.479479 + }, + { + "imag": 0.4899, + "real": -0.475692 + }, + { + "imag": 0.130726, + "real": -0.057398 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.084539, + "real": -0.017723 + }, + { + "imag": 0.510752, + "real": -0.451791 + }, + { + "imag": 0.498586, + "real": -0.461822 + }, + { + "imag": 0.132752, + "real": -0.034451 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.079326, + "real": -0.011081 + }, + { + "imag": 0.526498, + "real": -0.429003 + }, + { + "imag": 0.529143, + "real": -0.424828 + }, + { + "imag": 0.134625, + "real": -0.051302 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.076515, + "real": -0.005825 + }, + { + "imag": 0.542169, + "real": -0.404007 + }, + { + "imag": 0.546189, + "real": -0.400514 + }, + { + "imag": 0.135322, + "real": -0.047284 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.073989, + "real": -0.000864 + }, + { + "imag": 0.556328, + "real": -0.379349 + }, + { + "imag": 0.560837, + "real": -0.375884 + }, + { + "imag": 0.136378, + "real": -0.044461 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.070606, + "real": 0.0041 + }, + { + "imag": 0.569866, + "real": -0.354384 + }, + { + "imag": 0.574746, + "real": -0.349288 + }, + { + "imag": 0.137279, + "real": -0.039386 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.067359, + "real": 0.009854 + }, + { + "imag": 0.583103, + "real": -0.329516 + }, + { + "imag": 0.588444, + "real": -0.322625 + }, + { + "imag": 0.13798, + "real": -0.035098 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.063365, + "real": 0.015697 + }, + { + "imag": 0.59408, + "real": -0.30545 + }, + { + "imag": 0.599002, + "real": -0.296252 + }, + { + "imag": 0.138671, + "real": -0.029857 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.060898, + "real": 0.022006 + }, + { + "imag": 0.606339, + "real": -0.279262 + }, + { + "imag": 0.61046, + "real": -0.268808 + }, + { + "imag": 0.139472, + "real": -0.025027 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.058967, + "real": 0.027736 + }, + { + "imag": 0.618462, + "real": -0.252767 + }, + { + "imag": 0.621426, + "real": -0.241858 + }, + { + "imag": 0.139564, + "real": -0.019266 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.055226, + "real": 0.034894 + }, + { + "imag": 0.630141, + "real": -0.226111 + }, + { + "imag": 0.63274, + "real": -0.214476 + }, + { + "imag": 0.139825, + "real": -0.013869 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.051964, + "real": 0.038659 + }, + { + "imag": 0.64115, + "real": -0.197488 + }, + { + "imag": 0.64286, + "real": -0.18681 + }, + { + "imag": 0.138171, + "real": -0.008234 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.049874, + "real": 0.042937 + }, + { + "imag": 0.651405, + "real": -0.16778 + }, + { + "imag": 0.652713, + "real": -0.158669 + }, + { + "imag": 0.137446, + "real": -0.003982 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.047705, + "real": 0.044313 + }, + { + "imag": 0.661185, + "real": -0.138547 + }, + { + "imag": 0.660777, + "real": -0.131962 + }, + { + "imag": 0.133229, + "real": 0.002044 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.046061, + "real": 0.049057 + }, + { + "imag": 0.668696, + "real": -0.105896 + }, + { + "imag": 0.666941, + "real": -0.100075 + }, + { + "imag": 0.133451, + "real": 0.007349 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.044918, + "real": 0.053021 + }, + { + "imag": 0.675091, + "real": -0.07321 + }, + { + "imag": 0.672728, + "real": -0.068523 + }, + { + "imag": 0.133062, + "real": 0.012028 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.044236, + "real": 0.055888 + }, + { + "imag": 0.679779, + "real": -0.040486 + }, + { + "imag": 0.676263, + "real": -0.037005 + }, + { + "imag": 0.131422, + "real": 0.016424 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.043311, + "real": 0.057762 + }, + { + "imag": 0.681947, + "real": -0.006334 + }, + { + "imag": 0.677777, + "real": -0.005879 + }, + { + "imag": 0.127747, + "real": 0.018079 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.041969, + "real": 0.060038 + }, + { + "imag": 0.681963, + "real": 0.027085 + }, + { + "imag": 0.67729, + "real": 0.026342 + }, + { + "imag": 0.125165, + "real": 0.023163 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.040865, + "real": 0.06066 + }, + { + "imag": 0.680997, + "real": 0.06104 + }, + { + "imag": 0.674811, + "real": 0.059114 + }, + { + "imag": 0.122963, + "real": 0.026208 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.038558, + "real": 0.061519 + }, + { + "imag": 0.678089, + "real": 0.092849 + }, + { + "imag": 0.670465, + "real": 0.091585 + }, + { + "imag": 0.118098, + "real": 0.026888 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.035906, + "real": 0.063462 + }, + { + "imag": 0.672664, + "real": 0.126297 + }, + { + "imag": 0.664409, + "real": 0.124354 + }, + { + "imag": 0.112792, + "real": 0.02882 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.032809, + "real": 0.062444 + }, + { + "imag": 0.666143, + "real": 0.157817 + }, + { + "imag": 0.656584, + "real": 0.155669 + }, + { + "imag": 0.107591, + "real": 0.028984 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.030579, + "real": 0.060702 + }, + { + "imag": 0.657514, + "real": 0.188432 + }, + { + "imag": 0.646492, + "real": 0.187526 + }, + { + "imag": 0.100638, + "real": 0.030379 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.026651, + "real": 0.058449 + }, + { + "imag": 0.647032, + "real": 0.218438 + }, + { + "imag": 0.634197, + "real": 0.217473 + }, + { + "imag": 0.093088, + "real": 0.031644 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.02243, + "real": 0.054493 + }, + { + "imag": 0.635609, + "real": 0.247523 + }, + { + "imag": 0.62202, + "real": 0.247553 + }, + { + "imag": 0.08637, + "real": 0.032187 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.019693, + "real": 0.052583 + }, + { + "imag": 0.621894, + "real": 0.274759 + }, + { + "imag": 0.606083, + "real": 0.276424 + }, + { + "imag": 0.080252, + "real": 0.032013 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.017167, + "real": 0.050037 + }, + { + "imag": 0.608862, + "real": 0.300127 + }, + { + "imag": 0.590086, + "real": 0.304753 + }, + { + "imag": 0.074707, + "real": 0.034334 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.011672, + "real": 0.047047 + }, + { + "imag": 0.593692, + "real": 0.324285 + }, + { + "imag": 0.573107, + "real": 0.331016 + }, + { + "imag": 0.068173, + "real": 0.035654 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.007159, + "real": 0.046033 + }, + { + "imag": 0.57761, + "real": 0.345884 + }, + { + "imag": 0.555792, + "real": 0.356575 + }, + { + "imag": 0.062885, + "real": 0.038085 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.002999, + "real": 0.043471 + }, + { + "imag": 0.559466, + "real": 0.366944 + }, + { + "imag": 0.537145, + "real": 0.380718 + }, + { + "imag": 0.057975, + "real": 0.040843 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": -0.001982, + "real": 0.041711 + }, + { + "imag": 0.53956, + "real": 0.387065 + }, + { + "imag": 0.517949, + "real": 0.404307 + }, + { + "imag": 0.052002, + "real": 0.044184 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": -0.007375, + "real": 0.039394 + }, + { + "imag": 0.518774, + "real": 0.405907 + }, + { + "imag": 0.498478, + "real": 0.426071 + }, + { + "imag": 0.045661, + "real": 0.047974 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": -0.012465, + "real": 0.036597 + }, + { + "imag": 0.496432, + "real": 0.425385 + }, + { + "imag": 0.478591, + "real": 0.448012 + }, + { + "imag": 0.039933, + "real": 0.051048 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": -0.018559, + "real": 0.037163 + }, + { + "imag": 0.472367, + "real": 0.445951 + }, + { + "imag": 0.457634, + "real": 0.470052 + }, + { + "imag": 0.033156, + "real": 0.056678 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": -0.024234, + "real": 0.035335 + }, + { + "imag": 0.447291, + "real": 0.466952 + }, + { + "imag": 0.435103, + "real": 0.491136 + }, + { + "imag": 0.028083, + "real": 0.061107 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": -0.028313, + "real": 0.03465 + }, + { + "imag": 0.422013, + "real": 0.487168 + }, + { + "imag": 0.413321, + "real": 0.511804 + }, + { + "imag": 0.023522, + "real": 0.065593 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": -0.032182, + "real": 0.03276 + }, + { + "imag": 0.397673, + "real": 0.506951 + }, + { + "imag": 0.391854, + "real": 0.531207 + }, + { + "imag": 0.020827, + "real": 0.067638 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": -0.033228, + "real": 0.031947 + }, + { + "imag": 0.374604, + "real": 0.524854 + }, + { + "imag": 0.37225, + "real": 0.54745 + }, + { + "imag": 0.019248, + "real": 0.069671 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": -0.034258, + "real": 0.031299 + }, + { + "imag": 0.353474, + "real": 0.540005 + }, + { + "imag": 0.35366, + "real": 0.562396 + }, + { + "imag": 0.018941, + "real": 0.071061 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": -0.033625, + "real": 0.033984 + }, + { + "imag": 0.330794, + "real": 0.555179 + }, + { + "imag": 0.331176, + "real": 0.57867 + }, + { + "imag": 0.01985, + "real": 0.074301 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": -0.034803, + "real": 0.034013 + }, + { + "imag": 0.307596, + "real": 0.569567 + }, + { + "imag": 0.307397, + "real": 0.594289 + }, + { + "imag": 0.021335, + "real": 0.077339 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": -0.031961, + "real": 0.036439 + }, + { + "imag": 0.283884, + "real": 0.583221 + }, + { + "imag": 0.280314, + "real": 0.611837 + }, + { + "imag": 0.023554, + "real": 0.080639 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.031909, + "real": 0.03865 + }, + { + "imag": 0.258028, + "real": 0.596242 + }, + { + "imag": 0.252959, + "real": 0.62919 + }, + { + "imag": 0.025606, + "real": 0.082277 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.029662, + "real": 0.039311 + }, + { + "imag": 0.23093, + "real": 0.608743 + }, + { + "imag": 0.222956, + "real": 0.643434 + }, + { + "imag": 0.028604, + "real": 0.082707 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.028917, + "real": 0.0394 + }, + { + "imag": 0.201545, + "real": 0.620219 + }, + { + "imag": 0.190771, + "real": 0.654041 + }, + { + "imag": 0.030835, + "real": 0.08032 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.025602, + "real": 0.039611 + }, + { + "imag": 0.171996, + "real": 0.630417 + }, + { + "imag": 0.159046, + "real": 0.662605 + }, + { + "imag": 0.035526, + "real": 0.077029 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.023189, + "real": 0.037866 + }, + { + "imag": 0.140709, + "real": 0.639198 + }, + { + "imag": 0.125899, + "real": 0.666579 + }, + { + "imag": 0.039874, + "real": 0.074542 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.018784, + "real": 0.038515 + }, + { + "imag": 0.108408, + "real": 0.647094 + }, + { + "imag": 0.091884, + "real": 0.668603 + }, + { + "imag": 0.04499, + "real": 0.06905 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.01355, + "real": 0.038138 + }, + { + "imag": 0.073903, + "real": 0.652535 + }, + { + "imag": 0.057017, + "real": 0.667346 + }, + { + "imag": 0.050256, + "real": 0.064537 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.009419, + "real": 0.037981 + }, + { + "imag": 0.03963, + "real": 0.655278 + }, + { + "imag": 0.022934, + "real": 0.662663 + }, + { + "imag": 0.05652, + "real": 0.058289 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": -0.003555, + "real": 0.038321 + }, + { + "imag": 0.002593, + "real": 0.655277 + }, + { + "imag": -0.012053, + "real": 0.65657 + }, + { + "imag": 0.062469, + "real": 0.051514 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.002091, + "real": 0.036799 + }, + { + "imag": -0.032386, + "real": 0.653731 + }, + { + "imag": -0.042249, + "real": 0.648674 + }, + { + "imag": 0.066583, + "real": 0.044949 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.005533, + "real": 0.038586 + }, + { + "imag": -0.068234, + "real": 0.647762 + }, + { + "imag": -0.072853, + "real": 0.640235 + }, + { + "imag": 0.068746, + "real": 0.039506 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.010934, + "real": 0.03759 + }, + { + "imag": -0.100149, + "real": 0.639537 + }, + { + "imag": -0.101378, + "real": 0.630887 + }, + { + "imag": 0.070377, + "real": 0.031489 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.01117, + "real": 0.038141 + }, + { + "imag": -0.130119, + "real": 0.629247 + }, + { + "imag": -0.127427, + "real": 0.622106 + }, + { + "imag": 0.07327, + "real": 0.024081 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.013188, + "real": 0.037113 + }, + { + "imag": -0.157522, + "real": 0.619072 + }, + { + "imag": -0.152706, + "real": 0.613418 + }, + { + "imag": 0.073765, + "real": 0.015086 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.013923, + "real": 0.03364 + }, + { + "imag": -0.182806, + "real": 0.608335 + }, + { + "imag": -0.1764, + "real": 0.606546 + }, + { + "imag": 0.073289, + "real": 0.005934 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.01533, + "real": 0.031476 + }, + { + "imag": -0.205989, + "real": 0.598709 + }, + { + "imag": -0.200721, + "real": 0.598707 + }, + { + "imag": 0.072481, + "real": -0.003934 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.016433, + "real": 0.028311 + }, + { + "imag": -0.227019, + "real": 0.589404 + }, + { + "imag": -0.224171, + "real": 0.591446 + }, + { + "imag": 0.071739, + "real": -0.012946 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.016853, + "real": 0.025264000000000002 + }, + { + "imag": -0.247734, + "real": 0.580088 + }, + { + "imag": -0.2478, + "real": 0.584619 + }, + { + "imag": 0.070498, + "real": -0.022658 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.017422, + "real": 0.022499 + }, + { + "imag": -0.267884, + "real": 0.571469 + }, + { + "imag": -0.270381, + "real": 0.576286 + }, + { + "imag": 0.069618, + "real": -0.031498 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.019225, + "real": 0.020939 + }, + { + "imag": -0.288757, + "real": 0.563826 + }, + { + "imag": -0.294606, + "real": 0.569128 + }, + { + "imag": 0.068244, + "real": -0.039439 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.017611, + "real": 0.018801 + }, + { + "imag": -0.31156, + "real": 0.556249 + }, + { + "imag": -0.319358, + "real": 0.559523 + }, + { + "imag": 0.066347, + "real": -0.046073 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.018478, + "real": 0.018956 + }, + { + "imag": -0.33355, + "real": 0.547984 + }, + { + "imag": -0.34433, + "real": 0.54885 + }, + { + "imag": 0.063774, + "real": -0.05078 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.015722, + "real": 0.01855 + }, + { + "imag": -0.357423, + "real": 0.537618 + }, + { + "imag": -0.368195, + "real": 0.535909 + }, + { + "imag": 0.062059, + "real": -0.054202 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.016369, + "real": 0.019015 + }, + { + "imag": -0.381216, + "real": 0.525809 + }, + { + "imag": -0.393199, + "real": 0.520303 + }, + { + "imag": 0.061158, + "real": -0.058294 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.014489, + "real": 0.019095 + }, + { + "imag": -0.405721, + "real": 0.511241 + }, + { + "imag": -0.41752, + "real": 0.501856 + }, + { + "imag": 0.058454, + "real": -0.060137 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.014298, + "real": 0.017282 + }, + { + "imag": -0.429364, + "real": 0.49315 + }, + { + "imag": -0.442217, + "real": 0.479496 + }, + { + "imag": 0.058656, + "real": -0.063257 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.013352, + "real": 0.016996 + }, + { + "imag": -0.45341, + "real": 0.473364 + }, + { + "imag": -0.465038, + "real": 0.458723 + }, + { + "imag": 0.059043, + "real": -0.063144 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.013058, + "real": 0.01643 + }, + { + "imag": -0.477014, + "real": 0.449686 + }, + { + "imag": -0.487092, + "real": 0.433433 + }, + { + "imag": 0.05884, + "real": -0.06332 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.012719, + "real": 0.015557 + }, + { + "imag": -0.498681, + "real": 0.423777 + }, + { + "imag": -0.508935, + "real": 0.407009 + }, + { + "imag": 0.059737, + "real": -0.061936 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.011895, + "real": 0.015771 + }, + { + "imag": -0.518957, + "real": 0.396636 + }, + { + "imag": -0.528325, + "real": 0.380154 + }, + { + "imag": 0.061401, + "real": -0.060696 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.010594, + "real": 0.018623 + }, + { + "imag": -0.536955, + "real": 0.366407 + }, + { + "imag": -0.546359, + "real": 0.351364 + }, + { + "imag": 0.064172, + "real": -0.058462 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.009442, + "real": 0.018468 + }, + { + "imag": -0.553949, + "real": 0.335921 + }, + { + "imag": -0.560923, + "real": 0.323443 + }, + { + "imag": 0.06591, + "real": -0.054264 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.011194, + "real": 0.021308 + }, + { + "imag": -0.569388, + "real": 0.304348 + }, + { + "imag": -0.574956, + "real": 0.2934 + }, + { + "imag": 0.069494, + "real": -0.051862 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.010285, + "real": 0.02213 + }, + { + "imag": -0.580883, + "real": 0.273958 + }, + { + "imag": -0.586731, + "real": 0.264265 + }, + { + "imag": 0.071902, + "real": -0.049653 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.011208, + "real": 0.024716 + }, + { + "imag": -0.591423, + "real": 0.242763 + }, + { + "imag": -0.596423, + "real": 0.235727 + }, + { + "imag": 0.074554, + "real": -0.045825 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.010399, + "real": 0.025324 + }, + { + "imag": -0.600507, + "real": 0.213373 + }, + { + "imag": -0.604148, + "real": 0.207321 + }, + { + "imag": 0.079184, + "real": -0.041339 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.008665, + "real": 0.025185 + }, + { + "imag": -0.607626, + "real": 0.184755 + }, + { + "imag": -0.612273, + "real": 0.179456 + }, + { + "imag": 0.08557, + "real": -0.041073 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.010511, + "real": 0.02603 + }, + { + "imag": -0.614234, + "real": 0.15685 + }, + { + "imag": -0.618235, + "real": 0.150908 + }, + { + "imag": 0.088793, + "real": -0.041057 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.010133, + "real": 0.027092 + }, + { + "imag": -0.618203, + "real": 0.130077 + }, + { + "imag": -0.62243, + "real": 0.125242 + }, + { + "imag": 0.092058, + "real": -0.042344 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.01162, + "real": 0.025021 + }, + { + "imag": -0.624149, + "real": 0.102921 + }, + { + "imag": -0.627464, + "real": 0.097162 + }, + { + "imag": 0.09514, + "real": -0.040091 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.010792, + "real": 0.029638 + }, + { + "imag": -0.627014, + "real": 0.078235 + }, + { + "imag": -0.629316, + "real": 0.071584 + }, + { + "imag": 0.098771, + "real": -0.04108 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.012347, + "real": 0.028674 + }, + { + "imag": -0.630444, + "real": 0.052508 + }, + { + "imag": -0.631743, + "real": 0.045784 + }, + { + "imag": 0.102366, + "real": -0.039735 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.011735, + "real": 0.030386 + }, + { + "imag": -0.633938, + "real": 0.027847 + }, + { + "imag": -0.63315, + "real": 0.018761 + }, + { + "imag": 0.106852, + "real": -0.038055 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.011779, + "real": 0.033165 + }, + { + "imag": -0.634763, + "real": 0.002643 + }, + { + "imag": -0.633723, + "real": -0.008143 + }, + { + "imag": 0.110354, + "real": -0.037291 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.01377, + "real": 0.03436 + }, + { + "imag": -0.635455, + "real": -0.023602 + }, + { + "imag": -0.633128, + "real": -0.035892 + }, + { + "imag": 0.113788, + "real": -0.036921 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.014857, + "real": 0.034032 + }, + { + "imag": -0.634503, + "real": -0.051505 + }, + { + "imag": -0.631021, + "real": -0.063853 + }, + { + "imag": 0.116688, + "real": -0.034074 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.015098, + "real": 0.036986 + }, + { + "imag": -0.633989, + "real": -0.07817 + }, + { + "imag": -0.62847, + "real": -0.092874 + }, + { + "imag": 0.120685, + "real": -0.032429 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.017389, + "real": 0.03748 + }, + { + "imag": -0.631898, + "real": -0.106577 + }, + { + "imag": -0.624511, + "real": -0.121955 + }, + { + "imag": 0.123979, + "real": -0.030215 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.017586, + "real": 0.038094 + }, + { + "imag": -0.62822, + "real": -0.136024 + }, + { + "imag": -0.619444, + "real": -0.150538 + }, + { + "imag": 0.12644, + "real": -0.028299 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.018481, + "real": 0.039715 + }, + { + "imag": -0.623222, + "real": -0.163635 + }, + { + "imag": -0.612767, + "real": -0.178779 + }, + { + "imag": 0.127671, + "real": -0.02472 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.027063, + "real": 0.042345 + }, + { + "imag": -0.615128, + "real": -0.19646 + }, + { + "imag": -0.604741, + "real": -0.210915 + }, + { + "imag": 0.125581, + "real": -0.023665 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.021651, + "real": 0.041602 + }, + { + "imag": -0.605289, + "real": -0.224987 + }, + { + "imag": -0.595415, + "real": -0.236401 + }, + { + "imag": 0.123757, + "real": -0.017092 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.022612, + "real": 0.043454 + }, + { + "imag": -0.595308, + "real": -0.254068 + }, + { + "imag": -0.584429, + "real": -0.264478 + }, + { + "imag": 0.12238, + "real": -0.010043 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.02347, + "real": 0.044866 + }, + { + "imag": -0.582183, + "real": -0.281822 + }, + { + "imag": -0.571648, + "real": -0.292867 + }, + { + "imag": 0.121295, + "real": -0.00361 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.026224, + "real": 0.048246 + }, + { + "imag": -0.569383, + "real": -0.309641 + }, + { + "imag": -0.558881, + "real": -0.319924 + }, + { + "imag": 0.121979, + "real": 0.003111 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.02601, + "real": 0.047963 + }, + { + "imag": -0.552714, + "real": -0.336891 + }, + { + "imag": -0.541543, + "real": -0.344944 + }, + { + "imag": 0.121636, + "real": 0.010994 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.02846, + "real": 0.050923 + }, + { + "imag": -0.53679, + "real": -0.363391 + }, + { + "imag": -0.524094, + "real": -0.370744 + }, + { + "imag": 0.123045, + "real": 0.019042 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.029462, + "real": 0.050897 + }, + { + "imag": -0.519111, + "real": -0.387716 + }, + { + "imag": -0.50568, + "real": -0.394174 + }, + { + "imag": 0.12363, + "real": 0.026559 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.02993, + "real": 0.051786 + }, + { + "imag": -0.49956, + "real": -0.411993 + }, + { + "imag": -0.485919, + "real": -0.41724 + }, + { + "imag": 0.126388, + "real": 0.034541 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.031362, + "real": 0.053256 + }, + { + "imag": -0.480466, + "real": -0.433796 + }, + { + "imag": -0.465286, + "real": -0.438786 + }, + { + "imag": 0.12725, + "real": 0.041247 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.033113, + "real": 0.053656 + }, + { + "imag": -0.458863, + "real": -0.456422 + }, + { + "imag": -0.442693, + "real": -0.459851 + }, + { + "imag": 0.130478, + "real": 0.046976 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.035922, + "real": 0.052901 + }, + { + "imag": -0.439047, + "real": -0.474913 + }, + { + "imag": -0.418302, + "real": -0.478639 + }, + { + "imag": 0.133547, + "real": 0.05131 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.035826, + "real": 0.054754 + }, + { + "imag": -0.415802, + "real": -0.49549 + }, + { + "imag": -0.396652, + "real": -0.495975 + }, + { + "imag": 0.136367, + "real": 0.056498 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.039235, + "real": 0.053929 + }, + { + "imag": -0.393356, + "real": -0.513247 + }, + { + "imag": -0.372529, + "real": -0.512196 + }, + { + "imag": 0.138482, + "real": 0.060797 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.040875, + "real": 0.055297 + }, + { + "imag": -0.371145, + "real": -0.529435 + }, + { + "imag": -0.349426, + "real": -0.526891 + }, + { + "imag": 0.142628, + "real": 0.065387 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.042846, + "real": 0.054677 + }, + { + "imag": -0.346593, + "real": -0.546975 + }, + { + "imag": -0.324535, + "real": -0.54246 + }, + { + "imag": 0.148139, + "real": 0.069876 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.047005, + "real": 0.05694 + }, + { + "imag": -0.323348, + "real": -0.562658 + }, + { + "imag": -0.299038, + "real": -0.555876 + }, + { + "imag": 0.155207, + "real": 0.075089 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.049353, + "real": 0.058518 + }, + { + "imag": -0.29739, + "real": -0.577378 + }, + { + "imag": -0.27235, + "real": -0.569178 + }, + { + "imag": 0.160167, + "real": 0.078314 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.050407, + "real": 0.06089 + }, + { + "imag": -0.271101, + "real": -0.590233 + }, + { + "imag": -0.245822, + "real": -0.58048 + }, + { + "imag": 0.163353, + "real": 0.078681 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.049834, + "real": 0.063699 + }, + { + "imag": -0.242497, + "real": -0.602511 + }, + { + "imag": -0.217329, + "real": -0.591628 + }, + { + "imag": 0.16696, + "real": 0.078282 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.052774, + "real": 0.064047 + }, + { + "imag": -0.215212, + "real": -0.612835 + }, + { + "imag": -0.190296, + "real": -0.601161 + }, + { + "imag": 0.167532, + "real": 0.077072 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.05027, + "real": 0.066683 + }, + { + "imag": -0.184813, + "real": -0.622265 + }, + { + "imag": -0.158503, + "real": -0.609468 + }, + { + "imag": 0.165354, + "real": 0.076249 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.048705, + "real": 0.071091 + }, + { + "imag": -0.154504, + "real": -0.629979 + }, + { + "imag": -0.130268, + "real": -0.616848 + }, + { + "imag": 0.162237, + "real": 0.074836 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.047156000000000003, + "real": 0.073746 + }, + { + "imag": -0.122643, + "real": -0.636236 + }, + { + "imag": -0.101659, + "real": -0.623606 + }, + { + "imag": 0.157408, + "real": 0.071779 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.045218, + "real": 0.0762 + }, + { + "imag": -0.091893, + "real": -0.638776 + }, + { + "imag": -0.070479, + "real": -0.627199 + }, + { + "imag": 0.154193, + "real": 0.067924 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.044124, + "real": 0.080064 + }, + { + "imag": -0.062238, + "real": -0.642399 + }, + { + "imag": -0.040924, + "real": -0.632553 + }, + { + "imag": 0.149027, + "real": 0.064533 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.03999, + "real": 0.085493 + }, + { + "imag": -0.032333, + "real": -0.644406 + }, + { + "imag": -0.003556, + "real": -0.634779 + }, + { + "imag": 0.139876, + "real": 0.073199 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.039462, + "real": 0.087296 + }, + { + "imag": -0.000763, + "real": -0.642919 + }, + { + "imag": 0.015927, + "real": -0.636191 + }, + { + "imag": 0.130503, + "real": 0.057772 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.035564, + "real": 0.089646 + }, + { + "imag": 0.028993, + "real": -0.640057 + }, + { + "imag": 0.045052, + "real": -0.636466 + }, + { + "imag": 0.120773, + "real": 0.054148 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.031569, + "real": 0.093407 + }, + { + "imag": 0.057728, + "real": -0.637173 + }, + { + "imag": 0.072258, + "real": -0.635276 + }, + { + "imag": 0.110376, + "real": 0.054324 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.027199, + "real": 0.095681 + }, + { + "imag": 0.08758, + "real": -0.632383 + }, + { + "imag": 0.099528, + "real": -0.632326 + }, + { + "imag": 0.099078, + "real": 0.050794 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.022553, + "real": 0.099856 + }, + { + "imag": 0.114704, + "real": -0.628017 + }, + { + "imag": 0.127944, + "real": -0.626514 + }, + { + "imag": 0.085999, + "real": 0.050462 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.019685, + "real": 0.104052 + }, + { + "imag": 0.142999, + "real": -0.622917 + }, + { + "imag": 0.154894, + "real": -0.621353 + }, + { + "imag": 0.074593, + "real": 0.047168 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.012309, + "real": 0.105348 + }, + { + "imag": 0.170987, + "real": -0.616673 + }, + { + "imag": 0.182789, + "real": -0.613328 + }, + { + "imag": 0.059373, + "real": 0.047329 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.006546, + "real": 0.109601 + }, + { + "imag": 0.198804, + "real": -0.60828 + }, + { + "imag": 0.209873, + "real": -0.605306 + }, + { + "imag": 0.046323, + "real": 0.047581 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.001404, + "real": 0.111627 + }, + { + "imag": 0.22672900000000001, + "real": -0.599976 + }, + { + "imag": 0.238274, + "real": -0.596189 + }, + { + "imag": 0.033297, + "real": 0.04813 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.00319, + "real": 0.115081 + }, + { + "imag": 0.254568, + "real": -0.593024 + }, + { + "imag": 0.266373, + "real": -0.585025 + }, + { + "imag": 0.019519, + "real": 0.050712 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.008726, + "real": 0.119089 + }, + { + "imag": 0.28195, + "real": -0.582278 + }, + { + "imag": 0.292813, + "real": -0.572317 + }, + { + "imag": 0.005751, + "real": 0.053542 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.01387, + "real": 0.119196 + }, + { + "imag": 0.311599, + "real": -0.571572 + }, + { + "imag": 0.318687, + "real": -0.55897 + }, + { + "imag": -0.009575, + "real": 0.060957 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.01887, + "real": 0.122781 + }, + { + "imag": 0.341753, + "real": -0.557481 + }, + { + "imag": 0.345782, + "real": -0.54246 + }, + { + "imag": -0.019892, + "real": 0.060409 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.020632, + "real": 0.117459 + }, + { + "imag": 0.36847800000000003, + "real": -0.542421 + }, + { + "imag": 0.372084, + "real": -0.523866 + }, + { + "imag": -0.029228, + "real": 0.067302 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.028495, + "real": 0.124191 + }, + { + "imag": 0.397132, + "real": -0.523729 + }, + { + "imag": 0.397922, + "real": -0.503626 + }, + { + "imag": -0.041502, + "real": 0.070743 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.032303, + "real": 0.123451 + }, + { + "imag": 0.425383, + "real": -0.50259 + }, + { + "imag": 0.421788, + "real": -0.481746 + }, + { + "imag": -0.053104, + "real": 0.076056 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.038224, + "real": 0.126475 + }, + { + "imag": 0.451315, + "real": -0.47874 + }, + { + "imag": 0.446831, + "real": -0.458365 + }, + { + "imag": -0.059712, + "real": 0.079856 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.044063, + "real": 0.123437 + }, + { + "imag": 0.473165, + "real": -0.453023 + }, + { + "imag": 0.46868, + "real": -0.432848 + }, + { + "imag": -0.069978, + "real": 0.083326 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.043918, + "real": 0.126638 + }, + { + "imag": 0.496949, + "real": -0.425927 + }, + { + "imag": 0.490322, + "real": -0.406636 + }, + { + "imag": -0.074294, + "real": 0.087376 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.051987, + "real": 0.122233 + }, + { + "imag": 0.515476, + "real": -0.395039 + }, + { + "imag": 0.505892, + "real": -0.381685 + }, + { + "imag": -0.079864, + "real": 0.094004 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.05568, + "real": 0.122962 + }, + { + "imag": 0.531845, + "real": -0.36377 + }, + { + "imag": 0.52135, + "real": -0.354346 + }, + { + "imag": -0.080897, + "real": 0.097124 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.059094, + "real": 0.120943 + }, + { + "imag": 0.545857, + "real": -0.334212 + }, + { + "imag": 0.534076, + "real": -0.32727 + }, + { + "imag": -0.082245, + "real": 0.10046 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.063663, + "real": 0.115815 + }, + { + "imag": 0.555132, + "real": -0.30481 + }, + { + "imag": 0.544955, + "real": -0.30185 + }, + { + "imag": -0.087379, + "real": 0.102888 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.070876, + "real": 0.109797 + }, + { + "imag": 0.564969, + "real": -0.275733 + }, + { + "imag": 0.554572, + "real": -0.273422 + }, + { + "imag": -0.089404, + "real": 0.105366 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P14_THROUGH", + "ports": 2 + } + }, + "type": "Through" + }, + { + "params": { + "C0": 0.0, + "C1": 0.0, + "C2": 0.0, + "C3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 2322074687073595674, + "loss": 0.0, + "name": "Port 2", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": 0.231184, + "real": 0.814602 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.053346, + "real": 0.970871 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.069609, + "real": 0.96191 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.098556, + "real": 0.959825 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.127577, + "real": 0.953269 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.1544, + "real": 0.947209 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.183028, + "real": 0.94364 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.209065, + "real": 0.938343 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.234679, + "real": 0.932411 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.258667, + "real": 0.926403 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.281836, + "real": 0.920057 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.306067, + "real": 0.912656 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.329102, + "real": 0.90556 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.352521, + "real": 0.897544 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.375987, + "real": 0.888562 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.399344, + "real": 0.87903 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.422079, + "real": 0.86923 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.445018, + "real": 0.858141 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.467601, + "real": 0.846574 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.49098, + "real": 0.833427 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.51394, + "real": 0.819379 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.537048, + "real": 0.804092 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.559801, + "real": 0.788862 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.582006, + "real": 0.771834 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.604717, + "real": 0.753886 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.627037, + "real": 0.734978 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.646632, + "real": 0.717376 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.66839, + "real": 0.695893 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.688089, + "real": 0.675905 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.707409, + "real": 0.655165 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.726353, + "real": 0.633762 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.744171, + "real": 0.612128 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.761315, + "real": 0.59133 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.778008, + "real": 0.569756 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.794166, + "real": 0.548239 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.810182, + "real": 0.526451 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.825238, + "real": 0.504476 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.839807, + "real": 0.481494 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.85302, + "real": 0.460624 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.867529, + "real": 0.436791 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.881014, + "real": 0.412333 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.892717, + "real": 0.3907 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.904316, + "real": 0.367353 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.915706, + "real": 0.342194 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.925669, + "real": 0.317064 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.93487, + "real": 0.291361 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.942986, + "real": 0.265198 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.950254, + "real": 0.238992 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.956844, + "real": 0.212935 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.962286, + "real": 0.18448 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.965175, + "real": 0.15744 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.969059, + "real": 0.129289 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.97066, + "real": 0.101121 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.971036, + "real": 0.072868 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.971273, + "real": 0.045039 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.970776, + "real": 0.016614 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.968722, + "real": -0.010808 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.968083, + "real": -0.034531 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.964088, + "real": -0.066395 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.960797, + "real": -0.09414 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.957001, + "real": -0.122163 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.952965, + "real": -0.150477 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.948017, + "real": -0.177583 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.944302, + "real": -0.203023 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.939595, + "real": -0.232282 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.934214, + "real": -0.259198 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.927725, + "real": -0.28641 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.921881, + "real": -0.312663 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.914527, + "real": -0.3351 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.905384, + "real": -0.367368 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.895344, + "real": -0.394364 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.884741, + "real": -0.420699 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.872633, + "real": -0.44643 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.858929, + "real": -0.47188 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.844351, + "real": -0.497237 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.827253, + "real": -0.525659 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.810985, + "real": -0.549931 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.792017, + "real": -0.571579 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.773027, + "real": -0.594244 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.752764, + "real": -0.616784 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.732082, + "real": -0.638135 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.710954, + "real": -0.659489 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.689533, + "real": -0.68003 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.668933, + "real": -0.699731 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.648446, + "real": -0.718709 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.625102, + "real": -0.73925 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.607469, + "real": -0.754585 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.586759, + "real": -0.772212 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.566942, + "real": -0.789173 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.547703, + "real": -0.805415 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.528168, + "real": -0.818556 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.509794, + "real": -0.83554 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.4894, + "real": -0.850196 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.470124, + "real": -0.862819 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.449052, + "real": -0.875595 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.429039, + "real": -0.888195 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.406704, + "real": -0.900377 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.384673, + "real": -0.911509 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.362946, + "real": -0.921552 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.337506, + "real": -0.93103 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.312996, + "real": -0.939133 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.2863, + "real": -0.946028 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.25911, + "real": -0.95233 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.233547, + "real": -0.955671 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.20634, + "real": -0.962197 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.17694, + "real": -0.966341 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.139503, + "real": -0.972508 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.117872, + "real": -0.971805 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.088277, + "real": -0.9735 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.058962, + "real": -0.974292 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.029839, + "real": -0.974848 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.001283, + "real": -0.974749 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.02682, + "real": -0.974489 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.054807, + "real": -0.973268 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.080973, + "real": -0.972312 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.107787, + "real": -0.9713 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.13492, + "real": -0.969688 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.161444, + "real": -0.96682 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.187075, + "real": -0.964236 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.213224, + "real": -0.960517 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.253732, + "real": -0.952077 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.262641, + "real": -0.952852 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.288427, + "real": -0.947389 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.314237, + "real": -0.939919 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.339404, + "real": -0.932629 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.361804, + "real": -0.922292 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.38914, + "real": -0.914437 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.416022, + "real": -0.903722 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.441494, + "real": -0.891053 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.46626, + "real": -0.877695 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.491491, + "real": -0.863354 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.516346, + "real": -0.848954 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.541482, + "real": -0.833641 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.565662, + "real": -0.816984 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.589467, + "real": -0.800031 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.612228, + "real": -0.783773 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.634453, + "real": -0.765927 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.656239, + "real": -0.74757 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.677316, + "real": -0.72951 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.697692, + "real": -0.711359 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.717534, + "real": -0.692789 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.735919, + "real": -0.675586 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.755184, + "real": -0.654935 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.773637, + "real": -0.635434 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.791388, + "real": -0.616335 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.807488, + "real": -0.595554 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.823211, + "real": -0.574993 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.838911, + "real": -0.554639 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.853944, + "real": -0.532082 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.868056, + "real": -0.508382 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.884021, + "real": -0.484785 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.895104, + "real": -0.462143 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.907976, + "real": -0.437328 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.920884, + "real": -0.412189 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.931208, + "real": -0.387934 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.942848, + "real": -0.362189 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.954672, + "real": -0.333454 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.963766, + "real": -0.305213 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.971881, + "real": -0.277313 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.97931, + "real": -0.249441 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.986397, + "real": -0.221175 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.99189, + "real": -0.192729 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.997034, + "real": -0.164445 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 1.00183, + "real": -0.136203 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 1.00528, + "real": -0.107717 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 1.00855, + "real": -0.079082 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 1.01049, + "real": -0.051123 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 1.01178, + "real": -0.023044 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 1.01231, + "real": 0.005363 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 1.0111, + "real": 0.033213 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 1.01159, + "real": 0.061645 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 1.01028, + "real": 0.090224 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 1.00781, + "real": 0.118141 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 1.00462, + "real": 0.145575 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 1.00098, + "real": 0.173499 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.9969, + "real": 0.200185 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.988751, + "real": 0.2369 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.984149, + "real": 0.256949 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.976666, + "real": 0.283941 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.970442, + "real": 0.31232 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.962717, + "real": 0.33959 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.953924, + "real": 0.365759 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.943769, + "real": 0.391861 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.934124, + "real": 0.417617 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.923231, + "real": 0.443415 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.911763, + "real": 0.46833 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.899688, + "real": 0.493205 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.886733, + "real": 0.517897 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.872343, + "real": 0.542439 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.857413, + "real": 0.566402 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.840764, + "real": 0.590349 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.824005, + "real": 0.614023 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.806014, + "real": 0.63643 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.787623, + "real": 0.658259 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.766884, + "real": 0.680669 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.744467, + "real": 0.700977 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.720692, + "real": 0.722094 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.695824, + "real": 0.743748 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.669393, + "real": 0.763879 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.642438, + "real": 0.782861 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.614343, + "real": 0.802756 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.585983, + "real": 0.821947 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.555945, + "real": 0.838967 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.526081, + "real": 0.855081 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.494246, + "real": 0.870972 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.462528, + "real": 0.885608 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.431204, + "real": 0.899463 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.400899, + "real": 0.911155 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.369104, + "real": 0.922628 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.335565, + "real": 0.933276 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.303088, + "real": 0.943188 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.270174, + "real": 0.951293 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.238996, + "real": 0.958849 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.207386, + "real": 0.96483 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.177527, + "real": 0.970758 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.147393, + "real": 0.975144 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.117526, + "real": 0.978772 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.081898, + "real": 0.980916 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.061132, + "real": 0.983166 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.033466, + "real": 0.986334 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.005959, + "real": 0.985781 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": -0.022065, + "real": 0.98503 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": -0.04854, + "real": 0.983391 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": -0.076234, + "real": 0.982092 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": -0.101551, + "real": 0.982394 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": -0.125836, + "real": 0.978953 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": -0.155589, + "real": 0.979595 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": -0.185453, + "real": 0.980611 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": -0.215412, + "real": 0.977415 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": -0.246642, + "real": 0.971457 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": -0.278159, + "real": 0.963561 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": -0.309561, + "real": 0.952985 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": -0.34148, + "real": 0.939779 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": -0.372706, + "real": 0.925507 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": -0.403198, + "real": 0.911399 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": -0.433259, + "real": 0.896541 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": -0.462487, + "real": 0.880431 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": -0.492381, + "real": 0.864246 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": -0.519661, + "real": 0.846256 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": -0.545383, + "real": 0.827252 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": -0.569889, + "real": 0.808621 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": -0.594649, + "real": 0.788948 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": -0.618099, + "real": 0.76966 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": -0.641634, + "real": 0.748424 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": -0.663984, + "real": 0.727952 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": -0.668853, + "real": 0.712003 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": -0.710663, + "real": 0.68789 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": -0.731169, + "real": 0.667903 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": -0.750277, + "real": 0.64935 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": -0.769813, + "real": 0.629306 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": -0.788895, + "real": 0.610332 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": -0.804702, + "real": 0.590411 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": -0.822421, + "real": 0.567232 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": -0.838607, + "real": 0.542838 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": -0.852447, + "real": 0.516713 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": -0.866081, + "real": 0.490683 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": -0.877859, + "real": 0.464155 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": -0.890224, + "real": 0.436349 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": -0.900777, + "real": 0.406346 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": -0.911429, + "real": 0.37802 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": -0.920494, + "real": 0.348907 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.928271, + "real": 0.317481 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.934896, + "real": 0.290205 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": -0.938373, + "real": 0.253287 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": -0.941567, + "real": 0.221312 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": -0.945631, + "real": 0.189336 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": -0.948529, + "real": 0.156677 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": -0.952842, + "real": 0.122733 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": -0.955128, + "real": 0.090689 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": -0.958217, + "real": 0.05917 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": -0.959764, + "real": 0.02934 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": -0.961332, + "real": 0.002657 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.963131, + "real": -0.024551 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.963628, + "real": -0.0517 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.963723, + "real": -0.079331 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.961048, + "real": -0.110373 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.957919, + "real": -0.137486 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.954476, + "real": -0.163366 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.95093, + "real": -0.189662 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.947087, + "real": -0.215137 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.942494, + "real": -0.241208 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.936002, + "real": -0.266491 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.929568, + "real": -0.291085 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.922844, + "real": -0.316408 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.914775, + "real": -0.341488 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.904191, + "real": -0.366307 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.892427, + "real": -0.392074 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.879397, + "real": -0.418896 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.867269, + "real": -0.443622 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.853821, + "real": -0.46908300000000003 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.838513, + "real": -0.494736 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.82476, + "real": -0.519633 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.811163, + "real": -0.544359 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.796774, + "real": -0.564141 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.781482, + "real": -0.584148 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.766374, + "real": -0.60551 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.745663, + "real": -0.629083 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.727372, + "real": -0.649656 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.709044, + "real": -0.670181 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.688427, + "real": -0.688568 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.668399, + "real": -0.708192 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.647562, + "real": -0.725854 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.625141, + "real": -0.743313 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.602756, + "real": -0.760583 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.580799, + "real": -0.777301 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.555343, + "real": -0.793801 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.531033, + "real": -0.810943 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.504535, + "real": -0.82589 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.478131, + "real": -0.841245 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.450268, + "real": -0.855368 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.423183, + "real": -0.870672 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.39523, + "real": -0.884355 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.366849, + "real": -0.897841 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.338882, + "real": -0.911336 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.311294, + "real": -0.923624 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.284022, + "real": -0.936367 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.25911, + "real": -0.945797 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.229931, + "real": -0.958594 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.204435, + "real": -0.968959 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.179524, + "real": -0.979596 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.153613, + "real": -0.99012 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.129385, + "real": -0.997957 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.104646, + "real": -1.00651 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.081876, + "real": -1.01397 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.056838, + "real": -1.02098 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.034304, + "real": -1.02904 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.011579, + "real": -1.03156 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": 0.016195, + "real": -1.03646 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": 0.038676, + "real": -1.03952 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.065948, + "real": -1.04202 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.090819, + "real": -1.04125 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": 0.117708, + "real": -1.04073 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": 0.145366, + "real": -1.03962 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": 0.172264, + "real": -1.03498 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": 0.202492, + "real": -1.03231 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": 0.231007, + "real": -1.02562 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.261172, + "real": -1.01854 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.291606, + "real": -1.0103 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": 0.323304, + "real": -1.00197 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.358273, + "real": -0.988918 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.387042, + "real": -0.980896 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.417608, + "real": -0.971221 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.448836, + "real": -0.959161 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.481794, + "real": -0.946807 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.513249, + "real": -0.936763 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.54357, + "real": -0.92356 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.575291, + "real": -0.912286 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.604958, + "real": -0.898724 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.63219, + "real": -0.888008 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.663459, + "real": -0.875308 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.69272, + "real": -0.863557 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.719004, + "real": -0.850446 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.74509, + "real": -0.83757 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.77533, + "real": -0.825748 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.797889, + "real": -0.814391 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.813753, + "real": -0.804037 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.846239, + "real": -0.786232 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.87205, + "real": -0.771609 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.879397, + "real": -0.747784 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.912495, + "real": -0.734593 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.934272, + "real": -0.712462 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.952623, + "real": -0.683992 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.969953, + "real": -0.660157 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.985934, + "real": -0.6388 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 1.00211, + "real": -0.613147 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 1.01934, + "real": -0.586393 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 1.03153, + "real": -0.554604 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 1.04898, + "real": -0.527697 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 1.06198, + "real": -0.499211 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 1.07832, + "real": -0.469384 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 1.09366, + "real": -0.436032 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 1.1071, + "real": -0.409131 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 1.11886, + "real": -0.38338 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 1.13172, + "real": -0.356006 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 1.13889, + "real": -0.327217 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 1.14991, + "real": -0.293814 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 1.16171, + "real": -0.270602 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 1.17178, + "real": -0.244352 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 1.18077, + "real": -0.215814 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 1.18725, + "real": -0.188317 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 1.19178, + "real": -0.159813 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 1.19317, + "real": -0.127044 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 1.19449, + "real": -0.090574 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 1.19224, + "real": -0.05525 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 1.19138, + "real": -0.019435 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 1.18407, + "real": 0.017014 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 1.18329, + "real": 0.049415 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 1.17936, + "real": 0.087545 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 1.17243, + "real": 0.126245 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 1.16288, + "real": 0.169849 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 1.15302, + "real": 0.209378 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 1.14438, + "real": 0.253485 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 1.13766, + "real": 0.295813 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 1.12766, + "real": 0.34018 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 1.1215, + "real": 0.379361 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 1.11329, + "real": 0.419278 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 1.10884, + "real": 0.461448 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 1.10314, + "real": 0.498036 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 1.09983, + "real": 0.530796 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 1.09853, + "real": 0.565702 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 1.09661, + "real": 0.604744 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 1.09472, + "real": 0.63602 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 1.09188, + "real": 0.667463 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 1.08892, + "real": 0.702207 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 1.083, + "real": 0.736566 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 1.0771, + "real": 0.767204 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 1.06824, + "real": 0.800158 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 1.06226, + "real": 0.826411 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 1.05458, + "real": 0.855309 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 1.04249, + "real": 0.882978 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 1.02085, + "real": 0.91279 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.997724, + "real": 0.939197 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.977403, + "real": 0.973495 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.947843, + "real": 1.00182 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.918826, + "real": 1.03246 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.882064, + "real": 1.0588 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.849045, + "real": 1.08788 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.80978, + "real": 1.11295 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.775234, + "real": 1.13776 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.737942, + "real": 1.15776 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.700101, + "real": 1.17414 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.662276, + "real": 1.19046 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.623929, + "real": 1.20647 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.588386, + "real": 1.22089 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.544995, + "real": 1.23721 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.50969, + "real": 1.24991 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.472958, + "real": 1.25894 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.434157, + "real": 1.26951 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.396938, + "real": 1.27898 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.360967, + "real": 1.28642 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.324196, + "real": 1.29221 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.284549, + "real": 1.30029 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.244533, + "real": 1.30658 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.199871, + "real": 1.30919 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.154843, + "real": 1.3136 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.106802, + "real": 1.31562 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.059504, + "real": 1.31848 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.006557, + "real": 1.31713 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.040864, + "real": 1.31199 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.09672, + "real": 1.31036 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.144221, + "real": 1.30035 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.197269, + "real": 1.2937 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.246865, + "real": 1.28454 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.295597, + "real": 1.27001 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.34008, + "real": 1.25503 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.385284, + "real": 1.23952 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.425379, + "real": 1.21923 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.469073, + "real": 1.19651 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.506769, + "real": 1.17586 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": -0.546299, + "real": 1.1497 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": -0.579434, + "real": 1.1186 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": -0.615664, + "real": 1.09231 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": -0.653129, + "real": 1.07343 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": -0.691644, + "real": 1.05459 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": -0.727077, + "real": 1.03626 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": -0.763478, + "real": 1.02227 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": -0.794909, + "real": 1.00473 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.826588, + "real": 0.984584 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.855246, + "real": 0.972009 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": -0.88478, + "real": 0.953432 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": -0.91249, + "real": 0.934074 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": -0.937205, + "real": 0.915536 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": -0.959124, + "real": 0.890907 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": -0.980196, + "real": 0.866943 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": -0.997139, + "real": 0.844237 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": -1.01219, + "real": 0.813688 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": -1.03363, + "real": 0.780845 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": -1.04256, + "real": 0.746326 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": -1.04913, + "real": 0.707451 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": -1.05673, + "real": 0.666161 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": -1.05727, + "real": 0.621512 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": -1.063, + "real": 0.577879 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": -1.06521, + "real": 0.531318 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": -1.06667, + "real": 0.48705 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": -1.06736, + "real": 0.442638 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": -1.06761, + "real": 0.396155 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": -1.07115, + "real": 0.35217 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": -1.07076, + "real": 0.311162 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": -1.07612, + "real": 0.270843 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -1.07757, + "real": 0.228283 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -1.07909, + "real": 0.186505 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -1.08209, + "real": 0.147188 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -1.08914, + "real": 0.1081 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -1.09236, + "real": 0.074289 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -1.09998, + "real": 0.037686 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -1.1038, + "real": 0.003661 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -1.10682, + "real": -0.033598 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -1.11276, + "real": -0.067264 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -1.11541, + "real": -0.100944 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -1.11875, + "real": -0.134116 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -1.12326, + "real": -0.167517 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -1.1227, + "real": -0.194683 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -1.11903, + "real": -0.219801 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -1.1183, + "real": -0.251307 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -1.11712, + "real": -0.274719 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -1.10288, + "real": -0.30109 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -1.09065, + "real": -0.323345 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -1.07617, + "real": -0.345959 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -1.05925, + "real": -0.367961 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -1.03513, + "real": -0.391569 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -1.01208, + "real": -0.415691 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P2_OPEN", + "ports": 1 + } + }, + "type": "Open" + }, + { + "params": { + "L0": 0.0, + "L1": 0.0, + "L2": 0.0, + "L3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 17238022527355994620, + "loss": 0.0, + "name": "Port 2", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.295439, + "real": -0.576235 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.030562, + "real": -0.73001 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": 0.040479, + "real": -0.724691 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": 0.059403, + "real": -0.723995 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": 0.07811, + "real": -0.719783 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": 0.095917, + "real": -0.71558 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": 0.117301, + "real": -0.712932 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": 0.136944, + "real": -0.708465 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": 0.1579, + "real": -0.702864 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": 0.177977, + "real": -0.69675 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": 0.198708, + "real": -0.690277 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": 0.220182, + "real": -0.682442 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": 0.240826, + "real": -0.674901 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": 0.262494, + "real": -0.66639 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": 0.283809, + "real": -0.657177 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": 0.304537, + "real": -0.64791 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": 0.324421, + "real": -0.638466 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": 0.344156, + "real": -0.628233 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": 0.363243, + "real": -0.617922 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": 0.381716, + "real": -0.60764 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": 0.399931, + "real": -0.596727 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": 0.417387, + "real": -0.585591 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.434667, + "real": -0.57499 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.450817, + "real": -0.563799 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": 0.467107, + "real": -0.551557 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": 0.483835, + "real": -0.538931 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": 0.497631, + "real": -0.528266 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": 0.513002, + "real": -0.513965 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": 0.527698, + "real": -0.50066 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": 0.542174, + "real": -0.486459 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": 0.556211, + "real": -0.471213 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": 0.56939, + "real": -0.45503 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": 0.581915, + "real": -0.439588 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": 0.594565, + "real": -0.422669 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": 0.606398, + "real": -0.405158 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": 0.618141, + "real": -0.38677 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": 0.629142, + "real": -0.368138 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": 0.639267, + "real": -0.34866 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": 0.648626, + "real": -0.329511 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": 0.658035, + "real": -0.308742 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": 0.666375, + "real": -0.287425 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": 0.674221, + "real": -0.267581 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": 0.681751, + "real": -0.247521 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.689036, + "real": -0.225966 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": 0.695411, + "real": -0.205078 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.70154, + "real": -0.184337 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": 0.707119, + "real": -0.16322 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": 0.712178, + "real": -0.143013 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": 0.717164, + "real": -0.123582 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": 0.721666, + "real": -0.101344 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": 0.725594, + "real": -0.080487 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": 0.72948, + "real": -0.059791 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": 0.732828, + "real": -0.039 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": 0.735764, + "real": -0.018264 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": 0.738006, + "real": 0.001983 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": 0.739348, + "real": 0.023897 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": 0.740573, + "real": 0.044225 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": 0.740978, + "real": 0.062097 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": 0.739833, + "real": 0.0855 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": 0.738084, + "real": 0.106645 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": 0.735534, + "real": 0.127142 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": 0.731749, + "real": 0.148629 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": 0.727319, + "real": 0.169026 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": 0.722752, + "real": 0.188713 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": 0.716509, + "real": 0.210219 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": 0.709591, + "real": 0.230319 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": 0.701928, + "real": 0.250651 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": 0.693671, + "real": 0.270202 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": 0.687335, + "real": 0.285304 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": 0.675842, + "real": 0.309859 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": 0.666355, + "real": 0.329275 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": 0.656791, + "real": 0.34791299999999997 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": 0.646479, + "real": 0.3669 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": 0.636418, + "real": 0.385653 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": 0.626163, + "real": 0.403627 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": 0.614398, + "real": 0.423304 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": 0.603346, + "real": 0.439515 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": 0.593139, + "real": 0.457156 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": 0.581653, + "real": 0.473587 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": 0.569572, + "real": 0.48951 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": 0.55672, + "real": 0.505839 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": 0.542923, + "real": 0.521155 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": 0.528136, + "real": 0.536506 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": 0.512873, + "real": 0.551183 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": 0.496876, + "real": 0.565144 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": 0.476836, + "real": 0.57972 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.461319, + "real": 0.592365 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": 0.441895, + "real": 0.606022 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": 0.421192, + "real": 0.618279 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": 0.400344, + "real": 0.630185 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.380438, + "real": 0.641866 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": 0.357355, + "real": 0.653126 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": 0.332289, + "real": 0.663933 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": 0.311121, + "real": 0.672432 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": 0.287095, + "real": 0.682993 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": 0.264576, + "real": 0.690984 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": 0.24116, + "real": 0.699674 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": 0.217597, + "real": 0.708814 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": 0.195674, + "real": 0.716275 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": 0.172319, + "real": 0.723751 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": 0.150722, + "real": 0.730581 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": 0.128628, + "real": 0.736781 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": 0.106582, + "real": 0.742595 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": 0.085792, + "real": 0.746172 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": 0.066035, + "real": 0.751175 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": 0.045417, + "real": 0.755919 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": 0.020613, + "real": 0.758883 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": 0.00362, + "real": 0.761193 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.017258, + "real": 0.762321 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.038435, + "real": 0.76293 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.060173, + "real": 0.762711 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.081131, + "real": 0.761519 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.103041, + "real": 0.759291 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.124866, + "real": 0.755578 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.145413, + "real": 0.751511 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.168957, + "real": 0.74659 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.191726, + "real": 0.74071 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.213381, + "real": 0.732666 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.23607, + "real": 0.724406 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.258244, + "real": 0.71578 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.294762, + "real": 0.706986 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.302069, + "real": 0.697004 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.324011, + "real": 0.686774 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.345511, + "real": 0.675944 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.366474, + "real": 0.665236 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.387064, + "real": 0.65448 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.406719, + "real": 0.641568 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.42566, + "real": 0.629695 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.44451, + "real": 0.617053 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.462901, + "real": 0.604287 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.480836, + "real": 0.591294 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.498203, + "real": 0.577605 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.515455, + "real": 0.563648 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.531926, + "real": 0.548912 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.548458, + "real": 0.533533 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.563838, + "real": 0.518459 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.578859, + "real": 0.502321 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.594535, + "real": 0.484901 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.609346, + "real": 0.466755 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": -0.623272, + "real": 0.448555 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": -0.637084, + "real": 0.429264 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": -0.648627, + "real": 0.410915 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": -0.662731, + "real": 0.388143 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": -0.675145, + "real": 0.366873 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": -0.686416, + "real": 0.345586 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": -0.69685, + "real": 0.324066 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": -0.70666, + "real": 0.302033 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": -0.716054, + "real": 0.27978 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": -0.724582, + "real": 0.257236 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": -0.731944, + "real": 0.234243 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": -0.738341, + "real": 0.2114 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": -0.744873, + "real": 0.189363 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": -0.750426, + "real": 0.166461 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": -0.755276, + "real": 0.14444 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": -0.760147, + "real": 0.122854 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": -0.76487, + "real": 0.100666 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": -0.76823, + "real": 0.076604 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": -0.770371, + "real": 0.053804 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": -0.77218, + "real": 0.03186 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": -0.773788, + "real": 0.009177 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": -0.774161, + "real": -0.013022 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": -0.774125, + "real": -0.035776 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": -0.773476, + "real": -0.058759 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": -0.77207, + "real": -0.081057 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": -0.770639, + "real": -0.103956 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": -0.767935, + "real": -0.12687 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": -0.765134, + "real": -0.149627 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": -0.76135, + "real": -0.172398 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.757099, + "real": -0.194892 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": -0.751871, + "real": -0.217452 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.745591, + "real": -0.239855 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": -0.739632, + "real": -0.262409 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": -0.732474, + "real": -0.284354 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.724441, + "real": -0.305967 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": -0.715589, + "real": -0.327423 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.706809, + "real": -0.349837 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": -0.69284, + "real": -0.371761 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": -0.685237, + "real": -0.390579 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.673824, + "real": -0.410971 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": -0.662369, + "real": -0.430607 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": -0.649928, + "real": -0.450269 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": -0.636616, + "real": -0.469338 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": -0.622415, + "real": -0.488326 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": -0.607505, + "real": -0.506713 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": -0.592157, + "real": -0.52549 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": -0.577028, + "real": -0.543662 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": -0.560771, + "real": -0.561841 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": -0.545157, + "real": -0.579166 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": -0.528701, + "real": -0.597174 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": -0.511532, + "real": -0.614147 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": -0.493868, + "real": -0.631404 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": -0.477081, + "real": -0.647262 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": -0.460259, + "real": -0.662315 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": -0.442535, + "real": -0.677234 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": -0.425562, + "real": -0.691793 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": -0.409071, + "real": -0.706037 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": -0.392102, + "real": -0.719463 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": -0.375362, + "real": -0.732213 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": -0.358415, + "real": -0.744049 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": -0.341072, + "real": -0.754735 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": -0.325143, + "real": -0.765694 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": -0.308269, + "real": -0.77569 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": -0.291855, + "real": -0.785676 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": -0.275771, + "real": -0.79557 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": -0.259245, + "real": -0.803487 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": -0.241496, + "real": -0.812112 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": -0.223883, + "real": -0.8185 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": -0.205674, + "real": -0.82369 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": -0.186637, + "real": -0.829408 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": -0.166136, + "real": -0.835318 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": -0.145324, + "real": -0.839509 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": -0.122709, + "real": -0.843589 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": -0.099986, + "real": -0.847304 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": -0.077991, + "real": -0.850529 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": -0.053921, + "real": -0.852319 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": -0.031041, + "real": -0.852896 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": -0.007433, + "real": -0.853591 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.018058, + "real": -0.855874 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.04044, + "real": -0.851921 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.066188, + "real": -0.848763 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.092214, + "real": -0.844567 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.11668, + "real": -0.839922 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.140293, + "real": -0.836002 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.163504, + "real": -0.831644 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.1858, + "real": -0.827408 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.210257, + "real": -0.824543 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.230811, + "real": -0.820176 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.25033300000000003, + "real": -0.814441 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.272315, + "real": -0.809843 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.291385, + "real": -0.80282 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.311483, + "real": -0.797192 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.331582, + "real": -0.790003 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.351887, + "real": -0.782902 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.370764, + "real": -0.775614 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.391597, + "real": -0.767809 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.412263, + "real": -0.759685 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.431946, + "real": -0.751651 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.450551, + "real": -0.742131 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.469452, + "real": -0.732417 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.487501, + "real": -0.722028 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.505115, + "real": -0.710364 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.522305, + "real": -0.69754 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.541951, + "real": -0.680709 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.559808, + "real": -0.662944 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.577703, + "real": -0.646471 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.595843, + "real": -0.636326 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.613117, + "real": -0.609866 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.630664, + "real": -0.59149 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.648212, + "real": -0.573345 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.66563, + "real": -0.554445 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.683146, + "real": -0.532451 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.698016, + "real": -0.513606 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.712234, + "real": -0.493911 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.726158, + "real": -0.473263 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.742443, + "real": -0.451327 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.755372, + "real": -0.430529 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.770895, + "real": -0.410745 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.785907, + "real": -0.390777 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.801563, + "real": -0.37043 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.815005, + "real": -0.352837 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.827549, + "real": -0.337107 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.840076, + "real": -0.320953 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.850379, + "real": -0.302993 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.862205, + "real": -0.28589 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.874062, + "real": -0.26316 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.882301, + "real": -0.242982 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.890434, + "real": -0.22264 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.897054, + "real": -0.20246 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.90394, + "real": -0.182161 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.909408, + "real": -0.160795 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.915091, + "real": -0.13798 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.919237, + "real": -0.114863 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.920854, + "real": -0.089344 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.923246, + "real": -0.065837 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.923614, + "real": -0.040101 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.922997, + "real": -0.011673 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.920795, + "real": 0.01381 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.918448, + "real": 0.040915 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.915722, + "real": 0.070527 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.913094, + "real": 0.099487 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.910535, + "real": 0.12787 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.9069, + "real": 0.155278 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.901696, + "real": 0.18109 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.897739, + "real": 0.205232 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": 0.892148, + "real": 0.229789 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": 0.885963, + "real": 0.256112 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": 0.87592, + "real": 0.287302 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": 0.868138, + "real": 0.31221 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": 0.859116, + "real": 0.336358 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": 0.850617, + "real": 0.361289 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": 0.839714, + "real": 0.385285 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": 0.828552, + "real": 0.409004 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": 0.81528, + "real": 0.433417 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": 0.806386, + "real": 0.455281 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": 0.793045, + "real": 0.479964 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": 0.778543, + "real": 0.503855 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": 0.764052, + "real": 0.526459 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": 0.747425, + "real": 0.548374 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": 0.731673, + "real": 0.570736 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": 0.713761, + "real": 0.593826 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": 0.6963, + "real": 0.615403 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": 0.67785, + "real": 0.637773 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": 0.661589, + "real": 0.658908 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": 0.643243, + "real": 0.679334 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": 0.625459, + "real": 0.700343 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": 0.608446, + "real": 0.716349 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": 0.592448, + "real": 0.73343 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": 0.570176, + "real": 0.750034 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": 0.552189, + "real": 0.76929 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": 0.53384, + "real": 0.78563 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": 0.514789, + "real": 0.798676 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": 0.495999, + "real": 0.814182 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": 0.477457, + "real": 0.827824 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": 0.457043, + "real": 0.838541 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": 0.436335, + "real": 0.849139 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": 0.416371, + "real": 0.858661 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": 0.393938, + "real": 0.868265 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": 0.369653, + "real": 0.876551 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": 0.344823, + "real": 0.883901 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": 0.321394, + "real": 0.889326 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": 0.293919, + "real": 0.89098 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": 0.266927, + "real": 0.898644 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": 0.237598, + "real": 0.901496 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": 0.207807, + "real": 0.90627 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": 0.180731, + "real": 0.90552 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": 0.151958, + "real": 0.907398 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": 0.122273, + "real": 0.906517 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": 0.092452, + "real": 0.905167 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": 0.065374, + "real": 0.90309 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.032651, + "real": 0.901721 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.002659, + "real": 0.901564 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.02635, + "real": 0.900123 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.055135, + "real": 0.898497 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.080535, + "real": 0.896535 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.109773, + "real": 0.892375 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.13421, + "real": 0.889585 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.160006, + "real": 0.885443 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.183804, + "real": 0.881875 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.211378, + "real": 0.877376 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.234411, + "real": 0.871498 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.257566, + "real": 0.864662 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.279773, + "real": 0.857463 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.299827, + "real": 0.849599 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.322282, + "real": 0.840588 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.342495, + "real": 0.830734 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.362893, + "real": 0.819026 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.382342, + "real": 0.806132 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.400119, + "real": 0.792232 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.418574, + "real": 0.774566 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": -0.436371, + "real": 0.75789 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": -0.455527, + "real": 0.736326 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.476822, + "real": 0.717429 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.494239, + "real": 0.702273 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": -0.511295, + "real": 0.682493 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": -0.528781, + "real": 0.663363 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": -0.5458, + "real": 0.648117 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.564413, + "real": 0.624632 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.582269, + "real": 0.602729 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": -0.605348, + "real": 0.573141 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": -0.617078, + "real": 0.560837 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": -0.632251, + "real": 0.540509 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": -0.651119, + "real": 0.520351 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": -0.66844, + "real": 0.498533 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": -0.684983, + "real": 0.479525 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": -0.699651, + "real": 0.461745 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": -0.714518, + "real": 0.440189 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": -0.726812, + "real": 0.423485 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": -0.741767, + "real": 0.402253 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": -0.75476, + "real": 0.383026 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": -0.76517, + "real": 0.361376 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": -0.775594, + "real": 0.340459 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": -0.781781, + "real": 0.317692 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": -0.791023, + "real": 0.286605 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": -0.797946, + "real": 0.262447 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": -0.806312, + "real": 0.240077 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": -0.812033, + "real": 0.21597 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": -0.817689, + "real": 0.190466 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": -0.823196, + "real": 0.163023 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": -0.826689, + "real": 0.137533 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": -0.831184, + "real": 0.109523 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": -0.834341, + "real": 0.082072 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": -0.838857, + "real": 0.056504 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": -0.843048, + "real": 0.028247 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": -0.848255, + "real": 0.003159 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": -0.852073, + "real": -0.023028 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": -0.855618, + "real": -0.045152 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": -0.859305, + "real": -0.067744 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": -0.861323, + "real": -0.08751 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": -0.861537, + "real": -0.107211 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": -0.864579, + "real": -0.12773 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": -0.863548, + "real": -0.148658 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": -0.864379, + "real": -0.166898 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": -0.860615, + "real": -0.186921 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": -0.85446, + "real": -0.20955 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": -0.845798, + "real": -0.229792 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": -0.836426, + "real": -0.250215 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": -0.82625, + "real": -0.268442 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": -0.816013, + "real": -0.286476 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": -0.80388, + "real": -0.306006 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": -0.788406, + "real": -0.32565499999999997 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.770976, + "real": -0.345396 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.751626, + "real": -0.366596 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.730874, + "real": -0.387127 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.707593, + "real": -0.409158 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.68606, + "real": -0.430221 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.663537, + "real": -0.451651 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.642771, + "real": -0.472064 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.621557, + "real": -0.492785 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": -0.601246, + "real": -0.511839 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": -0.582287, + "real": -0.530273 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": -0.566432, + "real": -0.548574 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": -0.548872, + "real": -0.565633 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": -0.530396, + "real": -0.583156 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": -0.51267, + "real": -0.601258 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": -0.495281, + "real": -0.617424 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": -0.479711, + "real": -0.633359 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": -0.463199, + "real": -0.647467 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": -0.447016, + "real": -0.662272 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": -0.431653, + "real": -0.675909 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": -0.416584, + "real": -0.689623 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": -0.401496, + "real": -0.704996 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.385177, + "real": -0.718368 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.365328, + "real": -0.731797 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.346817, + "real": -0.745312 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.328551, + "real": -0.758904 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": -0.307827, + "real": -0.770258 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": -0.286952, + "real": -0.783934 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.266786, + "real": -0.795782 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.246682, + "real": -0.80672 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.22629, + "real": -0.817374 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.206605, + "real": -0.828481 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.187776, + "real": -0.836421 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.16766, + "real": -0.844038 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.14914, + "real": -0.852675 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.129646, + "real": -0.859261 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.111854, + "real": -0.864475 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.092673, + "real": -0.869017 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": -0.076327, + "real": -0.872674 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.060986, + "real": -0.878949 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.043451, + "real": -0.879785 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.030824, + "real": -0.884011 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.01379, + "real": -0.884682 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.002027, + "real": -0.886306 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.016821, + "real": -0.888035 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.034764, + "real": -0.889413 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.051499, + "real": -0.890382 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.070812, + "real": -0.890748 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.089454, + "real": -0.891646 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.108638, + "real": -0.892794 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.128119, + "real": -0.895018 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.146818, + "real": -0.902273 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.168372, + "real": -0.902421 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.191557, + "real": -0.897076 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.21441, + "real": -0.89131 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.237189, + "real": -0.884945 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.263654, + "real": -0.874255 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.292426, + "real": -0.863408 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.315864, + "real": -0.852037 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.346361, + "real": -0.837786 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.371998, + "real": -0.82628 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.401228, + "real": -0.814238 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.432181, + "real": -0.801443 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.461442, + "real": -0.788969 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.48999, + "real": -0.778655 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.520046, + "real": -0.768578 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.547398, + "real": -0.760662 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.574174, + "real": -0.751741 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.600212, + "real": -0.747297 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.625132, + "real": -0.741254 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.649249, + "real": -0.737886 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.672747, + "real": -0.736406 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.694147, + "real": -0.732428 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.714066, + "real": -0.730026 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.73474, + "real": -0.727562 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.755104, + "real": -0.71989 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.777712, + "real": -0.712965 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.803491, + "real": -0.696979 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.809456, + "real": -0.70544 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.826835, + "real": -0.697629 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.843763, + "real": -0.684117 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.857386, + "real": -0.669683 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.874527, + "real": -0.651475 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.889301, + "real": -0.631423 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.90258, + "real": -0.607718 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.91637, + "real": -0.585381 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.927074, + "real": -0.557831 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.937844, + "real": -0.529602 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.951108, + "real": -0.5015 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.962094, + "real": -0.471979 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.969808, + "real": -0.438209 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.982697, + "real": -0.400636 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.991349, + "real": -0.367752 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 1.0024, + "real": -0.332466 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 1.01663, + "real": -0.30042 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 1.02739, + "real": -0.264178 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 1.0405, + "real": -0.231266 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 1.05324, + "real": -0.197788 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 1.06697, + "real": -0.164932 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 1.08109, + "real": -0.132755 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 1.10062, + "real": -0.100756 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 1.11509, + "real": -0.064505 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P2_SHORT", + "ports": 1 + } + }, + "type": "Short" + }, + { + "params": { + "Cfirst": true, + "Cparallel": 0.0, + "Lseries": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 10906540148181998142, + "loss": 0.0, + "name": "Port 2", + "resistance": 50.0, + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.04434, + "real": 0.082276 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.005388, + "real": 0.063991 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.008104, + "real": 0.059762 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.011204, + "real": 0.06056 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.013977, + "real": 0.061152 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.016387, + "real": 0.062006 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.018565, + "real": 0.063366 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.020593, + "real": 0.064692 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.022523, + "real": 0.065933 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.023954, + "real": 0.067008 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.024951, + "real": 0.06784 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.025368, + "real": 0.068886 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.025948, + "real": 0.06958 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.026076, + "real": 0.069759 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.026254, + "real": 0.070017 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.026349, + "real": 0.069897 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.026233, + "real": 0.069709 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.026481, + "real": 0.069166 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.02689, + "real": 0.068271 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.027105, + "real": 0.067364 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.027184, + "real": 0.066324 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.02785, + "real": 0.064996 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.02843, + "real": 0.063661 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.029479, + "real": 0.06231 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.03054, + "real": 0.060991 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.031669, + "real": 0.059419 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.032802, + "real": 0.057565 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.03439, + "real": 0.056142 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.036056, + "real": 0.054318 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.038157, + "real": 0.052819 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.040716, + "real": 0.051377 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.042713, + "real": 0.050399 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.044788, + "real": 0.049797 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.047032, + "real": 0.04933 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.048791, + "real": 0.048759 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.050679, + "real": 0.048352 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.052437, + "real": 0.047895 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.053892, + "real": 0.047734 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.055238, + "real": 0.047418 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.056617, + "real": 0.047293 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.05814, + "real": 0.046653 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.058826, + "real": 0.046865 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.059492, + "real": 0.046633 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.060298, + "real": 0.046419 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.06063, + "real": 0.046053 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.060916, + "real": 0.045446 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.061053, + "real": 0.044677 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.06111, + "real": 0.043715 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.06112, + "real": 0.042605 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.061192, + "real": 0.041121 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.061101, + "real": 0.039497 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.061359, + "real": 0.037405 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.061623, + "real": 0.035412 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.061981, + "real": 0.033485 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.062529, + "real": 0.031379 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.063209, + "real": 0.029394 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.063794, + "real": 0.02743 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.064786, + "real": 0.025902 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.065104, + "real": 0.023344 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.065956, + "real": 0.021166 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.066748, + "real": 0.019083 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.067647, + "real": 0.01697 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.068607, + "real": 0.015089 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.069249, + "real": 0.01384 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.070457, + "real": 0.011571 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.071257, + "real": 0.00991 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.071714, + "real": 0.008614 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.072219, + "real": 0.007157 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.071606, + "real": 0.005723 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.072668, + "real": 0.004142 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.072369, + "real": 0.002313 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.072047, + "real": 0.00059 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.071863, + "real": -0.001328 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.071276, + "real": -0.003703 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.071142, + "real": -0.006287 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.070684, + "real": -0.008934 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.070421, + "real": -0.011676 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.06984, + "real": -0.013883 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.069311, + "real": -0.016846 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.068974, + "real": -0.019909 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.068575, + "real": -0.023044 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.068532, + "real": -0.026162 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.068483, + "real": -0.029462 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.068691, + "real": -0.033126 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.069175, + "real": -0.036638 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.06926, + "real": -0.040833 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.070383, + "real": -0.04306 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.071513, + "real": -0.045871 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.072635, + "real": -0.048705 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.074082, + "real": -0.051133 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.075288, + "real": -0.053056 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.076328, + "real": -0.054978 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.077836, + "real": -0.056814 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.078371, + "real": -0.058218 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.078884, + "real": -0.059286 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.079225, + "real": -0.06077 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.079776, + "real": -0.061625 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.079961, + "real": -0.062322 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.080216, + "real": -0.063117 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.079944, + "real": -0.06348 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.079435, + "real": -0.063695 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.078422, + "real": -0.063877 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.077404, + "real": -0.063646 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.077001, + "real": -0.064089 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.074813, + "real": -0.06564 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.072117, + "real": -0.066225 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.067705, + "real": -0.068721 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.066672, + "real": -0.068293 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.064248, + "real": -0.069376 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.061301, + "real": -0.071085 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.058767, + "real": -0.073024 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.055972, + "real": -0.074771 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.053623, + "real": -0.076972 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.050957, + "real": -0.079211 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.048349, + "real": -0.080886 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.046127, + "real": -0.08326 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.043961, + "real": -0.085541 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.041283, + "real": -0.087939 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.038678, + "real": -0.090599 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.036677, + "real": -0.093078 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.034932, + "real": -0.093069 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.033321, + "real": -0.098167 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.031804, + "real": -0.100347 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.030416, + "real": -0.102152 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.029124, + "real": -0.103726 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.027023, + "real": -0.104773 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.025842, + "real": -0.106451 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.024527, + "real": -0.107956 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.022638, + "real": -0.109273 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.020748, + "real": -0.11002 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.019077, + "real": -0.110779 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.016737, + "real": -0.111565 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.015004, + "real": -0.112188 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.01237, + "real": -0.112936 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.009985, + "real": -0.113676 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.007835, + "real": -0.114176 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.005409, + "real": -0.114596 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.002915, + "real": -0.11502 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.000417, + "real": -0.115299 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.00237, + "real": -0.115439 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.005112, + "real": -0.115858 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.008409, + "real": -0.116052 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.011363, + "real": -0.116495 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.014379, + "real": -0.117149 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.017057, + "real": -0.117808 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.019623, + "real": -0.1182 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.022293, + "real": -0.118573 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.024898, + "real": -0.119016 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.027263, + "real": -0.119018 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.029767, + "real": -0.118724 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.031683, + "real": -0.118464 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.034534, + "real": -0.11873 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.037103, + "real": -0.118296 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.039453, + "real": -0.117856 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.041516, + "real": -0.117613 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.04425, + "real": -0.117267 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.047768, + "real": -0.116678 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.05049, + "real": -0.116062 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.053094, + "real": -0.115195 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.055717, + "real": -0.114423 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.058263, + "real": -0.113621 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.06086, + "real": -0.112692 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.063446, + "real": -0.111399 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.066052, + "real": -0.110307 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.068821, + "real": -0.109082 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.071879, + "real": -0.10751 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.074761, + "real": -0.106412 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.07786, + "real": -0.105067 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.080909, + "real": -0.104217 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.083527, + "real": -0.10335 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.086218, + "real": -0.102196 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.089037, + "real": -0.101388 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.09154, + "real": -0.100188 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.093853, + "real": -0.098705 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.096162, + "real": -0.097188 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.098495, + "real": -0.095956 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.101894, + "real": -0.091565 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.103181, + "real": -0.093027 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.105562, + "real": -0.091368 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.107891, + "real": -0.090002 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.110116, + "real": -0.088477 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.112603, + "real": -0.086653 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.114943, + "real": -0.085102 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.116987, + "real": -0.083497 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.119021, + "real": -0.082093 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.121316, + "real": -0.080479 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.123285, + "real": -0.079117 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.124768, + "real": -0.078338 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.126546, + "real": -0.077076 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.128199, + "real": -0.075597 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.129633, + "real": -0.074386 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.130944, + "real": -0.073458 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.132711, + "real": -0.072151 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.134106, + "real": -0.070912 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.135044, + "real": -0.069772 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.135731, + "real": -0.069188 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.136022, + "real": -0.068652 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.135768, + "real": -0.067959 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.134833, + "real": -0.066738 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.133999, + "real": -0.065353 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.132941, + "real": -0.063854 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.131943, + "real": -0.062169 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.130483, + "real": -0.060305 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.128367, + "real": -0.058408 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.126118, + "real": -0.055906 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.124524, + "real": -0.052743 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.122428, + "real": -0.049602 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.12013, + "real": -0.046228 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.118007, + "real": -0.0426 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.116294, + "real": -0.038461 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.114535, + "real": -0.033972 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.11267, + "real": -0.029541 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.110936, + "real": -0.024499 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.109935, + "real": -0.01987 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.109436, + "real": -0.014767 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.109236, + "real": -0.010225 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.109519, + "real": -0.005531 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.107436, + "real": -0.002387 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.110935, + "real": 0.002842 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.111306, + "real": 0.007473 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.113169, + "real": 0.01119 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.113956, + "real": 0.014545 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.116179, + "real": 0.016593 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.117419, + "real": 0.019147 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.118767, + "real": 0.021713 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.12098, + "real": 0.023921 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.120689, + "real": 0.025938 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.119787, + "real": 0.028375 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.119002, + "real": 0.029624 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.117536, + "real": 0.030611 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.115552, + "real": 0.03127 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.113246, + "real": 0.031441 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.110453, + "real": 0.031349 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.106953, + "real": 0.031394 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.103036, + "real": 0.032363 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.098676, + "real": 0.033216 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.094692, + "real": 0.033889 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.090293, + "real": 0.035526 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.085554, + "real": 0.037103 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.080517, + "real": 0.040067 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.075773, + "real": 0.042859 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.070831, + "real": 0.045651 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.066857, + "real": 0.04961 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.062844, + "real": 0.053361 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.059925, + "real": 0.05705 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.066026, + "real": 0.058549 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.053402, + "real": 0.065156 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.05126, + "real": 0.068901 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.049215, + "real": 0.072959 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.047714, + "real": 0.076898 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.047698, + "real": 0.081012 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.04652, + "real": 0.083007 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.046046, + "real": 0.085128 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.045746, + "real": 0.086839 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.046803, + "real": 0.089015 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.045637, + "real": 0.089604 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.046222, + "real": 0.089528 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.045031, + "real": 0.088804 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.04524, + "real": 0.087847 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.043887, + "real": 0.086686 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.04325, + "real": 0.084861 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.041641, + "real": 0.082763 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.0394, + "real": 0.083225 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.037589, + "real": 0.078496 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.035323, + "real": 0.075842 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.03214, + "real": 0.0738 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.028888, + "real": 0.07111 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.023989, + "real": 0.068787 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.020624, + "real": 0.066593 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.016406, + "real": 0.06485 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.012404, + "real": 0.062721 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.008026, + "real": 0.061791 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.003411, + "real": 0.060509 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -2e-05, + "real": 0.05912 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.00366, + "real": 0.058446 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.0082, + "real": 0.05806 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.010807, + "real": 0.055415 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.014371, + "real": 0.055097 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.018018, + "real": 0.053906 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.020987, + "real": 0.053392 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.024031, + "real": 0.0531 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.026464, + "real": 0.051103 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.02889, + "real": 0.050412 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.031347, + "real": 0.049239 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.033775, + "real": 0.048054 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.035861, + "real": 0.047204 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.0372, + "real": 0.045332 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.038919, + "real": 0.042615 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.041123, + "real": 0.04178 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.042659, + "real": 0.039227 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.044659, + "real": 0.037003 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.047605, + "real": 0.034528 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.049601, + "real": 0.03266 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.049624, + "real": 0.031398 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.049973, + "real": 0.029604 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.05221, + "real": 0.027702 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.053523, + "real": 0.026254 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.05429, + "real": 0.023777 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.055171, + "real": 0.021542 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.055591, + "real": 0.020271 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.05579, + "real": 0.018002 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.055252, + "real": 0.016467 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.054834, + "real": 0.013912 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.05383, + "real": 0.01298 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.053138, + "real": 0.010931 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.051565, + "real": 0.008472 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.050314, + "real": 0.006213 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.048656, + "real": 0.003775 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.045867, + "real": 2.5e-05 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.043793, + "real": -0.002946 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.043062, + "real": -0.007465 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.039572, + "real": -0.009795 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.0361, + "real": -0.015381 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.033786, + "real": -0.019727 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.031461, + "real": -0.025232 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.029476, + "real": -0.030816 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.027, + "real": -0.035563 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.024844, + "real": -0.041328 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.024178, + "real": -0.045408 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.021883, + "real": -0.052316 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.020341, + "real": -0.058128 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.019182, + "real": -0.064714 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.019981, + "real": -0.070484 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.018769, + "real": -0.073199 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.019517, + "real": -0.080115 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.018021, + "real": -0.08727 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.019379, + "real": -0.090436 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.021871, + "real": -0.093944 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.0234, + "real": -0.096976 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.02263, + "real": -0.099805 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.023261, + "real": -0.101281 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.022606, + "real": -0.103842 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.022796, + "real": -0.105601 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.022595, + "real": -0.105034 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.020809, + "real": -0.106544 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.020466, + "real": -0.107175 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.017591, + "real": -0.105924 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.013172, + "real": -0.105265 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.01092, + "real": -0.105508 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.006772, + "real": -0.105559 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.001336, + "real": -0.104732 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.002754, + "real": -0.104738 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.008633, + "real": -0.105012 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.014514, + "real": -0.10562 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.021182, + "real": -0.106717 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.027376, + "real": -0.108395 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.033036, + "real": -0.109437 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.039185, + "real": -0.112385 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.044411, + "real": -0.114889 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.050867, + "real": -0.117006 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.056, + "real": -0.119196 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.060732, + "real": -0.122118 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.065042, + "real": -0.125447 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.072866, + "real": -0.128705 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.074847, + "real": -0.130872 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.076453, + "real": -0.132904 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.081032, + "real": -0.135179 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.085031, + "real": -0.137678 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.088238, + "real": -0.144999 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.091633, + "real": -0.140118 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.094537, + "real": -0.140523 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.09734, + "real": -0.140778 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.100722, + "real": -0.139047 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.104847, + "real": -0.138854 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.108981, + "real": -0.137615 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.113944, + "real": -0.137204 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.117478, + "real": -0.135854 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.124156, + "real": -0.13506 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.128956, + "real": -0.134308 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.134553, + "real": -0.132758 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.14005, + "real": -0.131386 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.145364, + "real": -0.130651 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.150667, + "real": -0.131082 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.156364, + "real": -0.131119 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.158043, + "real": -0.131785 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.166577, + "real": -0.1326 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.169047, + "real": -0.133919 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.171693, + "real": -0.134584 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.174891, + "real": -0.134004 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.175931, + "real": -0.134578 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.177426, + "real": -0.134943 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.177107, + "real": -0.132888 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.177662, + "real": -0.132175 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.176908, + "real": -0.128724 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.176441, + "real": -0.123993 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.176129, + "real": -0.119306 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.174955, + "real": -0.114979 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.175708, + "real": -0.108234 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.177033, + "real": -0.101993 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.176401, + "real": -0.093517 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.177902, + "real": -0.085857 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.178103, + "real": -0.076446 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.181018, + "real": -0.06627 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.183101, + "real": -0.05673 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.186847, + "real": -0.047548 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.191074, + "real": -0.036626 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.19688, + "real": -0.026746 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.202743, + "real": -0.017893 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.208887, + "real": -0.009237 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.215667, + "real": -0.000896 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.222508, + "real": 0.007117 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.230208, + "real": 0.013407 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.236628, + "real": 0.018771 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.244881, + "real": 0.024184 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.251781, + "real": 0.029938 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.258307, + "real": 0.033872 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.264241, + "real": 0.03979 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.271192, + "real": 0.041964 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.278036, + "real": 0.044669 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.283945, + "real": 0.045631 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.286954, + "real": 0.046851 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.290976, + "real": 0.046341 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.292897, + "real": 0.048 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.294492, + "real": 0.04855 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.29422, + "real": 0.049876 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.293658, + "real": 0.050845 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.292842, + "real": 0.052891 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.291335, + "real": 0.055057 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.290276, + "real": 0.057245 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.286657, + "real": 0.059965 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.283234, + "real": 0.06284 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.279825, + "real": 0.066084 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.275041, + "real": 0.070242 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.270804, + "real": 0.074401 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.264792, + "real": 0.078951 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.25929, + "real": 0.082881 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.254715, + "real": 0.088668 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.247347, + "real": 0.095947 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.240654, + "real": 0.105887 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.237128, + "real": 0.113658 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.233411, + "real": 0.120069 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.230194, + "real": 0.126759 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.226792, + "real": 0.132585 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.22323, + "real": 0.138658 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.219775, + "real": 0.144611 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.216231, + "real": 0.151261 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.213398, + "real": 0.156564 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.208601, + "real": 0.163189 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.205337, + "real": 0.168884 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.20191, + "real": 0.176223 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.19881, + "real": 0.180627 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.195572, + "real": 0.18665 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.193466, + "real": 0.191606 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.189018, + "real": 0.195344 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.185564, + "real": 0.199812 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.180534, + "real": 0.20518 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.175735, + "real": 0.210126 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.168883, + "real": 0.214992 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.160071, + "real": 0.218846 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.151761, + "real": 0.221739 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.137778, + "real": 0.219784 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.127243, + "real": 0.224391 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.119792, + "real": 0.229962 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.112106, + "real": 0.235802 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.104548, + "real": 0.244137 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.09951, + "real": 0.250723 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.093177, + "real": 0.257731 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.088795, + "real": 0.263663 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.087122, + "real": 0.269068 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.082137, + "real": 0.27268 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.069511, + "real": 0.274421 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.064512, + "real": 0.28243 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.063077, + "real": 0.288811 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.062405, + "real": 0.293557 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.063692, + "real": 0.295998 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.064516, + "real": 0.29684 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.064119, + "real": 0.29974 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.06191, + "real": 0.295559 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.062271, + "real": 0.293107 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.061824, + "real": 0.289744 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.056738, + "real": 0.282299 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.052536, + "real": 0.277287 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.045303, + "real": 0.271399 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.041612, + "real": 0.263686 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.035468, + "real": 0.254664 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.030307, + "real": 0.245583 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.017181, + "real": 0.248919 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.011946, + "real": 0.228253 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.001523, + "real": 0.218211 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -0.009572, + "real": 0.210861 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -0.022006, + "real": 0.202585 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -0.036144, + "real": 0.193094 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -0.049953, + "real": 0.186119 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -0.064473, + "real": 0.17964 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -0.079063, + "real": 0.174167 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -0.093307, + "real": 0.169797 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.109118, + "real": 0.166068 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.123344, + "real": 0.163022 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.138656, + "real": 0.164485 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.150619, + "real": 0.161551 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.161835, + "real": 0.163789 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.174233, + "real": 0.16169 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.186406, + "real": 0.162216 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.19651, + "real": 0.165171 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.205557, + "real": 0.166544 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.214775, + "real": 0.167259 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.220353, + "real": 0.171253 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.223299, + "real": 0.170381 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.2241, + "real": 0.16908 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.229948, + "real": 0.172391 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.233492, + "real": 0.176089 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P2_LOAD", + "ports": 1 + } + }, + "type": "Load" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 11226577289642454500, + "loss": 0.0, + "name": "Port 2 to 3", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.481192, + "real": 0.267293 + }, + { + "imag": 0.233324, + "real": 0.689701 + }, + { + "imag": 0.468735, + "real": 0.615153 + }, + { + "imag": -0.026865, + "real": 0.126386 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.091186, + "real": 0.262913 + }, + { + "imag": -0.054526, + "real": 0.840483 + }, + { + "imag": 0.144534, + "real": 0.882332 + }, + { + "imag": -0.010077, + "real": 0.129736 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.012177, + "real": 0.120403 + }, + { + "imag": -0.073425, + "real": 0.835403 + }, + { + "imag": -0.075771, + "real": 0.838166 + }, + { + "imag": -0.012008, + "real": 0.120913 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.016139, + "real": 0.120009 + }, + { + "imag": -0.107111, + "real": 0.832513 + }, + { + "imag": -0.109726, + "real": 0.834919 + }, + { + "imag": -0.015431, + "real": 0.120629 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.019381, + "real": 0.119104 + }, + { + "imag": -0.140097, + "real": 0.824986 + }, + { + "imag": -0.142216, + "real": 0.826859 + }, + { + "imag": -0.018504, + "real": 0.119987 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.022245, + "real": 0.118366 + }, + { + "imag": -0.170671, + "real": 0.816586 + }, + { + "imag": -0.173229, + "real": 0.818783 + }, + { + "imag": -0.021018, + "real": 0.119691 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.025171, + "real": 0.118468 + }, + { + "imag": -0.204671, + "real": 0.809853 + }, + { + "imag": -0.207108, + "real": 0.811556 + }, + { + "imag": -0.023509, + "real": 0.120093 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.027508, + "real": 0.118417 + }, + { + "imag": -0.235982, + "real": 0.80042 + }, + { + "imag": -0.238876, + "real": 0.80223 + }, + { + "imag": -0.025864, + "real": 0.12025 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.029715, + "real": 0.118352 + }, + { + "imag": -0.267039, + "real": 0.790132 + }, + { + "imag": -0.270407, + "real": 0.791384 + }, + { + "imag": -0.028091, + "real": 0.120759 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.031516, + "real": 0.118492 + }, + { + "imag": -0.298099, + "real": 0.777949 + }, + { + "imag": -0.300699, + "real": 0.779448 + }, + { + "imag": -0.029904, + "real": 0.12147 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.03319, + "real": 0.118708 + }, + { + "imag": -0.328067, + "real": 0.765224 + }, + { + "imag": -0.33008, + "real": 0.766879 + }, + { + "imag": -0.031314, + "real": 0.122054 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.034766, + "real": 0.119235 + }, + { + "imag": -0.357219, + "real": 0.751104 + }, + { + "imag": -0.359703, + "real": 0.752759 + }, + { + "imag": -0.032917, + "real": 0.122311 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.036629, + "real": 0.119838 + }, + { + "imag": -0.386219, + "real": 0.736455 + }, + { + "imag": -0.388457, + "real": 0.737962 + }, + { + "imag": -0.034665, + "real": 0.122608 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.037946, + "real": 0.120435 + }, + { + "imag": -0.415439, + "real": 0.719998 + }, + { + "imag": -0.417464, + "real": 0.721592 + }, + { + "imag": -0.036594, + "real": 0.122221 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.039046, + "real": 0.120281 + }, + { + "imag": -0.443659, + "real": 0.702992 + }, + { + "imag": -0.445489, + "real": 0.704366 + }, + { + "imag": -0.038733, + "real": 0.121896 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.04031, + "real": 0.120036 + }, + { + "imag": -0.470876, + "real": 0.684679 + }, + { + "imag": -0.473064, + "real": 0.685643 + }, + { + "imag": -0.040941, + "real": 0.121305 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.041729, + "real": 0.120015 + }, + { + "imag": -0.497335, + "real": 0.665432 + }, + { + "imag": -0.499568, + "real": 0.6661 + }, + { + "imag": -0.043126, + "real": 0.120348 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.043551, + "real": 0.119538 + }, + { + "imag": -0.523401, + "real": 0.64509 + }, + { + "imag": -0.525742, + "real": 0.645494 + }, + { + "imag": -0.045471, + "real": 0.11939 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.045648, + "real": 0.118896 + }, + { + "imag": -0.548078, + "real": 0.623819 + }, + { + "imag": -0.550355, + "real": 0.624131 + }, + { + "imag": -0.047924, + "real": 0.117779 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.047958, + "real": 0.118393 + }, + { + "imag": -0.572162, + "real": 0.601626 + }, + { + "imag": -0.574685, + "real": 0.601933 + }, + { + "imag": -0.050163, + "real": 0.11619 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.050639, + "real": 0.117539 + }, + { + "imag": -0.595321, + "real": 0.578398 + }, + { + "imag": -0.597681, + "real": 0.578529 + }, + { + "imag": -0.052439, + "real": 0.113916 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.053817, + "real": 0.116327 + }, + { + "imag": -0.618082, + "real": 0.553665 + }, + { + "imag": -0.620418, + "real": 0.553261 + }, + { + "imag": -0.055151, + "real": 0.111616 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.057368, + "real": 0.115601 + }, + { + "imag": -0.639666, + "real": 0.529123 + }, + { + "imag": -0.641977, + "real": 0.529661 + }, + { + "imag": -0.057519, + "real": 0.110014 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.061205, + "real": 0.114284 + }, + { + "imag": -0.659792, + "real": 0.503437 + }, + { + "imag": -0.661983, + "real": 0.503869 + }, + { + "imag": -0.060085, + "real": 0.108114 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.065342, + "real": 0.113035 + }, + { + "imag": -0.679239, + "real": 0.476523 + }, + { + "imag": -0.681556, + "real": 0.47698 + }, + { + "imag": -0.062568, + "real": 0.10648 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.069645, + "real": 0.11208 + }, + { + "imag": -0.697494, + "real": 0.449267 + }, + { + "imag": -0.699948, + "real": 0.448985 + }, + { + "imag": -0.064887, + "real": 0.104583 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.074277, + "real": 0.111025 + }, + { + "imag": -0.714184, + "real": 0.421698 + }, + { + "imag": -0.715736, + "real": 0.423049 + }, + { + "imag": -0.067191, + "real": 0.102399 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.07903, + "real": 0.109998 + }, + { + "imag": -0.729741, + "real": 0.392754 + }, + { + "imag": -0.731969, + "real": 0.393579 + }, + { + "imag": -0.069372, + "real": 0.101152 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.083875, + "real": 0.109193 + }, + { + "imag": -0.74426, + "real": 0.363369 + }, + { + "imag": -0.746375, + "real": 0.364401 + }, + { + "imag": -0.071892, + "real": 0.099627 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.088764, + "real": 0.108424 + }, + { + "imag": -0.757619, + "real": 0.333863 + }, + { + "imag": -0.759968, + "real": 0.334774 + }, + { + "imag": -0.074215, + "real": 0.098108 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.093657, + "real": 0.107866 + }, + { + "imag": -0.769807, + "real": 0.303738 + }, + { + "imag": -0.772028, + "real": 0.304198 + }, + { + "imag": -0.076259, + "real": 0.096463 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.098262, + "real": 0.107359 + }, + { + "imag": -0.780787, + "real": 0.272811 + }, + { + "imag": -0.783076, + "real": 0.273193 + }, + { + "imag": -0.077873, + "real": 0.095385 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.102498, + "real": 0.106815 + }, + { + "imag": -0.790712, + "real": 0.242089 + }, + { + "imag": -0.792933, + "real": 0.243029 + }, + { + "imag": -0.079697, + "real": 0.094789 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.106371, + "real": 0.106038 + }, + { + "imag": -0.799491, + "real": 0.210599 + }, + { + "imag": -0.801332, + "real": 0.211852 + }, + { + "imag": -0.081319, + "real": 0.094475 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.109921, + "real": 0.105066 + }, + { + "imag": -0.806995, + "real": 0.178859 + }, + { + "imag": -0.808687, + "real": 0.180552 + }, + { + "imag": -0.082637, + "real": 0.09385 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.113556, + "real": 0.10205 + }, + { + "imag": -0.813023, + "real": 0.147563 + }, + { + "imag": -0.815255, + "real": 0.1477 + }, + { + "imag": -0.084046, + "real": 0.09347 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.116711, + "real": 0.100947 + }, + { + "imag": -0.817994, + "real": 0.115113 + }, + { + "imag": -0.820115, + "real": 0.115638 + }, + { + "imag": -0.085053, + "real": 0.092769 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.119381, + "real": 0.099471 + }, + { + "imag": -0.821638, + "real": 0.082608 + }, + { + "imag": -0.82349, + "real": 0.082801 + }, + { + "imag": -0.086037, + "real": 0.092476 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.121076, + "real": 0.097986 + }, + { + "imag": -0.823971, + "real": 0.050508 + }, + { + "imag": -0.825675, + "real": 0.051374 + }, + { + "imag": -0.086643, + "real": 0.091943 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.122242, + "real": 0.095549 + }, + { + "imag": -0.825252, + "real": 0.018358 + }, + { + "imag": -0.826835, + "real": 0.017608 + }, + { + "imag": -0.087605, + "real": 0.091166 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.123207, + "real": 0.093106 + }, + { + "imag": -0.825117, + "real": -0.013642 + }, + { + "imag": -0.826336, + "real": -0.01599 + }, + { + "imag": -0.088218, + "real": 0.090148 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.122909, + "real": 0.089789 + }, + { + "imag": -0.824085, + "real": -0.04638 + }, + { + "imag": -0.825277, + "real": -0.046985 + }, + { + "imag": -0.088272, + "real": 0.089497 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.12303, + "real": 0.08633 + }, + { + "imag": -0.821415, + "real": -0.078377 + }, + { + "imag": -0.822902, + "real": -0.079486 + }, + { + "imag": -0.08826, + "real": 0.088446 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.122449, + "real": 0.081872 + }, + { + "imag": -0.817263, + "real": -0.110803 + }, + { + "imag": -0.819247, + "real": -0.112545 + }, + { + "imag": -0.088203, + "real": 0.087176 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.121898, + "real": 0.077934 + }, + { + "imag": -0.81232, + "real": -0.142757 + }, + { + "imag": -0.814069, + "real": -0.144325 + }, + { + "imag": -0.087789, + "real": 0.085558 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.121287, + "real": 0.072556 + }, + { + "imag": -0.806218, + "real": -0.174853 + }, + { + "imag": -0.808037, + "real": -0.176764 + }, + { + "imag": -0.087221, + "real": 0.083572 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.120492, + "real": 0.067255 + }, + { + "imag": -0.798285, + "real": -0.206783 + }, + { + "imag": -0.800324, + "real": -0.209271 + }, + { + "imag": -0.087196, + "real": 0.081653 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.119752, + "real": 0.061275 + }, + { + "imag": -0.789632, + "real": -0.237929 + }, + { + "imag": -0.791583, + "real": -0.241126 + }, + { + "imag": -0.08671, + "real": 0.079695 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.119263, + "real": 0.055276 + }, + { + "imag": -0.779253, + "real": -0.269234 + }, + { + "imag": -0.782003, + "real": -0.271708 + }, + { + "imag": -0.086538, + "real": 0.077396 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.118774, + "real": 0.049311 + }, + { + "imag": -0.767551, + "real": -0.300144 + }, + { + "imag": -0.769755, + "real": -0.303943 + }, + { + "imag": -0.086161, + "real": 0.075147 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.118372, + "real": 0.043169 + }, + { + "imag": -0.75487, + "real": -0.329969 + }, + { + "imag": -0.756671, + "real": -0.334149 + }, + { + "imag": -0.085653, + "real": 0.072111 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.118853, + "real": 0.036678 + }, + { + "imag": -0.740807, + "real": -0.359286 + }, + { + "imag": -0.742506, + "real": -0.364013 + }, + { + "imag": -0.086092, + "real": 0.068179 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.119668, + "real": 0.030288 + }, + { + "imag": -0.725329, + "real": -0.388258 + }, + { + "imag": -0.726892, + "real": -0.393213 + }, + { + "imag": -0.086417, + "real": 0.065423 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.1201, + "real": 0.024172 + }, + { + "imag": -0.709192, + "real": -0.416011 + }, + { + "imag": -0.709786, + "real": -0.421345 + }, + { + "imag": -0.08662, + "real": 0.062643 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.121324, + "real": 0.017997 + }, + { + "imag": -0.691369, + "real": -0.444038 + }, + { + "imag": -0.692673, + "real": -0.448277 + }, + { + "imag": -0.087425, + "real": 0.059566 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.122583, + "real": 0.011997 + }, + { + "imag": -0.67285, + "real": -0.470778 + }, + { + "imag": -0.673737, + "real": -0.475233 + }, + { + "imag": -0.087985, + "real": 0.05637 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.124063, + "real": 0.005807 + }, + { + "imag": -0.653587, + "real": -0.496576 + }, + { + "imag": -0.654686, + "real": -0.500582 + }, + { + "imag": -0.088798, + "real": 0.053564 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.12601, + "real": -0.000522 + }, + { + "imag": -0.633398, + "real": -0.521334 + }, + { + "imag": -0.63728, + "real": -0.523292 + }, + { + "imag": -0.090239, + "real": 0.051428 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.12831, + "real": -0.006064 + }, + { + "imag": -0.611922, + "real": -0.54576 + }, + { + "imag": -0.613126, + "real": -0.549873 + }, + { + "imag": -0.091041, + "real": 0.047704 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.130667, + "real": -0.011402 + }, + { + "imag": -0.590096, + "real": -0.568921 + }, + { + "imag": -0.590755, + "real": -0.57312 + }, + { + "imag": -0.091996, + "real": 0.044814 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.133092, + "real": -0.016062 + }, + { + "imag": -0.566884, + "real": -0.591483 + }, + { + "imag": -0.567995, + "real": -0.59525 + }, + { + "imag": -0.093018, + "real": 0.042156 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.134638, + "real": -0.020568 + }, + { + "imag": -0.542737, + "real": -0.613105 + }, + { + "imag": -0.543537, + "real": -0.61702 + }, + { + "imag": -0.094314, + "real": 0.03937 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.136172, + "real": -0.024727 + }, + { + "imag": -0.517986, + "real": -0.633835 + }, + { + "imag": -0.518169, + "real": -0.637231 + }, + { + "imag": -0.095751, + "real": 0.036887 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.137807, + "real": -0.02848 + }, + { + "imag": -0.492273, + "real": -0.653449 + }, + { + "imag": -0.494621, + "real": -0.655551 + }, + { + "imag": -0.096691, + "real": 0.034886 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.138372, + "real": -0.032601 + }, + { + "imag": -0.466141, + "real": -0.672265 + }, + { + "imag": -0.467422, + "real": -0.675402 + }, + { + "imag": -0.098148, + "real": 0.032232 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.138798, + "real": -0.036243 + }, + { + "imag": -0.439104, + "real": -0.689855 + }, + { + "imag": -0.440792, + "real": -0.692063 + }, + { + "imag": -0.099111, + "real": 0.030279 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.138663, + "real": -0.039594 + }, + { + "imag": -0.411665, + "real": -0.706283 + }, + { + "imag": -0.413117, + "real": -0.708443 + }, + { + "imag": -0.100264, + "real": 0.028414 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.138169, + "real": -0.042764 + }, + { + "imag": -0.383822, + "real": -0.721562 + }, + { + "imag": -0.385395, + "real": -0.72382 + }, + { + "imag": -0.100921, + "real": 0.026734 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.137028, + "real": -0.0454 + }, + { + "imag": -0.355854, + "real": -0.73523 + }, + { + "imag": -0.360516, + "real": -0.735614 + }, + { + "imag": -0.100462, + "real": 0.025209 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.135732, + "real": -0.048662 + }, + { + "imag": -0.326022, + "real": -0.749234 + }, + { + "imag": -0.327459, + "real": -0.751757 + }, + { + "imag": -0.101843, + "real": 0.023546 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.133304, + "real": -0.051175 + }, + { + "imag": -0.296573, + "real": -0.761902 + }, + { + "imag": -0.29891, + "real": -0.764362 + }, + { + "imag": -0.101199, + "real": 0.021708 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.131545, + "real": -0.054398 + }, + { + "imag": -0.266235, + "real": -0.772015 + }, + { + "imag": -0.267424, + "real": -0.77481 + }, + { + "imag": -0.101304, + "real": 0.019443 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.129067, + "real": -0.057008 + }, + { + "imag": -0.235746, + "real": -0.781515 + }, + { + "imag": -0.236536, + "real": -0.78441 + }, + { + "imag": -0.100985, + "real": 0.016984 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.125992, + "real": -0.05939 + }, + { + "imag": -0.204343, + "real": -0.790574 + }, + { + "imag": -0.205608, + "real": -0.793789 + }, + { + "imag": -0.100336, + "real": 0.014543 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.122667, + "real": -0.061919 + }, + { + "imag": -0.17266, + "real": -0.797519 + }, + { + "imag": -0.174067, + "real": -0.801195 + }, + { + "imag": -0.1001, + "real": 0.011516 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.119944, + "real": -0.064163 + }, + { + "imag": -0.139271, + "real": -0.803255 + }, + { + "imag": -0.140017, + "real": -0.806738 + }, + { + "imag": -0.099436, + "real": 0.008591 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.115764, + "real": -0.066066 + }, + { + "imag": -0.108135, + "real": -0.80816 + }, + { + "imag": -0.10949, + "real": -0.810998 + }, + { + "imag": -0.099514, + "real": 0.005515 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.11121, + "real": -0.069582 + }, + { + "imag": -0.077312, + "real": -0.811368 + }, + { + "imag": -0.077029, + "real": -0.814929 + }, + { + "imag": -0.098668, + "real": 0.00261 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.107496, + "real": -0.072437 + }, + { + "imag": -0.045326, + "real": -0.813184 + }, + { + "imag": -0.044502, + "real": -0.817026 + }, + { + "imag": -0.097951, + "real": -0.000692 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.104033, + "real": -0.07543 + }, + { + "imag": -0.013239, + "real": -0.814148 + }, + { + "imag": -0.012509, + "real": -0.817666 + }, + { + "imag": -0.0971, + "real": -0.004483 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.10054, + "real": -0.078381 + }, + { + "imag": 0.018853, + "real": -0.81346 + }, + { + "imag": 0.020289, + "real": -0.817298 + }, + { + "imag": -0.096004, + "real": -0.008607 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.097618, + "real": -0.081613 + }, + { + "imag": 0.050967, + "real": -0.81159 + }, + { + "imag": 0.052184, + "real": -0.815575 + }, + { + "imag": -0.095335, + "real": -0.012953 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.094538, + "real": -0.084404 + }, + { + "imag": 0.082838, + "real": -0.80865 + }, + { + "imag": 0.084493, + "real": -0.8123 + }, + { + "imag": -0.094548, + "real": -0.017175 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.091957, + "real": -0.087314 + }, + { + "imag": 0.114953, + "real": -0.804538 + }, + { + "imag": 0.116351, + "real": -0.807889 + }, + { + "imag": -0.093667, + "real": -0.02193 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.089306, + "real": -0.090355 + }, + { + "imag": 0.146443, + "real": -0.798992 + }, + { + "imag": 0.14783, + "real": -0.802431 + }, + { + "imag": -0.092827, + "real": -0.026155 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.086849, + "real": -0.093158 + }, + { + "imag": 0.177908, + "real": -0.792429 + }, + { + "imag": 0.181414, + "real": -0.794214 + }, + { + "imag": -0.091848, + "real": -0.031635 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.084548, + "real": -0.09586 + }, + { + "imag": 0.20923, + "real": -0.784517 + }, + { + "imag": 0.20969, + "real": -0.787337 + }, + { + "imag": -0.091449, + "real": -0.035214 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.081595, + "real": -0.099371 + }, + { + "imag": 0.239925, + "real": -0.775439 + }, + { + "imag": 0.241651, + "real": -0.777541 + }, + { + "imag": -0.090867, + "real": -0.039227 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.079763, + "real": -0.102218 + }, + { + "imag": 0.269638, + "real": -0.765095 + }, + { + "imag": 0.272227, + "real": -0.766848 + }, + { + "imag": -0.090175, + "real": -0.043241 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.078031, + "real": -0.104261 + }, + { + "imag": 0.299544, + "real": -0.753616 + }, + { + "imag": 0.30122, + "real": -0.755799 + }, + { + "imag": -0.089703, + "real": -0.046728 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.075944, + "real": -0.106518 + }, + { + "imag": 0.328075, + "real": -0.741568 + }, + { + "imag": 0.329767, + "real": -0.744214 + }, + { + "imag": -0.088683, + "real": -0.049497 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.073181, + "real": -0.108325 + }, + { + "imag": 0.357129, + "real": -0.728121 + }, + { + "imag": 0.358296, + "real": -0.730324 + }, + { + "imag": -0.087953, + "real": -0.052476 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.070967, + "real": -0.110128 + }, + { + "imag": 0.385879, + "real": -0.712907 + }, + { + "imag": 0.387674, + "real": -0.714401 + }, + { + "imag": -0.087047, + "real": -0.054548 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.068712, + "real": -0.111727 + }, + { + "imag": 0.412743, + "real": -0.697366 + }, + { + "imag": 0.414188, + "real": -0.699101 + }, + { + "imag": -0.085359, + "real": -0.056699 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.065984, + "real": -0.112313 + }, + { + "imag": 0.439375, + "real": -0.680819 + }, + { + "imag": 0.441511, + "real": -0.68187 + }, + { + "imag": -0.083905, + "real": -0.058196 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.063129, + "real": -0.112451 + }, + { + "imag": 0.465708, + "real": -0.663065 + }, + { + "imag": 0.466986, + "real": -0.664262 + }, + { + "imag": -0.082203, + "real": -0.059975 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.060263, + "real": -0.112819 + }, + { + "imag": 0.491471, + "real": -0.644241 + }, + { + "imag": 0.492848, + "real": -0.645087 + }, + { + "imag": -0.080743, + "real": -0.060909 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.056678, + "real": -0.112488 + }, + { + "imag": 0.515958, + "real": -0.623979 + }, + { + "imag": 0.518282, + "real": -0.625326 + }, + { + "imag": -0.079217, + "real": -0.062044 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.052534, + "real": -0.11219 + }, + { + "imag": 0.539597, + "real": -0.603246 + }, + { + "imag": 0.541625, + "real": -0.605074 + }, + { + "imag": -0.077559, + "real": -0.06268 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.048552, + "real": -0.111257 + }, + { + "imag": 0.562735, + "real": -0.581163 + }, + { + "imag": 0.56548, + "real": -0.58258 + }, + { + "imag": -0.075512, + "real": -0.063095 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.043942, + "real": -0.110395 + }, + { + "imag": 0.584517, + "real": -0.558698 + }, + { + "imag": 0.587209, + "real": -0.560489 + }, + { + "imag": -0.07347, + "real": -0.063533 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.03934, + "real": -0.110472 + }, + { + "imag": 0.605921, + "real": -0.535335 + }, + { + "imag": 0.608594, + "real": -0.536479 + }, + { + "imag": -0.070794, + "real": -0.06357 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.034923, + "real": -0.109788 + }, + { + "imag": 0.626338, + "real": -0.510783 + }, + { + "imag": 0.629191, + "real": -0.512087 + }, + { + "imag": -0.068587, + "real": -0.063696 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.030209, + "real": -0.10871 + }, + { + "imag": 0.645814, + "real": -0.484931 + }, + { + "imag": 0.648604, + "real": -0.486433 + }, + { + "imag": -0.065468, + "real": -0.063859 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.025652, + "real": -0.10911 + }, + { + "imag": 0.663495, + "real": -0.458875 + }, + { + "imag": 0.666291, + "real": -0.459835 + }, + { + "imag": -0.062182, + "real": -0.06338 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.019949, + "real": -0.109247 + }, + { + "imag": 0.681138, + "real": -0.433849 + }, + { + "imag": 0.684639, + "real": -0.433455 + }, + { + "imag": -0.059606, + "real": -0.064323 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.01543, + "real": -0.108643 + }, + { + "imag": 0.697255, + "real": -0.406761 + }, + { + "imag": 0.703802, + "real": -0.402047 + }, + { + "imag": -0.054834, + "real": -0.0669 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.009929, + "real": -0.109469 + }, + { + "imag": 0.712708, + "real": -0.378351 + }, + { + "imag": 0.715423, + "real": -0.377683 + }, + { + "imag": -0.052431, + "real": -0.066435 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.005752, + "real": -0.110189 + }, + { + "imag": 0.726772, + "real": -0.349926 + }, + { + "imag": 0.729009, + "real": -0.348806 + }, + { + "imag": -0.048899, + "real": -0.067666 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.001198, + "real": -0.110692 + }, + { + "imag": 0.739274, + "real": -0.320537 + }, + { + "imag": 0.741576, + "real": -0.319893 + }, + { + "imag": -0.045062, + "real": -0.069509 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": 0.003561, + "real": -0.112281 + }, + { + "imag": 0.750618, + "real": -0.290784 + }, + { + "imag": 0.753406, + "real": -0.289846 + }, + { + "imag": -0.041143, + "real": -0.071019 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": 0.007048, + "real": -0.11353 + }, + { + "imag": 0.760786, + "real": -0.261109 + }, + { + "imag": 0.763304, + "real": -0.260002 + }, + { + "imag": -0.037676, + "real": -0.072842 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.010379, + "real": -0.115242 + }, + { + "imag": 0.769921, + "real": -0.230512 + }, + { + "imag": 0.772454, + "real": -0.228981 + }, + { + "imag": -0.034169, + "real": -0.074502 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.013207, + "real": -0.117365 + }, + { + "imag": 0.777811, + "real": -0.199935 + }, + { + "imag": 0.780108, + "real": -0.198186 + }, + { + "imag": -0.030522, + "real": -0.075897 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.014996, + "real": -0.118905 + }, + { + "imag": 0.784285, + "real": -0.169555 + }, + { + "imag": 0.786515, + "real": -0.168505 + }, + { + "imag": -0.026617, + "real": -0.076966 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.01644, + "real": -0.121122 + }, + { + "imag": 0.790845, + "real": -0.138372 + }, + { + "imag": 0.79315, + "real": -0.136639 + }, + { + "imag": -0.023224, + "real": -0.078755 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.017747, + "real": -0.122812 + }, + { + "imag": 0.795382, + "real": -0.108041 + }, + { + "imag": 0.797296, + "real": -0.10546 + }, + { + "imag": -0.019586, + "real": -0.079864 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.01794, + "real": -0.125049 + }, + { + "imag": 0.798108, + "real": -0.076032 + }, + { + "imag": 0.800014, + "real": -0.073803 + }, + { + "imag": -0.016139, + "real": -0.081111 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.017548, + "real": -0.126382 + }, + { + "imag": 0.799942, + "real": -0.044906 + }, + { + "imag": 0.802061, + "real": -0.042373 + }, + { + "imag": -0.013171, + "real": -0.081901 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.017039, + "real": -0.126957 + }, + { + "imag": 0.800528, + "real": -0.013705 + }, + { + "imag": 0.802984, + "real": -0.011113 + }, + { + "imag": -0.01052, + "real": -0.082683 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.01621, + "real": -0.127431 + }, + { + "imag": 0.799914, + "real": 0.01877 + }, + { + "imag": 0.80429, + "real": 0.034871 + }, + { + "imag": -0.00843, + "real": -0.079594 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.014459, + "real": -0.127497 + }, + { + "imag": 0.798151, + "real": 0.049054 + }, + { + "imag": 0.801064, + "real": 0.051827 + }, + { + "imag": -0.005824, + "real": -0.082998 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.012838, + "real": -0.126916 + }, + { + "imag": 0.795015, + "real": 0.080153 + }, + { + "imag": 0.797813, + "real": 0.082908 + }, + { + "imag": -0.003555, + "real": -0.08253 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.011049, + "real": -0.12636 + }, + { + "imag": 0.790833, + "real": 0.11144 + }, + { + "imag": 0.79338, + "real": 0.113811 + }, + { + "imag": -0.001541, + "real": -0.081138 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.009465, + "real": -0.124971 + }, + { + "imag": 0.786464, + "real": 0.141562 + }, + { + "imag": 0.789376, + "real": 0.14429 + }, + { + "imag": 0.000442, + "real": -0.080115 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.008362, + "real": -0.121928 + }, + { + "imag": 0.780178, + "real": 0.17373 + }, + { + "imag": 0.784077, + "real": 0.17575 + }, + { + "imag": 0.002756, + "real": -0.077505 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.005788, + "real": -0.120898 + }, + { + "imag": 0.772567, + "real": 0.202856 + }, + { + "imag": 0.77593, + "real": 0.205484 + }, + { + "imag": 0.004136, + "real": -0.076398 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.004606, + "real": -0.117932 + }, + { + "imag": 0.764535, + "real": 0.233624 + }, + { + "imag": 0.767928, + "real": 0.235867 + }, + { + "imag": 0.005579, + "real": -0.07494 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.003189, + "real": -0.115617 + }, + { + "imag": 0.755155, + "real": 0.263303 + }, + { + "imag": 0.758321, + "real": 0.26562 + }, + { + "imag": 0.007115, + "real": -0.072709 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.003276, + "real": -0.112743 + }, + { + "imag": 0.744084, + "real": 0.292943 + }, + { + "imag": 0.746615, + "real": 0.295188 + }, + { + "imag": 0.008746, + "real": -0.070189 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.002571, + "real": -0.109806 + }, + { + "imag": 0.732095, + "real": 0.322006 + }, + { + "imag": 0.734732, + "real": 0.323564 + }, + { + "imag": 0.009844, + "real": -0.067487 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.004024, + "real": -0.106847 + }, + { + "imag": 0.718538, + "real": 0.350493 + }, + { + "imag": 0.720736, + "real": 0.35273 + }, + { + "imag": 0.011193, + "real": -0.065395 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.00506, + "real": -0.104146 + }, + { + "imag": 0.704117, + "real": 0.378665 + }, + { + "imag": 0.705703, + "real": 0.381157 + }, + { + "imag": 0.012439, + "real": -0.06313 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.007544, + "real": -0.101793 + }, + { + "imag": 0.687893, + "real": 0.406245 + }, + { + "imag": 0.690383, + "real": 0.408438 + }, + { + "imag": 0.014228, + "real": -0.061013 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.01026, + "real": -0.099755 + }, + { + "imag": 0.670714, + "real": 0.432886 + }, + { + "imag": 0.67383, + "real": 0.434894 + }, + { + "imag": 0.015347, + "real": -0.058654 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.012914, + "real": -0.097874 + }, + { + "imag": 0.653053, + "real": 0.45788 + }, + { + "imag": 0.655358, + "real": 0.459995 + }, + { + "imag": 0.016389, + "real": -0.05624 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.01602, + "real": -0.096759 + }, + { + "imag": 0.633926, + "real": 0.482955 + }, + { + "imag": 0.636255, + "real": 0.48499 + }, + { + "imag": 0.01736, + "real": -0.053756 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.018383, + "real": -0.095338 + }, + { + "imag": 0.614516, + "real": 0.508042 + }, + { + "imag": 0.617, + "real": 0.50981 + }, + { + "imag": 0.018523, + "real": -0.051622 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.02152, + "real": -0.094896 + }, + { + "imag": 0.593799, + "real": 0.5315 + }, + { + "imag": 0.595882, + "real": 0.533062 + }, + { + "imag": 0.01979, + "real": -0.04965 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.024728, + "real": -0.094754 + }, + { + "imag": 0.572249, + "real": 0.553947 + }, + { + "imag": 0.57401, + "real": 0.556361 + }, + { + "imag": 0.020759, + "real": -0.047732 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.027953, + "real": -0.094848 + }, + { + "imag": 0.549801, + "real": 0.575369 + }, + { + "imag": 0.551383, + "real": 0.57858 + }, + { + "imag": 0.021656, + "real": -0.046205 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.030719, + "real": -0.09508 + }, + { + "imag": 0.527082, + "real": 0.595904 + }, + { + "imag": 0.529568, + "real": 0.598919 + }, + { + "imag": 0.022584, + "real": -0.044992 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.032942, + "real": -0.096275 + }, + { + "imag": 0.503022, + "real": 0.615567 + }, + { + "imag": 0.503967, + "real": 0.619752 + }, + { + "imag": 0.022665, + "real": -0.044018 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.03477, + "real": -0.097826 + }, + { + "imag": 0.478586, + "real": 0.633629 + }, + { + "imag": 0.479071, + "real": 0.638314 + }, + { + "imag": 0.023145, + "real": -0.04326 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.036851, + "real": -0.098612 + }, + { + "imag": 0.453573, + "real": 0.651642 + }, + { + "imag": 0.453487, + "real": 0.655783 + }, + { + "imag": 0.023125, + "real": -0.042656 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.038375, + "real": -0.10001 + }, + { + "imag": 0.427218, + "real": 0.668696 + }, + { + "imag": 0.42695, + "real": 0.67246 + }, + { + "imag": 0.022768, + "real": -0.041988 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.038954, + "real": -0.101585 + }, + { + "imag": 0.401149, + "real": 0.684351 + }, + { + "imag": 0.400351, + "real": 0.687871 + }, + { + "imag": 0.022562, + "real": -0.041367 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.038836, + "real": -0.103476 + }, + { + "imag": 0.373726, + "real": 0.699216 + }, + { + "imag": 0.372771, + "real": 0.701957 + }, + { + "imag": 0.022193, + "real": -0.040732 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.038116, + "real": -0.104755 + }, + { + "imag": 0.345417, + "real": 0.713393 + }, + { + "imag": 0.344322, + "real": 0.715892 + }, + { + "imag": 0.021635, + "real": -0.039538 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.037207, + "real": -0.105847 + }, + { + "imag": 0.317264, + "real": 0.726293 + }, + { + "imag": 0.315569, + "real": 0.728212 + }, + { + "imag": 0.020957, + "real": -0.038448 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.036633, + "real": -0.106309 + }, + { + "imag": 0.287935, + "real": 0.73809 + }, + { + "imag": 0.286394, + "real": 0.740279 + }, + { + "imag": 0.020785, + "real": -0.037071 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.033693, + "real": -0.109717 + }, + { + "imag": 0.260447, + "real": 0.748937 + }, + { + "imag": 0.259214, + "real": 0.749707 + }, + { + "imag": 0.020223, + "real": -0.036415 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.03179, + "real": -0.110825 + }, + { + "imag": 0.231091, + "real": 0.758736 + }, + { + "imag": 0.22937, + "real": 0.759032 + }, + { + "imag": 0.020049, + "real": -0.035349 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.030554, + "real": -0.111125 + }, + { + "imag": 0.200976, + "real": 0.767234 + }, + { + "imag": 0.199983, + "real": 0.767102 + }, + { + "imag": 0.019937, + "real": -0.034146 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.028463, + "real": -0.1116 + }, + { + "imag": 0.170649, + "real": 0.7742 + }, + { + "imag": 0.171201, + "real": 0.774124 + }, + { + "imag": 0.019533, + "real": -0.033292 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.026212, + "real": -0.11191 + }, + { + "imag": 0.139783, + "real": 0.779851 + }, + { + "imag": 0.140516, + "real": 0.781241 + }, + { + "imag": 0.01966, + "real": -0.032356 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.024681, + "real": -0.11218 + }, + { + "imag": 0.108538, + "real": 0.784163 + }, + { + "imag": 0.107918, + "real": 0.78722 + }, + { + "imag": 0.02038, + "real": -0.031533 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.02304, + "real": -0.112363 + }, + { + "imag": 0.077379, + "real": 0.787381 + }, + { + "imag": 0.07649, + "real": 0.790231 + }, + { + "imag": 0.020405, + "real": -0.030769 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.02199, + "real": -0.111504 + }, + { + "imag": 0.045658, + "real": 0.789413 + }, + { + "imag": 0.045404, + "real": 0.791824 + }, + { + "imag": 0.020688, + "real": -0.02991 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.020879, + "real": -0.11127 + }, + { + "imag": 0.014313, + "real": 0.789977 + }, + { + "imag": 0.014162, + "real": 0.792807 + }, + { + "imag": 0.020708, + "real": -0.028861 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.020597, + "real": -0.110772 + }, + { + "imag": -0.017287, + "real": 0.789203 + }, + { + "imag": -0.016956, + "real": 0.792076 + }, + { + "imag": 0.021046, + "real": -0.027842 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.020013, + "real": -0.109854 + }, + { + "imag": -0.048322, + "real": 0.787459 + }, + { + "imag": -0.047435, + "real": 0.790257 + }, + { + "imag": 0.02127, + "real": -0.027044 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.020189, + "real": -0.108704 + }, + { + "imag": -0.079206, + "real": 0.78387 + }, + { + "imag": -0.078089, + "real": 0.787249 + }, + { + "imag": 0.021464, + "real": -0.026863 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.02087, + "real": -0.107897 + }, + { + "imag": -0.110067, + "real": 0.779553 + }, + { + "imag": -0.109194, + "real": 0.783006 + }, + { + "imag": 0.021563, + "real": -0.026408 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.022149, + "real": -0.106905 + }, + { + "imag": -0.140709, + "real": 0.773739 + }, + { + "imag": -0.13957, + "real": 0.778022 + }, + { + "imag": 0.021610999999999998, + "real": -0.026431 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.024613, + "real": -0.105504 + }, + { + "imag": -0.17036, + "real": 0.766758 + }, + { + "imag": -0.170375, + "real": 0.771702 + }, + { + "imag": 0.021693, + "real": -0.026061 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.026628, + "real": -0.104797 + }, + { + "imag": -0.200054, + "real": 0.758659 + }, + { + "imag": -0.200429, + "real": 0.76481 + }, + { + "imag": 0.021666, + "real": -0.026342 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.028759, + "real": -0.104565 + }, + { + "imag": -0.22905, + "real": 0.749275 + }, + { + "imag": -0.229447, + "real": 0.756134 + }, + { + "imag": 0.02166, + "real": -0.026774 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.032021, + "real": -0.104025 + }, + { + "imag": -0.257722, + "real": 0.738969 + }, + { + "imag": -0.25853, + "real": 0.746307 + }, + { + "imag": 0.02164, + "real": -0.027925 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.035451, + "real": -0.102853 + }, + { + "imag": -0.286251, + "real": 0.727963 + }, + { + "imag": -0.287614, + "real": 0.735442 + }, + { + "imag": 0.021234, + "real": -0.029601 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.039132, + "real": -0.101702 + }, + { + "imag": -0.314257, + "real": 0.715739 + }, + { + "imag": -0.315794, + "real": 0.722954 + }, + { + "imag": 0.020946, + "real": -0.031149 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.043848, + "real": -0.101847 + }, + { + "imag": -0.341281, + "real": 0.702756 + }, + { + "imag": -0.344022, + "real": 0.7093 + }, + { + "imag": 0.020024, + "real": -0.032799 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.048264, + "real": -0.102117 + }, + { + "imag": -0.367755, + "real": 0.689035 + }, + { + "imag": -0.371578, + "real": 0.694878 + }, + { + "imag": 0.019156, + "real": -0.034404 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.052716, + "real": -0.102328 + }, + { + "imag": -0.394025, + "real": 0.674369 + }, + { + "imag": -0.398267, + "real": 0.679128 + }, + { + "imag": 0.018301, + "real": -0.036372 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.057051, + "real": -0.103016 + }, + { + "imag": -0.420218, + "real": 0.659005 + }, + { + "imag": -0.424116, + "real": 0.662964 + }, + { + "imag": 0.017374, + "real": -0.038002 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.06105, + "real": -0.103094 + }, + { + "imag": -0.444776, + "real": 0.641872 + }, + { + "imag": -0.449165, + "real": 0.645203 + }, + { + "imag": 0.01659, + "real": -0.039839 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.067579, + "real": -0.101532 + }, + { + "imag": -0.471197, + "real": 0.622902 + }, + { + "imag": -0.477317, + "real": 0.622715 + }, + { + "imag": 0.016726, + "real": -0.039309 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.069911, + "real": -0.103691 + }, + { + "imag": -0.49354, + "real": 0.605592 + }, + { + "imag": -0.496727, + "real": 0.607983 + }, + { + "imag": 0.015208, + "real": -0.043738 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.074046, + "real": -0.103922 + }, + { + "imag": -0.516886, + "real": 0.585979 + }, + { + "imag": -0.519784, + "real": 0.587717 + }, + { + "imag": 0.01494, + "real": -0.045293 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.078311, + "real": -0.104265 + }, + { + "imag": -0.5396, + "real": 0.565023 + }, + { + "imag": -0.541733, + "real": 0.566388 + }, + { + "imag": 0.01456, + "real": -0.047205 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.082355, + "real": -0.104084 + }, + { + "imag": -0.561203, + "real": 0.542988 + }, + { + "imag": -0.562929, + "real": 0.544438 + }, + { + "imag": 0.014222, + "real": -0.048676 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.085808, + "real": -0.104036 + }, + { + "imag": -0.582233, + "real": 0.520267 + }, + { + "imag": -0.583723, + "real": 0.52214 + }, + { + "imag": 0.014775, + "real": -0.050421 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.088721, + "real": -0.103948 + }, + { + "imag": -0.602132, + "real": 0.496301 + }, + { + "imag": -0.603223, + "real": 0.498407 + }, + { + "imag": 0.015456, + "real": -0.052055 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.091365, + "real": -0.103861 + }, + { + "imag": -0.620924, + "real": 0.471564 + }, + { + "imag": -0.621735, + "real": 0.474428 + }, + { + "imag": 0.016328, + "real": -0.053666 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.093577, + "real": -0.104051 + }, + { + "imag": -0.638718, + "real": 0.446193 + }, + { + "imag": -0.639878, + "real": 0.44916 + }, + { + "imag": 0.017491, + "real": -0.055434 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.095336, + "real": -0.104037 + }, + { + "imag": -0.656377, + "real": 0.420019 + }, + { + "imag": -0.657641, + "real": 0.423356 + }, + { + "imag": 0.019497, + "real": -0.057081 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.096542, + "real": -0.103944 + }, + { + "imag": -0.671923, + "real": 0.393458 + }, + { + "imag": -0.673864, + "real": 0.397303 + }, + { + "imag": 0.021641, + "real": -0.059166 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.0976, + "real": -0.103258 + }, + { + "imag": -0.685081, + "real": 0.366531 + }, + { + "imag": -0.688548, + "real": 0.370528 + }, + { + "imag": 0.022726, + "real": -0.061303 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.098716, + "real": -0.102294 + }, + { + "imag": -0.698244, + "real": 0.339077 + }, + { + "imag": -0.702209, + "real": 0.343012 + }, + { + "imag": 0.025028, + "real": -0.063557 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.099289, + "real": -0.101418 + }, + { + "imag": -0.710471, + "real": 0.311056 + }, + { + "imag": -0.714481, + "real": 0.315176 + }, + { + "imag": 0.027288, + "real": -0.065392 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.099766, + "real": -0.10043 + }, + { + "imag": -0.720914, + "real": 0.283024 + }, + { + "imag": -0.724838, + "real": 0.28657 + }, + { + "imag": 0.030234, + "real": -0.068123 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.100897, + "real": -0.098965 + }, + { + "imag": -0.730332, + "real": 0.254727 + }, + { + "imag": -0.735521, + "real": 0.257116 + }, + { + "imag": 0.032749, + "real": -0.070639 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.101945, + "real": -0.097673 + }, + { + "imag": -0.739628, + "real": 0.225882 + }, + { + "imag": -0.744316, + "real": 0.228619 + }, + { + "imag": 0.035216, + "real": -0.072554 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.102753, + "real": -0.096127 + }, + { + "imag": -0.746914, + "real": 0.197012 + }, + { + "imag": -0.752332, + "real": 0.198837 + }, + { + "imag": 0.037936, + "real": -0.075509 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.104203, + "real": -0.094595 + }, + { + "imag": -0.753571, + "real": 0.168106 + }, + { + "imag": -0.759181, + "real": 0.16983 + }, + { + "imag": 0.040396, + "real": -0.077928 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.105403, + "real": -0.093106 + }, + { + "imag": -0.76052, + "real": 0.137898 + }, + { + "imag": -0.764689, + "real": 0.140549 + }, + { + "imag": 0.041875, + "real": -0.08031 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.106852, + "real": -0.091958 + }, + { + "imag": -0.765381, + "real": 0.109605 + }, + { + "imag": -0.76946, + "real": 0.111656 + }, + { + "imag": 0.043788, + "real": -0.082803 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.108687, + "real": -0.089852 + }, + { + "imag": -0.767704, + "real": 0.080426 + }, + { + "imag": -0.773445, + "real": 0.082018 + }, + { + "imag": 0.046109, + "real": -0.084979 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.110907, + "real": -0.087818 + }, + { + "imag": -0.770332, + "real": 0.050454 + }, + { + "imag": -0.775493, + "real": 0.05262 + }, + { + "imag": 0.048148, + "real": -0.086716 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.113382, + "real": -0.085681 + }, + { + "imag": -0.772076, + "real": 0.020262 + }, + { + "imag": -0.775863, + "real": 0.022298 + }, + { + "imag": 0.04923, + "real": -0.088564 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.116185, + "real": -0.084062 + }, + { + "imag": -0.772486, + "real": -0.009298 + }, + { + "imag": -0.775634, + "real": -0.007986 + }, + { + "imag": 0.050376, + "real": -0.089769 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.119728, + "real": -0.081748 + }, + { + "imag": -0.772176, + "real": -0.039957 + }, + { + "imag": -0.775097, + "real": -0.038746 + }, + { + "imag": 0.051778, + "real": -0.090075 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.12355, + "real": -0.07944 + }, + { + "imag": -0.770616, + "real": -0.070648 + }, + { + "imag": -0.773182, + "real": -0.069772 + }, + { + "imag": 0.052948, + "real": -0.090244 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.127774, + "real": -0.077861 + }, + { + "imag": -0.767828, + "real": -0.10128 + }, + { + "imag": -0.770474, + "real": -0.099478 + }, + { + "imag": 0.054238, + "real": -0.089855 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.131408, + "real": -0.076759 + }, + { + "imag": -0.763448, + "real": -0.132053 + }, + { + "imag": -0.766254, + "real": -0.129397 + }, + { + "imag": 0.055444, + "real": -0.089447 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.134674, + "real": -0.075703 + }, + { + "imag": -0.757405, + "real": -0.161557 + }, + { + "imag": -0.760105, + "real": -0.159443 + }, + { + "imag": 0.057451, + "real": -0.088278 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.137617, + "real": -0.073816 + }, + { + "imag": -0.750461, + "real": -0.19169 + }, + { + "imag": -0.752882, + "real": -0.189282 + }, + { + "imag": 0.059413, + "real": -0.086688 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.141592, + "real": -0.071544 + }, + { + "imag": -0.74208, + "real": -0.221311 + }, + { + "imag": -0.743847, + "real": -0.218623 + }, + { + "imag": 0.060968, + "real": -0.084684 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.14443, + "real": -0.069807 + }, + { + "imag": -0.732364, + "real": -0.250833 + }, + { + "imag": -0.734424, + "real": -0.248046 + }, + { + "imag": 0.063451, + "real": -0.082491 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.147129, + "real": -0.068092 + }, + { + "imag": -0.721946, + "real": -0.279587 + }, + { + "imag": -0.723386, + "real": -0.277099 + }, + { + "imag": 0.066944, + "real": -0.079952 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.149094, + "real": -0.065682 + }, + { + "imag": -0.710159, + "real": -0.308464 + }, + { + "imag": -0.711725, + "real": -0.305364 + }, + { + "imag": 0.070625, + "real": -0.077229 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.151413, + "real": -0.063097 + }, + { + "imag": -0.696356, + "real": -0.334934 + }, + { + "imag": -0.698757, + "real": -0.334263 + }, + { + "imag": 0.074079, + "real": -0.073561 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.152879, + "real": -0.060278 + }, + { + "imag": -0.68258, + "real": -0.361226 + }, + { + "imag": -0.684708, + "real": -0.36099 + }, + { + "imag": 0.078139, + "real": -0.070241 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.154466, + "real": -0.056759 + }, + { + "imag": -0.667319, + "real": -0.387208 + }, + { + "imag": -0.669408, + "real": -0.386745 + }, + { + "imag": 0.082237, + "real": -0.066894 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.155666, + "real": -0.052681 + }, + { + "imag": -0.651331, + "real": -0.41257 + }, + { + "imag": -0.652955, + "real": -0.411847 + }, + { + "imag": 0.087366, + "real": -0.062705 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.156313, + "real": -0.048312 + }, + { + "imag": -0.635146, + "real": -0.437042 + }, + { + "imag": -0.635326, + "real": -0.436635 + }, + { + "imag": 0.092552, + "real": -0.059132 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.156217, + "real": -0.043134 + }, + { + "imag": -0.617513, + "real": -0.460568 + }, + { + "imag": -0.617108, + "real": -0.460408 + }, + { + "imag": 0.098227, + "real": -0.054463 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.155863, + "real": -0.037432 + }, + { + "imag": -0.598711, + "real": -0.484856 + }, + { + "imag": -0.596855, + "real": -0.487956 + }, + { + "imag": 0.100906, + "real": -0.052089 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.156586, + "real": -0.032807 + }, + { + "imag": -0.580656, + "real": -0.506463 + }, + { + "imag": -0.579181, + "real": -0.50719 + }, + { + "imag": 0.108962, + "real": -0.046165 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.156508, + "real": -0.026577 + }, + { + "imag": -0.560206, + "real": -0.527909 + }, + { + "imag": -0.559399, + "real": -0.528688 + }, + { + "imag": 0.114937, + "real": -0.04141 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.156223, + "real": -0.019951 + }, + { + "imag": -0.538838, + "real": -0.548706 + }, + { + "imag": -0.538739, + "real": -0.549074 + }, + { + "imag": 0.120047, + "real": -0.036579 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.156287, + "real": -0.012217 + }, + { + "imag": -0.517154, + "real": -0.56849 + }, + { + "imag": -0.517279, + "real": -0.568103 + }, + { + "imag": 0.125118, + "real": -0.032249 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.156007, + "real": -0.004933 + }, + { + "imag": -0.493907, + "real": -0.58737 + }, + { + "imag": -0.494726, + "real": -0.58601 + }, + { + "imag": 0.129622, + "real": -0.028235 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.155831, + "real": 0.003408 + }, + { + "imag": -0.471052, + "real": -0.604586 + }, + { + "imag": -0.471352, + "real": -0.60412 + }, + { + "imag": 0.133242, + "real": -0.023681 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.155515, + "real": 0.011948 + }, + { + "imag": -0.447833, + "real": -0.621396 + }, + { + "imag": -0.448398, + "real": -0.621596 + }, + { + "imag": 0.136269, + "real": -0.018832 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.153923, + "real": 0.019009 + }, + { + "imag": -0.424664, + "real": -0.637256 + }, + { + "imag": -0.425007, + "real": -0.638303 + }, + { + "imag": 0.139786, + "real": -0.015086 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.153105, + "real": 0.025803 + }, + { + "imag": -0.400356, + "real": -0.652841 + }, + { + "imag": -0.401138, + "real": -0.65431 + }, + { + "imag": 0.139387, + "real": -0.011619 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.152737, + "real": 0.032222 + }, + { + "imag": -0.375208, + "real": -0.667703 + }, + { + "imag": -0.37633, + "real": -0.669789 + }, + { + "imag": 0.13874, + "real": -0.008196 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.152203, + "real": 0.038187 + }, + { + "imag": -0.348828, + "real": -0.682227 + }, + { + "imag": -0.350608, + "real": -0.684335 + }, + { + "imag": 0.13977, + "real": -0.005485 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.152489, + "real": 0.043207 + }, + { + "imag": -0.322894, + "real": -0.695161 + }, + { + "imag": -0.323734, + "real": -0.698028 + }, + { + "imag": 0.139807, + "real": -0.001922 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.1526, + "real": 0.048148 + }, + { + "imag": -0.295678, + "real": -0.707238 + }, + { + "imag": -0.295918, + "real": -0.710321 + }, + { + "imag": 0.139886, + "real": 0.001712 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.153276, + "real": 0.052718 + }, + { + "imag": -0.268089, + "real": -0.718363 + }, + { + "imag": -0.2678, + "real": -0.720989 + }, + { + "imag": 0.139891, + "real": 0.00525 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.153611, + "real": 0.056974 + }, + { + "imag": -0.24013, + "real": -0.728546 + }, + { + "imag": -0.239359, + "real": -0.730663 + }, + { + "imag": 0.13904, + "real": 0.008536 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.153933, + "real": 0.060739 + }, + { + "imag": -0.211872, + "real": -0.73816 + }, + { + "imag": -0.211427, + "real": -0.740183 + }, + { + "imag": 0.137485, + "real": 0.011883 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.153796, + "real": 0.064741 + }, + { + "imag": -0.183271, + "real": -0.74595 + }, + { + "imag": -0.18201, + "real": -0.747992 + }, + { + "imag": 0.135682, + "real": 0.01679 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.153136, + "real": 0.068818 + }, + { + "imag": -0.15497, + "real": -0.75289 + }, + { + "imag": -0.153311, + "real": -0.754568 + }, + { + "imag": 0.132728, + "real": 0.020923 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.152569, + "real": 0.071684 + }, + { + "imag": -0.124813, + "real": -0.759073 + }, + { + "imag": -0.123029, + "real": -0.760369 + }, + { + "imag": 0.130379, + "real": 0.025532 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.151516, + "real": 0.074671 + }, + { + "imag": -0.093881, + "real": -0.76459 + }, + { + "imag": -0.093111, + "real": -0.764621 + }, + { + "imag": 0.127212, + "real": 0.031241 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.149708, + "real": 0.076992 + }, + { + "imag": -0.063271, + "real": -0.768661 + }, + { + "imag": -0.062088, + "real": -0.767249 + }, + { + "imag": 0.123589, + "real": 0.036622 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.147207, + "real": 0.079847 + }, + { + "imag": -0.031135, + "real": -0.771319 + }, + { + "imag": -0.031686, + "real": -0.76979 + }, + { + "imag": 0.120263, + "real": 0.042833 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.144633, + "real": 0.081945 + }, + { + "imag": 0.000529, + "real": -0.772662 + }, + { + "imag": -0.001301, + "real": -0.770351 + }, + { + "imag": 0.116493, + "real": 0.048493 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.142498, + "real": 0.084027 + }, + { + "imag": 0.031792, + "real": -0.772431 + }, + { + "imag": 0.029134, + "real": -0.769205 + }, + { + "imag": 0.111956, + "real": 0.05447 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.138785, + "real": 0.087309 + }, + { + "imag": 0.063677, + "real": -0.770247 + }, + { + "imag": 0.058842, + "real": -0.767481 + }, + { + "imag": 0.10781, + "real": 0.061695 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.135128, + "real": 0.090257 + }, + { + "imag": 0.095185, + "real": -0.766712 + }, + { + "imag": 0.089073, + "real": -0.764176 + }, + { + "imag": 0.103705, + "real": 0.06869 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.131057, + "real": 0.093534 + }, + { + "imag": 0.125863, + "real": -0.761898 + }, + { + "imag": 0.119368, + "real": -0.759701 + }, + { + "imag": 0.099939, + "real": 0.075111 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.127265, + "real": 0.102693 + }, + { + "imag": 0.161217, + "real": -0.75545 + }, + { + "imag": 0.138648, + "real": -0.754057 + }, + { + "imag": 0.105622, + "real": 0.078887 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.122388, + "real": 0.099362 + }, + { + "imag": 0.185141, + "real": -0.747535 + }, + { + "imag": 0.177766, + "real": -0.747936 + }, + { + "imag": 0.090715, + "real": 0.089255 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.117633, + "real": 0.102906 + }, + { + "imag": 0.214631, + "real": -0.738457 + }, + { + "imag": 0.207973, + "real": -0.739698 + }, + { + "imag": 0.086639, + "real": 0.096107 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.111747, + "real": 0.105346 + }, + { + "imag": 0.242156, + "real": -0.728877 + }, + { + "imag": 0.236001, + "real": -0.73102 + }, + { + "imag": 0.082688, + "real": 0.10307 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.106504, + "real": 0.108485 + }, + { + "imag": 0.268525, + "real": -0.718509 + }, + { + "imag": 0.262912, + "real": -0.721107 + }, + { + "imag": 0.078592, + "real": 0.110018 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.100402, + "real": 0.112384 + }, + { + "imag": 0.293484, + "real": -0.705874 + }, + { + "imag": 0.290878, + "real": -0.708731 + }, + { + "imag": 0.075022, + "real": 0.118261 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.095912, + "real": 0.114626 + }, + { + "imag": 0.321642, + "real": -0.694487 + }, + { + "imag": 0.318293, + "real": -0.697786 + }, + { + "imag": 0.071523, + "real": 0.124207 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.091346, + "real": 0.116879 + }, + { + "imag": 0.347862, + "real": -0.683443 + }, + { + "imag": 0.344612, + "real": -0.684659 + }, + { + "imag": 0.067795, + "real": 0.129691 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.086935, + "real": 0.118957 + }, + { + "imag": 0.373331, + "real": -0.669599 + }, + { + "imag": 0.371358, + "real": -0.670876 + }, + { + "imag": 0.064037, + "real": 0.13472 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.081673, + "real": 0.121498 + }, + { + "imag": 0.399238, + "real": -0.655703 + }, + { + "imag": 0.397943, + "real": -0.65603 + }, + { + "imag": 0.061136, + "real": 0.140871 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.07762, + "real": 0.123318 + }, + { + "imag": 0.424189, + "real": -0.640568 + }, + { + "imag": 0.422965, + "real": -0.640342 + }, + { + "imag": 0.05626, + "real": 0.145168 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.073411, + "real": 0.124813 + }, + { + "imag": 0.448869, + "real": -0.624607 + }, + { + "imag": 0.448336, + "real": -0.623608 + }, + { + "imag": 0.052904, + "real": 0.148895 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.069214, + "real": 0.126145 + }, + { + "imag": 0.472757, + "real": -0.607533 + }, + { + "imag": 0.47275, + "real": -0.607188 + }, + { + "imag": 0.048252, + "real": 0.151411 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.06477, + "real": 0.125639 + }, + { + "imag": 0.497026, + "real": -0.588918 + }, + { + "imag": 0.498097, + "real": -0.587486 + }, + { + "imag": 0.044305, + "real": 0.15329 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.060703, + "real": 0.125611 + }, + { + "imag": 0.520625, + "real": -0.569238 + }, + { + "imag": 0.522011, + "real": -0.567989 + }, + { + "imag": 0.039776, + "real": 0.154505 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.056667, + "real": 0.125215 + }, + { + "imag": 0.543728, + "real": -0.548114 + }, + { + "imag": 0.544455, + "real": -0.547321 + }, + { + "imag": 0.035551, + "real": 0.155722 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.052679, + "real": 0.124173 + }, + { + "imag": 0.565361, + "real": -0.526677 + }, + { + "imag": 0.566295, + "real": -0.525549 + }, + { + "imag": 0.030393, + "real": 0.156267 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.049472, + "real": 0.122437 + }, + { + "imag": 0.585898, + "real": -0.504849 + }, + { + "imag": 0.586508, + "real": -0.503836 + }, + { + "imag": 0.02469, + "real": 0.158218 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.044929, + "real": 0.121475 + }, + { + "imag": 0.606188, + "real": -0.479332 + }, + { + "imag": 0.606984, + "real": -0.478175 + }, + { + "imag": 0.020005, + "real": 0.154878 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.041191, + "real": 0.119703 + }, + { + "imag": 0.624484, + "real": -0.453424 + }, + { + "imag": 0.624777, + "real": -0.453359 + }, + { + "imag": 0.014432, + "real": 0.153707 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.037539, + "real": 0.118317 + }, + { + "imag": 0.641972, + "real": -0.426791 + }, + { + "imag": 0.641728, + "real": -0.427689 + }, + { + "imag": 0.008649, + "real": 0.151665 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.033782, + "real": 0.116767 + }, + { + "imag": 0.657519, + "real": -0.400025 + }, + { + "imag": 0.657357, + "real": -0.401285 + }, + { + "imag": 0.001443, + "real": 0.149869 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.030703, + "real": 0.11503 + }, + { + "imag": 0.672082, + "real": -0.372304 + }, + { + "imag": 0.671957, + "real": -0.374974 + }, + { + "imag": -0.006544, + "real": 0.145552 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.026795, + "real": 0.112353 + }, + { + "imag": 0.685109, + "real": -0.344795 + }, + { + "imag": 0.684493, + "real": -0.348429 + }, + { + "imag": -0.013681, + "real": 0.142777 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.023038, + "real": 0.109944 + }, + { + "imag": 0.69699, + "real": -0.316512 + }, + { + "imag": 0.696514, + "real": -0.321288 + }, + { + "imag": -0.021549, + "real": 0.140011 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.019017, + "real": 0.107676 + }, + { + "imag": 0.707625, + "real": -0.288562 + }, + { + "imag": 0.707382, + "real": -0.29375 + }, + { + "imag": -0.029246, + "real": 0.136339 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.015522, + "real": 0.104746 + }, + { + "imag": 0.717535, + "real": -0.259356 + }, + { + "imag": 0.717191, + "real": -0.26638 + }, + { + "imag": -0.036726, + "real": 0.133622 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.011819, + "real": 0.101633 + }, + { + "imag": 0.726095, + "real": -0.22985 + }, + { + "imag": 0.726759, + "real": -0.238228 + }, + { + "imag": -0.045407, + "real": 0.130844 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.007706, + "real": 0.098823 + }, + { + "imag": 0.733962, + "real": -0.202082 + }, + { + "imag": 0.734569, + "real": -0.21007 + }, + { + "imag": -0.051898, + "real": 0.127387 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.003643, + "real": 0.096145 + }, + { + "imag": 0.740238, + "real": -0.172741 + }, + { + "imag": 0.741805, + "real": -0.181848 + }, + { + "imag": -0.059774, + "real": 0.12463 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.000417, + "real": 0.093976 + }, + { + "imag": 0.746116, + "real": -0.143884 + }, + { + "imag": 0.746723, + "real": -0.153063 + }, + { + "imag": -0.067357, + "real": 0.121471 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.00394, + "real": 0.090893 + }, + { + "imag": 0.751633, + "real": -0.115107 + }, + { + "imag": 0.754297, + "real": -0.122936 + }, + { + "imag": -0.073098, + "real": 0.118374 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.007661, + "real": 0.088021 + }, + { + "imag": 0.755811, + "real": -0.085969 + }, + { + "imag": 0.759182, + "real": -0.092795 + }, + { + "imag": -0.078886, + "real": 0.114584 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.01153, + "real": 0.085198 + }, + { + "imag": 0.758737, + "real": -0.056737 + }, + { + "imag": 0.763093, + "real": -0.062694 + }, + { + "imag": -0.085043, + "real": 0.111189 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.01514, + "real": 0.08241 + }, + { + "imag": 0.760347, + "real": -0.027016 + }, + { + "imag": 0.765407, + "real": -0.032301 + }, + { + "imag": -0.090455, + "real": 0.107474 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.018883, + "real": 0.078843 + }, + { + "imag": 0.762097, + "real": 0.002837 + }, + { + "imag": 0.76603, + "real": -0.001173 + }, + { + "imag": -0.096044, + "real": 0.103058 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.022991, + "real": 0.075996 + }, + { + "imag": 0.760418, + "real": 0.032172 + }, + { + "imag": 0.765893, + "real": 0.029293 + }, + { + "imag": -0.099542, + "real": 0.099582 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.026643, + "real": 0.073138 + }, + { + "imag": 0.758665, + "real": 0.061003 + }, + { + "imag": 0.763683, + "real": 0.059124 + }, + { + "imag": -0.102945, + "real": 0.096098 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.030316, + "real": 0.069626 + }, + { + "imag": 0.755394, + "real": 0.090779 + }, + { + "imag": 0.760054, + "real": 0.089639 + }, + { + "imag": -0.106101, + "real": 0.091992 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.034604, + "real": 0.066519 + }, + { + "imag": 0.751472, + "real": 0.120076 + }, + { + "imag": 0.756155, + "real": 0.120121 + }, + { + "imag": -0.108733, + "real": 0.087783 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.037766, + "real": 0.063356 + }, + { + "imag": 0.745573, + "real": 0.149778 + }, + { + "imag": 0.749623, + "real": 0.149929 + }, + { + "imag": -0.110178, + "real": 0.082705 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.040538, + "real": 0.06023 + }, + { + "imag": 0.739436, + "real": 0.178308 + }, + { + "imag": 0.742973, + "real": 0.179302 + }, + { + "imag": -0.112211, + "real": 0.076436 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.050767, + "real": 0.066149 + }, + { + "imag": 0.724265, + "real": 0.222657 + }, + { + "imag": 0.733407, + "real": 0.208613 + }, + { + "imag": -0.114331, + "real": 0.071042 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.045873, + "real": 0.054095 + }, + { + "imag": 0.722435, + "real": 0.234376 + }, + { + "imag": 0.724866, + "real": 0.23631 + }, + { + "imag": -0.115133, + "real": 0.06472 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.048457, + "real": 0.050494 + }, + { + "imag": 0.712238, + "real": 0.262437 + }, + { + "imag": 0.714714, + "real": 0.263751 + }, + { + "imag": -0.116893, + "real": 0.058463 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.050289, + "real": 0.046783 + }, + { + "imag": 0.700787, + "real": 0.291044 + }, + { + "imag": 0.702776, + "real": 0.291629 + }, + { + "imag": -0.118487, + "real": 0.051978 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.051258, + "real": 0.043636 + }, + { + "imag": 0.689586, + "real": 0.317182 + }, + { + "imag": 0.691166, + "real": 0.318119 + }, + { + "imag": -0.119845, + "real": 0.045659 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.052048, + "real": 0.040898 + }, + { + "imag": 0.675395, + "real": 0.345398 + }, + { + "imag": 0.677208, + "real": 0.34631 + }, + { + "imag": -0.122485, + "real": 0.038878 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.05252, + "real": 0.036353 + }, + { + "imag": 0.661465, + "real": 0.369869 + }, + { + "imag": 0.663826, + "real": 0.371289 + }, + { + "imag": -0.121598, + "real": 0.034133 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.052536, + "real": 0.032701 + }, + { + "imag": 0.647263, + "real": 0.395522 + }, + { + "imag": 0.649615, + "real": 0.396268 + }, + { + "imag": -0.120939, + "real": 0.027977 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.051739, + "real": 0.028872 + }, + { + "imag": 0.629279, + "real": 0.421548 + }, + { + "imag": 0.632437, + "real": 0.421915 + }, + { + "imag": -0.122386, + "real": 0.02223 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.051424, + "real": 0.024973 + }, + { + "imag": 0.611189, + "real": 0.445817 + }, + { + "imag": 0.615053, + "real": 0.446074 + }, + { + "imag": -0.121705, + "real": 0.016056 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.050111, + "real": 0.021369 + }, + { + "imag": 0.592516, + "real": 0.469794 + }, + { + "imag": 0.59701, + "real": 0.470064 + }, + { + "imag": -0.121467, + "real": 0.010647 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.048263, + "real": 0.018536 + }, + { + "imag": 0.573639, + "real": 0.491194 + }, + { + "imag": 0.577558, + "real": 0.492778 + }, + { + "imag": -0.120052, + "real": 0.005301 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.045529, + "real": 0.01417 + }, + { + "imag": 0.552173, + "real": 0.513637 + }, + { + "imag": 0.556357, + "real": 0.51542 + }, + { + "imag": -0.118392, + "real": 0.001119 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.0428, + "real": 0.009438 + }, + { + "imag": 0.530582, + "real": 0.534466 + }, + { + "imag": 0.53551, + "real": 0.537186 + }, + { + "imag": -0.116314, + "real": -0.004097 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.039835, + "real": 0.005636 + }, + { + "imag": 0.509177, + "real": 0.554147 + }, + { + "imag": 0.513588, + "real": 0.558658 + }, + { + "imag": -0.112572, + "real": -0.008594 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.036537, + "real": 0.001603 + }, + { + "imag": 0.48549, + "real": 0.573678 + }, + { + "imag": 0.49039, + "real": 0.578653 + }, + { + "imag": -0.108665, + "real": -0.013038 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.033381, + "real": -0.001808 + }, + { + "imag": 0.463763, + "real": 0.590553 + }, + { + "imag": 0.467999, + "real": 0.597486 + }, + { + "imag": -0.104265, + "real": -0.016576 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.029783, + "real": -0.00625 + }, + { + "imag": 0.440047, + "real": 0.607937 + }, + { + "imag": 0.443938, + "real": 0.615304 + }, + { + "imag": -0.098376, + "real": -0.019437 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.026097, + "real": -0.009521 + }, + { + "imag": 0.41591, + "real": 0.624762 + }, + { + "imag": 0.419159, + "real": 0.633126 + }, + { + "imag": -0.092606, + "real": -0.02351 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.02251, + "real": -0.012588 + }, + { + "imag": 0.391224, + "real": 0.639863 + }, + { + "imag": 0.393891, + "real": 0.648182 + }, + { + "imag": -0.086642, + "real": -0.025709 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.01796, + "real": -0.015906 + }, + { + "imag": 0.367073, + "real": 0.653718 + }, + { + "imag": 0.368303, + "real": 0.66272 + }, + { + "imag": -0.079702, + "real": -0.029584 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.013144, + "real": -0.019198 + }, + { + "imag": 0.341645, + "real": 0.666929 + }, + { + "imag": 0.342203, + "real": 0.676375 + }, + { + "imag": -0.072354, + "real": -0.033991 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.009127, + "real": -0.021549 + }, + { + "imag": 0.315368, + "real": 0.67991 + }, + { + "imag": 0.315035, + "real": 0.688862 + }, + { + "imag": -0.064531, + "real": -0.037997 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.004636, + "real": -0.023961 + }, + { + "imag": 0.288528, + "real": 0.69286 + }, + { + "imag": 0.288506, + "real": 0.69985 + }, + { + "imag": -0.060643, + "real": -0.040917 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.000727, + "real": -0.026419 + }, + { + "imag": 0.262485, + "real": 0.703441 + }, + { + "imag": 0.260241, + "real": 0.711443 + }, + { + "imag": -0.049815, + "real": -0.044981 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": 0.003038, + "real": -0.0279 + }, + { + "imag": 0.23523, + "real": 0.713378 + }, + { + "imag": 0.231561, + "real": 0.721657 + }, + { + "imag": -0.040379, + "real": -0.049974 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": 0.006331, + "real": -0.029668 + }, + { + "imag": 0.20742, + "real": 0.721817 + }, + { + "imag": 0.202227, + "real": 0.730509 + }, + { + "imag": -0.032028, + "real": -0.053796 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": 0.010329, + "real": -0.02993 + }, + { + "imag": 0.178458, + "real": 0.730545 + }, + { + "imag": 0.173657, + "real": 0.738109 + }, + { + "imag": -0.02595, + "real": -0.058081 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": 0.012807, + "real": -0.030768 + }, + { + "imag": 0.149526, + "real": 0.736623 + }, + { + "imag": 0.143296, + "real": 0.744112 + }, + { + "imag": -0.019084, + "real": -0.062625 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": 0.015035, + "real": -0.031261 + }, + { + "imag": 0.120338, + "real": 0.742665 + }, + { + "imag": 0.114244, + "real": 0.748947 + }, + { + "imag": -0.011973, + "real": -0.066043 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": 0.018898, + "real": -0.031751 + }, + { + "imag": 0.091439, + "real": 0.747681 + }, + { + "imag": 0.084544, + "real": 0.753097 + }, + { + "imag": -0.005062, + "real": -0.07053 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": 0.019908, + "real": -0.031083 + }, + { + "imag": 0.063096, + "real": 0.750929 + }, + { + "imag": 0.052234, + "real": 0.755393 + }, + { + "imag": -0.000924, + "real": -0.074407 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": 0.023208, + "real": -0.030731 + }, + { + "imag": 0.032307, + "real": 0.752857 + }, + { + "imag": 0.023823, + "real": 0.756235 + }, + { + "imag": 0.004984, + "real": -0.079002 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": 0.026027, + "real": -0.02984 + }, + { + "imag": 0.001113, + "real": 0.753551 + }, + { + "imag": -0.007195, + "real": 0.755991 + }, + { + "imag": 0.009681, + "real": -0.082822 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": 0.02832, + "real": -0.028874 + }, + { + "imag": -0.02885, + "real": 0.753664 + }, + { + "imag": -0.036664, + "real": 0.753806 + }, + { + "imag": 0.014041, + "real": -0.085507 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": 0.03108, + "real": -0.027317 + }, + { + "imag": -0.059243, + "real": 0.751865 + }, + { + "imag": -0.067143, + "real": 0.751012 + }, + { + "imag": 0.015562, + "real": -0.088203 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": 0.033615, + "real": -0.025782 + }, + { + "imag": -0.088889, + "real": 0.750003 + }, + { + "imag": -0.097612, + "real": 0.746517 + }, + { + "imag": 0.021005, + "real": -0.08726 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": 0.035803, + "real": -0.024484 + }, + { + "imag": -0.119643, + "real": 0.745261 + }, + { + "imag": -0.124941, + "real": 0.7417 + }, + { + "imag": 0.022143, + "real": -0.090085 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": 0.038314, + "real": -0.022501 + }, + { + "imag": -0.149196, + "real": 0.739079 + }, + { + "imag": -0.154315, + "real": 0.735352 + }, + { + "imag": 0.025237, + "real": -0.092348 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": 0.040816, + "real": -0.020135 + }, + { + "imag": -0.179222, + "real": 0.732044 + }, + { + "imag": -0.182995, + "real": 0.728851 + }, + { + "imag": 0.027059, + "real": -0.08923 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": 0.043108, + "real": -0.017684 + }, + { + "imag": -0.208393, + "real": 0.723175 + }, + { + "imag": -0.210822, + "real": 0.720408 + }, + { + "imag": 0.0263, + "real": -0.087596 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": 0.045827, + "real": -0.015128 + }, + { + "imag": -0.237397, + "real": 0.713161 + }, + { + "imag": -0.237851, + "real": 0.711276 + }, + { + "imag": 0.026951, + "real": -0.084581 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.049823, + "real": -0.012771 + }, + { + "imag": -0.264602, + "real": 0.70187 + }, + { + "imag": -0.26674, + "real": 0.70017 + }, + { + "imag": 0.030032, + "real": -0.081699 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.052188, + "real": -0.009876 + }, + { + "imag": -0.29228, + "real": 0.689031 + }, + { + "imag": -0.293106, + "real": 0.687872 + }, + { + "imag": 0.029636, + "real": -0.07785 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": 0.055341, + "real": -0.007181 + }, + { + "imag": -0.318143, + "real": 0.674889 + }, + { + "imag": -0.31956, + "real": 0.675891 + }, + { + "imag": 0.033003, + "real": -0.07466 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": 0.057695, + "real": -0.004857 + }, + { + "imag": -0.343714, + "real": 0.660232 + }, + { + "imag": -0.345117, + "real": 0.66207 + }, + { + "imag": 0.034055, + "real": -0.07052 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": 0.060537, + "real": -0.001953 + }, + { + "imag": -0.368392, + "real": 0.645081 + }, + { + "imag": -0.370325, + "real": 0.647673 + }, + { + "imag": 0.035936, + "real": -0.0638 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": 0.06297, + "real": 0.001247 + }, + { + "imag": -0.391655, + "real": 0.628126 + }, + { + "imag": -0.39615, + "real": 0.631739 + }, + { + "imag": 0.038584, + "real": -0.058929 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": 0.064984, + "real": 0.003265 + }, + { + "imag": -0.41483, + "real": 0.61149 + }, + { + "imag": -0.420035, + "real": 0.615318 + }, + { + "imag": 0.039413, + "real": -0.054668 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.067398, + "real": 0.005276 + }, + { + "imag": -0.436521, + "real": 0.59507 + }, + { + "imag": -0.442785, + "real": 0.598429 + }, + { + "imag": 0.042777, + "real": -0.047844 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.069981, + "real": 0.00793 + }, + { + "imag": -0.45789, + "real": 0.578203 + }, + { + "imag": -0.464435, + "real": 0.580875 + }, + { + "imag": 0.045743, + "real": -0.041427 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": 0.071783, + "real": 0.009537 + }, + { + "imag": -0.479309, + "real": 0.560519 + }, + { + "imag": -0.486717, + "real": 0.561231 + }, + { + "imag": 0.046784, + "real": -0.037157 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.072441, + "real": 0.010751 + }, + { + "imag": -0.500137, + "real": 0.542301 + }, + { + "imag": -0.507688, + "real": 0.541887 + }, + { + "imag": 0.049376, + "real": -0.030825 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.072555, + "real": 0.01196 + }, + { + "imag": -0.520204, + "real": 0.523774 + }, + { + "imag": -0.527784, + "real": 0.522057 + }, + { + "imag": 0.052705, + "real": -0.024478 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.071071, + "real": 0.013477 + }, + { + "imag": -0.540441, + "real": 0.504509 + }, + { + "imag": -0.547338, + "real": 0.500356 + }, + { + "imag": 0.054088, + "real": -0.019521 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.069798, + "real": 0.015157 + }, + { + "imag": -0.560336, + "real": 0.484167 + }, + { + "imag": -0.565361, + "real": 0.479333 + }, + { + "imag": 0.057276, + "real": -0.015187 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.067778, + "real": 0.016595 + }, + { + "imag": -0.580322, + "real": 0.463607 + }, + { + "imag": -0.584539, + "real": 0.456238 + }, + { + "imag": 0.058102, + "real": -0.010086 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.065292, + "real": 0.017976 + }, + { + "imag": -0.598522, + "real": 0.441361 + }, + { + "imag": -0.602024, + "real": 0.433644 + }, + { + "imag": 0.059828, + "real": -0.005415 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.062562, + "real": 0.020102 + }, + { + "imag": -0.616554, + "real": 0.416861 + }, + { + "imag": -0.619595, + "real": 0.409532 + }, + { + "imag": 0.061531, + "real": -0.000687 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.058731, + "real": 0.020746 + }, + { + "imag": -0.634393, + "real": 0.391832 + }, + { + "imag": -0.635239, + "real": 0.384844 + }, + { + "imag": 0.063297, + "real": 0.005211 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.054596, + "real": 0.02243 + }, + { + "imag": -0.650666, + "real": 0.364772 + }, + { + "imag": -0.649589, + "real": 0.358376 + }, + { + "imag": 0.065589, + "real": 0.00863 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.050375, + "real": 0.024716 + }, + { + "imag": -0.66579, + "real": 0.336452 + }, + { + "imag": -0.663155, + "real": 0.332266 + }, + { + "imag": 0.067251, + "real": 0.011747 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.046192, + "real": 0.028257 + }, + { + "imag": -0.679502, + "real": 0.30819 + }, + { + "imag": -0.675451, + "real": 0.304075 + }, + { + "imag": 0.069247, + "real": 0.015782 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.04173, + "real": 0.031721 + }, + { + "imag": -0.690939, + "real": 0.283318 + }, + { + "imag": -0.687462, + "real": 0.279783 + }, + { + "imag": 0.068651, + "real": 0.017652 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.038848, + "real": 0.034714 + }, + { + "imag": -0.70106, + "real": 0.250846 + }, + { + "imag": -0.69661, + "real": 0.248313 + }, + { + "imag": 0.068248, + "real": 0.020063 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.034529, + "real": 0.037514 + }, + { + "imag": -0.709085, + "real": 0.221084 + }, + { + "imag": -0.704623, + "real": 0.218966 + }, + { + "imag": 0.067404, + "real": 0.022367 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.031, + "real": 0.040474 + }, + { + "imag": -0.715831, + "real": 0.191271 + }, + { + "imag": -0.711975, + "real": 0.188219 + }, + { + "imag": 0.068045, + "real": 0.024649 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.028175, + "real": 0.042512 + }, + { + "imag": -0.721015, + "real": 0.161345 + }, + { + "imag": -0.718089, + "real": 0.161468 + }, + { + "imag": 0.064101, + "real": 0.028747 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.020209, + "real": 0.043256 + }, + { + "imag": -0.722767, + "real": 0.133847 + }, + { + "imag": -0.720795, + "real": 0.136878 + }, + { + "imag": 0.060933, + "real": 0.030519 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.020683, + "real": 0.046766 + }, + { + "imag": -0.726899, + "real": 0.103844 + }, + { + "imag": -0.725089, + "real": 0.105902 + }, + { + "imag": 0.060449, + "real": 0.032381 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.020091, + "real": 0.049503 + }, + { + "imag": -0.729126, + "real": 0.074838 + }, + { + "imag": -0.728041, + "real": 0.076624 + }, + { + "imag": 0.059272, + "real": 0.033592 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.023671, + "real": 0.051862 + }, + { + "imag": -0.729143, + "real": 0.04353 + }, + { + "imag": -0.726763, + "real": 0.064807 + }, + { + "imag": 0.059428, + "real": 0.055826 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.017249, + "real": 0.05051 + }, + { + "imag": -0.729336, + "real": 0.019128 + }, + { + "imag": -0.729591, + "real": 0.019735 + }, + { + "imag": 0.055046, + "real": 0.034984 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.017133, + "real": 0.049191 + }, + { + "imag": -0.728454, + "real": -0.007696 + }, + { + "imag": -0.729382, + "real": -0.007435 + }, + { + "imag": 0.052824, + "real": 0.036195 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.016743, + "real": 0.048175 + }, + { + "imag": -0.727025, + "real": -0.034621 + }, + { + "imag": -0.727588, + "real": -0.033827 + }, + { + "imag": 0.050092, + "real": 0.03663 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.016725, + "real": 0.046369 + }, + { + "imag": -0.723425, + "real": -0.0618 + }, + { + "imag": -0.723411, + "real": -0.060842 + }, + { + "imag": 0.047979, + "real": 0.036849 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.015623, + "real": 0.042296 + }, + { + "imag": -0.721317, + "real": -0.088951 + }, + { + "imag": -0.720796, + "real": -0.088929 + }, + { + "imag": 0.044342, + "real": 0.038314 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.013493, + "real": 0.038519 + }, + { + "imag": -0.717258, + "real": -0.115905 + }, + { + "imag": -0.717586, + "real": -0.114495 + }, + { + "imag": 0.040933, + "real": 0.039169 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.012515, + "real": 0.033518 + }, + { + "imag": -0.711985, + "real": -0.142483 + }, + { + "imag": -0.712186, + "real": -0.141405 + }, + { + "imag": 0.038223, + "real": 0.038945 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.00881, + "real": 0.028532 + }, + { + "imag": -0.70765, + "real": -0.168899 + }, + { + "imag": -0.706579, + "real": -0.167302 + }, + { + "imag": 0.032411, + "real": 0.039554 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.004603, + "real": 0.022513 + }, + { + "imag": -0.701135, + "real": -0.195115 + }, + { + "imag": -0.699822, + "real": -0.193335 + }, + { + "imag": 0.030059, + "real": 0.040233 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.000689, + "real": 0.016533 + }, + { + "imag": -0.693327, + "real": -0.22121 + }, + { + "imag": -0.692616, + "real": -0.219302 + }, + { + "imag": 0.02703, + "real": 0.040207 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": -0.005853, + "real": 0.010652 + }, + { + "imag": -0.685068, + "real": -0.247868 + }, + { + "imag": -0.683529, + "real": -0.245724 + }, + { + "imag": 0.024089, + "real": 0.039908 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": -0.011984, + "real": 0.003704 + }, + { + "imag": -0.676192, + "real": -0.273143 + }, + { + "imag": -0.675475, + "real": -0.269033 + }, + { + "imag": 0.020626, + "real": 0.039002 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": -0.019557, + "real": 0.001406 + }, + { + "imag": -0.665322, + "real": -0.299105 + }, + { + "imag": -0.662825, + "real": -0.297092 + }, + { + "imag": 0.017909, + "real": 0.038568 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": -0.027945, + "real": -0.001447 + }, + { + "imag": -0.653152, + "real": -0.325129 + }, + { + "imag": -0.651096, + "real": -0.323838 + }, + { + "imag": 0.014447, + "real": 0.038385 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": -0.037252, + "real": -0.002887 + }, + { + "imag": -0.640347, + "real": -0.349628 + }, + { + "imag": -0.637397, + "real": -0.350678 + }, + { + "imag": 0.010522, + "real": 0.037697 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": -0.045337, + "real": -0.002806 + }, + { + "imag": -0.625679, + "real": -0.374752 + }, + { + "imag": -0.623655, + "real": -0.374965 + }, + { + "imag": 0.004391, + "real": 0.038784 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": -0.051923, + "real": -0.001292 + }, + { + "imag": -0.611759, + "real": -0.398243 + }, + { + "imag": -0.609143, + "real": -0.400036 + }, + { + "imag": 0.001195, + "real": 0.037189 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": -0.061791, + "real": 0.002919 + }, + { + "imag": -0.59656, + "real": -0.423585 + }, + { + "imag": -0.593059, + "real": -0.4241 + }, + { + "imag": -0.000859, + "real": 0.036726 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": -0.069656, + "real": 0.009265 + }, + { + "imag": -0.579948, + "real": -0.44772 + }, + { + "imag": -0.575095, + "real": -0.447149 + }, + { + "imag": -0.004397, + "real": 0.034728 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": -0.07556, + "real": 0.017571 + }, + { + "imag": -0.561303, + "real": -0.471109 + }, + { + "imag": -0.556453, + "real": -0.470936 + }, + { + "imag": -0.009927, + "real": 0.03374 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": -0.07992, + "real": 0.025639 + }, + { + "imag": -0.542001, + "real": -0.494166 + }, + { + "imag": -0.535493, + "real": -0.493626 + }, + { + "imag": -0.014219, + "real": 0.031053 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": -0.081026, + "real": 0.035252 + }, + { + "imag": -0.521037, + "real": -0.516751 + }, + { + "imag": -0.513197, + "real": -0.515797 + }, + { + "imag": -0.019427, + "real": 0.027159 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": -0.080898, + "real": 0.04532 + }, + { + "imag": -0.499432, + "real": -0.538241 + }, + { + "imag": -0.491335, + "real": -0.536221 + }, + { + "imag": -0.025313, + "real": 0.024605 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": -0.077623, + "real": 0.054702 + }, + { + "imag": -0.47618, + "real": -0.55852 + }, + { + "imag": -0.469456, + "real": -0.557121 + }, + { + "imag": -0.029925, + "real": 0.020955 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": -0.067117, + "real": 0.067209 + }, + { + "imag": -0.449966, + "real": -0.578809 + }, + { + "imag": -0.444296, + "real": -0.577303 + }, + { + "imag": -0.033683, + "real": 0.016399 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": -0.053706, + "real": 0.077805 + }, + { + "imag": -0.425335, + "real": -0.597782 + }, + { + "imag": -0.419872, + "real": -0.596452 + }, + { + "imag": -0.03766, + "real": 0.014352 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": -0.038343, + "real": 0.08912 + }, + { + "imag": -0.399384, + "real": -0.614084 + }, + { + "imag": -0.395458, + "real": -0.613778 + }, + { + "imag": -0.041759, + "real": 0.012155 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": -0.01919, + "real": 0.096812 + }, + { + "imag": -0.373502, + "real": -0.630187 + }, + { + "imag": -0.372717, + "real": -0.63131 + }, + { + "imag": -0.045477, + "real": 0.012096 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.004904, + "real": 0.102809 + }, + { + "imag": -0.348039, + "real": -0.645409 + }, + { + "imag": -0.34958, + "real": -0.647458 + }, + { + "imag": -0.049485, + "real": 0.012886 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.030791, + "real": 0.106364 + }, + { + "imag": -0.323089, + "real": -0.659475 + }, + { + "imag": -0.327787, + "real": -0.66355 + }, + { + "imag": -0.051972, + "real": 0.0139 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.060997, + "real": 0.103444 + }, + { + "imag": -0.297664, + "real": -0.673008 + }, + { + "imag": -0.304167, + "real": -0.680151 + }, + { + "imag": -0.056836, + "real": 0.017853 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.094435, + "real": 0.098219 + }, + { + "imag": -0.272924, + "real": -0.684261 + }, + { + "imag": -0.28214, + "real": -0.697138 + }, + { + "imag": -0.060473, + "real": 0.02011 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.129187, + "real": 0.089808 + }, + { + "imag": -0.246158, + "real": -0.694662 + }, + { + "imag": -0.257869, + "real": -0.714999 + }, + { + "imag": -0.066314, + "real": 0.02473 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.169128, + "real": 0.079721 + }, + { + "imag": -0.218489, + "real": -0.702575 + }, + { + "imag": -0.233644, + "real": -0.734037 + }, + { + "imag": -0.070118, + "real": 0.027785 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.212751, + "real": 0.06714 + }, + { + "imag": -0.187988, + "real": -0.707655 + }, + { + "imag": -0.209395, + "real": -0.754096 + }, + { + "imag": -0.073579, + "real": 0.030517 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.258329, + "real": 0.055768 + }, + { + "imag": -0.156589, + "real": -0.710651 + }, + { + "imag": -0.185526, + "real": -0.772583 + }, + { + "imag": -0.07507, + "real": 0.030363 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.304295, + "real": 0.045781 + }, + { + "imag": -0.125734, + "real": -0.710676 + }, + { + "imag": -0.160815, + "real": -0.787479 + }, + { + "imag": -0.076082, + "real": 0.031512 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.342593, + "real": 0.041738 + }, + { + "imag": -0.098015, + "real": -0.710654 + }, + { + "imag": -0.130958, + "real": -0.797808 + }, + { + "imag": -0.074878, + "real": 0.033937 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.369108, + "real": 0.042147 + }, + { + "imag": -0.070993, + "real": -0.709607 + }, + { + "imag": -0.09451, + "real": -0.801212 + }, + { + "imag": -0.073263, + "real": 0.038729 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.378277, + "real": 0.047569 + }, + { + "imag": -0.045185, + "real": -0.708212 + }, + { + "imag": -0.054093, + "real": -0.798547 + }, + { + "imag": -0.070222, + "real": 0.044865 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.369167, + "real": 0.049405 + }, + { + "imag": -0.021422, + "real": -0.706877 + }, + { + "imag": -0.01361, + "real": -0.790118 + }, + { + "imag": -0.067509, + "real": 0.050624 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.347915, + "real": 0.044781 + }, + { + "imag": 0.002871, + "real": -0.705319 + }, + { + "imag": 0.020971, + "real": -0.777804 + }, + { + "imag": -0.064667, + "real": 0.054449 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.318836, + "real": 0.029556 + }, + { + "imag": 0.027813, + "real": -0.703607 + }, + { + "imag": 0.050464, + "real": -0.763378 + }, + { + "imag": -0.061121, + "real": 0.055696 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.285944, + "real": 0.009055 + }, + { + "imag": 0.053818, + "real": -0.702536 + }, + { + "imag": 0.076233, + "real": -0.747472 + }, + { + "imag": -0.057082, + "real": 0.053986 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.254848, + "real": -0.014082 + }, + { + "imag": 0.08085, + "real": -0.701565 + }, + { + "imag": 0.100918, + "real": -0.733504 + }, + { + "imag": -0.053202, + "real": 0.050959 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.225212, + "real": -0.041835 + }, + { + "imag": 0.109123, + "real": -0.699426 + }, + { + "imag": 0.124074, + "real": -0.719409 + }, + { + "imag": -0.048462, + "real": 0.046495 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.197857, + "real": -0.06682 + }, + { + "imag": 0.137217, + "real": -0.698233 + }, + { + "imag": 0.14801, + "real": -0.705929 + }, + { + "imag": -0.042061, + "real": 0.040403 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.173532, + "real": -0.089742 + }, + { + "imag": 0.16769, + "real": -0.692941 + }, + { + "imag": 0.172208, + "real": -0.691678 + }, + { + "imag": -0.03672, + "real": 0.034611 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.149768, + "real": -0.108089 + }, + { + "imag": 0.197899, + "real": -0.685489 + }, + { + "imag": 0.196194, + "real": -0.677182 + }, + { + "imag": -0.029613, + "real": 0.026938 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.125149, + "real": -0.123629 + }, + { + "imag": 0.22789, + "real": -0.674156 + }, + { + "imag": 0.220007, + "real": -0.662678 + }, + { + "imag": -0.022571, + "real": 0.020351 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.10546, + "real": -0.13497 + }, + { + "imag": 0.257407, + "real": -0.660621 + }, + { + "imag": 0.241983, + "real": -0.647978 + }, + { + "imag": -0.018396, + "real": 0.011022 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.081952, + "real": -0.14153 + }, + { + "imag": 0.284206, + "real": -0.64455 + }, + { + "imag": 0.263564, + "real": -0.633097 + }, + { + "imag": -0.015919, + "real": 0.003932 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.062917, + "real": -0.147833 + }, + { + "imag": 0.307106, + "real": -0.627846 + }, + { + "imag": 0.282338, + "real": -0.61914 + }, + { + "imag": -0.012696, + "real": -0.007399 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.041812, + "real": -0.149951 + }, + { + "imag": 0.329261, + "real": -0.609705 + }, + { + "imag": 0.303162, + "real": -0.604539 + }, + { + "imag": -0.010948, + "real": -0.016378 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.023285, + "real": -0.149166 + }, + { + "imag": 0.348982, + "real": -0.592008 + }, + { + "imag": 0.323011, + "real": -0.589602 + }, + { + "imag": -0.009654, + "real": -0.027353 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.007501, + "real": -0.148803 + }, + { + "imag": 0.367391, + "real": -0.574926 + }, + { + "imag": 0.343677, + "real": -0.576604 + }, + { + "imag": -0.009224, + "real": -0.037215 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": -0.004903, + "real": -0.145073 + }, + { + "imag": 0.384302, + "real": -0.558879 + }, + { + "imag": 0.364926, + "real": -0.562424 + }, + { + "imag": -0.010011, + "real": -0.048962 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": -0.015473, + "real": -0.137976 + }, + { + "imag": 0.400752, + "real": -0.543338 + }, + { + "imag": 0.386301, + "real": -0.549886 + }, + { + "imag": -0.010509, + "real": -0.058175 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": -0.021926, + "real": -0.13146 + }, + { + "imag": 0.417719, + "real": -0.52788 + }, + { + "imag": 0.409611, + "real": -0.53718 + }, + { + "imag": -0.011385, + "real": -0.068509 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": -0.025244, + "real": -0.122764 + }, + { + "imag": 0.434778, + "real": -0.513002 + }, + { + "imag": 0.431363, + "real": -0.523601 + }, + { + "imag": -0.013549, + "real": -0.076397 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": -0.025705, + "real": -0.113121 + }, + { + "imag": 0.453297, + "real": -0.499157 + }, + { + "imag": 0.455666, + "real": -0.511045 + }, + { + "imag": -0.016572, + "real": -0.083473 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": -0.025377, + "real": -0.104677 + }, + { + "imag": 0.474182, + "real": -0.484807 + }, + { + "imag": 0.480204, + "real": -0.496428 + }, + { + "imag": -0.020207, + "real": -0.090891 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.020399, + "real": -0.095169 + }, + { + "imag": 0.494736, + "real": -0.470552 + }, + { + "imag": 0.504013, + "real": -0.481803 + }, + { + "imag": -0.024522, + "real": -0.095872 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.016594, + "real": -0.088191 + }, + { + "imag": 0.515874, + "real": -0.454325 + }, + { + "imag": 0.526534, + "real": -0.46501 + }, + { + "imag": -0.028318, + "real": -0.10044 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.008297, + "real": -0.081611 + }, + { + "imag": 0.53727, + "real": -0.437792 + }, + { + "imag": 0.547298, + "real": -0.446515 + }, + { + "imag": -0.03085, + "real": -0.106115 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.001269, + "real": -0.076056 + }, + { + "imag": 0.55837, + "real": -0.41959 + }, + { + "imag": 0.567126, + "real": -0.42628 + }, + { + "imag": -0.034628, + "real": -0.110335 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.010074, + "real": -0.074848 + }, + { + "imag": 0.577405, + "real": -0.400133 + }, + { + "imag": 0.584282, + "real": -0.403953 + }, + { + "imag": -0.035921, + "real": -0.114836 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.02032, + "real": -0.075087 + }, + { + "imag": 0.598015, + "real": -0.377751 + }, + { + "imag": 0.600531, + "real": -0.382314 + }, + { + "imag": -0.035957, + "real": -0.116445 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.030291, + "real": -0.074523 + }, + { + "imag": 0.614401, + "real": -0.356211 + }, + { + "imag": 0.61339, + "real": -0.358509 + }, + { + "imag": -0.036097, + "real": -0.119507 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.041535, + "real": -0.078006 + }, + { + "imag": 0.6294, + "real": -0.332331 + }, + { + "imag": 0.625816, + "real": -0.334725 + }, + { + "imag": -0.036216, + "real": -0.121718 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.050633, + "real": -0.081907 + }, + { + "imag": 0.642054, + "real": -0.307783 + }, + { + "imag": 0.635513, + "real": -0.309723 + }, + { + "imag": -0.035021, + "real": -0.124693 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.057759, + "real": -0.083991 + }, + { + "imag": 0.651508, + "real": -0.282689 + }, + { + "imag": 0.643605, + "real": -0.283924 + }, + { + "imag": -0.033679, + "real": -0.127825 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.064596, + "real": -0.091295 + }, + { + "imag": 0.659293, + "real": -0.255467 + }, + { + "imag": 0.649674, + "real": -0.259374 + }, + { + "imag": -0.033128, + "real": -0.129493 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.072339, + "real": -0.096455 + }, + { + "imag": 0.666144, + "real": -0.228618 + }, + { + "imag": 0.655583, + "real": -0.233244 + }, + { + "imag": -0.030201, + "real": -0.132394 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.076214, + "real": -0.102855 + }, + { + "imag": 0.669102, + "real": -0.201238 + }, + { + "imag": 0.65998, + "real": -0.206851 + }, + { + "imag": -0.029154, + "real": -0.13502 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.080621, + "real": -0.108123 + }, + { + "imag": 0.671668, + "real": -0.172601 + }, + { + "imag": 0.663648, + "real": -0.180813 + }, + { + "imag": -0.027243, + "real": -0.137458 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.082017, + "real": -0.114156 + }, + { + "imag": 0.673397, + "real": -0.144973 + }, + { + "imag": 0.667025, + "real": -0.154659 + }, + { + "imag": -0.024219, + "real": -0.136488 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.082982, + "real": -0.121756 + }, + { + "imag": 0.673706, + "real": -0.11762 + }, + { + "imag": 0.670941, + "real": -0.127657 + }, + { + "imag": -0.010787, + "real": -0.14263 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.085451, + "real": -0.126759 + }, + { + "imag": 0.673905, + "real": -0.09033 + }, + { + "imag": 0.674193, + "real": -0.099805 + }, + { + "imag": -0.008846, + "real": -0.147498 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.085993, + "real": -0.130631 + }, + { + "imag": 0.671709, + "real": -0.063477 + }, + { + "imag": 0.677127, + "real": -0.074032 + }, + { + "imag": -0.00619, + "real": -0.152434 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.086419, + "real": -0.133505 + }, + { + "imag": 0.671543, + "real": -0.035641 + }, + { + "imag": 0.678947, + "real": -0.046697 + }, + { + "imag": -0.00294, + "real": -0.155004 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.084109, + "real": -0.133531 + }, + { + "imag": 0.669793, + "real": -0.010448 + }, + { + "imag": 0.681111, + "real": -0.021433 + }, + { + "imag": -0.000153, + "real": -0.15917 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.087473, + "real": -0.134876 + }, + { + "imag": 0.666845, + "real": 0.015189 + }, + { + "imag": 0.682723, + "real": 0.00495 + }, + { + "imag": 0.003544, + "real": -0.161419 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.08748, + "real": -0.132384 + }, + { + "imag": 0.665179, + "real": 0.041168 + }, + { + "imag": 0.684445, + "real": 0.032615 + }, + { + "imag": 0.007327, + "real": -0.164407 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.090987, + "real": -0.129821 + }, + { + "imag": 0.662526, + "real": 0.068147 + }, + { + "imag": 0.684041, + "real": 0.057842 + }, + { + "imag": 0.010565, + "real": -0.168486 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.093927, + "real": -0.127754 + }, + { + "imag": 0.66072, + "real": 0.095203 + }, + { + "imag": 0.681875, + "real": 0.08477 + }, + { + "imag": 0.01493, + "real": -0.171498 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.097424, + "real": -0.122652 + }, + { + "imag": 0.660983, + "real": 0.115582 + }, + { + "imag": 0.679695, + "real": 0.11067 + }, + { + "imag": 0.019357, + "real": -0.174076 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.100315, + "real": -0.117152 + }, + { + "imag": 0.657685, + "real": 0.140426 + }, + { + "imag": 0.676067, + "real": 0.137404 + }, + { + "imag": 0.025093, + "real": -0.175976 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.104862, + "real": -0.111938 + }, + { + "imag": 0.654504, + "real": 0.163875 + }, + { + "imag": 0.671513, + "real": 0.162717 + }, + { + "imag": 0.029736, + "real": -0.1795 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.11021, + "real": -0.105811 + }, + { + "imag": 0.650429, + "real": 0.188663 + }, + { + "imag": 0.665437, + "real": 0.187345 + }, + { + "imag": 0.035878, + "real": -0.182629 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.1147, + "real": -0.098929 + }, + { + "imag": 0.646965, + "real": 0.210284 + }, + { + "imag": 0.658008, + "real": 0.21182 + }, + { + "imag": 0.041681, + "real": -0.18602 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.129472, + "real": -0.092431 + }, + { + "imag": 0.643291, + "real": 0.234807 + }, + { + "imag": 0.650066, + "real": 0.237395 + }, + { + "imag": 0.045016, + "real": -0.190729 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.132416, + "real": -0.088682 + }, + { + "imag": 0.634009, + "real": 0.256879 + }, + { + "imag": 0.640412, + "real": 0.259514 + }, + { + "imag": 0.048429, + "real": -0.189725 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.142042, + "real": -0.083163 + }, + { + "imag": 0.626732, + "real": 0.279475 + }, + { + "imag": 0.629945, + "real": 0.283438 + }, + { + "imag": 0.05345, + "real": -0.18859 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.151056, + "real": -0.077997 + }, + { + "imag": 0.616612, + "real": 0.301236 + }, + { + "imag": 0.618175, + "real": 0.30652 + }, + { + "imag": 0.059297, + "real": -0.186647 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.16189, + "real": -0.071587 + }, + { + "imag": 0.606333, + "real": 0.324056 + }, + { + "imag": 0.605324, + "real": 0.331035 + }, + { + "imag": 0.06561, + "real": -0.184436 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.169152, + "real": -0.071328 + }, + { + "imag": 0.593909, + "real": 0.344791 + }, + { + "imag": 0.590556, + "real": 0.352383 + }, + { + "imag": 0.074385, + "real": -0.180936 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.181005, + "real": -0.066873 + }, + { + "imag": 0.581769, + "real": 0.36607 + }, + { + "imag": 0.57694, + "real": 0.376132 + }, + { + "imag": 0.083116, + "real": -0.178106 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.187885, + "real": -0.065115 + }, + { + "imag": 0.566984, + "real": 0.386279 + }, + { + "imag": 0.560959, + "real": 0.399415 + }, + { + "imag": 0.092179, + "real": -0.174273 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.194745, + "real": -0.064184 + }, + { + "imag": 0.550316, + "real": 0.40665 + }, + { + "imag": 0.544811, + "real": 0.420959 + }, + { + "imag": 0.102682, + "real": -0.171319 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.20269, + "real": -0.063116 + }, + { + "imag": 0.533803, + "real": 0.424492 + }, + { + "imag": 0.528041, + "real": 0.442475 + }, + { + "imag": 0.112734, + "real": -0.168989 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.209092, + "real": -0.060261 + }, + { + "imag": 0.516717, + "real": 0.443345 + }, + { + "imag": 0.5099, + "real": 0.464074 + }, + { + "imag": 0.124815, + "real": -0.165581 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.217098, + "real": -0.058435 + }, + { + "imag": 0.497246, + "real": 0.461768 + }, + { + "imag": 0.489897, + "real": 0.484066 + }, + { + "imag": 0.137198, + "real": -0.164079 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.22193, + "real": -0.056802 + }, + { + "imag": 0.475938, + "real": 0.480114 + }, + { + "imag": 0.470131, + "real": 0.505034 + }, + { + "imag": 0.14959, + "real": -0.161835 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.228604, + "real": -0.054299 + }, + { + "imag": 0.455053, + "real": 0.496733 + }, + { + "imag": 0.449717, + "real": 0.523024 + }, + { + "imag": 0.160027, + "real": -0.160141 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.233309, + "real": -0.051957 + }, + { + "imag": 0.433243, + "real": 0.512574 + }, + { + "imag": 0.427724, + "real": 0.54076 + }, + { + "imag": 0.172464, + "real": -0.159213 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.237073, + "real": -0.050172 + }, + { + "imag": 0.409836, + "real": 0.529306 + }, + { + "imag": 0.404999, + "real": 0.558994 + }, + { + "imag": 0.183426, + "real": -0.159128 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.242342, + "real": -0.04508 + }, + { + "imag": 0.387136, + "real": 0.543906 + }, + { + "imag": 0.382069, + "real": 0.575058 + }, + { + "imag": 0.193994, + "real": -0.155969 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.246617, + "real": -0.041662 + }, + { + "imag": 0.363295, + "real": 0.56005 + }, + { + "imag": 0.358277, + "real": 0.590634 + }, + { + "imag": 0.20395, + "real": -0.151634 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.248989, + "real": -0.035569 + }, + { + "imag": 0.340605, + "real": 0.573689 + }, + { + "imag": 0.336398, + "real": 0.605043 + }, + { + "imag": 0.218217, + "real": -0.147872 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.249916, + "real": -0.030095 + }, + { + "imag": 0.315015, + "real": 0.58688 + }, + { + "imag": 0.312848, + "real": 0.619512 + }, + { + "imag": 0.230049, + "real": -0.150321 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.254116, + "real": -0.024042 + }, + { + "imag": 0.293448, + "real": 0.598557 + }, + { + "imag": 0.2912, + "real": 0.632619 + }, + { + "imag": 0.240069, + "real": -0.152538 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.2546, + "real": -0.014622 + }, + { + "imag": 0.266804, + "real": 0.612323 + }, + { + "imag": 0.266794, + "real": 0.645283 + }, + { + "imag": 0.245561, + "real": -0.152937 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.256887, + "real": -0.004692 + }, + { + "imag": 0.242573, + "real": 0.622885 + }, + { + "imag": 0.244037, + "real": 0.655495 + }, + { + "imag": 0.250933, + "real": -0.153769 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.259089, + "real": 0.003018 + }, + { + "imag": 0.217215, + "real": 0.634548 + }, + { + "imag": 0.221635, + "real": 0.665594 + }, + { + "imag": 0.254788, + "real": -0.154252 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.262468, + "real": 0.011543 + }, + { + "imag": 0.188555, + "real": 0.643046 + }, + { + "imag": 0.195035, + "real": 0.672709 + }, + { + "imag": 0.25877, + "real": -0.15343 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.265597, + "real": 0.02121 + }, + { + "imag": 0.163973, + "real": 0.652566 + }, + { + "imag": 0.171429, + "real": 0.681827 + }, + { + "imag": 0.26199, + "real": -0.150809 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.266141, + "real": 0.029488 + }, + { + "imag": 0.140744, + "real": 0.661205 + }, + { + "imag": 0.13907, + "real": 0.689129 + }, + { + "imag": 0.266393, + "real": -0.135444 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.270787, + "real": 0.039396 + }, + { + "imag": 0.113595, + "real": 0.667271 + }, + { + "imag": 0.124075, + "real": 0.691548 + }, + { + "imag": 0.261905, + "real": -0.144264 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.272515, + "real": 0.049304 + }, + { + "imag": 0.087525, + "real": 0.671038 + }, + { + "imag": 0.098641, + "real": 0.694605 + }, + { + "imag": 0.260515, + "real": -0.14081 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.273436, + "real": 0.059098 + }, + { + "imag": 0.06367, + "real": 0.674769 + }, + { + "imag": 0.075681, + "real": 0.695618 + }, + { + "imag": 0.262066, + "real": -0.131912 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.274179, + "real": 0.068082 + }, + { + "imag": 0.040513, + "real": 0.677591 + }, + { + "imag": 0.049195, + "real": 0.695046 + }, + { + "imag": 0.259974, + "real": -0.125317 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.27551, + "real": 0.078274 + }, + { + "imag": 0.01828, + "real": 0.680163 + }, + { + "imag": 0.022544, + "real": 0.693642 + }, + { + "imag": 0.258178, + "real": -0.115566 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.278145, + "real": 0.085683 + }, + { + "imag": -0.004534, + "real": 0.68226 + }, + { + "imag": -0.003396, + "real": 0.693523 + }, + { + "imag": 0.255194, + "real": -0.106836 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.274866, + "real": 0.095059 + }, + { + "imag": -0.024987, + "real": 0.684729 + }, + { + "imag": -0.030262, + "real": 0.691477 + }, + { + "imag": 0.251938, + "real": -0.094151 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.273943, + "real": 0.105673 + }, + { + "imag": -0.047529, + "real": 0.684975 + }, + { + "imag": -0.057182, + "real": 0.690662 + }, + { + "imag": 0.248075, + "real": -0.083678 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.271942, + "real": 0.112152 + }, + { + "imag": -0.070638, + "real": 0.685109 + }, + { + "imag": -0.084628, + "real": 0.688681 + }, + { + "imag": 0.243241, + "real": -0.070284 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.2728, + "real": 0.120259 + }, + { + "imag": -0.093264, + "real": 0.688322 + }, + { + "imag": -0.111802, + "real": 0.686499 + }, + { + "imag": 0.237762, + "real": -0.054865 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.267912, + "real": 0.129807 + }, + { + "imag": -0.114395, + "real": 0.688092 + }, + { + "imag": -0.13688, + "real": 0.684051 + }, + { + "imag": 0.234191, + "real": -0.040668 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.264248, + "real": 0.138395 + }, + { + "imag": -0.140968, + "real": 0.689461 + }, + { + "imag": -0.162762, + "real": 0.681805 + }, + { + "imag": 0.22779, + "real": -0.019129 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.258461, + "real": 0.148383 + }, + { + "imag": -0.168555, + "real": 0.688959 + }, + { + "imag": -0.191551, + "real": 0.676657 + }, + { + "imag": 0.223956, + "real": -0.00732 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.255184, + "real": 0.146933 + }, + { + "imag": -0.19411, + "real": 0.686229 + }, + { + "imag": -0.2231, + "real": 0.670586 + }, + { + "imag": 0.222603, + "real": 0.010819 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.24868, + "real": 0.165327 + }, + { + "imag": -0.225273, + "real": 0.682453 + }, + { + "imag": -0.250981, + "real": 0.662605 + }, + { + "imag": 0.215358, + "real": 0.027165 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.244198, + "real": 0.172965 + }, + { + "imag": -0.257764, + "real": 0.676642 + }, + { + "imag": -0.281089, + "real": 0.653224 + }, + { + "imag": 0.20884, + "real": 0.044648 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.237946, + "real": 0.182557 + }, + { + "imag": -0.291128, + "real": 0.667355 + }, + { + "imag": -0.311792, + "real": 0.643167 + }, + { + "imag": 0.2063, + "real": 0.05999 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.229664, + "real": 0.190531 + }, + { + "imag": -0.32206, + "real": 0.65523 + }, + { + "imag": -0.342731, + "real": 0.629774 + }, + { + "imag": 0.202478, + "real": 0.076776 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.228973, + "real": 0.202777 + }, + { + "imag": -0.355718, + "real": 0.642874 + }, + { + "imag": -0.373039, + "real": 0.614302 + }, + { + "imag": 0.19644, + "real": 0.094251 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.218548, + "real": 0.208571 + }, + { + "imag": -0.386799, + "real": 0.621736 + }, + { + "imag": -0.398094, + "real": 0.597439 + }, + { + "imag": 0.194082, + "real": 0.111635 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.214419, + "real": 0.221307 + }, + { + "imag": -0.418421, + "real": 0.599378 + }, + { + "imag": -0.42418, + "real": 0.577153 + }, + { + "imag": 0.19432, + "real": 0.125963 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.209414, + "real": 0.231417 + }, + { + "imag": -0.445508, + "real": 0.575633 + }, + { + "imag": -0.446444, + "real": 0.554919 + }, + { + "imag": 0.190268, + "real": 0.142191 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 0.200308, + "real": 0.239611 + }, + { + "imag": -0.465308, + "real": 0.550301 + }, + { + "imag": -0.464639, + "real": 0.532698 + }, + { + "imag": 0.181603, + "real": 0.161906 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 0.191211, + "real": 0.244702 + }, + { + "imag": -0.485192, + "real": 0.525192 + }, + { + "imag": -0.482895, + "real": 0.508501 + }, + { + "imag": 0.17816, + "real": 0.182712 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P23_THROUGH", + "ports": 2 + } + }, + "type": "Through" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 1650478432128262356, + "loss": 0.0, + "name": "Port 2 to 4", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.482529, + "real": 0.260476 + }, + { + "imag": 0.233356, + "real": 0.691191 + }, + { + "imag": 0.475309, + "real": 0.619539 + }, + { + "imag": -0.028233, + "real": 0.124673 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.091781, + "real": 0.255139 + }, + { + "imag": -0.05083, + "real": 0.843871 + }, + { + "imag": 0.148622, + "real": 0.886478 + }, + { + "imag": -0.009716, + "real": 0.127385 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.011481, + "real": 0.118181 + }, + { + "imag": -0.066964, + "real": 0.839058 + }, + { + "imag": -0.069275, + "real": 0.841869 + }, + { + "imag": -0.011476, + "real": 0.118682 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.015514, + "real": 0.117925 + }, + { + "imag": -0.096964, + "real": 0.836906 + }, + { + "imag": -0.099612, + "real": 0.839205 + }, + { + "imag": -0.014984, + "real": 0.118432 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.019137, + "real": 0.117047 + }, + { + "imag": -0.12737, + "real": 0.830047 + }, + { + "imag": -0.128994, + "real": 0.832186 + }, + { + "imag": -0.018273, + "real": 0.117783 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.022102, + "real": 0.116384 + }, + { + "imag": -0.154372, + "real": 0.8228 + }, + { + "imag": -0.157292, + "real": 0.825174 + }, + { + "imag": -0.021279, + "real": 0.117272 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.025514, + "real": 0.116408 + }, + { + "imag": -0.185351, + "real": 0.817553 + }, + { + "imag": -0.188397, + "real": 0.8193550000000001 + }, + { + "imag": -0.024223, + "real": 0.117363 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.028522, + "real": 0.116211 + }, + { + "imag": -0.213672, + "real": 0.809738 + }, + { + "imag": -0.216885, + "real": 0.811462 + }, + { + "imag": -0.026895, + "real": 0.117255 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.031166, + "real": 0.115763 + }, + { + "imag": -0.242012, + "real": 0.800869 + }, + { + "imag": -0.245761, + "real": 0.802498 + }, + { + "imag": -0.029763, + "real": 0.117105 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.033796, + "real": 0.115367 + }, + { + "imag": -0.27059, + "real": 0.790867 + }, + { + "imag": -0.273188, + "real": 0.792428 + }, + { + "imag": -0.032002, + "real": 0.11726 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.036253, + "real": 0.115105 + }, + { + "imag": -0.297878, + "real": 0.780318 + }, + { + "imag": -0.299961, + "real": 0.782171 + }, + { + "imag": -0.033893, + "real": 0.11727 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.038538, + "real": 0.114957 + }, + { + "imag": -0.324648, + "real": 0.768696 + }, + { + "imag": -0.327485, + "real": 0.770367 + }, + { + "imag": -0.036056, + "real": 0.116512 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.040932, + "real": 0.114784 + }, + { + "imag": -0.351136, + "real": 0.756535 + }, + { + "imag": -0.353632, + "real": 0.75831 + }, + { + "imag": -0.038516, + "real": 0.116011 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.043187, + "real": 0.114254 + }, + { + "imag": -0.378222, + "real": 0.74292 + }, + { + "imag": -0.380329, + "real": 0.744942 + }, + { + "imag": -0.040762, + "real": 0.114856 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.044884, + "real": 0.113112 + }, + { + "imag": -0.404259, + "real": 0.72892 + }, + { + "imag": -0.406458, + "real": 0.730416 + }, + { + "imag": -0.04336, + "real": 0.113758 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.046569, + "real": 0.11183 + }, + { + "imag": -0.429735, + "real": 0.713908 + }, + { + "imag": -0.431991, + "real": 0.715023 + }, + { + "imag": -0.045817, + "real": 0.11247 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.048642, + "real": 0.110669 + }, + { + "imag": -0.454345, + "real": 0.698015 + }, + { + "imag": -0.456885, + "real": 0.698815 + }, + { + "imag": -0.048411, + "real": 0.110952 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.050665, + "real": 0.109015 + }, + { + "imag": -0.478718, + "real": 0.681062 + }, + { + "imag": -0.481154, + "real": 0.681814 + }, + { + "imag": -0.051024, + "real": 0.109233 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.05294, + "real": 0.10755 + }, + { + "imag": -0.502178, + "real": 0.663473 + }, + { + "imag": -0.504941, + "real": 0.664035 + }, + { + "imag": -0.053624, + "real": 0.107308 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.055253, + "real": 0.105756 + }, + { + "imag": -0.52531, + "real": 0.644907 + }, + { + "imag": -0.528053, + "real": 0.645623 + }, + { + "imag": -0.056144, + "real": 0.105173 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.05772, + "real": 0.104211 + }, + { + "imag": -0.547522, + "real": 0.625471 + }, + { + "imag": -0.550423, + "real": 0.625974 + }, + { + "imag": -0.058787, + "real": 0.102478 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.060503, + "real": 0.102263 + }, + { + "imag": -0.569536, + "real": 0.604964 + }, + { + "imag": -0.572207, + "real": 0.605193 + }, + { + "imag": -0.061456, + "real": 0.100156 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.063322, + "real": 0.100968 + }, + { + "imag": -0.590417, + "real": 0.584937 + }, + { + "imag": -0.592776, + "real": 0.5859 + }, + { + "imag": -0.063987, + "real": 0.098462 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.066457, + "real": 0.099324 + }, + { + "imag": -0.610204, + "real": 0.563878 + }, + { + "imag": -0.61316, + "real": 0.564097 + }, + { + "imag": -0.066871, + "real": 0.096481 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.069625, + "real": 0.097777 + }, + { + "imag": -0.629616, + "real": 0.541267 + }, + { + "imag": -0.632205, + "real": 0.54218 + }, + { + "imag": -0.069328, + "real": 0.094689 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.072901, + "real": 0.09661 + }, + { + "imag": -0.647997, + "real": 0.518371 + }, + { + "imag": -0.650923, + "real": 0.518531 + }, + { + "imag": -0.071911, + "real": 0.092814 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.076257, + "real": 0.095636 + }, + { + "imag": -0.665373, + "real": 0.495675 + }, + { + "imag": -0.666867, + "real": 0.497022 + }, + { + "imag": -0.074292, + "real": 0.090733 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.079679, + "real": 0.094881 + }, + { + "imag": -0.681952, + "real": 0.470911 + }, + { + "imag": -0.684201, + "real": 0.47178 + }, + { + "imag": -0.076662, + "real": 0.089454 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.083247, + "real": 0.094526 + }, + { + "imag": -0.697676, + "real": 0.44636 + }, + { + "imag": -0.699858, + "real": 0.447925 + }, + { + "imag": -0.07924, + "real": 0.087996 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.086675, + "real": 0.094347 + }, + { + "imag": -0.712499, + "real": 0.421363 + }, + { + "imag": -0.714932, + "real": 0.422809 + }, + { + "imag": -0.081759, + "real": 0.086239 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.089971, + "real": 0.094566 + }, + { + "imag": -0.726509, + "real": 0.396106 + }, + { + "imag": -0.72894, + "real": 0.397034 + }, + { + "imag": -0.083938, + "real": 0.084822 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.093247, + "real": 0.094767 + }, + { + "imag": -0.739535, + "real": 0.370336 + }, + { + "imag": -0.741971, + "real": 0.370529 + }, + { + "imag": -0.08575, + "real": 0.083661 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.096093, + "real": 0.095097 + }, + { + "imag": -0.751746, + "real": 0.344121 + }, + { + "imag": -0.754077, + "real": 0.345094 + }, + { + "imag": -0.087554, + "real": 0.083058 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.098492, + "real": 0.095272 + }, + { + "imag": -0.763188, + "real": 0.31734 + }, + { + "imag": -0.765134, + "real": 0.318282 + }, + { + "imag": -0.0894, + "real": 0.082339 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.100629, + "real": 0.095262 + }, + { + "imag": -0.773577, + "real": 0.290344 + }, + { + "imag": -0.775562, + "real": 0.291587 + }, + { + "imag": -0.09078, + "real": 0.081701 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.103118, + "real": 0.093471 + }, + { + "imag": -0.782991, + "real": 0.263591 + }, + { + "imag": -0.785352, + "real": 0.263833 + }, + { + "imag": -0.092197, + "real": 0.081106 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.105227, + "real": 0.093295 + }, + { + "imag": -0.791505, + "real": 0.23536 + }, + { + "imag": -0.793764, + "real": 0.235751 + }, + { + "imag": -0.093364, + "real": 0.080348 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.107049, + "real": 0.09281 + }, + { + "imag": -0.799071, + "real": 0.20722 + }, + { + "imag": -0.80127, + "real": 0.20728 + }, + { + "imag": -0.094418, + "real": 0.079134 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.107855, + "real": 0.092027 + }, + { + "imag": -0.805415, + "real": 0.179042 + }, + { + "imag": -0.807416, + "real": 0.179926 + }, + { + "imag": -0.095021, + "real": 0.078502 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.108589, + "real": 0.090618 + }, + { + "imag": -0.810983, + "real": 0.151134 + }, + { + "imag": -0.812976, + "real": 0.150336 + }, + { + "imag": -0.0957, + "real": 0.077228 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.109002, + "real": 0.088564 + }, + { + "imag": -0.81561, + "real": 0.12294 + }, + { + "imag": -0.817321, + "real": 0.120536 + }, + { + "imag": -0.096281, + "real": 0.075622 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.108704, + "real": 0.085956 + }, + { + "imag": -0.819437, + "real": 0.093835 + }, + { + "imag": -0.821133, + "real": 0.09295 + }, + { + "imag": -0.095858, + "real": 0.074673 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.108351, + "real": 0.082746 + }, + { + "imag": -0.822126, + "real": 0.064846 + }, + { + "imag": -0.823841, + "real": 0.064572 + }, + { + "imag": -0.095723, + "real": 0.073088 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.10777, + "real": 0.078623 + }, + { + "imag": -0.823463, + "real": 0.0358 + }, + { + "imag": -0.825798, + "real": 0.03476 + }, + { + "imag": -0.095236, + "real": 0.071195 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.107155, + "real": 0.07458 + }, + { + "imag": -0.824181, + "real": 0.006791 + }, + { + "imag": -0.82631, + "real": 0.005687 + }, + { + "imag": -0.094346, + "real": 0.069049 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.106501, + "real": 0.069248 + }, + { + "imag": -0.823887, + "real": -0.02237 + }, + { + "imag": -0.826134, + "real": -0.023734 + }, + { + "imag": -0.09324, + "real": 0.066449 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.105698, + "real": 0.063711 + }, + { + "imag": -0.822421, + "real": -0.051366 + }, + { + "imag": -0.824451, + "real": -0.053644 + }, + { + "imag": -0.092195, + "real": 0.064175 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.104961, + "real": 0.05766 + }, + { + "imag": -0.819944, + "real": -0.080215 + }, + { + "imag": -0.822399, + "real": -0.082925 + }, + { + "imag": -0.091102, + "real": 0.061593 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.104698, + "real": 0.051079 + }, + { + "imag": -0.816488, + "real": -0.109349 + }, + { + "imag": -0.819371, + "real": -0.111252 + }, + { + "imag": -0.089788, + "real": 0.058932 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.104071, + "real": 0.044896 + }, + { + "imag": -0.811479, + "real": -0.138351 + }, + { + "imag": -0.814496, + "real": -0.141774 + }, + { + "imag": -0.088546, + "real": 0.05606 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.103798, + "real": 0.038135 + }, + { + "imag": -0.805897, + "real": -0.166549 + }, + { + "imag": -0.808147, + "real": -0.170963 + }, + { + "imag": -0.087013, + "real": 0.05247 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.104177, + "real": 0.031339 + }, + { + "imag": -0.798957, + "real": -0.195331 + }, + { + "imag": -0.801344, + "real": -0.199339 + }, + { + "imag": -0.086607, + "real": 0.048583 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.10498, + "real": 0.024669 + }, + { + "imag": -0.790897, + "real": -0.223378 + }, + { + "imag": -0.793103, + "real": -0.227778 + }, + { + "imag": -0.085657, + "real": 0.045499 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.105473, + "real": 0.018162 + }, + { + "imag": -0.782068, + "real": -0.250619 + }, + { + "imag": -0.78353, + "real": -0.255635 + }, + { + "imag": -0.084689, + "real": 0.042504 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.1065, + "real": 0.01195 + }, + { + "imag": -0.772182, + "real": -0.278264 + }, + { + "imag": -0.773737, + "real": -0.282585 + }, + { + "imag": -0.08459, + "real": 0.039254 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.107519, + "real": 0.005792 + }, + { + "imag": -0.761341, + "real": -0.305147 + }, + { + "imag": -0.76282, + "real": -0.309606 + }, + { + "imag": -0.084413, + "real": 0.036218 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.109166, + "real": -0.000278 + }, + { + "imag": -0.749582, + "real": -0.331692 + }, + { + "imag": -0.751284, + "real": -0.335186 + }, + { + "imag": -0.084337, + "real": 0.033152 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.111312, + "real": -0.006074 + }, + { + "imag": -0.737115, + "real": -0.35723 + }, + { + "imag": -0.740986, + "real": -0.35826 + }, + { + "imag": -0.08504, + "real": 0.030809 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.11375, + "real": -0.010912 + }, + { + "imag": -0.723573, + "real": -0.382651 + }, + { + "imag": -0.725503, + "real": -0.386348 + }, + { + "imag": -0.085168, + "real": 0.027259 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.116576, + "real": -0.015375 + }, + { + "imag": -0.709456, + "real": -0.407479 + }, + { + "imag": -0.710969, + "real": -0.41156 + }, + { + "imag": -0.085771, + "real": 0.024252 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.118998, + "real": -0.018964 + }, + { + "imag": -0.69434, + "real": -0.431876 + }, + { + "imag": -0.695881, + "real": -0.435658 + }, + { + "imag": -0.08648, + "real": 0.021475 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.121502, + "real": -0.022445 + }, + { + "imag": -0.677987, + "real": -0.456303 + }, + { + "imag": -0.679427, + "real": -0.459833 + }, + { + "imag": -0.087539, + "real": 0.018679 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.123863, + "real": -0.025333 + }, + { + "imag": -0.661063, + "real": -0.479171 + }, + { + "imag": -0.662071, + "real": -0.482694 + }, + { + "imag": -0.0889, + "real": 0.01588 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.12652, + "real": -0.027681 + }, + { + "imag": -0.643741, + "real": -0.501834 + }, + { + "imag": -0.646018, + "real": -0.503845 + }, + { + "imag": -0.090216, + "real": 0.014334 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.128497, + "real": -0.030223 + }, + { + "imag": -0.625419, + "real": -0.524195 + }, + { + "imag": -0.627343, + "real": -0.527119 + }, + { + "imag": -0.091664, + "real": 0.011884 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.130357, + "real": -0.032227 + }, + { + "imag": -0.606457, + "real": -0.545368 + }, + { + "imag": -0.608268, + "real": -0.547493 + }, + { + "imag": -0.093049, + "real": 0.009636 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.131888, + "real": -0.034016 + }, + { + "imag": -0.586548, + "real": -0.566185 + }, + { + "imag": -0.58825, + "real": -0.568336 + }, + { + "imag": -0.094193, + "real": 0.007752 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.13276, + "real": -0.035542 + }, + { + "imag": -0.566747, + "real": -0.585667 + }, + { + "imag": -0.568403, + "real": -0.587835 + }, + { + "imag": -0.095368, + "real": 0.006007 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.133367, + "real": -0.037596 + }, + { + "imag": -0.54544, + "real": -0.605093 + }, + { + "imag": -0.545003, + "real": -0.608359 + }, + { + "imag": -0.096901, + "real": 0.004071 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.134086, + "real": -0.038639 + }, + { + "imag": -0.524075, + "real": -0.623611 + }, + { + "imag": -0.525713, + "real": -0.625899 + }, + { + "imag": -0.096913, + "real": 0.002503 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.133629, + "real": -0.040215 + }, + { + "imag": -0.501785, + "real": -0.641501 + }, + { + "imag": -0.504253, + "real": -0.64364 + }, + { + "imag": -0.097101, + "real": 0.00069 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.133676, + "real": -0.041814 + }, + { + "imag": -0.479094, + "real": -0.658348 + }, + { + "imag": -0.480707, + "real": -0.660708 + }, + { + "imag": -0.097234, + "real": -0.001495 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.13287, + "real": -0.043417 + }, + { + "imag": -0.455606, + "real": -0.674132 + }, + { + "imag": -0.457127, + "real": -0.676894 + }, + { + "imag": -0.097119, + "real": -0.003797 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.131266, + "real": -0.04504 + }, + { + "imag": -0.431346, + "real": -0.689906 + }, + { + "imag": -0.433366, + "real": -0.692774 + }, + { + "imag": -0.097082, + "real": -0.006133 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.129489, + "real": -0.046989 + }, + { + "imag": -0.406567, + "real": -0.704636 + }, + { + "imag": -0.408755, + "real": -0.707469 + }, + { + "imag": -0.096913, + "real": -0.008825 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.128471, + "real": -0.048776 + }, + { + "imag": -0.378639, + "real": -0.718722 + }, + { + "imag": -0.381195, + "real": -0.721905 + }, + { + "imag": -0.096542, + "real": -0.011363 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.125505, + "real": -0.050424 + }, + { + "imag": -0.354675, + "real": -0.731066 + }, + { + "imag": -0.357197, + "real": -0.733401 + }, + { + "imag": -0.096169, + "real": -0.013745 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.121818, + "real": -0.054138 + }, + { + "imag": -0.329558, + "real": -0.742195 + }, + { + "imag": -0.330343, + "real": -0.745728 + }, + { + "imag": -0.09541, + "real": -0.015852 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.118769, + "real": -0.057036 + }, + { + "imag": -0.302986, + "real": -0.75301 + }, + { + "imag": -0.303621, + "real": -0.756878 + }, + { + "imag": -0.094496, + "real": -0.018596 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.116048, + "real": -0.060528 + }, + { + "imag": -0.276245, + "real": -0.762789 + }, + { + "imag": -0.276714, + "real": -0.766337 + }, + { + "imag": -0.093532, + "real": -0.021426 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.113241, + "real": -0.063973 + }, + { + "imag": -0.249017, + "real": -0.771416 + }, + { + "imag": -0.249317, + "real": -0.775385 + }, + { + "imag": -0.092507, + "real": -0.024709 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.110499, + "real": -0.067629 + }, + { + "imag": -0.221477, + "real": -0.779269 + }, + { + "imag": -0.221796, + "real": -0.783373 + }, + { + "imag": -0.091499, + "real": -0.028364 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.108089, + "real": -0.071093 + }, + { + "imag": -0.193805, + "real": -0.786296 + }, + { + "imag": -0.193906, + "real": -0.790282 + }, + { + "imag": -0.090902, + "real": -0.031776 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.105504, + "real": -0.074822 + }, + { + "imag": -0.166065, + "real": -0.792336 + }, + { + "imag": -0.165524, + "real": -0.796155 + }, + { + "imag": -0.090096, + "real": -0.035309 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.103004, + "real": -0.07877 + }, + { + "imag": -0.138074, + "real": -0.79711 + }, + { + "imag": -0.137541, + "real": -0.801114 + }, + { + "imag": -0.089306, + "real": -0.038686 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.100847, + "real": -0.082352 + }, + { + "imag": -0.109745, + "real": -0.801476 + }, + { + "imag": -0.106839, + "real": -0.804606 + }, + { + "imag": -0.088465, + "real": -0.043247 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.09861, + "real": -0.086128 + }, + { + "imag": -0.081399, + "real": -0.804564 + }, + { + "imag": -0.081302, + "real": -0.80772 + }, + { + "imag": -0.08817, + "real": -0.046138 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.096099, + "real": -0.090873 + }, + { + "imag": -0.052728, + "real": -0.806484 + }, + { + "imag": -0.051417, + "real": -0.809412 + }, + { + "imag": -0.08792, + "real": -0.049579 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.094527, + "real": -0.094848 + }, + { + "imag": -0.024814, + "real": -0.807435 + }, + { + "imag": -0.022501, + "real": -0.810004 + }, + { + "imag": -0.08789, + "real": -0.052768 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.09274, + "real": -0.098564 + }, + { + "imag": 0.004046, + "real": -0.80767 + }, + { + "imag": 0.004968, + "real": -0.810058 + }, + { + "imag": -0.0879, + "real": -0.056033 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.091426, + "real": -0.102256 + }, + { + "imag": 0.031444, + "real": -0.806805 + }, + { + "imag": 0.03182, + "real": -0.810031 + }, + { + "imag": -0.087523, + "real": -0.058357 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.088876, + "real": -0.105764 + }, + { + "imag": 0.059846, + "real": -0.805167 + }, + { + "imag": 0.06046, + "real": -0.807644 + }, + { + "imag": -0.087406, + "real": -0.06104 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.087075, + "real": -0.109463 + }, + { + "imag": 0.087952, + "real": -0.802219 + }, + { + "imag": 0.089626, + "real": -0.804111 + }, + { + "imag": -0.087547, + "real": -0.063357 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.085288, + "real": -0.113179 + }, + { + "imag": 0.115412, + "real": -0.798377 + }, + { + "imag": 0.116421, + "real": -0.800378 + }, + { + "imag": -0.086716, + "real": -0.065525 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.083162, + "real": -0.116275 + }, + { + "imag": 0.14302, + "real": -0.793816 + }, + { + "imag": 0.144951, + "real": -0.79544 + }, + { + "imag": -0.086463, + "real": -0.067567 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.080653, + "real": -0.118526 + }, + { + "imag": 0.170636, + "real": -0.788267 + }, + { + "imag": 0.171319, + "real": -0.789762 + }, + { + "imag": -0.085749, + "real": -0.069585 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.078041, + "real": -0.121064 + }, + { + "imag": 0.198216, + "real": -0.781579 + }, + { + "imag": 0.199067, + "real": -0.782833 + }, + { + "imag": -0.085363, + "real": -0.071399 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.074523, + "real": -0.123285 + }, + { + "imag": 0.225172, + "real": -0.773359 + }, + { + "imag": 0.226727, + "real": -0.775518 + }, + { + "imag": -0.085272, + "real": -0.072814 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.070685, + "real": -0.125291 + }, + { + "imag": 0.251845, + "real": -0.764787 + }, + { + "imag": 0.252901, + "real": -0.767431 + }, + { + "imag": -0.08499, + "real": -0.073913 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.066497, + "real": -0.127049 + }, + { + "imag": 0.278432, + "real": -0.755313 + }, + { + "imag": 0.280321, + "real": -0.757778 + }, + { + "imag": -0.084243, + "real": -0.074924 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.061754, + "real": -0.128748 + }, + { + "imag": 0.304023, + "real": -0.744759 + }, + { + "imag": 0.306089, + "real": -0.747427 + }, + { + "imag": -0.083765, + "real": -0.075728 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.0565, + "real": -0.130739 + }, + { + "imag": 0.329965, + "real": -0.733235 + }, + { + "imag": 0.331958, + "real": -0.735384 + }, + { + "imag": -0.082692, + "real": -0.076061 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.051135, + "real": -0.131117 + }, + { + "imag": 0.355381, + "real": -0.720073 + }, + { + "imag": 0.3583, + "real": -0.721906 + }, + { + "imag": -0.081155, + "real": -0.075611 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.047759, + "real": -0.130317 + }, + { + "imag": 0.377947, + "real": -0.704829 + }, + { + "imag": 0.380396, + "real": -0.707085 + }, + { + "imag": -0.082595, + "real": -0.074589 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.043924, + "real": -0.13484 + }, + { + "imag": 0.400934, + "real": -0.69403 + }, + { + "imag": 0.403795, + "real": -0.695847 + }, + { + "imag": -0.082371, + "real": -0.07851 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.037536, + "real": -0.137593 + }, + { + "imag": 0.425547, + "real": -0.680678 + }, + { + "imag": 0.429109, + "real": -0.681856 + }, + { + "imag": -0.079718, + "real": -0.080385 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.031101, + "real": -0.139257 + }, + { + "imag": 0.448946, + "real": -0.664873 + }, + { + "imag": 0.458069, + "real": -0.663373 + }, + { + "imag": -0.075837, + "real": -0.083149 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.024751, + "real": -0.141175 + }, + { + "imag": 0.47235, + "real": -0.648588 + }, + { + "imag": 0.476326, + "real": -0.648408 + }, + { + "imag": -0.075277, + "real": -0.082916 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.018759, + "real": -0.142986 + }, + { + "imag": 0.495125, + "real": -0.631193 + }, + { + "imag": 0.498403, + "real": -0.630924 + }, + { + "imag": -0.072649, + "real": -0.084617 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.012855, + "real": -0.144667 + }, + { + "imag": 0.516628, + "real": -0.612727 + }, + { + "imag": 0.520018, + "real": -0.612342 + }, + { + "imag": -0.070484, + "real": -0.086285 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.006862, + "real": -0.146001 + }, + { + "imag": 0.537506, + "real": -0.59386 + }, + { + "imag": 0.540713, + "real": -0.592576 + }, + { + "imag": -0.068073, + "real": -0.08798 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.001967, + "real": -0.148876 + }, + { + "imag": 0.557451, + "real": -0.574254 + }, + { + "imag": 0.560715, + "real": -0.572959 + }, + { + "imag": -0.065766, + "real": -0.090427 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.002886, + "real": -0.150941 + }, + { + "imag": 0.576716, + "real": -0.553818 + }, + { + "imag": 0.580229, + "real": -0.552053 + }, + { + "imag": -0.063215, + "real": -0.092618 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.00728, + "real": -0.152973 + }, + { + "imag": 0.595378, + "real": -0.532748 + }, + { + "imag": 0.598637, + "real": -0.530685 + }, + { + "imag": -0.060486, + "real": -0.094518 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.011129, + "real": -0.1547 + }, + { + "imag": 0.613103, + "real": -0.511402 + }, + { + "imag": 0.615435, + "real": -0.50995 + }, + { + "imag": -0.05782, + "real": -0.096289 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.014198, + "real": -0.156416 + }, + { + "imag": 0.63063, + "real": -0.489729 + }, + { + "imag": 0.633042, + "real": -0.488041 + }, + { + "imag": -0.055162, + "real": -0.098492 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.017199, + "real": -0.158312 + }, + { + "imag": 0.646868, + "real": -0.467163 + }, + { + "imag": 0.650163, + "real": -0.464674 + }, + { + "imag": -0.052237, + "real": -0.100506 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.019524, + "real": -0.160408 + }, + { + "imag": 0.662513, + "real": -0.443325 + }, + { + "imag": 0.665488, + "real": -0.440969 + }, + { + "imag": -0.048985, + "real": -0.102621 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.021296, + "real": -0.161408 + }, + { + "imag": 0.67706, + "real": -0.419636 + }, + { + "imag": 0.680111, + "real": -0.417634 + }, + { + "imag": -0.045863, + "real": -0.104686 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.023202, + "real": -0.161928 + }, + { + "imag": 0.690932, + "real": -0.395397 + }, + { + "imag": 0.694041, + "real": -0.393491 + }, + { + "imag": -0.042722, + "real": -0.106622 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.025081, + "real": -0.162315 + }, + { + "imag": 0.704032, + "real": -0.37051 + }, + { + "imag": 0.71531, + "real": -0.357857 + }, + { + "imag": -0.040017, + "real": -0.105668 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.026235, + "real": -0.16188 + }, + { + "imag": 0.715797, + "real": -0.346301 + }, + { + "imag": 0.719553, + "real": -0.344455 + }, + { + "imag": -0.037529, + "real": -0.109659 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.027799, + "real": -0.161108 + }, + { + "imag": 0.726856, + "real": -0.32116 + }, + { + "imag": 0.730852, + "real": -0.319665 + }, + { + "imag": -0.034617, + "real": -0.111124 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.029734, + "real": -0.16008 + }, + { + "imag": 0.737496, + "real": -0.295626 + }, + { + "imag": 0.741959, + "real": -0.293729 + }, + { + "imag": -0.031645, + "real": -0.111815 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.030885, + "real": -0.158622 + }, + { + "imag": 0.746946, + "real": -0.269739 + }, + { + "imag": 0.751524, + "real": -0.268688 + }, + { + "imag": -0.029228, + "real": -0.112615 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.033867, + "real": -0.157049 + }, + { + "imag": 0.757442, + "real": -0.243572 + }, + { + "imag": 0.762043, + "real": -0.243622 + }, + { + "imag": -0.025386, + "real": -0.112903 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.033882, + "real": -0.154072 + }, + { + "imag": 0.763611, + "real": -0.216728 + }, + { + "imag": 0.768479, + "real": -0.216115 + }, + { + "imag": -0.023599, + "real": -0.112757 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.036366, + "real": -0.150465 + }, + { + "imag": 0.771644, + "real": -0.190115 + }, + { + "imag": 0.77624, + "real": -0.189291 + }, + { + "imag": -0.021121, + "real": -0.11342 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.038628, + "real": -0.147506 + }, + { + "imag": 0.778084, + "real": -0.163227 + }, + { + "imag": 0.782666, + "real": -0.162516 + }, + { + "imag": -0.018067, + "real": -0.113441 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.041667, + "real": -0.143792 + }, + { + "imag": 0.783221, + "real": -0.135552 + }, + { + "imag": 0.787731, + "real": -0.134761 + }, + { + "imag": -0.015228, + "real": -0.113139 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.045855, + "real": -0.140488 + }, + { + "imag": 0.787456, + "real": -0.108297 + }, + { + "imag": 0.791627, + "real": -0.106893 + }, + { + "imag": -0.012394, + "real": -0.113015 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.048737, + "real": -0.136348 + }, + { + "imag": 0.791114, + "real": -0.080242 + }, + { + "imag": 0.794899, + "real": -0.079746 + }, + { + "imag": -0.010035, + "real": -0.112331 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.053503, + "real": -0.132469 + }, + { + "imag": 0.793668, + "real": -0.05268 + }, + { + "imag": 0.796635, + "real": -0.051262 + }, + { + "imag": -0.007676, + "real": -0.1119 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.05812, + "real": -0.129101 + }, + { + "imag": 0.794658, + "real": -0.024189 + }, + { + "imag": 0.798174, + "real": -0.023054 + }, + { + "imag": -0.004757, + "real": -0.11206 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.063675, + "real": -0.125824 + }, + { + "imag": 0.794492, + "real": 0.004147 + }, + { + "imag": 0.798256, + "real": 0.004488 + }, + { + "imag": -0.002136, + "real": -0.112032 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.069303, + "real": -0.122332 + }, + { + "imag": 0.793248, + "real": 0.031183 + }, + { + "imag": 0.796393, + "real": 0.032468 + }, + { + "imag": 0.000318, + "real": -0.111471 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.074836, + "real": -0.119477 + }, + { + "imag": 0.790922, + "real": 0.059121 + }, + { + "imag": 0.794273, + "real": 0.06015 + }, + { + "imag": 0.0028769999999999998, + "real": -0.110574 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.07987, + "real": -0.116572 + }, + { + "imag": 0.788506, + "real": 0.086858 + }, + { + "imag": 0.791695, + "real": 0.087826 + }, + { + "imag": 0.005354, + "real": -0.110046 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.084924, + "real": -0.114196 + }, + { + "imag": 0.784436, + "real": 0.114616 + }, + { + "imag": 0.787362, + "real": 0.115018 + }, + { + "imag": 0.007794, + "real": -0.10933 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.090218, + "real": -0.112387 + }, + { + "imag": 0.779446, + "real": 0.141617 + }, + { + "imag": 0.782208, + "real": 0.142946 + }, + { + "imag": 0.010716, + "real": -0.108778 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.095303, + "real": -0.110218 + }, + { + "imag": 0.773738, + "real": 0.168221 + }, + { + "imag": 0.775823, + "real": 0.170285 + }, + { + "imag": 0.013421, + "real": -0.108324 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.099722, + "real": -0.108123 + }, + { + "imag": 0.767351, + "real": 0.19453 + }, + { + "imag": 0.770424, + "real": 0.195819 + }, + { + "imag": 0.016014, + "real": -0.107769 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.103581, + "real": -0.106747 + }, + { + "imag": 0.759556, + "real": 0.220869 + }, + { + "imag": 0.76183, + "real": 0.224238 + }, + { + "imag": 0.018209, + "real": -0.10744 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.107501, + "real": -0.105752 + }, + { + "imag": 0.751232, + "real": 0.246122 + }, + { + "imag": 0.753287, + "real": 0.25025 + }, + { + "imag": 0.020457, + "real": -0.107137 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.110727, + "real": -0.104626 + }, + { + "imag": 0.742331, + "real": 0.27171 + }, + { + "imag": 0.743615, + "real": 0.2758 + }, + { + "imag": 0.022771, + "real": -0.10684 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.113508, + "real": -0.103367 + }, + { + "imag": 0.731869, + "real": 0.296884 + }, + { + "imag": 0.73329, + "real": 0.3011 + }, + { + "imag": 0.024372, + "real": -0.106252 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.115023, + "real": -0.102023 + }, + { + "imag": 0.720822, + "real": 0.321514 + }, + { + "imag": 0.72144, + "real": 0.32593 + }, + { + "imag": 0.026087, + "real": -0.105393 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.116042, + "real": -0.100995 + }, + { + "imag": 0.708819, + "real": 0.346079 + }, + { + "imag": 0.708713, + "real": 0.35039 + }, + { + "imag": 0.027843, + "real": -0.104787 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.116172, + "real": -0.09885 + }, + { + "imag": 0.696703, + "real": 0.370621 + }, + { + "imag": 0.69579, + "real": 0.374823 + }, + { + "imag": 0.029615, + "real": -0.103161 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.11564, + "real": -0.096376 + }, + { + "imag": 0.683068, + "real": 0.394991 + }, + { + "imag": 0.681836, + "real": 0.398696 + }, + { + "imag": 0.031256, + "real": -0.101142 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.113282, + "real": -0.093474 + }, + { + "imag": 0.669147, + "real": 0.418835 + }, + { + "imag": 0.666896, + "real": 0.420122 + }, + { + "imag": 0.03279, + "real": -0.099534 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.113061, + "real": -0.091932 + }, + { + "imag": 0.655367, + "real": 0.441591 + }, + { + "imag": 0.653484, + "real": 0.443979 + }, + { + "imag": 0.035075, + "real": -0.097808 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.110924, + "real": -0.089272 + }, + { + "imag": 0.639743, + "real": 0.464414 + }, + { + "imag": 0.637839, + "real": 0.466289 + }, + { + "imag": 0.037189, + "real": -0.095774 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.109596, + "real": -0.085701 + }, + { + "imag": 0.623209, + "real": 0.486721 + }, + { + "imag": 0.62182, + "real": 0.487972 + }, + { + "imag": 0.039177, + "real": -0.093621 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.106919, + "real": -0.08171 + }, + { + "imag": 0.60591, + "real": 0.50836 + }, + { + "imag": 0.605973, + "real": 0.508569 + }, + { + "imag": 0.040766, + "real": -0.091877 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.103842, + "real": -0.077299 + }, + { + "imag": 0.587348, + "real": 0.529342 + }, + { + "imag": 0.588601, + "real": 0.530935 + }, + { + "imag": 0.04298, + "real": -0.090151 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.100927, + "real": -0.072797 + }, + { + "imag": 0.567629, + "real": 0.549679 + }, + { + "imag": 0.568737, + "real": 0.553399 + }, + { + "imag": 0.04619, + "real": -0.088107 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.098185, + "real": -0.068244 + }, + { + "imag": 0.546801, + "real": 0.569128 + }, + { + "imag": 0.548006, + "real": 0.573601 + }, + { + "imag": 0.04863, + "real": -0.086023 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.09602, + "real": -0.063163 + }, + { + "imag": 0.52578, + "real": 0.587884 + }, + { + "imag": 0.527412, + "real": 0.592903 + }, + { + "imag": 0.050711, + "real": -0.08398 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.093602, + "real": -0.058041 + }, + { + "imag": 0.504248, + "real": 0.605837 + }, + { + "imag": 0.506153, + "real": 0.610773 + }, + { + "imag": 0.052926, + "real": -0.081802 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.091475, + "real": -0.052501 + }, + { + "imag": 0.48162, + "real": 0.623148 + }, + { + "imag": 0.483929, + "real": 0.627834 + }, + { + "imag": 0.05501, + "real": -0.079516 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.089369, + "real": -0.046875 + }, + { + "imag": 0.459037, + "real": 0.639376 + }, + { + "imag": 0.461188, + "real": 0.643913 + }, + { + "imag": 0.057177, + "real": -0.077088 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.087485, + "real": -0.041044 + }, + { + "imag": 0.43549, + "real": 0.654487 + }, + { + "imag": 0.438013, + "real": 0.658727 + }, + { + "imag": 0.059248, + "real": -0.074379 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.086445, + "real": -0.035477 + }, + { + "imag": 0.412245, + "real": 0.669062 + }, + { + "imag": 0.413864, + "real": 0.673146 + }, + { + "imag": 0.061369, + "real": -0.07189 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.085319, + "real": -0.029823 + }, + { + "imag": 0.388412, + "real": 0.682685 + }, + { + "imag": 0.389777, + "real": 0.686527 + }, + { + "imag": 0.063845, + "real": -0.06941 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.086107, + "real": -0.024674 + }, + { + "imag": 0.364111, + "real": 0.695116 + }, + { + "imag": 0.365169, + "real": 0.699704 + }, + { + "imag": 0.066442, + "real": -0.067042 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.085641, + "real": -0.019685 + }, + { + "imag": 0.339601, + "real": 0.706672 + }, + { + "imag": 0.340478, + "real": 0.712316 + }, + { + "imag": 0.068493, + "real": -0.065057 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.084759, + "real": -0.014566 + }, + { + "imag": 0.314629, + "real": 0.717134 + }, + { + "imag": 0.316332, + "real": 0.723412 + }, + { + "imag": 0.070737, + "real": -0.062709 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.085136, + "real": -0.01005 + }, + { + "imag": 0.289624, + "real": 0.727166 + }, + { + "imag": 0.291821, + "real": 0.733761 + }, + { + "imag": 0.072873, + "real": -0.061108 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.085202, + "real": -0.0054729999999999996 + }, + { + "imag": 0.263879, + "real": 0.736603 + }, + { + "imag": 0.266116, + "real": 0.74296 + }, + { + "imag": 0.074348, + "real": -0.060406 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.086557, + "real": -0.001554 + }, + { + "imag": 0.238184, + "real": 0.745019 + }, + { + "imag": 0.240436, + "real": 0.751232 + }, + { + "imag": 0.07592, + "real": -0.059576 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.087208, + "real": 0.001613 + }, + { + "imag": 0.211897, + "real": 0.752464 + }, + { + "imag": 0.213741, + "real": 0.7582 + }, + { + "imag": 0.077108, + "real": -0.058283 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.088038, + "real": 0.004636 + }, + { + "imag": 0.185938, + "real": 0.759262 + }, + { + "imag": 0.186292, + "real": 0.765194 + }, + { + "imag": 0.077893, + "real": -0.056736 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.089088, + "real": 0.00705 + }, + { + "imag": 0.159492, + "real": 0.765736 + }, + { + "imag": 0.158607, + "real": 0.771419 + }, + { + "imag": 0.077892, + "real": -0.05521 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.090336, + "real": 0.00929 + }, + { + "imag": 0.132524, + "real": 0.771289 + }, + { + "imag": 0.130769, + "real": 0.776439 + }, + { + "imag": 0.078509, + "real": -0.054018 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.090288, + "real": 0.011282 + }, + { + "imag": 0.105759, + "real": 0.77593 + }, + { + "imag": 0.103192, + "real": 0.781151 + }, + { + "imag": 0.079245, + "real": -0.052682 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.092247, + "real": 0.014672 + }, + { + "imag": 0.076665, + "real": 0.778474 + }, + { + "imag": 0.071785, + "real": 0.783245 + }, + { + "imag": 0.080502, + "real": -0.048777 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.091825, + "real": 0.014562 + }, + { + "imag": 0.051753, + "real": 0.781072 + }, + { + "imag": 0.050939, + "real": 0.784954 + }, + { + "imag": 0.080084, + "real": -0.050094 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.091714, + "real": 0.015451 + }, + { + "imag": 0.024453, + "real": 0.782408 + }, + { + "imag": 0.023644, + "real": 0.785449 + }, + { + "imag": 0.080584, + "real": -0.048648 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.091893, + "real": 0.015937 + }, + { + "imag": -0.003341, + "real": 0.782615 + }, + { + "imag": -0.004062, + "real": 0.785204 + }, + { + "imag": 0.081254, + "real": -0.047999 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.091649, + "real": 0.016396 + }, + { + "imag": -0.031175, + "real": 0.781441 + }, + { + "imag": -0.032209, + "real": 0.784071 + }, + { + "imag": 0.081698, + "real": -0.046862 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.090708, + "real": 0.016884 + }, + { + "imag": -0.058587, + "real": 0.779479 + }, + { + "imag": -0.060053, + "real": 0.782069 + }, + { + "imag": 0.082611, + "real": -0.045955 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.089201, + "real": 0.016781 + }, + { + "imag": -0.085951, + "real": 0.776226 + }, + { + "imag": -0.087673, + "real": 0.77971 + }, + { + "imag": 0.083257, + "real": -0.045291 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.087014, + "real": 0.016719 + }, + { + "imag": -0.113084, + "real": 0.771773 + }, + { + "imag": -0.115502, + "real": 0.775857 + }, + { + "imag": 0.083137, + "real": -0.044642 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.084737, + "real": 0.01651 + }, + { + "imag": -0.140601, + "real": 0.766422 + }, + { + "imag": -0.142953, + "real": 0.770901 + }, + { + "imag": 0.083854, + "real": -0.044286 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.082262, + "real": 0.016717 + }, + { + "imag": -0.168597, + "real": 0.761082 + }, + { + "imag": -0.170356, + "real": 0.765078 + }, + { + "imag": 0.083412, + "real": -0.044242 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.079209, + "real": 0.016593 + }, + { + "imag": -0.194765, + "real": 0.754247 + }, + { + "imag": -0.196559, + "real": 0.757739 + }, + { + "imag": 0.084055, + "real": -0.044206 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.075667, + "real": 0.016503 + }, + { + "imag": -0.219737, + "real": 0.745381 + }, + { + "imag": -0.223024, + "real": 0.7494 + }, + { + "imag": 0.084763, + "real": -0.044249 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.072342, + "real": 0.016739 + }, + { + "imag": -0.244732, + "real": 0.736854 + }, + { + "imag": -0.249024, + "real": 0.740184 + }, + { + "imag": 0.085122, + "real": -0.044859 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.068491, + "real": 0.017011 + }, + { + "imag": -0.270107, + "real": 0.727514 + }, + { + "imag": -0.274516, + "real": 0.730271 + }, + { + "imag": 0.085166, + "real": -0.045432 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.064228, + "real": 0.016624 + }, + { + "imag": -0.295074, + "real": 0.717227 + }, + { + "imag": -0.299869, + "real": 0.71943 + }, + { + "imag": 0.084826, + "real": -0.046634 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.060548, + "real": 0.016669 + }, + { + "imag": -0.319104, + "real": 0.706447 + }, + { + "imag": -0.324362, + "real": 0.708374 + }, + { + "imag": 0.084199, + "real": -0.047482 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.056331, + "real": 0.016989 + }, + { + "imag": -0.343506, + "real": 0.69476 + }, + { + "imag": -0.347972, + "real": 0.696678 + }, + { + "imag": 0.084095, + "real": -0.048239 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.052319, + "real": 0.017175 + }, + { + "imag": -0.367242, + "real": 0.68247 + }, + { + "imag": -0.371446, + "real": 0.683949 + }, + { + "imag": 0.083794, + "real": -0.049337 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.04849, + "real": 0.017293 + }, + { + "imag": -0.390588, + "real": 0.669504 + }, + { + "imag": -0.395167, + "real": 0.670477 + }, + { + "imag": 0.083376, + "real": -0.050767 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.044832, + "real": 0.017603 + }, + { + "imag": -0.415667, + "real": 0.655892 + }, + { + "imag": -0.418108, + "real": 0.656528 + }, + { + "imag": 0.082565, + "real": -0.051805 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.041515, + "real": 0.017374 + }, + { + "imag": -0.438133, + "real": 0.641282 + }, + { + "imag": -0.440707, + "real": 0.641832 + }, + { + "imag": 0.080985, + "real": -0.053774 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.03863, + "real": 0.017143 + }, + { + "imag": -0.459244, + "real": 0.625037 + }, + { + "imag": -0.463099, + "real": 0.626323 + }, + { + "imag": 0.078595, + "real": -0.056111 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.035622, + "real": 0.016799 + }, + { + "imag": -0.481232, + "real": 0.608222 + }, + { + "imag": -0.484389, + "real": 0.609056 + }, + { + "imag": 0.07688, + "real": -0.057514 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.033228, + "real": 0.016348 + }, + { + "imag": -0.502555, + "real": 0.590439 + }, + { + "imag": -0.505502, + "real": 0.590823 + }, + { + "imag": 0.074775, + "real": -0.058315 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.031017, + "real": 0.015704 + }, + { + "imag": -0.522962, + "real": 0.571884 + }, + { + "imag": -0.526262, + "real": 0.57243 + }, + { + "imag": 0.072494, + "real": -0.059548 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.029506, + "real": 0.014554 + }, + { + "imag": -0.54294, + "real": 0.55266 + }, + { + "imag": -0.546017, + "real": 0.553632 + }, + { + "imag": 0.070274, + "real": -0.061121 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.028168, + "real": 0.013166 + }, + { + "imag": -0.562127, + "real": 0.532801 + }, + { + "imag": -0.564947, + "real": 0.533955 + }, + { + "imag": 0.067924, + "real": -0.06198 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.026956, + "real": 0.011623 + }, + { + "imag": -0.580811, + "real": 0.512118 + }, + { + "imag": -0.583512, + "real": 0.513158 + }, + { + "imag": 0.06524, + "real": -0.06309 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.026216, + "real": 0.009585 + }, + { + "imag": -0.597696, + "real": 0.491433 + }, + { + "imag": -0.600805, + "real": 0.492416 + }, + { + "imag": 0.062894, + "real": -0.063367 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.024812, + "real": 0.007176 + }, + { + "imag": -0.613563, + "real": 0.469468 + }, + { + "imag": -0.617307, + "real": 0.470234 + }, + { + "imag": 0.06092, + "real": -0.063242 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.023643, + "real": 0.004476 + }, + { + "imag": -0.62964, + "real": 0.447221 + }, + { + "imag": -0.633494, + "real": 0.447339 + }, + { + "imag": 0.059221, + "real": -0.063194 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.02282, + "real": 0.002028 + }, + { + "imag": -0.644637, + "real": 0.424226 + }, + { + "imag": -0.648042, + "real": 0.424173 + }, + { + "imag": 0.05731, + "real": -0.062874 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.02202, + "real": -0.00103 + }, + { + "imag": -0.658914, + "real": 0.40086 + }, + { + "imag": -0.662276, + "real": 0.401118 + }, + { + "imag": 0.056089, + "real": -0.062331 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.021167, + "real": -0.004769 + }, + { + "imag": -0.672622, + "real": 0.376908 + }, + { + "imag": -0.675104, + "real": 0.376503 + }, + { + "imag": 0.055424, + "real": -0.061636 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.019932, + "real": -0.008399 + }, + { + "imag": -0.684923, + "real": 0.35265 + }, + { + "imag": -0.688063, + "real": 0.351709 + }, + { + "imag": 0.055274, + "real": -0.061028 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.01914, + "real": -0.011744 + }, + { + "imag": -0.696703, + "real": 0.327481 + }, + { + "imag": -0.699581, + "real": 0.326247 + }, + { + "imag": 0.05539, + "real": -0.060054 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.018214, + "real": -0.015065 + }, + { + "imag": -0.70664, + "real": 0.302805 + }, + { + "imag": -0.709724, + "real": 0.30103 + }, + { + "imag": 0.055888, + "real": -0.059207 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.017282, + "real": -0.018914 + }, + { + "imag": -0.716193, + "real": 0.276743 + }, + { + "imag": -0.718639, + "real": 0.275318 + }, + { + "imag": 0.05725, + "real": -0.058877 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.016331, + "real": -0.02187 + }, + { + "imag": -0.724304, + "real": 0.251375 + }, + { + "imag": -0.726867, + "real": 0.249598 + }, + { + "imag": 0.059073, + "real": -0.057615 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.015232, + "real": -0.02466 + }, + { + "imag": -0.731531, + "real": 0.226216 + }, + { + "imag": -0.733588, + "real": 0.223591 + }, + { + "imag": 0.061606, + "real": -0.056756 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.014736, + "real": -0.026974 + }, + { + "imag": -0.737983, + "real": 0.200457 + }, + { + "imag": -0.739301, + "real": 0.197811 + }, + { + "imag": 0.064324, + "real": -0.05586 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.012936, + "real": -0.028378 + }, + { + "imag": -0.743688, + "real": 0.173806 + }, + { + "imag": -0.746189, + "real": 0.167935 + }, + { + "imag": 0.065261, + "real": -0.056563 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.013583, + "real": -0.030726 + }, + { + "imag": -0.748223, + "real": 0.148894 + }, + { + "imag": -0.749055, + "real": 0.14557 + }, + { + "imag": 0.070646, + "real": -0.054418 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.013452, + "real": -0.032602 + }, + { + "imag": -0.751531, + "real": 0.122471 + }, + { + "imag": -0.752248, + "real": 0.11883 + }, + { + "imag": 0.074989, + "real": -0.053272 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.013547, + "real": -0.033974 + }, + { + "imag": -0.753801, + "real": 0.096739 + }, + { + "imag": -0.754481, + "real": 0.092875 + }, + { + "imag": 0.079281, + "real": -0.052746 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.014697, + "real": -0.034236 + }, + { + "imag": -0.754835, + "real": 0.071053 + }, + { + "imag": -0.755702, + "real": 0.067666 + }, + { + "imag": 0.084418, + "real": -0.052044 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.016324, + "real": -0.033974 + }, + { + "imag": -0.755359, + "real": 0.045329 + }, + { + "imag": -0.755824, + "real": 0.042883 + }, + { + "imag": 0.089254, + "real": -0.050866 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.017843, + "real": -0.032809 + }, + { + "imag": -0.754802, + "real": 0.021026 + }, + { + "imag": -0.755558, + "real": 0.018755 + }, + { + "imag": 0.093824, + "real": -0.049327 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.019439, + "real": -0.030404 + }, + { + "imag": -0.754273, + "real": -0.00283 + }, + { + "imag": -0.755294, + "real": -0.004968 + }, + { + "imag": 0.097288, + "real": -0.047248 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.01902, + "real": -0.029067 + }, + { + "imag": -0.75417, + "real": -0.026212 + }, + { + "imag": -0.754953, + "real": -0.028173 + }, + { + "imag": 0.099761, + "real": -0.045929 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.019148, + "real": -0.027456 + }, + { + "imag": -0.754206, + "real": -0.050564 + }, + { + "imag": -0.754565, + "real": -0.053358 + }, + { + "imag": 0.100768, + "real": -0.044185 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.020049, + "real": -0.027203 + }, + { + "imag": -0.752967, + "real": -0.07683 + }, + { + "imag": -0.753782, + "real": -0.079064 + }, + { + "imag": 0.100334, + "real": -0.042386 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.02097, + "real": -0.028084 + }, + { + "imag": -0.750639, + "real": -0.102946 + }, + { + "imag": -0.7521, + "real": -0.105521 + }, + { + "imag": 0.101069, + "real": -0.042963 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.022527, + "real": -0.02948 + }, + { + "imag": -0.747185, + "real": -0.128847 + }, + { + "imag": -0.748721, + "real": -0.131517 + }, + { + "imag": 0.101457, + "real": -0.043105 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.025384, + "real": -0.031685 + }, + { + "imag": -0.742435, + "real": -0.155135 + }, + { + "imag": -0.743778, + "real": -0.158268 + }, + { + "imag": 0.101506, + "real": -0.043168 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.028068, + "real": -0.033247 + }, + { + "imag": -0.73671, + "real": -0.181374 + }, + { + "imag": -0.737587, + "real": -0.184285 + }, + { + "imag": 0.102392, + "real": -0.044381 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.031524, + "real": -0.036017 + }, + { + "imag": -0.729823, + "real": -0.206882 + }, + { + "imag": -0.730425, + "real": -0.210146 + }, + { + "imag": 0.103031, + "real": -0.045142 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.03547, + "real": -0.038273 + }, + { + "imag": -0.721748, + "real": -0.232397 + }, + { + "imag": -0.722808, + "real": -0.235091 + }, + { + "imag": 0.1027, + "real": -0.04567 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.039545, + "real": -0.040063 + }, + { + "imag": -0.713334, + "real": -0.257032 + }, + { + "imag": -0.714663, + "real": -0.259921 + }, + { + "imag": 0.103424, + "real": -0.04536 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.044063, + "real": -0.041956 + }, + { + "imag": -0.704406, + "real": -0.280793 + }, + { + "imag": -0.704616, + "real": -0.284236 + }, + { + "imag": 0.103843, + "real": -0.045161 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.047879, + "real": -0.044895 + }, + { + "imag": -0.694208, + "real": -0.305389 + }, + { + "imag": -0.694393, + "real": -0.309703 + }, + { + "imag": 0.104517, + "real": -0.045015 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.052123, + "real": -0.046896 + }, + { + "imag": -0.683396, + "real": -0.329406 + }, + { + "imag": -0.682742, + "real": -0.333621 + }, + { + "imag": 0.105513, + "real": -0.044043 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.056561, + "real": -0.048654 + }, + { + "imag": -0.672124, + "real": -0.353294 + }, + { + "imag": -0.670326, + "real": -0.357449 + }, + { + "imag": 0.105561, + "real": -0.042375 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.060711, + "real": -0.05013 + }, + { + "imag": -0.65943, + "real": -0.377284 + }, + { + "imag": -0.657626, + "real": -0.380738 + }, + { + "imag": 0.105984, + "real": -0.040591 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.064276, + "real": -0.051595 + }, + { + "imag": -0.646766, + "real": -0.400764 + }, + { + "imag": -0.643672, + "real": -0.403163 + }, + { + "imag": 0.106567, + "real": -0.038243 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.068305, + "real": -0.053424 + }, + { + "imag": -0.633083, + "real": -0.423442 + }, + { + "imag": -0.62866, + "real": -0.4254 + }, + { + "imag": 0.10676, + "real": -0.035286 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.071883, + "real": -0.054376 + }, + { + "imag": -0.618071, + "real": -0.445891 + }, + { + "imag": -0.613358, + "real": -0.44688 + }, + { + "imag": 0.108331, + "real": -0.031266 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": -1.53057, + "real": -0.168834 + }, + { + "imag": 0.620055, + "real": 0.368072 + }, + { + "imag": -0.625742, + "real": -0.38516 + }, + { + "imag": 0.195752, + "real": -0.097977 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": -1.52229, + "real": 0.215673 + }, + { + "imag": 0.593505, + "real": 0.389418 + }, + { + "imag": -0.608492, + "real": -0.408921 + }, + { + "imag": 0.209426, + "real": -0.085237 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": -1.42382, + "real": 0.573337 + }, + { + "imag": 0.565477, + "real": 0.418587 + }, + { + "imag": -0.595972, + "real": -0.425616 + }, + { + "imag": 0.224211, + "real": -0.073235 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": -1.22558, + "real": 0.899693 + }, + { + "imag": 0.540059, + "real": 0.442525 + }, + { + "imag": -0.57488, + "real": -0.459268 + }, + { + "imag": 0.215606, + "real": -0.051973 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": -0.956511, + "real": 1.15787 + }, + { + "imag": 0.515763, + "real": 0.474382 + }, + { + "imag": -0.557812, + "real": -0.485847 + }, + { + "imag": 0.207103, + "real": -0.034201 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": -0.632969, + "real": 1.33411 + }, + { + "imag": 0.494669, + "real": 0.506129 + }, + { + "imag": -0.540641, + "real": -0.511615 + }, + { + "imag": 0.192627, + "real": -0.018902 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": -0.272374, + "real": 1.41972 + }, + { + "imag": 0.476203, + "real": 0.537746 + }, + { + "imag": -0.523304, + "real": -0.535649 + }, + { + "imag": 0.172851, + "real": -0.006327 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.101139, + "real": 1.40968 + }, + { + "imag": 0.459318, + "real": 0.566766 + }, + { + "imag": -0.506754, + "real": -0.560569 + }, + { + "imag": 0.150245, + "real": 0.001616 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.459015, + "real": 1.29352 + }, + { + "imag": 0.445295, + "real": 0.595194 + }, + { + "imag": -0.488567, + "real": -0.583655 + }, + { + "imag": 0.126402, + "real": 0.004238 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.775635, + "real": 1.0817 + }, + { + "imag": 0.433615, + "real": 0.619428 + }, + { + "imag": -0.471884, + "real": -0.604254 + }, + { + "imag": 0.10507, + "real": 0.001518 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 1.02508, + "real": 0.787638 + }, + { + "imag": 0.422191, + "real": 0.637015 + }, + { + "imag": -0.454554, + "real": -0.622855 + }, + { + "imag": 0.08813, + "real": -0.006193 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 1.18349, + "real": 0.429968 + }, + { + "imag": 0.410075, + "real": 0.64964 + }, + { + "imag": -0.43801, + "real": -0.638507 + }, + { + "imag": 0.079294, + "real": -0.015794 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 1.23486, + "real": 0.038193 + }, + { + "imag": 0.397496, + "real": 0.65495 + }, + { + "imag": -0.422274, + "real": -0.649333 + }, + { + "imag": 0.076608, + "real": -0.027583 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 1.16534, + "real": -0.351163 + }, + { + "imag": 0.381682, + "real": 0.656758 + }, + { + "imag": -0.406048, + "real": -0.656402 + }, + { + "imag": 0.084067, + "real": -0.039006 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.984722, + "real": -0.699086 + }, + { + "imag": 0.362378, + "real": 0.654727 + }, + { + "imag": -0.390452, + "real": -0.658732 + }, + { + "imag": 0.098582, + "real": -0.046915 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.713369, + "real": -0.973647 + }, + { + "imag": 0.339394, + "real": 0.651062 + }, + { + "imag": -0.371849, + "real": -0.657902 + }, + { + "imag": 0.122103, + "real": -0.050084 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.382208, + "real": -1.14918 + }, + { + "imag": 0.315152, + "real": 0.647836 + }, + { + "imag": -0.351941, + "real": -0.654615 + }, + { + "imag": 0.149952, + "real": -0.048652 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.028788, + "real": -1.21854 + }, + { + "imag": 0.288825, + "real": 0.644921 + }, + { + "imag": -0.330084, + "real": -0.650902 + }, + { + "imag": 0.180329, + "real": -0.041575 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.315189, + "real": -1.18719 + }, + { + "imag": 0.26199, + "real": 0.644093 + }, + { + "imag": -0.306296, + "real": -0.648464 + }, + { + "imag": 0.211277, + "real": -0.028227 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.624009, + "real": -1.06789 + }, + { + "imag": 0.235629, + "real": 0.644784 + }, + { + "imag": -0.281633, + "real": -0.647466 + }, + { + "imag": 0.2386, + "real": -0.006685 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.127346, + "real": -0.00567 + }, + { + "imag": -0.166821, + "real": -0.738689 + }, + { + "imag": -0.162369, + "real": -0.740849 + }, + { + "imag": 0.162005, + "real": 0.0534 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.128381, + "real": -0.003484 + }, + { + "imag": -0.140113, + "real": -0.745122 + }, + { + "imag": -0.13567, + "real": -0.74627 + }, + { + "imag": 0.162389, + "real": 0.055918 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.128954, + "real": -0.00129 + }, + { + "imag": -0.11295, + "real": -0.750883 + }, + { + "imag": -0.108722, + "real": -0.750574 + }, + { + "imag": 0.16183, + "real": 0.058286 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.129304, + "real": 0.001252 + }, + { + "imag": -0.085099, + "real": -0.75506 + }, + { + "imag": -0.081125, + "real": -0.753937 + }, + { + "imag": 0.16089, + "real": 0.060795 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.130481, + "real": 0.003632 + }, + { + "imag": -0.057205, + "real": -0.757885 + }, + { + "imag": -0.05272, + "real": -0.756234 + }, + { + "imag": 0.158943, + "real": 0.063695 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.130838, + "real": 0.004909 + }, + { + "imag": -0.029421, + "real": -0.759545 + }, + { + "imag": -0.025962, + "real": -0.756472 + }, + { + "imag": 0.157563, + "real": 0.067267 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.131197, + "real": 0.006815 + }, + { + "imag": -0.000467, + "real": -0.759035 + }, + { + "imag": 0.001366, + "real": -0.755443 + }, + { + "imag": 0.155606, + "real": 0.070993 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.131558, + "real": 0.011149 + }, + { + "imag": 0.026799, + "real": -0.757438 + }, + { + "imag": 0.028253, + "real": -0.753442 + }, + { + "imag": 0.152384, + "real": 0.07491 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.131396, + "real": 0.013323 + }, + { + "imag": 0.055716, + "real": -0.754005 + }, + { + "imag": 0.054343, + "real": -0.749841 + }, + { + "imag": 0.149689, + "real": 0.078752 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.130769, + "real": 0.015495 + }, + { + "imag": 0.083711, + "real": -0.749088 + }, + { + "imag": 0.080782, + "real": -0.745679 + }, + { + "imag": 0.146212, + "real": 0.084674 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.129355, + "real": 0.018288 + }, + { + "imag": 0.109143, + "real": -0.743781 + }, + { + "imag": 0.105423, + "real": -0.740435 + }, + { + "imag": 0.143528, + "real": 0.088051 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.127977, + "real": 0.021469 + }, + { + "imag": 0.134159, + "real": -0.736915 + }, + { + "imag": 0.130084, + "real": -0.734421 + }, + { + "imag": 0.140338, + "real": 0.093944 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.127091, + "real": 0.024432 + }, + { + "imag": 0.158853, + "real": -0.730096 + }, + { + "imag": 0.15428, + "real": -0.727538 + }, + { + "imag": 0.136872, + "real": 0.100142 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.124492, + "real": 0.02709 + }, + { + "imag": 0.182921, + "real": -0.723288 + }, + { + "imag": 0.178934, + "real": -0.721967 + }, + { + "imag": 0.133498, + "real": 0.103102 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.1224, + "real": 0.029982 + }, + { + "imag": 0.207349, + "real": -0.716158 + }, + { + "imag": 0.202474, + "real": -0.715435 + }, + { + "imag": 0.130591, + "real": 0.109078 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.120385, + "real": 0.033263 + }, + { + "imag": 0.230503, + "real": -0.708351 + }, + { + "imag": 0.226364, + "real": -0.708353 + }, + { + "imag": 0.127138, + "real": 0.114303 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.11787, + "real": 0.036864 + }, + { + "imag": 0.25383, + "real": -0.700426 + }, + { + "imag": 0.250043, + "real": -0.701112 + }, + { + "imag": 0.124395, + "real": 0.119586 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.116295, + "real": 0.040569 + }, + { + "imag": 0.277535, + "real": -0.6922 + }, + { + "imag": 0.274503, + "real": -0.693131 + }, + { + "imag": 0.12141, + "real": 0.124282 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.113482, + "real": 0.044133 + }, + { + "imag": 0.30104, + "real": -0.683546 + }, + { + "imag": 0.298407, + "real": -0.685286 + }, + { + "imag": 0.117909, + "real": 0.129595 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.110713, + "real": 0.04807 + }, + { + "imag": 0.324341, + "real": -0.673724 + }, + { + "imag": 0.32229, + "real": -0.675947 + }, + { + "imag": 0.114072, + "real": 0.134726 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.107502, + "real": 0.051353 + }, + { + "imag": 0.347884, + "real": -0.663764 + }, + { + "imag": 0.346858, + "real": -0.665562 + }, + { + "imag": 0.110578, + "real": 0.139411 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": 0.104024, + "real": 0.054743 + }, + { + "imag": 0.371709, + "real": -0.65236 + }, + { + "imag": 0.371334, + "real": -0.654517 + }, + { + "imag": 0.106148, + "real": 0.143356 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": 0.100441, + "real": 0.059047 + }, + { + "imag": 0.395466, + "real": -0.639145 + }, + { + "imag": 0.39536, + "real": -0.641638 + }, + { + "imag": 0.102146, + "real": 0.1478 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": 0.096524, + "real": 0.062691 + }, + { + "imag": 0.419014, + "real": -0.626579 + }, + { + "imag": 0.418996, + "real": -0.627948 + }, + { + "imag": 0.098544, + "real": 0.151903 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": 0.084049, + "real": 0.078999 + }, + { + "imag": 0.453594, + "real": -0.599379 + }, + { + "imag": 0.442723, + "real": -0.610158 + }, + { + "imag": 0.095832, + "real": 0.15387 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": 0.08076, + "real": 0.092148 + }, + { + "imag": 0.482331, + "real": -0.578092 + }, + { + "imag": 0.465834, + "real": -0.59226 + }, + { + "imag": 0.092173, + "real": 0.155794 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": 0.084205, + "real": 0.076017 + }, + { + "imag": 0.484409, + "real": -0.577768 + }, + { + "imag": 0.486011, + "real": -0.576714 + }, + { + "imag": 0.08634, + "real": 0.159812 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": 0.081553, + "real": 0.080763 + }, + { + "imag": 0.505365, + "real": -0.558978 + }, + { + "imag": 0.506258, + "real": -0.557268 + }, + { + "imag": 0.082382, + "real": 0.161632 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": 0.077434, + "real": 0.085176 + }, + { + "imag": 0.524818, + "real": -0.539731 + }, + { + "imag": 0.524709, + "real": -0.537975 + }, + { + "imag": 0.076856, + "real": 0.162972 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": 0.073319, + "real": 0.090229 + }, + { + "imag": 0.544057, + "real": -0.518276 + }, + { + "imag": 0.542927, + "real": -0.516774 + }, + { + "imag": 0.070006, + "real": 0.16476 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": 0.068219, + "real": 0.092577 + }, + { + "imag": 0.560848, + "real": -0.498258 + }, + { + "imag": 0.558372, + "real": -0.497453 + }, + { + "imag": 0.065437, + "real": 0.166488 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": 0.063014, + "real": 0.096011 + }, + { + "imag": 0.577174, + "real": -0.477997 + }, + { + "imag": 0.573021, + "real": -0.477004 + }, + { + "imag": 0.059601, + "real": 0.16811 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": 0.058935, + "real": 0.099463 + }, + { + "imag": 0.592117, + "real": -0.4549 + }, + { + "imag": 0.587668, + "real": -0.455068 + }, + { + "imag": 0.05158, + "real": 0.169789 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": 0.053536, + "real": 0.102497 + }, + { + "imag": 0.606155, + "real": -0.432846 + }, + { + "imag": 0.601175, + "real": -0.434593 + }, + { + "imag": 0.044989, + "real": 0.171034 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": 0.048774, + "real": 0.105064 + }, + { + "imag": 0.620313, + "real": -0.410871 + }, + { + "imag": 0.614149, + "real": -0.413482 + }, + { + "imag": 0.037978, + "real": 0.172084 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": 0.044124, + "real": 0.107629 + }, + { + "imag": 0.63185, + "real": -0.390759 + }, + { + "imag": 0.626439, + "real": -0.393006 + }, + { + "imag": 0.032038, + "real": 0.172341 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": 0.040306, + "real": 0.108249 + }, + { + "imag": 0.644788, + "real": -0.36694 + }, + { + "imag": 0.638769, + "real": -0.371422 + }, + { + "imag": 0.024922, + "real": 0.173951 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": 0.036429, + "real": 0.109016 + }, + { + "imag": 0.655819, + "real": -0.344632 + }, + { + "imag": 0.650526, + "real": -0.350071 + }, + { + "imag": 0.018788, + "real": 0.173996 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": 0.032261, + "real": 0.109337 + }, + { + "imag": 0.66655, + "real": -0.322091 + }, + { + "imag": 0.662281, + "real": -0.327957 + }, + { + "imag": 0.012912, + "real": 0.174476 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": 0.028778, + "real": 0.110141 + }, + { + "imag": 0.676016, + "real": -0.299809 + }, + { + "imag": 0.673445, + "real": -0.305612 + }, + { + "imag": 0.006772, + "real": 0.174686 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": 0.023522, + "real": 0.10893 + }, + { + "imag": 0.68649, + "real": -0.276129 + }, + { + "imag": 0.684617, + "real": -0.283048 + }, + { + "imag": 0.000911, + "real": 0.175419 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": 0.019088, + "real": 0.108219 + }, + { + "imag": 0.695601, + "real": -0.252281 + }, + { + "imag": 0.695304, + "real": -0.259416 + }, + { + "imag": -0.00547, + "real": 0.175424 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": 0.01432, + "real": 0.107067 + }, + { + "imag": 0.704815, + "real": -0.227562 + }, + { + "imag": 0.705449, + "real": -0.235217 + }, + { + "imag": -0.010453, + "real": 0.173881 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": 0.009754, + "real": 0.105864 + }, + { + "imag": 0.712338, + "real": -0.203472 + }, + { + "imag": 0.713635, + "real": -0.210586 + }, + { + "imag": -0.016507, + "real": 0.173769 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": 0.005525, + "real": 0.10409 + }, + { + "imag": 0.719102, + "real": -0.179353 + }, + { + "imag": 0.721193, + "real": -0.185839 + }, + { + "imag": -0.022224, + "real": 0.172332 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": 0.000804, + "real": 0.102144 + }, + { + "imag": 0.724976, + "real": -0.154892 + }, + { + "imag": 0.72766, + "real": -0.160404 + }, + { + "imag": -0.026795, + "real": 0.170587 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.003741, + "real": 0.09999 + }, + { + "imag": 0.730012, + "real": -0.128997 + }, + { + "imag": 0.733249, + "real": -0.134586 + }, + { + "imag": -0.030974, + "real": 0.168541 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.008404, + "real": 0.097721 + }, + { + "imag": 0.734908, + "real": -0.102719 + }, + { + "imag": 0.736758, + "real": -0.10914 + }, + { + "imag": -0.034829, + "real": 0.165225 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.012901, + "real": 0.094861 + }, + { + "imag": 0.737898, + "real": -0.077486 + }, + { + "imag": 0.740402, + "real": -0.082016 + }, + { + "imag": -0.039635, + "real": 0.162881 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.017215, + "real": 0.09221 + }, + { + "imag": 0.740416, + "real": -0.05194 + }, + { + "imag": 0.743057, + "real": -0.055402 + }, + { + "imag": -0.043744, + "real": 0.158637 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.022043, + "real": 0.088635 + }, + { + "imag": 0.741431, + "real": -0.025932 + }, + { + "imag": 0.743993, + "real": -0.028007 + }, + { + "imag": -0.047842, + "real": 0.153423 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.026412, + "real": 0.085212 + }, + { + "imag": 0.741556, + "real": 0.000519 + }, + { + "imag": 0.744223, + "real": -0.002639 + }, + { + "imag": -0.052888, + "real": 0.14838199999999999 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.031241, + "real": 0.081668 + }, + { + "imag": 0.740699, + "real": 0.026445 + }, + { + "imag": 0.743239, + "real": 0.024194 + }, + { + "imag": -0.05774, + "real": 0.143093 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.03564, + "real": 0.078329 + }, + { + "imag": 0.739371, + "real": 0.052931 + }, + { + "imag": 0.741571, + "real": 0.050306 + }, + { + "imag": -0.06196, + "real": 0.13831 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.04036, + "real": 0.075015 + }, + { + "imag": 0.736577, + "real": 0.078813 + }, + { + "imag": 0.738316, + "real": 0.076203 + }, + { + "imag": -0.067225, + "real": 0.132507 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.044984, + "real": 0.072074 + }, + { + "imag": 0.732817, + "real": 0.103079 + }, + { + "imag": 0.734543, + "real": 0.103415 + }, + { + "imag": -0.073221, + "real": 0.127087 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.048024, + "real": 0.067914 + }, + { + "imag": 0.728395, + "real": 0.129886 + }, + { + "imag": 0.73089, + "real": 0.126821 + }, + { + "imag": -0.077032, + "real": 0.121454 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.051769, + "real": 0.064357 + }, + { + "imag": 0.723374, + "real": 0.154934 + }, + { + "imag": 0.725039, + "real": 0.152305 + }, + { + "imag": -0.081152, + "real": 0.115915 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.055119, + "real": 0.060704 + }, + { + "imag": 0.716933, + "real": 0.180159 + }, + { + "imag": 0.718792, + "real": 0.177671 + }, + { + "imag": -0.086291, + "real": 0.109466 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.057913, + "real": 0.057096 + }, + { + "imag": 0.70974, + "real": 0.205497 + }, + { + "imag": 0.711801, + "real": 0.203124 + }, + { + "imag": -0.09026, + "real": 0.103794 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.060634, + "real": 0.053247 + }, + { + "imag": 0.702358, + "real": 0.229232 + }, + { + "imag": 0.7033, + "real": 0.228537 + }, + { + "imag": -0.094819, + "real": 0.100268 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.062824, + "real": 0.049347 + }, + { + "imag": 0.693456, + "real": 0.254067 + }, + { + "imag": 0.695862, + "real": 0.250475 + }, + { + "imag": -0.099295, + "real": 0.091847 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.065176, + "real": 0.045286 + }, + { + "imag": 0.683954, + "real": 0.277818 + }, + { + "imag": 0.686594, + "real": 0.274668 + }, + { + "imag": -0.103411, + "real": 0.0852 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.066683, + "real": 0.041568 + }, + { + "imag": 0.673875, + "real": 0.301651 + }, + { + "imag": 0.67647, + "real": 0.298303 + }, + { + "imag": -0.107453, + "real": 0.079641 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.068061, + "real": 0.03746 + }, + { + "imag": 0.662468, + "real": 0.325322 + }, + { + "imag": 0.665916, + "real": 0.321465 + }, + { + "imag": -0.112441, + "real": 0.074798 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.06943, + "real": 0.033432 + }, + { + "imag": 0.650894, + "real": 0.348429 + }, + { + "imag": 0.653859, + "real": 0.344269 + }, + { + "imag": -0.117383, + "real": 0.070078 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.070174, + "real": 0.029155 + }, + { + "imag": 0.638053, + "real": 0.370404 + }, + { + "imag": 0.641161, + "real": 0.366952 + }, + { + "imag": -0.118851, + "real": 0.065239 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.070097, + "real": 0.025014 + }, + { + "imag": 0.623592, + "real": 0.39331 + }, + { + "imag": 0.62777, + "real": 0.389331 + }, + { + "imag": -0.121083, + "real": 0.061493 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.069323, + "real": 0.020207 + }, + { + "imag": 0.609216, + "real": 0.413978 + }, + { + "imag": 0.614295, + "real": 0.410704 + }, + { + "imag": -0.123209, + "real": 0.056483 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.068125, + "real": 0.014709 + }, + { + "imag": 0.593871, + "real": 0.434315 + }, + { + "imag": 0.599162, + "real": 0.431989 + }, + { + "imag": -0.123895, + "real": 0.051224 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.066849, + "real": 0.009915 + }, + { + "imag": 0.577156, + "real": 0.454925 + }, + { + "imag": 0.584094, + "real": 0.451784 + }, + { + "imag": -0.124858, + "real": 0.047372 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.065219, + "real": 0.004766 + }, + { + "imag": 0.559392, + "real": 0.473863 + }, + { + "imag": 0.567892, + "real": 0.472651 + }, + { + "imag": -0.124546, + "real": 0.04014 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.063838, + "real": -0.000822 + }, + { + "imag": 0.541958, + "real": 0.492848 + }, + { + "imag": 0.55074, + "real": 0.492345 + }, + { + "imag": -0.125327, + "real": 0.03639 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.063158, + "real": -0.007097 + }, + { + "imag": 0.524527, + "real": 0.510253 + }, + { + "imag": 0.533235, + "real": 0.510906 + }, + { + "imag": -0.123649, + "real": 0.030865 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.060716, + "real": -0.012527 + }, + { + "imag": 0.50568, + "real": 0.527514 + }, + { + "imag": 0.515525, + "real": 0.52881 + }, + { + "imag": -0.120842, + "real": 0.025966 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.0587, + "real": -0.018757 + }, + { + "imag": 0.486108, + "real": 0.544105 + }, + { + "imag": 0.496241, + "real": 0.547356 + }, + { + "imag": -0.12057, + "real": 0.020131 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.056227, + "real": -0.024569 + }, + { + "imag": 0.466823, + "real": 0.559937 + }, + { + "imag": 0.476884, + "real": 0.563756 + }, + { + "imag": -0.1181, + "real": 0.01492 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.05423, + "real": -0.030366 + }, + { + "imag": 0.447424, + "real": 0.573967 + }, + { + "imag": 0.457094, + "real": 0.579462 + }, + { + "imag": -0.114592, + "real": 0.009638 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.052095, + "real": -0.037113 + }, + { + "imag": 0.428127, + "real": 0.588756 + }, + { + "imag": 0.436701, + "real": 0.595116 + }, + { + "imag": -0.111547, + "real": 0.005543 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.049946, + "real": -0.043665 + }, + { + "imag": 0.408768, + "real": 0.602365 + }, + { + "imag": 0.415272, + "real": 0.607975 + }, + { + "imag": -0.108118, + "real": 0.000404 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.047964, + "real": -0.050327 + }, + { + "imag": 0.389504, + "real": 0.615433 + }, + { + "imag": 0.393598, + "real": 0.622975 + }, + { + "imag": -0.103829, + "real": -0.004731 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.046117, + "real": -0.056692 + }, + { + "imag": 0.369686, + "real": 0.628416 + }, + { + "imag": 0.372036, + "real": 0.636109 + }, + { + "imag": -0.099578, + "real": -0.010559 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.043783, + "real": -0.062456 + }, + { + "imag": 0.348892, + "real": 0.640882 + }, + { + "imag": 0.348868, + "real": 0.649332 + }, + { + "imag": -0.09516, + "real": -0.016781 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.042574, + "real": -0.067603 + }, + { + "imag": 0.327991, + "real": 0.652647 + }, + { + "imag": 0.326138, + "real": 0.66116 + }, + { + "imag": -0.09089, + "real": -0.022679 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.040995, + "real": -0.071964 + }, + { + "imag": 0.306026, + "real": 0.664685 + }, + { + "imag": 0.303164, + "real": 0.671893 + }, + { + "imag": -0.087303, + "real": -0.030132 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.038537, + "real": -0.076442 + }, + { + "imag": 0.282743, + "real": 0.676098 + }, + { + "imag": 0.280832, + "real": 0.682204 + }, + { + "imag": -0.08464, + "real": -0.036261 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": -0.036541, + "real": -0.080261 + }, + { + "imag": 0.258833, + "real": 0.686785 + }, + { + "imag": 0.25575, + "real": 0.6924 + }, + { + "imag": -0.080302, + "real": -0.040905 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": -0.032661, + "real": -0.080576 + }, + { + "imag": 0.239131, + "real": 0.698483 + }, + { + "imag": 0.235305, + "real": 0.702676 + }, + { + "imag": -0.076951, + "real": -0.045985 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.031727, + "real": -0.0862 + }, + { + "imag": 0.209897, + "real": 0.707364 + }, + { + "imag": 0.206887, + "real": 0.70866 + }, + { + "imag": -0.074732, + "real": -0.053212 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.030486, + "real": -0.089713 + }, + { + "imag": 0.181776, + "real": 0.715516 + }, + { + "imag": 0.180439, + "real": 0.715272 + }, + { + "imag": -0.072198, + "real": -0.059562 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": -0.027052, + "real": -0.092979 + }, + { + "imag": 0.15455, + "real": 0.723134 + }, + { + "imag": 0.152109, + "real": 0.721188 + }, + { + "imag": -0.067199, + "real": -0.066366 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": -0.02408, + "real": -0.094674 + }, + { + "imag": 0.125476, + "real": 0.729037 + }, + { + "imag": 0.1268, + "real": 0.72605 + }, + { + "imag": -0.065183, + "real": -0.071181 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": -0.024205, + "real": -0.090791 + }, + { + "imag": 0.09808, + "real": 0.729788 + }, + { + "imag": 0.102041, + "real": 0.727825 + }, + { + "imag": -0.063881, + "real": -0.073246 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.018571, + "real": -0.093777 + }, + { + "imag": 0.069703, + "real": 0.73334 + }, + { + "imag": 0.072929, + "real": 0.731936 + }, + { + "imag": -0.060179, + "real": -0.078727 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.013869, + "real": -0.094158 + }, + { + "imag": 0.040238, + "real": 0.733409 + }, + { + "imag": 0.04635, + "real": 0.734364 + }, + { + "imag": -0.0561, + "real": -0.083909 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": -0.00709, + "real": -0.093261 + }, + { + "imag": 0.010879, + "real": 0.73086 + }, + { + "imag": 0.036284, + "real": 0.732137 + }, + { + "imag": -0.053333, + "real": -0.063986 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": -0.004572, + "real": -0.092832 + }, + { + "imag": -0.013256, + "real": 0.72721 + }, + { + "imag": -0.006285, + "real": 0.733017 + }, + { + "imag": -0.050255, + "real": -0.092119 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": -0.001811, + "real": -0.091571 + }, + { + "imag": -0.037753, + "real": 0.72229 + }, + { + "imag": -0.029968, + "real": 0.732031 + }, + { + "imag": -0.047124, + "real": -0.093008 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.002664, + "real": -0.091681 + }, + { + "imag": -0.062025, + "real": 0.718563 + }, + { + "imag": -0.053756, + "real": 0.728479 + }, + { + "imag": -0.045114, + "real": -0.097405 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.005499, + "real": -0.092295 + }, + { + "imag": -0.085807, + "real": 0.712543 + }, + { + "imag": -0.078497, + "real": 0.724363 + }, + { + "imag": -0.04242, + "real": -0.099998 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.010964, + "real": -0.09312 + }, + { + "imag": -0.10782, + "real": 0.707665 + }, + { + "imag": -0.103335, + "real": 0.720868 + }, + { + "imag": -0.040304, + "real": -0.10134 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.013856, + "real": -0.093208 + }, + { + "imag": -0.12882, + "real": 0.701215 + }, + { + "imag": -0.126823, + "real": 0.716583 + }, + { + "imag": -0.037352, + "real": -0.10207 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.019339, + "real": -0.093374 + }, + { + "imag": -0.149352, + "real": 0.695659 + }, + { + "imag": -0.150333, + "real": 0.710995 + }, + { + "imag": -0.034124, + "real": -0.104957 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.024641, + "real": -0.095937 + }, + { + "imag": -0.170558, + "real": 0.692066 + }, + { + "imag": -0.173317, + "real": 0.706351 + }, + { + "imag": -0.031277, + "real": -0.106941 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.02843, + "real": -0.095117 + }, + { + "imag": -0.192059, + "real": 0.687663 + }, + { + "imag": -0.19556, + "real": 0.70098 + }, + { + "imag": -0.026278, + "real": -0.107293 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.031071, + "real": -0.09625 + }, + { + "imag": -0.213773, + "real": 0.683254 + }, + { + "imag": -0.219606, + "real": 0.694555 + }, + { + "imag": -0.022888, + "real": -0.108362 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.032683, + "real": -0.09564 + }, + { + "imag": -0.236413, + "real": 0.678944 + }, + { + "imag": -0.242617, + "real": 0.688659 + }, + { + "imag": -0.018752, + "real": -0.109135 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.031872, + "real": -0.096635 + }, + { + "imag": -0.258608, + "real": 0.675649 + }, + { + "imag": -0.263803, + "real": 0.682502 + }, + { + "imag": -0.016727, + "real": -0.107426 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.035118, + "real": -0.09475 + }, + { + "imag": -0.283084, + "real": 0.669546 + }, + { + "imag": -0.288573, + "real": 0.672293 + }, + { + "imag": -0.011676, + "real": -0.109818 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.037619, + "real": -0.092272 + }, + { + "imag": -0.307503, + "real": 0.66288 + }, + { + "imag": -0.313883, + "real": 0.663456 + }, + { + "imag": -0.005914, + "real": -0.113229 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.038479, + "real": -0.09049 + }, + { + "imag": -0.332474, + "real": 0.655323 + }, + { + "imag": -0.337803, + "real": 0.652311 + }, + { + "imag": -0.001142, + "real": -0.114903 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.040178, + "real": -0.087114 + }, + { + "imag": -0.35843, + "real": 0.645051 + }, + { + "imag": -0.36042, + "real": 0.640362 + }, + { + "imag": 0.000955, + "real": -0.119538 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.040538, + "real": -0.080124 + }, + { + "imag": -0.384312, + "real": 0.632487 + }, + { + "imag": -0.384671, + "real": 0.625762 + }, + { + "imag": 0.008209, + "real": -0.119735 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.044064, + "real": -0.080654 + }, + { + "imag": -0.409088, + "real": 0.620632 + }, + { + "imag": -0.406372, + "real": 0.61278 + }, + { + "imag": 0.010908, + "real": -0.123219 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.046413, + "real": -0.074109 + }, + { + "imag": -0.433612, + "real": 0.605833 + }, + { + "imag": -0.430257, + "real": 0.595634 + }, + { + "imag": 0.014266, + "real": -0.125274 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.049283, + "real": -0.065723 + }, + { + "imag": -0.457788, + "real": 0.586979 + }, + { + "imag": -0.453728, + "real": 0.578173 + }, + { + "imag": 0.019986, + "real": -0.124422 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.0565, + "real": -0.057282 + }, + { + "imag": -0.48083, + "real": 0.567848 + }, + { + "imag": -0.475894, + "real": 0.559663 + }, + { + "imag": 0.023235, + "real": -0.125925 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.063614, + "real": -0.048892 + }, + { + "imag": -0.501246, + "real": 0.547636 + }, + { + "imag": -0.496934, + "real": 0.540782 + }, + { + "imag": 0.025418, + "real": -0.126671 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.071271, + "real": -0.040379 + }, + { + "imag": -0.520252, + "real": 0.525309 + }, + { + "imag": -0.516143, + "real": 0.520961 + }, + { + "imag": 0.027727, + "real": -0.125397 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.080413, + "real": -0.032725 + }, + { + "imag": -0.537909, + "real": 0.502865 + }, + { + "imag": -0.534994, + "real": 0.502783 + }, + { + "imag": 0.029502, + "real": -0.127881 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.091317, + "real": -0.023186 + }, + { + "imag": -0.552498, + "real": 0.47914 + }, + { + "imag": -0.551951, + "real": 0.482157 + }, + { + "imag": 0.028505, + "real": -0.125923 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.105372, + "real": -0.015301 + }, + { + "imag": -0.56542, + "real": 0.456036 + }, + { + "imag": -0.569165, + "real": 0.462664 + }, + { + "imag": 0.027088, + "real": -0.123905 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.119963, + "real": -0.008486 + }, + { + "imag": -0.577546, + "real": 0.433244 + }, + { + "imag": -0.584301, + "real": 0.444274 + }, + { + "imag": 0.024335, + "real": -0.123313 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.14105, + "real": -0.004488 + }, + { + "imag": -0.588712, + "real": 0.410789 + }, + { + "imag": -0.600828, + "real": 0.427195 + }, + { + "imag": 0.021609, + "real": -0.123794 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.163737, + "real": -0.002101 + }, + { + "imag": -0.598239, + "real": 0.388059 + }, + { + "imag": -0.617823, + "real": 0.410089 + }, + { + "imag": 0.019652, + "real": -0.12137 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.189863, + "real": -0.00046 + }, + { + "imag": -0.609381, + "real": 0.364741 + }, + { + "imag": -0.634541, + "real": 0.393892 + }, + { + "imag": 0.018104, + "real": -0.119405 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.219564, + "real": -0.001145 + }, + { + "imag": -0.621149, + "real": 0.34254 + }, + { + "imag": -0.653508, + "real": 0.377052 + }, + { + "imag": 0.014422, + "real": -0.116549 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.251994, + "real": -0.001395 + }, + { + "imag": -0.631635, + "real": 0.320851 + }, + { + "imag": -0.67335, + "real": 0.360439 + }, + { + "imag": 0.013077, + "real": -0.114629 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.286913, + "real": 0.001615 + }, + { + "imag": -0.644037, + "real": 0.300118 + }, + { + "imag": -0.69519, + "real": 0.343388 + }, + { + "imag": 0.011453, + "real": -0.111965 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.324183, + "real": 0.006337 + }, + { + "imag": -0.655333, + "real": 0.2784 + }, + { + "imag": -0.717267, + "real": 0.325017 + }, + { + "imag": 0.012013, + "real": -0.107687 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.360517, + "real": 0.016988 + }, + { + "imag": -0.665734, + "real": 0.256598 + }, + { + "imag": -0.739832, + "real": 0.304412 + }, + { + "imag": 0.011516, + "real": -0.103162 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.390719, + "real": 0.030092 + }, + { + "imag": -0.673988, + "real": 0.23359 + }, + { + "imag": -0.75872, + "real": 0.280364 + }, + { + "imag": 0.013245, + "real": -0.097247 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.411365, + "real": 0.046016 + }, + { + "imag": -0.681113, + "real": 0.210258 + }, + { + "imag": -0.773734, + "real": 0.251036 + }, + { + "imag": 0.013679, + "real": -0.091213 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.417919, + "real": 0.062532 + }, + { + "imag": -0.685564, + "real": 0.187869 + }, + { + "imag": -0.782922, + "real": 0.216202 + }, + { + "imag": 0.015109, + "real": -0.086723 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.412771, + "real": 0.076561 + }, + { + "imag": -0.688364, + "real": 0.164699 + }, + { + "imag": -0.785597, + "real": 0.180076 + }, + { + "imag": 0.017632, + "real": -0.081967 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.393573, + "real": 0.082665 + }, + { + "imag": -0.691029, + "real": 0.142616 + }, + { + "imag": -0.780864, + "real": 0.146327 + }, + { + "imag": 0.019344, + "real": -0.078642 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.367886, + "real": 0.078153 + }, + { + "imag": -0.694155, + "real": 0.121617 + }, + { + "imag": -0.77242, + "real": 0.116431 + }, + { + "imag": 0.022771, + "real": -0.074832 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.342689, + "real": 0.066088 + }, + { + "imag": -0.697487, + "real": 0.099095 + }, + { + "imag": -0.762144, + "real": 0.091676 + }, + { + "imag": 0.028022, + "real": -0.071087 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.319821, + "real": 0.048616 + }, + { + "imag": -0.699847, + "real": 0.075275 + }, + { + "imag": -0.752761, + "real": 0.06894 + }, + { + "imag": 0.034473, + "real": -0.066081 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.298116, + "real": 0.028883 + }, + { + "imag": -0.703069, + "real": 0.050393 + }, + { + "imag": -0.744475, + "real": 0.045933 + }, + { + "imag": 0.042492, + "real": -0.062564 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.279888, + "real": 0.009121 + }, + { + "imag": -0.706391, + "real": 0.025679 + }, + { + "imag": -0.738669, + "real": 0.023669 + }, + { + "imag": 0.051133, + "real": -0.059093 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.262447, + "real": -0.010748 + }, + { + "imag": -0.708713, + "real": -0.000628 + }, + { + "imag": -0.732658, + "real": 0.001155 + }, + { + "imag": 0.058622, + "real": -0.056189 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.246096, + "real": -0.027724 + }, + { + "imag": -0.710491, + "real": -0.02637 + }, + { + "imag": -0.727078, + "real": -0.022555 + }, + { + "imag": 0.065541, + "real": -0.053945 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.230763, + "real": -0.041083 + }, + { + "imag": -0.710154, + "real": -0.053815 + }, + { + "imag": -0.721948, + "real": -0.047409 + }, + { + "imag": 0.071116, + "real": -0.051914 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.215591, + "real": -0.052917 + }, + { + "imag": -0.708635, + "real": -0.080583 + }, + { + "imag": -0.715728, + "real": -0.072141 + }, + { + "imag": 0.077781, + "real": -0.051338 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.200532, + "real": -0.062268 + }, + { + "imag": -0.70516, + "real": -0.107233 + }, + { + "imag": -0.70922, + "real": -0.097264 + }, + { + "imag": 0.08341, + "real": -0.052188 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.187029, + "real": -0.068268 + }, + { + "imag": -0.701924, + "real": -0.132935 + }, + { + "imag": -0.703052, + "real": -0.122299 + }, + { + "imag": 0.088849, + "real": -0.052924 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.1748, + "real": -0.07156 + }, + { + "imag": -0.695515, + "real": -0.159121 + }, + { + "imag": -0.69635, + "real": -0.14801 + }, + { + "imag": 0.092769, + "real": -0.054866 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.161805, + "real": -0.07345 + }, + { + "imag": -0.689631, + "real": -0.182325 + }, + { + "imag": -0.688537, + "real": -0.171994 + }, + { + "imag": 0.098878, + "real": -0.058295 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.151585, + "real": -0.072933 + }, + { + "imag": -0.680994, + "real": -0.206392 + }, + { + "imag": -0.680332, + "real": -0.197524 + }, + { + "imag": 0.102772, + "real": -0.061465 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.141082, + "real": -0.068713 + }, + { + "imag": -0.671659, + "real": -0.228624 + }, + { + "imag": -0.671185, + "real": -0.221592 + }, + { + "imag": 0.10621, + "real": -0.065065 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.131524, + "real": -0.063562 + }, + { + "imag": -0.662161, + "real": -0.249559 + }, + { + "imag": -0.661741, + "real": -0.244678 + }, + { + "imag": 0.108791, + "real": -0.06822 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.124764, + "real": -0.055665 + }, + { + "imag": -0.651505, + "real": -0.270132 + }, + { + "imag": -0.651429, + "real": -0.267084 + }, + { + "imag": 0.111171, + "real": -0.072435 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.118732, + "real": -0.046685 + }, + { + "imag": -0.640662, + "real": -0.288242 + }, + { + "imag": -0.64062, + "real": -0.289389 + }, + { + "imag": 0.112908, + "real": -0.075095 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.114582, + "real": -0.036718 + }, + { + "imag": -0.628425, + "real": -0.306832 + }, + { + "imag": -0.628945, + "real": -0.311006 + }, + { + "imag": 0.113849, + "real": -0.076634 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.110646, + "real": -0.025256 + }, + { + "imag": -0.616594, + "real": -0.32409 + }, + { + "imag": -0.617732, + "real": -0.330337 + }, + { + "imag": 0.113807, + "real": -0.07774 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.108741, + "real": -0.014762 + }, + { + "imag": -0.605066, + "real": -0.342209 + }, + { + "imag": -0.607097, + "real": -0.352186 + }, + { + "imag": 0.113899, + "real": -0.079379 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.107676, + "real": -0.005423 + }, + { + "imag": -0.593884, + "real": -0.361687 + }, + { + "imag": -0.595316, + "real": -0.37331 + }, + { + "imag": 0.113569, + "real": -0.079546 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.110129, + "real": 0.00505 + }, + { + "imag": -0.58238, + "real": -0.379792 + }, + { + "imag": -0.583566, + "real": -0.393346 + }, + { + "imag": 0.112032, + "real": -0.080352 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.112849, + "real": 0.013475 + }, + { + "imag": -0.571165, + "real": -0.398643 + }, + { + "imag": -0.571574, + "real": -0.413852 + }, + { + "imag": 0.112207, + "real": -0.079743 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.116691, + "real": 0.022693 + }, + { + "imag": -0.559008, + "real": -0.417619 + }, + { + "imag": -0.559024, + "real": -0.435304 + }, + { + "imag": 0.110953, + "real": -0.079273 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.122042, + "real": 0.030684 + }, + { + "imag": -0.5466529999999999, + "real": -0.437585 + }, + { + "imag": -0.546564, + "real": -0.456086 + }, + { + "imag": 0.111535, + "real": -0.078134 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.126911, + "real": 0.037139 + }, + { + "imag": -0.53312, + "real": -0.457009 + }, + { + "imag": -0.531549, + "real": -0.478808 + }, + { + "imag": 0.111309, + "real": -0.07725 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.133034, + "real": 0.044064 + }, + { + "imag": -0.519253, + "real": -0.478967 + }, + { + "imag": -0.518945, + "real": -0.498126 + }, + { + "imag": 0.109675, + "real": -0.07499 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.138493, + "real": 0.050298 + }, + { + "imag": -0.504182, + "real": -0.500582 + }, + { + "imag": -0.503367, + "real": -0.519364 + }, + { + "imag": 0.110022, + "real": -0.072918 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.143564, + "real": 0.05381 + }, + { + "imag": -0.488064, + "real": -0.521449 + }, + { + "imag": -0.487061, + "real": -0.539638 + }, + { + "imag": 0.109364, + "real": -0.070143 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.147492, + "real": 0.058394 + }, + { + "imag": -0.469744, + "real": -0.542878 + }, + { + "imag": -0.469125, + "real": -0.559625 + }, + { + "imag": 0.109487, + "real": -0.068788 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.151594, + "real": 0.060695 + }, + { + "imag": -0.450826, + "real": -0.56253 + }, + { + "imag": -0.449281, + "real": -0.578524 + }, + { + "imag": 0.108173, + "real": -0.066027 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.15407, + "real": 0.061778 + }, + { + "imag": -0.430161, + "real": -0.582029 + }, + { + "imag": -0.428446, + "real": -0.596399 + }, + { + "imag": 0.10859, + "real": -0.062816 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.155842, + "real": 0.061937 + }, + { + "imag": -0.408077, + "real": -0.600522 + }, + { + "imag": -0.406327, + "real": -0.612767 + }, + { + "imag": 0.111433, + "real": -0.059751 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.157073, + "real": 0.062199 + }, + { + "imag": -0.38546, + "real": -0.616204 + }, + { + "imag": -0.382382, + "real": -0.627941 + }, + { + "imag": 0.11479, + "real": -0.060097 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.159242, + "real": 0.06216 + }, + { + "imag": -0.360289, + "real": -0.630647 + }, + { + "imag": -0.358447, + "real": -0.641195 + }, + { + "imag": 0.117608, + "real": -0.06152 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.156103, + "real": 0.063023 + }, + { + "imag": -0.333983, + "real": -0.643191 + }, + { + "imag": -0.332451, + "real": -0.651552 + }, + { + "imag": 0.119807, + "real": -0.062738 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.155332, + "real": 0.064846 + }, + { + "imag": -0.307108, + "real": -0.653234 + }, + { + "imag": -0.305352, + "real": -0.66247 + }, + { + "imag": 0.121168, + "real": -0.063107 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.152719, + "real": 0.06718 + }, + { + "imag": -0.280895, + "real": -0.661377 + }, + { + "imag": -0.27823, + "real": -0.669564 + }, + { + "imag": 0.123539, + "real": -0.061857 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.149981, + "real": 0.070685 + }, + { + "imag": -0.254614, + "real": -0.665662 + }, + { + "imag": -0.250472, + "real": -0.675359 + }, + { + "imag": 0.125533, + "real": -0.060089 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.146207, + "real": 0.073132 + }, + { + "imag": -0.227813, + "real": -0.672497 + }, + { + "imag": -0.223563, + "real": -0.680614 + }, + { + "imag": 0.128842, + "real": -0.057484 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.143384, + "real": 0.081243 + }, + { + "imag": -0.203073, + "real": -0.672846 + }, + { + "imag": -0.199305, + "real": -0.682689 + }, + { + "imag": 0.13018, + "real": -0.056334 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.137285, + "real": 0.083927 + }, + { + "imag": -0.179654, + "real": -0.674593 + }, + { + "imag": -0.17436, + "real": -0.68641 + }, + { + "imag": 0.132579, + "real": -0.054651 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.132201, + "real": 0.090978 + }, + { + "imag": -0.157181, + "real": -0.674867 + }, + { + "imag": -0.150717, + "real": -0.689577 + }, + { + "imag": 0.132974, + "real": -0.053366 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.128968, + "real": 0.096105 + }, + { + "imag": -0.135136, + "real": -0.675475 + }, + { + "imag": -0.128197, + "real": -0.692442 + }, + { + "imag": 0.131314, + "real": -0.051391 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.123908, + "real": 0.103312 + }, + { + "imag": -0.112143, + "real": -0.676976 + }, + { + "imag": -0.105886, + "real": -0.695054 + }, + { + "imag": 0.131139, + "real": -0.051305 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.119113, + "real": 0.107389 + }, + { + "imag": -0.090961, + "real": -0.682079 + }, + { + "imag": -0.083528, + "real": -0.697987 + }, + { + "imag": 0.129951, + "real": -0.048838 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.11771, + "real": 0.11304 + }, + { + "imag": -0.070118, + "real": -0.685155 + }, + { + "imag": -0.060223, + "real": -0.701708 + }, + { + "imag": 0.128797, + "real": -0.045501 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.115262, + "real": 0.119852 + }, + { + "imag": -0.048711, + "real": -0.689542 + }, + { + "imag": -0.037246, + "real": -0.705653 + }, + { + "imag": 0.127133, + "real": -0.042562 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.111018, + "real": 0.12869 + }, + { + "imag": -0.024792, + "real": -0.694097 + }, + { + "imag": -0.012841, + "real": -0.710115 + }, + { + "imag": 0.125877, + "real": -0.037708 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.10892, + "real": 0.136059 + }, + { + "imag": -0.002882, + "real": -0.700283 + }, + { + "imag": 0.010436, + "real": -0.713477 + }, + { + "imag": 0.123283, + "real": -0.032898 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.112433, + "real": 0.13191 + }, + { + "imag": 0.024642, + "real": -0.706505 + }, + { + "imag": 0.038274, + "real": -0.716599 + }, + { + "imag": 0.111032, + "real": -0.031948 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.106316, + "real": 0.147449 + }, + { + "imag": 0.049988, + "real": -0.707721 + }, + { + "imag": 0.061467, + "real": -0.716248 + }, + { + "imag": 0.107767, + "real": -0.027543 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.106753, + "real": 0.153461 + }, + { + "imag": 0.076494, + "real": -0.709851 + }, + { + "imag": 0.086601, + "real": -0.715987 + }, + { + "imag": 0.106258, + "real": -0.020913 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.102469, + "real": 0.160021 + }, + { + "imag": 0.10352, + "real": -0.70921 + }, + { + "imag": 0.113909, + "real": -0.712741 + }, + { + "imag": 0.104939, + "real": -0.014365 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.101195, + "real": 0.16438 + }, + { + "imag": 0.12983, + "real": -0.708123 + }, + { + "imag": 0.140866, + "real": -0.707809 + }, + { + "imag": 0.103206, + "real": -0.006199 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.100486, + "real": 0.166316 + }, + { + "imag": 0.158025, + "real": -0.704114 + }, + { + "imag": 0.168412, + "real": -0.699131 + }, + { + "imag": 0.103912, + "real": 0.001368 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.099526, + "real": 0.170478 + }, + { + "imag": 0.184646, + "real": -0.697966 + }, + { + "imag": 0.19416, + "real": -0.690806 + }, + { + "imag": 0.103858, + "real": 0.006905 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.099979, + "real": 0.169455 + }, + { + "imag": 0.209926, + "real": -0.690323 + }, + { + "imag": 0.219677, + "real": -0.679915 + }, + { + "imag": 0.104693, + "real": 0.013495 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.099559, + "real": 0.172558 + }, + { + "imag": 0.235553, + "real": -0.678829 + }, + { + "imag": 0.244579, + "real": -0.667675 + }, + { + "imag": 0.109532, + "real": 0.019184 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.099868, + "real": 0.169609 + }, + { + "imag": 0.257004, + "real": -0.666027 + }, + { + "imag": 0.268377, + "real": -0.653485 + }, + { + "imag": 0.111082, + "real": 0.023679 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.100091, + "real": 0.1668 + }, + { + "imag": 0.276789, + "real": -0.653813 + }, + { + "imag": 0.288945, + "real": -0.639013 + }, + { + "imag": 0.114573, + "real": 0.025002 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.10149, + "real": 0.166465 + }, + { + "imag": 0.294467, + "real": -0.639493 + }, + { + "imag": 0.308713, + "real": -0.623409 + }, + { + "imag": 0.120954, + "real": 0.026211 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.102734, + "real": 0.168779 + }, + { + "imag": 0.311911, + "real": -0.625581 + }, + { + "imag": 0.326118, + "real": -0.608856 + }, + { + "imag": 0.129185, + "real": 0.02861 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.105651, + "real": 0.167639 + }, + { + "imag": 0.326319, + "real": -0.613681 + }, + { + "imag": 0.34198, + "real": -0.596327 + }, + { + "imag": 0.139017, + "real": 0.030534 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.106322, + "real": 0.171192 + }, + { + "imag": 0.341657, + "real": -0.603349 + }, + { + "imag": 0.358963, + "real": -0.584318 + }, + { + "imag": 0.150818, + "real": 0.033435 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.104966, + "real": 0.173079 + }, + { + "imag": 0.358852, + "real": -0.592979 + }, + { + "imag": 0.37724800000000003, + "real": -0.573014 + }, + { + "imag": 0.162309, + "real": 0.040637 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.100652, + "real": 0.182311 + }, + { + "imag": 0.377751, + "real": -0.583306 + }, + { + "imag": 0.397903, + "real": -0.561464 + }, + { + "imag": 0.172638, + "real": 0.049161 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.094596, + "real": 0.188047 + }, + { + "imag": 0.396438, + "real": -0.569999 + }, + { + "imag": 0.419175, + "real": -0.547931 + }, + { + "imag": 0.179893, + "real": 0.051714 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.085291, + "real": 0.192999 + }, + { + "imag": 0.416225, + "real": -0.555401 + }, + { + "imag": 0.439246, + "real": -0.533245 + }, + { + "imag": 0.186117, + "real": 0.055645 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.076054, + "real": 0.194545 + }, + { + "imag": 0.434864, + "real": -0.538752 + }, + { + "imag": 0.460397, + "real": -0.51643 + }, + { + "imag": 0.193144, + "real": 0.05492 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.067589, + "real": 0.195523 + }, + { + "imag": 0.452657, + "real": -0.523532 + }, + { + "imag": 0.479521, + "real": -0.501871 + }, + { + "imag": 0.19435, + "real": 0.052219 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.059504, + "real": 0.197178 + }, + { + "imag": 0.47215, + "real": -0.504093 + }, + { + "imag": 0.502237, + "real": -0.481522 + }, + { + "imag": 0.198761, + "real": 0.049182 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.047618, + "real": 0.199135 + }, + { + "imag": 0.489295, + "real": -0.484157 + }, + { + "imag": 0.521032, + "real": -0.463776 + }, + { + "imag": 0.197249, + "real": 0.043707 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.037675, + "real": 0.198824 + }, + { + "imag": 0.506086, + "real": -0.46428 + }, + { + "imag": 0.539523, + "real": -0.446776 + }, + { + "imag": 0.198634, + "real": 0.037171 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.030142, + "real": 0.196831 + }, + { + "imag": 0.520161, + "real": -0.443171 + }, + { + "imag": 0.555884, + "real": -0.425691 + }, + { + "imag": 0.198368, + "real": 0.030963 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.02536, + "real": 0.197435 + }, + { + "imag": 0.535494, + "real": -0.423815 + }, + { + "imag": 0.574719, + "real": -0.407998 + }, + { + "imag": 0.19892, + "real": 0.02454 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.013452, + "real": 0.193988 + }, + { + "imag": 0.548487, + "real": -0.404929 + }, + { + "imag": 0.588244, + "real": -0.391295 + }, + { + "imag": 0.191908, + "real": 0.01844 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.007745, + "real": 0.192464 + }, + { + "imag": 0.56375, + "real": -0.384774 + }, + { + "imag": 0.602273, + "real": -0.37265 + }, + { + "imag": 0.188183, + "real": 0.008549 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.000157, + "real": 0.192531 + }, + { + "imag": 0.575513, + "real": -0.363472 + }, + { + "imag": 0.615167, + "real": -0.352365 + }, + { + "imag": 0.182552, + "real": 0.001952 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -0.007733, + "real": 0.188057 + }, + { + "imag": 0.588097, + "real": -0.344731 + }, + { + "imag": 0.625142, + "real": -0.333657 + }, + { + "imag": 0.176536, + "real": -0.002078 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -0.01424, + "real": 0.18486 + }, + { + "imag": 0.600442, + "real": -0.326042 + }, + { + "imag": 0.635359, + "real": -0.313067 + }, + { + "imag": 0.167687, + "real": -0.008705 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -0.021528, + "real": 0.181355 + }, + { + "imag": 0.613381, + "real": -0.306461 + }, + { + "imag": 0.644991, + "real": -0.291018 + }, + { + "imag": 0.161009, + "real": -0.013624 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -0.02763, + "real": 0.180798 + }, + { + "imag": 0.625567, + "real": -0.286724 + }, + { + "imag": 0.653909, + "real": -0.269388 + }, + { + "imag": 0.153542, + "real": -0.017956 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -0.035187, + "real": 0.173654 + }, + { + "imag": 0.637458, + "real": -0.26697 + }, + { + "imag": 0.661641, + "real": -0.247252 + }, + { + "imag": 0.142664, + "real": -0.0222 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -0.043032, + "real": 0.169469 + }, + { + "imag": 0.649154, + "real": -0.244898 + }, + { + "imag": 0.669211, + "real": -0.223642 + }, + { + "imag": 0.133733, + "real": -0.024643 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -0.047824, + "real": 0.162413 + }, + { + "imag": 0.660606, + "real": -0.221771 + }, + { + "imag": 0.676747, + "real": -0.200377 + }, + { + "imag": 0.122486, + "real": -0.025728 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.054122, + "real": 0.160192 + }, + { + "imag": 0.672729, + "real": -0.199372 + }, + { + "imag": 0.682707, + "real": -0.175516 + }, + { + "imag": 0.112726, + "real": -0.026068 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.061231, + "real": 0.153897 + }, + { + "imag": 0.680687, + "real": -0.174356 + }, + { + "imag": 0.687344, + "real": -0.15219 + }, + { + "imag": 0.103053, + "real": -0.024692 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.066262, + "real": 0.147967 + }, + { + "imag": 0.690614, + "real": -0.149083 + }, + { + "imag": 0.6922, + "real": -0.126424 + }, + { + "imag": 0.091012, + "real": -0.021452 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.073394, + "real": 0.142611 + }, + { + "imag": 0.697375, + "real": -0.120611 + }, + { + "imag": 0.695433, + "real": -0.099157 + }, + { + "imag": 0.0851, + "real": -0.02102 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.072535, + "real": 0.133899 + }, + { + "imag": 0.702736, + "real": -0.095022 + }, + { + "imag": 0.698279, + "real": -0.071746 + }, + { + "imag": 0.078517, + "real": -0.015784 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.08225, + "real": 0.133701 + }, + { + "imag": 0.704927, + "real": -0.065174 + }, + { + "imag": 0.698939, + "real": -0.043773 + }, + { + "imag": 0.070787, + "real": -0.012905 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.087421, + "real": 0.128113 + }, + { + "imag": 0.705572, + "real": -0.035236 + }, + { + "imag": 0.698292, + "real": -0.017068 + }, + { + "imag": 0.062184, + "real": -0.008154 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.092647, + "real": 0.122977 + }, + { + "imag": 0.704332, + "real": -0.006977 + }, + { + "imag": 0.697778, + "real": 0.011089 + }, + { + "imag": 0.057609, + "real": -0.003517 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.095447, + "real": 0.114877 + }, + { + "imag": 0.699523, + "real": 0.018179 + }, + { + "imag": 0.693881, + "real": 0.039253 + }, + { + "imag": 0.052546, + "real": 0.001665 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.099499, + "real": 0.113608 + }, + { + "imag": 0.695478, + "real": 0.048011 + }, + { + "imag": 0.689924, + "real": 0.067024 + }, + { + "imag": 0.047281, + "real": 0.007663 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.101563, + "real": 0.105142 + }, + { + "imag": 0.688151, + "real": 0.073804 + }, + { + "imag": 0.68485, + "real": 0.089638 + }, + { + "imag": 0.043301, + "real": 0.014183 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.103874, + "real": 0.099942 + }, + { + "imag": 0.681014, + "real": 0.098567 + }, + { + "imag": 0.678323, + "real": 0.114493 + }, + { + "imag": 0.043969, + "real": 0.019491 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.105908, + "real": 0.095114 + }, + { + "imag": 0.673745, + "real": 0.12127 + }, + { + "imag": 0.670074, + "real": 0.138513 + }, + { + "imag": 0.047132, + "real": 0.023726 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.107072, + "real": 0.087638 + }, + { + "imag": 0.665835, + "real": 0.141984 + }, + { + "imag": 0.663649, + "real": 0.159574 + }, + { + "imag": 0.043774, + "real": 0.027002 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.108158, + "real": 0.080648 + }, + { + "imag": 0.65879, + "real": 0.16359 + }, + { + "imag": 0.653596, + "real": 0.18366 + }, + { + "imag": 0.04395, + "real": 0.034216 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P24_THROUGH", + "ports": 2 + } + }, + "type": "Through" + }, + { + "params": { + "C0": 0.0, + "C1": 0.0, + "C2": 0.0, + "C3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 5762845714384679112, + "loss": 0.0, + "name": "Port 3", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": 0.233985, + "real": 0.812643 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.05236, + "real": 0.968795 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.067509, + "real": 0.959853 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.095304, + "real": 0.957738 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.123206, + "real": 0.951273 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.148516, + "real": 0.94552 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.176404, + "real": 0.942115 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.201355, + "real": 0.936668 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.226295, + "real": 0.930838 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.249663, + "real": 0.924598 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.272079, + "real": 0.918313 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.294844, + "real": 0.910961 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.317174, + "real": 0.90404 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.339494, + "real": 0.896445 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.361541, + "real": 0.888018 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.384127, + "real": 0.879103 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.405988, + "real": 0.869937 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.42775, + "real": 0.860111 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.449973, + "real": 0.849346 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.472001, + "real": 0.837956 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.494097, + "real": 0.825478 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.516698, + "real": 0.811675 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.538592, + "real": 0.798483 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.560489, + "real": 0.783422 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.582286, + "real": 0.767517 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.604758, + "real": 0.750215 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.624289, + "real": 0.73461 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.644475, + "real": 0.71618 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.664336, + "real": 0.698023 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.68355, + "real": 0.679236 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.702533, + "real": 0.659369 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.720863, + "real": 0.638916 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.737846, + "real": 0.619725 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.754413, + "real": 0.599814 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.770865, + "real": 0.579439 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.786815, + "real": 0.55858 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.802012, + "real": 0.5375 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.816711, + "real": 0.516114 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.829947, + "real": 0.495689 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.844847, + "real": 0.472764 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.858341, + "real": 0.449388 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.870308, + "real": 0.428749 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.88257, + "real": 0.40598 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.894507, + "real": 0.381691 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.904956, + "real": 0.357424 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.914988, + "real": 0.332801 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.924074, + "real": 0.307486 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.932385, + "real": 0.281875 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.939695, + "real": 0.257078 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.946424, + "real": 0.229134 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.951406, + "real": 0.202184 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.955946, + "real": 0.175269 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.95888, + "real": 0.147368 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.960584, + "real": 0.119729 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.962223, + "real": 0.092447 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.962888, + "real": 0.063931 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.962541, + "real": 0.037124 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.962967, + "real": 0.01345 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.960434, + "real": -0.017973 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.958562, + "real": -0.046083 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.955971, + "real": -0.073963 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.953236, + "real": -0.101855 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.949706, + "real": -0.129121 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.946875, + "real": -0.154204 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.943555, + "real": -0.183621 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.939094, + "real": -0.210387 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.934073, + "real": -0.237891 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.929333, + "real": -0.264376 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.923192, + "real": -0.286787 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.915291, + "real": -0.3196 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.90659, + "real": -0.347206 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.897058, + "real": -0.374276 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.886043, + "real": -0.400795 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.873076, + "real": -0.427139 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.859729, + "real": -0.453757 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.842921, + "real": -0.483615 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.827824, + "real": -0.508783 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.809217, + "real": -0.531288 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.790138, + "real": -0.555976 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.770112, + "real": -0.580005 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.749765, + "real": -0.60275 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.728385, + "real": -0.625431 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.70715, + "real": -0.646863 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.686137, + "real": -0.667729 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.664734, + "real": -0.688503 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.641053, + "real": -0.710315 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.622742, + "real": -0.726778 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.601636, + "real": -0.745062 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.581873, + "real": -0.762621 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.562063, + "real": -0.779505 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.543186, + "real": -0.794278 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.523398, + "real": -0.810589 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.50263, + "real": -0.826105 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.483013, + "real": -0.838924 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.461937, + "real": -0.852593 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.441187, + "real": -0.865626 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.419112, + "real": -0.878329 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.396793, + "real": -0.890125 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.373789, + "real": -0.900871 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.349031, + "real": -0.910949 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.32417, + "real": -0.919743 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.297965, + "real": -0.927645 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.270196, + "real": -0.935325 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.243742, + "real": -0.941391 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.214203, + "real": -0.9467140000000001 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.184599, + "real": -0.951314 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.146972, + "real": -0.957941 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.123938, + "real": -0.957871 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.093842, + "real": -0.96004 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.063352, + "real": -0.96123 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.033246, + "real": -0.962127 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.003891, + "real": -0.962035 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.02586, + "real": -0.961815 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.054952, + "real": -0.960661 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.082169, + "real": -0.959184 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.109831, + "real": -0.958144 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.13833, + "real": -0.955675 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.165798, + "real": -0.952046 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.192675, + "real": -0.948592 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.219601, + "real": -0.9445 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.261369, + "real": -0.934565 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.271736, + "real": -0.934432 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.29857, + "real": -0.927901 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.325263, + "real": -0.919654 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.351655, + "real": -0.911125 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.378451, + "real": -0.900772 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.403871, + "real": -0.890678 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.43122, + "real": -0.878759 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.458003, + "real": -0.865089 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.48406, + "real": -0.85065 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.509808, + "real": -0.835512 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.535395, + "real": -0.819257 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.560894, + "real": -0.802624 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.585626, + "real": -0.784883 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.609537, + "real": -0.767008 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.632902, + "real": -0.749581 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.654959, + "real": -0.730519 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.677131, + "real": -0.710713 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.697842, + "real": -0.691763 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.718287, + "real": -0.672082 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.737961, + "real": -0.652454 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.756241, + "real": -0.634024 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.775181, + "real": -0.611813 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.793003, + "real": -0.591063 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.810483, + "real": -0.570028 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.825911, + "real": -0.548847 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.841593, + "real": -0.526089 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.857035, + "real": -0.503992 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.871631, + "real": -0.48036 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.884705, + "real": -0.455207 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.898242, + "real": -0.430203 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.910892, + "real": -0.405584 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.923766, + "real": -0.379758 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.935248, + "real": -0.353573 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.945285, + "real": -0.328085 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.956068, + "real": -0.300848 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.966939, + "real": -0.270488 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.975015, + "real": -0.240966 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.98206, + "real": -0.211581 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.988458, + "real": -0.18268 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.993885, + "real": -0.153812 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.997648, + "real": -0.124796 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 1.0014, + "real": -0.095116 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 1.00439, + "real": -0.065982 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 1.00643, + "real": -0.036846 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 1.0076, + "real": -0.00791 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 1.008, + "real": 0.020281 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 1.007, + "real": 0.049525 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 1.00532, + "real": 0.077893 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 1.00219, + "real": 0.106902 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.997748, + "real": 0.134807 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.995589, + "real": 0.163922 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.9916, + "real": 0.191809 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.985916, + "real": 0.219171 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.979981, + "real": 0.247583 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.974179, + "real": 0.275534 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.962987, + "real": 0.311014 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.956682, + "real": 0.330686 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.947978, + "real": 0.358466 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.939012, + "real": 0.386195 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.929449, + "real": 0.413289 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.918048, + "real": 0.439065 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.906858, + "real": 0.46461 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.895118, + "real": 0.490242 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.882823, + "real": 0.5147 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.869692, + "real": 0.539421 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.855992, + "real": 0.563558 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.841244, + "real": 0.586864 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.825901, + "real": 0.610082 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.809404, + "real": 0.632488 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.791668, + "real": 0.654882 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.772737, + "real": 0.676904 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.753983, + "real": 0.697107 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.733206, + "real": 0.717861 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.711833, + "real": 0.7375 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.686639, + "real": 0.755713 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.66196, + "real": 0.775189 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.634767, + "real": 0.794606 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.608113, + "real": 0.812848 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.579755, + "real": 0.829224 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.550481, + "real": 0.84727 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.52085, + "real": 0.864214 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.489993, + "real": 0.879508 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.459733, + "real": 0.894281 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.428389, + "real": 0.907844 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.395847, + "real": 0.921023 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.364488, + "real": 0.932986 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.33418, + "real": 0.943022 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.3029, + "real": 0.952631 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.269733, + "real": 0.961734 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.238148, + "real": 0.968881 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.206048, + "real": 0.975636 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.175314, + "real": 0.981202 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.145155, + "real": 0.985315 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.116493, + "real": 0.989334 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.087195, + "real": 0.991352 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.058553, + "real": 0.99304 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.023431, + "real": 0.992653 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.003272, + "real": 0.993792 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": -0.023755, + "real": 0.993763 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": -0.051271, + "real": 0.992616 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": -0.078428, + "real": 0.990219 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": -0.104201, + "real": 0.985711 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": -0.13201, + "real": 0.983384 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": -0.157356, + "real": 0.980681 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": -0.182448, + "real": 0.976501 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": -0.210675, + "real": 0.97521 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": -0.239827, + "real": 0.97446 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": -0.269168, + "real": 0.969744 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": -0.299297, + "real": 0.963018 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": -0.329738, + "real": 0.954332 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": -0.359984, + "real": 0.942803 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": -0.390041, + "real": 0.928924 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": -0.419137, + "real": 0.915055 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": -0.448081, + "real": 0.90134 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": -0.475649, + "real": 0.886402 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": -0.503236, + "real": 0.870836 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": -0.530956, + "real": 0.854956 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": -0.556075, + "real": 0.837682 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": -0.578536, + "real": 0.819446 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": -0.601105, + "real": 0.800893 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": -0.624787, + "real": 0.781625 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": -0.644882, + "real": 0.763831 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": -0.666564, + "real": 0.743655 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": -0.687718, + "real": 0.723354 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": -0.690396, + "real": 0.708547 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": -0.730617, + "real": 0.685286 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": -0.749808, + "real": 0.66599 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": -0.768448, + "real": 0.648065 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": -0.786952, + "real": 0.629444 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": -0.803918, + "real": 0.613358 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": -0.820846, + "real": 0.593106 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": -0.838009, + "real": 0.571342 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": -0.853763, + "real": 0.548157 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": -0.867279, + "real": 0.52414 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": -0.880591, + "real": 0.499644 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": -0.892493, + "real": 0.474472 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": -0.904492, + "real": 0.448868 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": -0.915108, + "real": 0.421309 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": -0.92519, + "real": 0.394473 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": -0.934558, + "real": 0.367315 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.942179, + "real": 0.33797 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.949364, + "real": 0.312885 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": -0.951831, + "real": 0.278907 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": -0.954954, + "real": 0.246652 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": -0.958954, + "real": 0.216789 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": -0.962661, + "real": 0.185368 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": -0.967536, + "real": 0.15254 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": -0.969626, + "real": 0.121976 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": -0.973194, + "real": 0.091838 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": -0.974691, + "real": 0.063246 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": -0.97651, + "real": 0.037321 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.977598, + "real": 0.012139 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.979908, + "real": -0.014701 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.980951, + "real": -0.040799 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.979804, + "real": -0.070944 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.976772, + "real": -0.097587 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.974965, + "real": -0.122253 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.972714, + "real": -0.147251 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.970213, + "real": -0.17219 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.966003, + "real": -0.197689 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.961889, + "real": -0.221878 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.958044, + "real": -0.244586 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.953529, + "real": -0.268803 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.946919, + "real": -0.293692 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.938391, + "real": -0.317301 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.928383, + "real": -0.342934 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.917686, + "real": -0.368241 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.907879, + "real": -0.391637 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.897205, + "real": -0.416684 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.883583, + "real": -0.441642 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.871488, + "real": -0.465458 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.860107, + "real": -0.490895 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.847934, + "real": -0.51086 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.834473, + "real": -0.529053 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.821988, + "real": -0.551159 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.804042, + "real": -0.575341 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.786902, + "real": -0.596321 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.770239, + "real": -0.616433 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.752041, + "real": -0.636235 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.733927, + "real": -0.655492 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.715138, + "real": -0.673732 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.69403, + "real": -0.692357 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.673741, + "real": -0.709889 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.652447, + "real": -0.727865 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.62995, + "real": -0.744671 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.608315, + "real": -0.762755 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.583093, + "real": -0.779805 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.555533, + "real": -0.796832 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.531845, + "real": -0.812851 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.505092, + "real": -0.829255 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.477535, + "real": -0.843796 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.451101, + "real": -0.859932 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.424419, + "real": -0.874774 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.398414, + "real": -0.889208 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.372455, + "real": -0.903899 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.348476, + "real": -0.914887 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.324746, + "real": -0.929762 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.297205, + "real": -0.940985 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.273147, + "real": -0.952859 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.248448, + "real": -0.964472 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.226045, + "real": -0.973815 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.201573, + "real": -0.983144 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.179979, + "real": -0.992154 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.15597, + "real": -1.00028 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.135604, + "real": -1.00767 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.111321, + "real": -1.01498 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.085098, + "real": -1.02234 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.064009, + "real": -1.02673 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.036599, + "real": -1.03218 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.012389, + "real": -1.03251 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": 0.015099, + "real": -1.0359 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": 0.0419, + "real": -1.03762 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": 0.068935, + "real": -1.03587 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": 0.098101, + "real": -1.03619 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": 0.127213, + "real": -1.03362 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.156602, + "real": -1.02952 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.186333, + "real": -1.02439 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": 0.218046, + "real": -1.01981 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.253034, + "real": -1.01072 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.281573, + "real": -1.00543 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.31195, + "real": -0.998107 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.343452, + "real": -0.989419 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.37502, + "real": -0.980279 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.407174, + "real": -0.972091 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.43907, + "real": -0.960699 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.470453, + "real": -0.952443 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.499543, + "real": -0.941551 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.52818, + "real": -0.932011 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.558992, + "real": -0.920979 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.589958, + "real": -0.910888 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.617544, + "real": -0.899801 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.644754, + "real": -0.888549 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.675841, + "real": -0.87764 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.699213, + "real": -0.867568 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.716764, + "real": -0.858325 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.750202, + "real": -0.842334 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.778013, + "real": -0.830946 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.7865, + "real": -0.806656 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.82278, + "real": -0.797492 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.845171, + "real": -0.777962 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.869104, + "real": -0.751762 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.888867, + "real": -0.72878 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.906819, + "real": -0.710202 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.92513, + "real": -0.686896 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.943813, + "real": -0.661789 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.959554, + "real": -0.632704 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.977253, + "real": -0.607248 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.99328, + "real": -0.57852 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 1.01148, + "real": -0.550335 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 1.02874, + "real": -0.518701 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 1.04651, + "real": -0.492416 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 1.05948, + "real": -0.466437 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 1.07471, + "real": -0.438527 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 1.08234, + "real": -0.410103 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 1.09616, + "real": -0.383308 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 1.11214, + "real": -0.355624 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 1.12419, + "real": -0.329427 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 1.13707, + "real": -0.301406 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 1.14604, + "real": -0.273591 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 1.15308, + "real": -0.245132 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 1.15892, + "real": -0.212712 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 1.16477, + "real": -0.177748 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 1.16616, + "real": -0.141108 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 1.16897, + "real": -0.105425 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 1.16619, + "real": -0.069154 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 1.16744, + "real": -0.037083 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 1.16807, + "real": 0.001562 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 1.16375, + "real": 0.039594 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 1.158, + "real": 0.082075 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 1.14882, + "real": 0.124454 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 1.14414, + "real": 0.166783 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 1.1395, + "real": 0.20993 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 1.13201, + "real": 0.254793 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 1.12679, + "real": 0.295613 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 1.12011, + "real": 0.336375 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 1.11712, + "real": 0.377022 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 1.11253, + "real": 0.417449 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 1.11069, + "real": 0.452003 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 1.10901, + "real": 0.487508 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 1.10816, + "real": 0.526699 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 1.10824, + "real": 0.561119 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 1.10608, + "real": 0.592809 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 1.10493, + "real": 0.630002 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 1.10096, + "real": 0.666208 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 1.09614, + "real": 0.699251 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 1.08845, + "real": 0.733705 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 1.08491, + "real": 0.761343 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 1.07699, + "real": 0.791804 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 1.06863, + "real": 0.819774 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 1.04979, + "real": 0.850783 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 1.03199, + "real": 0.87626 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 1.00908, + "real": 0.914355 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.983858, + "real": 0.942723 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.955556, + "real": 0.977159 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.921869, + "real": 1.00398 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.888748, + "real": 1.03485 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.852152, + "real": 1.06274 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.818628, + "real": 1.08978 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.780189, + "real": 1.11228 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.743462, + "real": 1.12981 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.704051, + "real": 1.15091 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.666932, + "real": 1.16892 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.631497, + "real": 1.18636 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.588588, + "real": 1.2065 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.553566, + "real": 1.219 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.515371, + "real": 1.23138 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.478171, + "real": 1.24497 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.439172, + "real": 1.2573 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.403433, + "real": 1.26636 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.368149, + "real": 1.27425 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.329747, + "real": 1.28552 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.288792, + "real": 1.29358 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.245848, + "real": 1.29832 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.199783, + "real": 1.30468 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.151586, + "real": 1.30736 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.10442800000000001, + "real": 1.31239 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.052112, + "real": 1.314 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.00141, + "real": 1.31023 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.056273, + "real": 1.31049 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.102954, + "real": 1.30376 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.157613, + "real": 1.29914 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.207607, + "real": 1.2914 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.259796, + "real": 1.27873 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.305123, + "real": 1.26558 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.352127, + "real": 1.25198 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.396865, + "real": 1.23283 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.440677, + "real": 1.21182 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.481301, + "real": 1.19239 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": -0.523295, + "real": 1.16676 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": -0.556824, + "real": 1.13377 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": -0.597195, + "real": 1.11189 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": -0.635895, + "real": 1.09449 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": -0.676002, + "real": 1.07714 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": -0.712716, + "real": 1.06083 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": -0.749916, + "real": 1.0475 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": -0.782848, + "real": 1.03132 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.814733, + "real": 1.01661 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.845322, + "real": 1.00226 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": -0.87483, + "real": 0.98789 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": -0.903411, + "real": 0.96826 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": -0.928385, + "real": 0.951811 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": -0.952043, + "real": 0.928254 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": -0.973844, + "real": 0.906392 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": -0.993801, + "real": 0.88472 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": -1.00778, + "real": 0.855968 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": -1.0308, + "real": 0.821141 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": -1.04134, + "real": 0.786156 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": -1.05045, + "real": 0.748371 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": -1.05955, + "real": 0.706235 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": -1.06198, + "real": 0.66187 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": -1.07183, + "real": 0.616831 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": -1.07459, + "real": 0.568697 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": -1.08034, + "real": 0.522173 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": -1.08174, + "real": 0.479131 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": -1.08524, + "real": 0.430387 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": -1.09143, + "real": 0.386467 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": -1.09329, + "real": 0.346462 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": -1.09981, + "real": 0.306339 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -1.10393, + "real": 0.264488 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -1.10662, + "real": 0.221809 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -1.11224, + "real": 0.184532 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -1.1201, + "real": 0.146681 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -1.12547, + "real": 0.112795 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -1.13331, + "real": 0.077597 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -1.13838, + "real": 0.04486 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -1.14306, + "real": 0.008701 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -1.15076, + "real": -0.025253 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -1.15423, + "real": -0.05923 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -1.15903, + "real": -0.089667 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -1.16551, + "real": -0.124786 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -1.16333, + "real": -0.15342 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -1.16368, + "real": -0.178965 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -1.16376, + "real": -0.210525 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -1.16282, + "real": -0.236336 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -1.15188, + "real": -0.265274 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -1.1409, + "real": -0.28795 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -1.12737, + "real": -0.313365 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -1.11603, + "real": -0.337366 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -1.09236, + "real": -0.361767 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -1.07163, + "real": -0.387878 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P3_OPEN", + "ports": 1 + } + }, + "type": "Open" + }, + { + "params": { + "L0": 0.0, + "L1": 0.0, + "L2": 0.0, + "L3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 3508904253150165021, + "loss": 0.0, + "name": "Port 3", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.299468, + "real": -0.574525 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.031243, + "real": -0.730427 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": 0.042092, + "real": -0.725253 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": 0.061756, + "real": -0.724747 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": 0.081337, + "real": -0.720333 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": 0.099481, + "real": -0.716368 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": 0.121752, + "real": -0.713439 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": 0.142541, + "real": -0.708927 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": 0.163922, + "real": -0.703472 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": 0.184977, + "real": -0.697213 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": 0.206167, + "real": -0.690406 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": 0.228081, + "real": -0.682471 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": 0.249304, + "real": -0.67463 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": 0.271573, + "real": -0.665945 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": 0.293422, + "real": -0.656233 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": 0.314596, + "real": -0.646419 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": 0.335107, + "real": -0.636372 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": 0.355211, + "real": -0.625295 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": 0.374393, + "real": -0.614431 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": 0.393755, + "real": -0.60293 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": 0.412185, + "real": -0.591333 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": 0.430041, + "real": -0.578868 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.447306, + "real": -0.567481 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.463901, + "real": -0.555015 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": 0.480552, + "real": -0.541704 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": 0.497245, + "real": -0.527906 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": 0.511168, + "real": -0.51665 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": 0.526844, + "real": -0.501142 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": 0.541648, + "real": -0.486533 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": 0.556214, + "real": -0.47154 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": 0.570106, + "real": -0.455686 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": 0.583718, + "real": -0.4385 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": 0.596508, + "real": -0.422023 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": 0.609049, + "real": -0.404365 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": 0.621183, + "real": -0.386755 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": 0.633025, + "real": -0.367533 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": 0.643929, + "real": -0.348583 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": 0.654318, + "real": -0.328621 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": 0.663482, + "real": -0.309026 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": 0.672974, + "real": -0.288114 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": 0.681252, + "real": -0.26635 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": 0.689197, + "real": -0.24668 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": 0.696482, + "real": -0.226459 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.703557, + "real": -0.204732 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": 0.709896, + "real": -0.183647 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.715857, + "real": -0.16285 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": 0.72091, + "real": -0.141824 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": 0.725841, + "real": -0.121214 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": 0.730415, + "real": -0.101587 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": 0.734619, + "real": -0.079398 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": 0.738069, + "real": -0.058618 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": 0.741288, + "real": -0.037246 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": 0.744244, + "real": -0.016185 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": 0.746716, + "real": 0.004658 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": 0.748415, + "real": 0.025465 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": 0.749407, + "real": 0.046914 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": 0.749914, + "real": 0.067401 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": 0.750141, + "real": 0.085872 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": 0.748402, + "real": 0.109071 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": 0.74631, + "real": 0.130551 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": 0.743385, + "real": 0.150785 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": 0.739509, + "real": 0.172267 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": 0.734673, + "real": 0.193273 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": 0.729937, + "real": 0.212539 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": 0.723567, + "real": 0.23409 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": 0.716165, + "real": 0.254009 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": 0.708589, + "real": 0.274186 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": 0.700731, + "real": 0.293222 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": 0.694354, + "real": 0.30808 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": 0.682748, + "real": 0.332811 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": 0.67324, + "real": 0.351644 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": 0.663697, + "real": 0.370301 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": 0.653667, + "real": 0.388778 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": 0.644019, + "real": 0.407437 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": 0.634075, + "real": 0.424999 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": 0.62233, + "real": 0.444688 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": 0.612121, + "real": 0.459882 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": 0.602456, + "real": 0.477394 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": 0.591269, + "real": 0.493563 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": 0.580239, + "real": 0.508844 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": 0.567797, + "real": 0.524944 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": 0.554959, + "real": 0.540142 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": 0.540832, + "real": 0.555421 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": 0.526176, + "real": 0.570151 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": 0.511435, + "real": 0.583833 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": 0.492298, + "real": 0.598504 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.47742, + "real": 0.61147 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": 0.458795, + "real": 0.625283 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": 0.43915, + "real": 0.637653 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": 0.418736, + "real": 0.649719 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.399177, + "real": 0.661696 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": 0.377176, + "real": 0.672912 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": 0.35299, + "real": 0.684196 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": 0.331527, + "real": 0.693418 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": 0.30854, + "real": 0.703687 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": 0.286765, + "real": 0.712002 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": 0.263942, + "real": 0.72124 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": 0.24097, + "real": 0.730624 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": 0.219565, + "real": 0.738064 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": 0.196997, + "real": 0.745828 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": 0.176274, + "real": 0.752649 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": 0.154464, + "real": 0.759621 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": 0.133377, + "real": 0.765812 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": 0.11332, + "real": 0.771129 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": 0.092472, + "real": 0.775868 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": 0.073239, + "real": 0.78084 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": 0.049272, + "real": 0.784975 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": 0.03258, + "real": 0.787524 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": 0.012712, + "real": 0.789357 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.007859, + "real": 0.791406 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.028396, + "real": 0.791942 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.049123, + "real": 0.792168 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.070003, + "real": 0.791074 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.09125, + "real": 0.788952 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.11154, + "real": 0.786516 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.133402, + "real": 0.784175 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.156823, + "real": 0.779231 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.177974, + "real": 0.772428 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.199997, + "real": 0.766238 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.222046, + "real": 0.759355 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.259036, + "real": 0.752832 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.265704, + "real": 0.744034 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.287, + "real": 0.735461 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.308501, + "real": 0.726622 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.329388, + "real": 0.717351 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.350254, + "real": 0.70776 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.369576, + "real": 0.697578 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.388232, + "real": 0.687251 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.407177, + "real": 0.676517 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.425669, + "real": 0.665622 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.443569, + "real": 0.654472 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.46138, + "real": 0.641997 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.478751, + "real": 0.629987 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.495585, + "real": 0.616888 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.511988, + "real": 0.603667 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.527973, + "real": 0.590317 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.544044, + "real": 0.575949 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.560629, + "real": 0.560332 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.576264, + "real": 0.544327 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": -0.591433, + "real": 0.527902 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": -0.606657, + "real": 0.510145 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": -0.619416, + "real": 0.493739 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": -0.63528, + "real": 0.472437 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": -0.64911, + "real": 0.452704 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": -0.662693, + "real": 0.43283 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": -0.674667, + "real": 0.412881 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": -0.686631, + "real": 0.392112 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": -0.697878, + "real": 0.371065 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": -0.708374, + "real": 0.349964 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": -0.717745, + "real": 0.328391 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": -0.726013, + "real": 0.306247 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": -0.734467, + "real": 0.285743 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": -0.742218, + "real": 0.264168 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": -0.749246, + "real": 0.242785 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": -0.755773, + "real": 0.222774 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": -0.762579, + "real": 0.201719 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": -0.768148, + "real": 0.17831 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": -0.772714, + "real": 0.156787 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": -0.776345, + "real": 0.135458 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": -0.779727, + "real": 0.113692 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": -0.782373, + "real": 0.092004 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": -0.78474, + "real": 0.069944 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": -0.786454, + "real": 0.048037 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": -0.787766, + "real": 0.026325 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": -0.788695, + "real": 0.003375 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": -0.788891, + "real": -0.018921 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": -0.78877, + "real": -0.041419 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": -0.787615, + "real": -0.064043 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.786193, + "real": -0.086501 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": -0.783675, + "real": -0.109178 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.780936, + "real": -0.13187 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": -0.777367, + "real": -0.154591 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": -0.773202, + "real": -0.176861 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.76824, + "real": -0.199209 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": -0.762447, + "real": -0.221278 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.756, + "real": -0.243583 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": -0.746058, + "real": -0.267494 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": -0.740561, + "real": -0.28691 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.731977, + "real": -0.308426 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": -0.722696, + "real": -0.329351 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": -0.712961, + "real": -0.350139 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": -0.701813, + "real": -0.370379 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": -0.69009, + "real": -0.390931 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": -0.67761, + "real": -0.410932 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": -0.664854, + "real": -0.430842 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": -0.652007, + "real": -0.450984 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": -0.637426, + "real": -0.470484 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": -0.623833, + "real": -0.490806 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": -0.60939, + "real": -0.510276 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": -0.593823, + "real": -0.529439 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": -0.57844, + "real": -0.548257 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": -0.562886, + "real": -0.566596 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": -0.547321, + "real": -0.583669 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": -0.531002, + "real": -0.601109 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": -0.515725, + "real": -0.617705 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": -0.500199, + "real": -0.63398 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": -0.484803, + "real": -0.649164 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": -0.46936, + "real": -0.664248 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": -0.452913, + "real": -0.678222 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": -0.436757, + "real": -0.69121 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": -0.421388, + "real": -0.703894 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": -0.405537, + "real": -0.715651 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": -0.390402, + "real": -0.727651 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": -0.374756, + "real": -0.739391 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": -0.358737, + "real": -0.749512 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": -0.342254, + "real": -0.759502 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": -0.324861, + "real": -0.768301 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": -0.307828, + "real": -0.775448 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": -0.289388, + "real": -0.783225 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": -0.269469, + "real": -0.791365 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": -0.249042, + "real": -0.797959 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": -0.227672, + "real": -0.804437 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": -0.205858, + "real": -0.810741 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": -0.184224, + "real": -0.816253 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": -0.16093, + "real": -0.820772 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": -0.138365, + "real": -0.823712 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": -0.115063, + "real": -0.827369 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": -0.089882, + "real": -0.833536 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": -0.06747, + "real": -0.832124 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": -0.042347, + "real": -0.832262 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": -0.01597, + "real": -0.831758 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.00919, + "real": -0.830091 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.033226, + "real": -0.828729 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.056491, + "real": -0.826805 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.07919, + "real": -0.825338 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.104581, + "real": -0.825172 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.125636, + "real": -0.82371 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.145315, + "real": -0.82077 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.167781, + "real": -0.817698 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.187984, + "real": -0.813742 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.209165, + "real": -0.808991 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.230678, + "real": -0.805008 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.251496, + "real": -0.799528 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.272458, + "real": -0.794821 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.293471, + "real": -0.788144 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.315657, + "real": -0.782045 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.336852, + "real": -0.775467 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.356424, + "real": -0.767215 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.376731, + "real": -0.759153 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.396478, + "real": -0.749946 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.415388, + "real": -0.739967 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.43397, + "real": -0.728701 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.454492, + "real": -0.714787 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.475284, + "real": -0.696985 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.495212, + "real": -0.681723 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.514524, + "real": -0.67246 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.533938, + "real": -0.648491 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.553971, + "real": -0.63193 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.572626, + "real": -0.61395 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.591756, + "real": -0.596393 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.611093, + "real": -0.575645 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.627993, + "real": -0.557567 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.644124, + "real": -0.538329 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.659857, + "real": -0.518094 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.677463, + "real": -0.496866 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.692351, + "real": -0.477493 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.71061, + "real": -0.456885 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.725769, + "real": -0.438299 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.743513, + "real": -0.418401 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.758439, + "real": -0.400171 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.772229, + "real": -0.384433 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.786012, + "real": -0.367843 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.798125, + "real": -0.349605 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.811211, + "real": -0.332572 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.824891, + "real": -0.310296 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.83462, + "real": -0.289976 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.844845, + "real": -0.26942 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.853248, + "real": -0.24899 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.861953, + "real": -0.229002 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.868868, + "real": -0.207237 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.876778, + "real": -0.18497 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.882808, + "real": -0.161792 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.886627, + "real": -0.135676 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.890515, + "real": -0.112757 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.893225, + "real": -0.08718 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.894627, + "real": -0.059452 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.894011, + "real": -0.033202 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.893419, + "real": -0.005349 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.891968, + "real": 0.023702 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.89146, + "real": 0.052857 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.889625, + "real": 0.080782 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.887427, + "real": 0.108685 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.882731, + "real": 0.135429 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.879558, + "real": 0.159705 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": 0.874483, + "real": 0.184652 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": 0.868685, + "real": 0.212012 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": 0.859258, + "real": 0.243655 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": 0.852493, + "real": 0.269233 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": 0.843974, + "real": 0.295546 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": 0.835188, + "real": 0.320824 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": 0.824601, + "real": 0.346277 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": 0.813972, + "real": 0.371314 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": 0.802542, + "real": 0.396648 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": 0.794368, + "real": 0.419382 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": 0.783678, + "real": 0.44522 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": 0.767845, + "real": 0.470251 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": 0.754142, + "real": 0.494242 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": 0.738295, + "real": 0.517642 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": 0.723871, + "real": 0.539691 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": 0.707494, + "real": 0.564201 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": 0.689894, + "real": 0.586297 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": 0.673231, + "real": 0.6095970000000001 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": 0.657188, + "real": 0.631633 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": 0.640227, + "real": 0.652416 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": 0.623365, + "real": 0.673705 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": 0.606484, + "real": 0.690032 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": 0.590971, + "real": 0.707205 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": 0.570079, + "real": 0.724115 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": 0.552141, + "real": 0.744059 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": 0.534341, + "real": 0.76119 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": 0.515117, + "real": 0.774218 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": 0.496906, + "real": 0.79032 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": 0.478713, + "real": 0.804861 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": 0.45922, + "real": 0.816505 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": 0.438237, + "real": 0.826818 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": 0.417667, + "real": 0.838004 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": 0.395557, + "real": 0.84912 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": 0.371401, + "real": 0.857363 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": 0.345796, + "real": 0.866761 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": 0.323993, + "real": 0.873165 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": 0.300066, + "real": 0.878065 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": 0.27023, + "real": 0.884491 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": 0.242184, + "real": 0.887761 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": 0.212471, + "real": 0.893929 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": 0.186137, + "real": 0.894276 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": 0.157968, + "real": 0.896873 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": 0.128642, + "real": 0.896898 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": 0.099454, + "real": 0.896557 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": 0.0731, + "real": 0.89532 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.040663, + "real": 0.894639 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.010925, + "real": 0.894608 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.01736, + "real": 0.894179 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.046084, + "real": 0.892506 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.071172, + "real": 0.891278 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.098953, + "real": 0.889081 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.122933, + "real": 0.885198 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.148142, + "real": 0.882307 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.17385, + "real": 0.878385 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.20038, + "real": 0.874166 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.225008, + "real": 0.868884 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.246902, + "real": 0.862208 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.269431, + "real": 0.856379 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.298503, + "real": 0.848226 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.312898, + "real": 0.84077 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.333792, + "real": 0.832065 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.353895, + "real": 0.821156 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.373521, + "real": 0.809985 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.392341, + "real": 0.797152 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.410622, + "real": 0.781329 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": -0.428871, + "real": 0.765593 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": -0.447467, + "real": 0.745596 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.468935, + "real": 0.728306 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.486767, + "real": 0.714677 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": -0.503382, + "real": 0.696015 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": -0.522416, + "real": 0.679668 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": -0.53877, + "real": 0.666051 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.556524, + "real": 0.643251 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.574318, + "real": 0.622667 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": -0.597353, + "real": 0.594663 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": -0.609332, + "real": 0.583889 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": -0.627001, + "real": 0.563566 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": -0.642019, + "real": 0.546077 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": -0.660028, + "real": 0.524117 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": -0.677058, + "real": 0.505889 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": -0.692233, + "real": 0.489423 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": -0.708549, + "real": 0.468123 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": -0.72204, + "real": 0.451003 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": -0.737484, + "real": 0.432582 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": -0.751017, + "real": 0.413771 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": -0.761981, + "real": 0.393113 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": -0.774449, + "real": 0.372965 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": -0.78226, + "real": 0.351471 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": -0.792066, + "real": 0.321877 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": -0.80029, + "real": 0.298639 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": -0.809703, + "real": 0.277654 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": -0.816893, + "real": 0.255626 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": -0.822753, + "real": 0.23051 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": -0.82907, + "real": 0.20487 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": -0.834188, + "real": 0.180124 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": -0.839428, + "real": 0.15411 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": -0.84382, + "real": 0.128461 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": -0.848118, + "real": 0.103113 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": -0.85394, + "real": 0.075826 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": -0.859839, + "real": 0.051936 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": -0.862886, + "real": 0.027729 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": -0.867718, + "real": 0.004702 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": -0.872089, + "real": -0.01687 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": -0.875256, + "real": -0.036643 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": -0.878169, + "real": -0.057183 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": -0.881163, + "real": -0.075681 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": -0.882484, + "real": -0.096703 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": -0.884325, + "real": -0.114512 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": -0.882525, + "real": -0.133821 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": -0.879813, + "real": -0.155458 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": -0.873064, + "real": -0.176967 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": -0.865722, + "real": -0.196256 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": -0.858253, + "real": -0.215323 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": -0.850641, + "real": -0.232392 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": -0.840909, + "real": -0.251032 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": -0.828067, + "real": -0.26975 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.812248, + "real": -0.290934 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.796681, + "real": -0.311184 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.777183, + "real": -0.332568 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.756931, + "real": -0.354283 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.737003, + "real": -0.375835 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.716698, + "real": -0.397456 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.697754, + "real": -0.417739 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.677815, + "real": -0.438774 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": -0.659387, + "real": -0.458378 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": -0.640533, + "real": -0.478209 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": -0.625873, + "real": -0.495768 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": -0.609334, + "real": -0.514422 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": -0.591906, + "real": -0.532648 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": -0.575768, + "real": -0.551693 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": -0.559034, + "real": -0.568811 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": -0.54486, + "real": -0.585968 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": -0.528524, + "real": -0.600855 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": -0.514326, + "real": -0.616781 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": -0.500303, + "real": -0.631348 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": -0.486372, + "real": -0.645717 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": -0.472817, + "real": -0.661524 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.457602, + "real": -0.67646 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.441378, + "real": -0.690681 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.424348, + "real": -0.706012 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.40763, + "real": -0.719852 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": -0.388175, + "real": -0.735081 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": -0.369871, + "real": -0.748358 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.351667, + "real": -0.761056 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.333706, + "real": -0.773068 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.314851, + "real": -0.785768 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.296832, + "real": -0.798088 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.280165, + "real": -0.80742 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.261499, + "real": -0.817055 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.244277, + "real": -0.826306 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.226374, + "real": -0.83424 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.209618, + "real": -0.8406 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.191493, + "real": -0.847645 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": -0.177135, + "real": -0.852479 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.162516, + "real": -0.858778 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.146984, + "real": -0.860047 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.132691, + "real": -0.862735 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.119383, + "real": -0.866622 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.104941, + "real": -0.869736 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.090399, + "real": -0.87214 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.074004, + "real": -0.874383 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.057647, + "real": -0.876168 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.039987, + "real": -0.876648 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.023269, + "real": -0.879855 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.005694, + "real": -0.882181 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.011822, + "real": -0.885789 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.027871, + "real": -0.896325 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.048585, + "real": -0.896831 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.069882, + "real": -0.894158 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.092035, + "real": -0.891048 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.114459, + "real": -0.886873 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.140112, + "real": -0.878464 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.167252, + "real": -0.870778 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.194486, + "real": -0.861526 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.224219, + "real": -0.851161 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.250765, + "real": -0.842044 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.280061, + "real": -0.83243 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.312647, + "real": -0.823648 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.342939, + "real": -0.814845 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.372138, + "real": -0.807577 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.402311, + "real": -0.800684 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.429953, + "real": -0.795877 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.456438, + "real": -0.789093 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.480919, + "real": -0.788159 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.506296, + "real": -0.783999 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.530244, + "real": -0.78345 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.551762, + "real": -0.784117 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.572986, + "real": -0.78181 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.590357, + "real": -0.782603 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.608644, + "real": -0.781116 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.629138, + "real": -0.776994 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.649675, + "real": -0.774898 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.65895, + "real": -0.770985 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.677932, + "real": -0.766715 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.694994, + "real": -0.761754 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.711528, + "real": -0.748916 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.726189, + "real": -0.737885 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.743592, + "real": -0.721812 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.761993, + "real": -0.703445 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.777591, + "real": -0.682424 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.794184, + "real": -0.663273 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.806815, + "real": -0.640458 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.822067, + "real": -0.614632 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.83795, + "real": -0.59125 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.852254, + "real": -0.566188 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.861737, + "real": -0.539207 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.874254, + "real": -0.501729 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.889118, + "real": -0.471308 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.902939, + "real": -0.440709 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.918359, + "real": -0.410776 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.932372, + "real": -0.380564 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.947337, + "real": -0.350927 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.96024, + "real": -0.321065 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.97488, + "real": -0.2931 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.991163, + "real": -0.25959 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 1.00486, + "real": -0.234658 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 1.02111, + "real": -0.202478 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P3_SHORT", + "ports": 1 + } + }, + "type": "Short" + }, + { + "params": { + "Cfirst": true, + "Cparallel": 0.0, + "Lseries": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 10623207317598837575, + "loss": 1.1126068714575234e-306, + "name": "Port 3", + "resistance": 50.0, + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.04449, + "real": 0.082304 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.004919, + "real": 0.063686 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.007141, + "real": 0.059368 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.009287, + "real": 0.06006 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.011422, + "real": 0.060598 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.013317, + "real": 0.061281 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.01486, + "real": 0.062669 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.016371, + "real": 0.064006 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.017608, + "real": 0.065288 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.018536, + "real": 0.066503 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.019009, + "real": 0.067464 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.019273, + "real": 0.068346 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.019113, + "real": 0.069429 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.018913, + "real": 0.06982 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.018678, + "real": 0.070014 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.018384, + "real": 0.070209 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.017992, + "real": 0.070372 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.017744, + "real": 0.07017 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.017567, + "real": 0.06977 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.017553, + "real": 0.069304 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.017386, + "real": 0.06868200000000001 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.017295, + "real": 0.067873 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.017852, + "real": 0.067196 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.018278, + "real": 0.066423 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.018647, + "real": 0.065505 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.019268, + "real": 0.064671 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.019957, + "real": 0.063296 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.021096, + "real": 0.062755 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.022056, + "real": 0.061819 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.023275, + "real": 0.061046 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.025051, + "real": 0.059937 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.026829, + "real": 0.059577 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.028387, + "real": 0.059574 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.029879, + "real": 0.059712 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.031037, + "real": 0.059607 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.032177, + "real": 0.059805 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.033219, + "real": 0.060045 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.034348, + "real": 0.060335 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.034905, + "real": 0.060593 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.035757, + "real": 0.060688 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.036642, + "real": 0.060675 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.037013, + "real": 0.061226 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.037471, + "real": 0.061311 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.037405, + "real": 0.061525 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.037674, + "real": 0.061488 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.037503, + "real": 0.061261 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.037517, + "real": 0.061038 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.037189, + "real": 0.060577 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.037101, + "real": 0.05965 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.037294, + "real": 0.059074 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.037263, + "real": 0.058019 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.037212, + "real": 0.056755 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.037591, + "real": 0.055108 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.037894, + "real": 0.053845 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.038498, + "real": 0.052362 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.039169, + "real": 0.051118 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.039832, + "real": 0.04972 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.041138, + "real": 0.049112 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.041471, + "real": 0.04739 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.042373, + "real": 0.046141 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.043155, + "real": 0.045088 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.044139, + "real": 0.043778 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.044987, + "real": 0.042896 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.045707, + "real": 0.042316 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.046846, + "real": 0.041245 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.047532, + "real": 0.040266 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.048026, + "real": 0.039868 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.048585, + "real": 0.039062 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.047564, + "real": 0.038141 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.049051, + "real": 0.037581 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.048576, + "real": 0.036746 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.048522, + "real": 0.035694 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.048236, + "real": 0.034723 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.047794, + "real": 0.033137 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.047447, + "real": 0.031335 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.047125, + "real": 0.029541 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.047141, + "real": 0.027123 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.04633, + "real": 0.025512 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.04638, + "real": 0.023019 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.04639, + "real": 0.02068 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.046305, + "real": 0.018349 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.046408, + "real": 0.01549 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.046843, + "real": 0.012981 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.047433, + "real": 0.010089 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.048178, + "real": 0.00713 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.048932, + "real": 0.003692 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.049972, + "real": 0.00204 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.051562, + "real": -0.000268 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.052861, + "real": -0.002459 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.05483, + "real": -0.004435 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.056187, + "real": -0.005977 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.0576, + "real": -0.00744 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.059761, + "real": -0.008827 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.060568, + "real": -0.009914 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.062027, + "real": -0.010374 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.062603, + "real": -0.011273 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.063798, + "real": -0.011481 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.064383, + "real": -0.011945 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.065003, + "real": -0.012306 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.065176, + "real": -0.012459 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.065541, + "real": -0.012585 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.065211, + "real": -0.012321 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.064701, + "real": -0.012417 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.064142, + "real": -0.012476 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.06309, + "real": -0.012534 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.061635, + "real": -0.012825 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.058672, + "real": -0.014698 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.058064, + "real": -0.014073 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.056329, + "real": -0.015086 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.054527, + "real": -0.016007 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.052735, + "real": -0.017309 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.050773, + "real": -0.018703 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.049025, + "real": -0.020476 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.047129, + "real": -0.022229 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.045125, + "real": -0.023637 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.043562, + "real": -0.02549 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.042302, + "real": -0.027496 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.040333, + "real": -0.029498 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.038785, + "real": -0.031573 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.037542, + "real": -0.033762 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.037535, + "real": -0.032825 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.035503, + "real": -0.037907 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.034435, + "real": -0.039875 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.033466, + "real": -0.04147 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.032659, + "real": -0.042893 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.032217, + "real": -0.043485 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.03076, + "real": -0.045325 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.029982, + "real": -0.046793 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.028769, + "real": -0.047682 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.027589, + "real": -0.048522 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.026249, + "real": -0.049118 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.025092, + "real": -0.049949 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.023625, + "real": -0.050918 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.021795, + "real": -0.051545 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.020129, + "real": -0.052236 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.018463, + "real": -0.052954 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.016895, + "real": -0.053347 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.014974, + "real": -0.053844 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.012951, + "real": -0.054584 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": -0.010929, + "real": -0.054944 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": -0.008913, + "real": -0.055472 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": -0.006441, + "real": -0.056059 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": -0.004546, + "real": -0.056598999999999997 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": -0.002507, + "real": -0.057366 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": -0.000452, + "real": -0.057947 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.00159, + "real": -0.058725 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.003487, + "real": -0.059281 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.005418, + "real": -0.059979 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.007258, + "real": -0.060233 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.008949, + "real": -0.060197 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.010919, + "real": -0.060159 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.012624, + "real": -0.060785 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.014603, + "real": -0.060524 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.016534, + "real": -0.06047 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.01795, + "real": -0.060567 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.01981, + "real": -0.060327 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.022595, + "real": -0.060136 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.024782, + "real": -0.059798 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.026902, + "real": -0.059528 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.028687, + "real": -0.059042 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.030817, + "real": -0.058775 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.032849, + "real": -0.058187 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.034927, + "real": -0.057504 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.037101, + "real": -0.056866 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.039343, + "real": -0.056318 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.041628, + "real": -0.055699 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.043935, + "real": -0.055059 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.046152, + "real": -0.054181 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.048548, + "real": -0.053646 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.050086, + "real": -0.053081 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.052475, + "real": -0.052639 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.054452, + "real": -0.052038 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.056449, + "real": -0.051069 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.058194, + "real": -0.050171 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.059919, + "real": -0.049151 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.061755, + "real": -0.048313 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.064297, + "real": -0.04442 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.065242, + "real": -0.045896 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.067155, + "real": -0.044495 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.069103, + "real": -0.043561 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.070699, + "real": -0.042126 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.072862, + "real": -0.04096 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.074732, + "real": -0.040017 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.076725, + "real": -0.038843 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.078338, + "real": -0.037864 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.080378, + "real": -0.036526 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.082084, + "real": -0.03566 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.083414, + "real": -0.03541 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.085095, + "real": -0.034281 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.086665, + "real": -0.033758 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.087971, + "real": -0.03333 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.08882, + "real": -0.032808 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.089955, + "real": -0.032164 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.091096, + "real": -0.031618 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.091885, + "real": -0.031507 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.092175, + "real": -0.031142 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.092318, + "real": -0.031328 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.091178, + "real": -0.030783 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.090346, + "real": -0.029976 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.089097, + "real": -0.029387 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.087629, + "real": -0.028124 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.086328, + "real": -0.026784 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.084499, + "real": -0.025687 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.082316, + "real": -0.024129 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.080043, + "real": -0.021972 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.078187, + "real": -0.019234 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.076025, + "real": -0.016707 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.073922, + "real": -0.013815 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.071939, + "real": -0.01049 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.069821, + "real": -0.007166 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.068279, + "real": -0.003291 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.066675, + "real": 0.000952 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.065281, + "real": 0.004931 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.064536, + "real": 0.00884 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.06418600000000001, + "real": 0.013329 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.064263, + "real": 0.016984 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.064405, + "real": 0.020804 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.062114, + "real": 0.022967 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.065124, + "real": 0.02752 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.065835, + "real": 0.031707 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.066979, + "real": 0.034653 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.067762, + "real": 0.036845 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.069344, + "real": 0.038665 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.070435, + "real": 0.04097 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.071321, + "real": 0.042066 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.072672, + "real": 0.043722 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.072081, + "real": 0.045302 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.070362, + "real": 0.047165 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.068895, + "real": 0.047693 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.06694, + "real": 0.04843 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.06493, + "real": 0.04919 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.062171, + "real": 0.048529 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.05865, + "real": 0.048486 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.0549, + "real": 0.048677 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.05032, + "real": 0.049257 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.046334, + "real": 0.049965 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.042422, + "real": 0.050479 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.037677, + "real": 0.052235 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.032812, + "real": 0.054267 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.02837, + "real": 0.056248 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.024018, + "real": 0.058845 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.019439, + "real": 0.061237 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.015634, + "real": 0.064907 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.012019, + "real": 0.06819 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.009111, + "real": 0.071524 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.015854, + "real": 0.073132 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.00296, + "real": 0.078697 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.000839, + "real": 0.082217 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": -0.000754, + "real": 0.085302 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": -0.002425, + "real": 0.088691 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": -0.002911, + "real": 0.092115 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": -0.003309, + "real": 0.094206 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": -0.004191, + "real": 0.095697 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": -0.004626, + "real": 0.0971 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": -0.004234, + "real": 0.09865 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": -0.004718, + "real": 0.099292 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": -0.005094, + "real": 0.098637 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": -0.006719, + "real": 0.09777 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": -0.006761, + "real": 0.096797 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": -0.007617, + "real": 0.095849 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": -0.00849, + "real": 0.09432 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.009865, + "real": 0.092307 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.012115, + "real": 0.09266 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": -0.013495, + "real": 0.087545 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": -0.015694, + "real": 0.085195 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": -0.018028, + "real": 0.082691 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": -0.021197, + "real": 0.080139 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": -0.025684, + "real": 0.077021 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": -0.028851, + "real": 0.074783 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": -0.033025, + "real": 0.072758 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": -0.035687, + "real": 0.070618 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": -0.039786, + "real": 0.068158 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.045089, + "real": 0.067256 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.047715, + "real": 0.065447 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.051149, + "real": 0.063968 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.054885, + "real": 0.062565 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.057951, + "real": 0.060244 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.061607, + "real": 0.057846 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.065007, + "real": 0.05656 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.068282, + "real": 0.055004 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.071354, + "real": 0.054562 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.07423, + "real": 0.052006 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.077316, + "real": 0.050765 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.080009, + "real": 0.049577 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.082413, + "real": 0.047958 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.084574, + "real": 0.047231 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.086319, + "real": 0.044579 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.088175, + "real": 0.042278 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.09093, + "real": 0.040689 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.092937, + "real": 0.038505 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.094734, + "real": 0.036525 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.097745, + "real": 0.033733 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.099408, + "real": 0.032059 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.099532, + "real": 0.030867 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.100058, + "real": 0.029166 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.10217, + "real": 0.027566 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.102448, + "real": 0.02555 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.103096, + "real": 0.023744 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.103497, + "real": 0.021122 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.103883, + "real": 0.019325 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.103573, + "real": 0.017062 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.103089, + "real": 0.014908 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.102289, + "real": 0.012456 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.101417, + "real": 0.010188 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.100465, + "real": 0.008468 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.098531, + "real": 0.005127 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.096809, + "real": 0.003167 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.095111, + "real": -0.000692 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.09262, + "real": -0.004633 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.090256, + "real": -0.008207 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.089721, + "real": -0.012337 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.086287, + "real": -0.016107 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.082623, + "real": -0.021002 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.080669, + "real": -0.026447 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.07888, + "real": -0.031969 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.076913, + "real": -0.038173 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.073935, + "real": -0.042344 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.071619, + "real": -0.047661 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.072037, + "real": -0.053279 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.069027, + "real": -0.05987 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.068433, + "real": -0.065187 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.066637, + "real": -0.071853 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.066389, + "real": -0.07804 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.064035, + "real": -0.081171 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.064774, + "real": -0.088525 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.06342, + "real": -0.095589 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.064291, + "real": -0.098561 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.065852, + "real": -0.102458 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.067167, + "real": -0.106193 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.066838, + "real": -0.109233 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.067747, + "real": -0.110384 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.06654, + "real": -0.113918 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.065498, + "real": -0.116257 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.064943, + "real": -0.11715 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.062965, + "real": -0.118603 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.061956, + "real": -0.120114 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.05918, + "real": -0.120327 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.055851, + "real": -0.120221 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.053642, + "real": -0.121009 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.049654, + "real": -0.121275 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.044412, + "real": -0.121437 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.040065, + "real": -0.121822 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.034236, + "real": -0.1223 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.028822, + "real": -0.123178 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.022783, + "real": -0.124302 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.016549, + "real": -0.126375 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.010683, + "real": -0.127192 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.004906, + "real": -0.129581 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.000509, + "real": -0.132884 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.006978, + "real": -0.134172 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.012466, + "real": -0.136383 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.017279, + "real": -0.139448 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.021946, + "real": -0.1424 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.029052, + "real": -0.145455 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.032655000000000003, + "real": -0.147908 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.034775, + "real": -0.149357 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.040637, + "real": -0.152084 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.045564, + "real": -0.154889 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.048915, + "real": -0.163119 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.053405, + "real": -0.158281 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.056845, + "real": -0.157998 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.060442, + "real": -0.159193 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.064143, + "real": -0.159255 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.067971, + "real": -0.158615 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.073215, + "real": -0.157532 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.079021, + "real": -0.158074 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.083155, + "real": -0.157771 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.089169, + "real": -0.156671 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.094515, + "real": -0.156519 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.099662, + "real": -0.156085 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.105362, + "real": -0.153873 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.111375, + "real": -0.154472 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.117265, + "real": -0.15511 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.123114, + "real": -0.154931 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.125002, + "real": -0.155749 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.132147, + "real": -0.15543 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.135433, + "real": -0.157524 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.139811, + "real": -0.157424 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.143049, + "real": -0.156262 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.144789, + "real": -0.156509 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.147316, + "real": -0.15765 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.148042, + "real": -0.155477 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.148208, + "real": -0.153801 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.149417, + "real": -0.150694 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.150156, + "real": -0.147252 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.149687, + "real": -0.142536 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.14972, + "real": -0.13819 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.150652, + "real": -0.131845 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.15368, + "real": -0.125608 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.153468, + "real": -0.118378 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.155161, + "real": -0.110472 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.155934, + "real": -0.102369 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.158349, + "real": -0.092831 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.160768, + "real": -0.083258 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.164726, + "real": -0.073872 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.168994, + "real": -0.063416 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.174618, + "real": -0.054008 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.180423, + "real": -0.044807 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.186801, + "real": -0.035981 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.193381, + "real": -0.026854 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.199956, + "real": -0.019064 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.207837, + "real": -0.011827 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.214578, + "real": -0.005678 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.222411, + "real": 0.000372 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.22941, + "real": 0.006397 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.237355, + "real": 0.011726 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.243718, + "real": 0.017617 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.250925, + "real": 0.021323 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.258091, + "real": 0.02415 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.264318, + "real": 0.025417 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.268378, + "real": 0.02779 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.273361, + "real": 0.027565 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.275873, + "real": 0.029158 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.277718, + "real": 0.029978 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.278485, + "real": 0.032035 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.278869, + "real": 0.032609 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.277755, + "real": 0.035208 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.276226, + "real": 0.037296 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.274089, + "real": 0.040395 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.271734, + "real": 0.044161 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.267958, + "real": 0.046358 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.263842, + "real": 0.05115 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.259021, + "real": 0.056035 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.254662, + "real": 0.060223 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.249299, + "real": 0.065478 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.243906, + "real": 0.070391 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.237869, + "real": 0.077277 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.23201, + "real": 0.085167 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.225567, + "real": 0.095059 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.221631, + "real": 0.104155 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.217738, + "real": 0.111002 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.215265, + "real": 0.118824 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.211965, + "real": 0.125299 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.208547, + "real": 0.13137 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.204884, + "real": 0.137899 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.201722, + "real": 0.144131 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.198819, + "real": 0.14958 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.194006, + "real": 0.156986 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.190385, + "real": 0.162252 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.187531, + "real": 0.169304 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.183791, + "real": 0.173174 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.181018, + "real": 0.179317 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.177597, + "real": 0.184155 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.172458, + "real": 0.188637 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.168072, + "real": 0.193423 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.162352, + "real": 0.199066 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.155897, + "real": 0.204244 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.147617, + "real": 0.208955 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.138258, + "real": 0.213778 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.128409, + "real": 0.217179 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.11347, + "real": 0.216234 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.102274, + "real": 0.221118 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.094281, + "real": 0.22851 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.085649, + "real": 0.235871 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.07665, + "real": 0.244659 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.071109, + "real": 0.252722 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.064707, + "real": 0.259644 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.060692, + "real": 0.266967 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.057715, + "real": 0.272446 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.05136, + "real": 0.27436 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.038122, + "real": 0.280625 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.035996, + "real": 0.288168 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.033798, + "real": 0.295723 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.032456, + "real": 0.298736 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.033254, + "real": 0.301389 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.032404, + "real": 0.301811 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.031676, + "real": 0.303603 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.029219, + "real": 0.301402 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.027907, + "real": 0.297486 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.024218, + "real": 0.293449 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.018158, + "real": 0.285832 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.012682, + "real": 0.281108 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.005505, + "real": 0.273074 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": -0.001216, + "real": 0.263655 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": -0.008568, + "real": 0.256503 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": -0.016597, + "real": 0.247642 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": -0.030485, + "real": 0.249829 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": -0.038355, + "real": 0.229999 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": -0.04936, + "real": 0.219483 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -0.062949, + "real": 0.212787 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -0.075908, + "real": 0.204023 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -0.091783, + "real": 0.195649 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -0.106972, + "real": 0.188616 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -0.122573, + "real": 0.182672 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -0.138306, + "real": 0.177642 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -0.153195, + "real": 0.173452 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.167988, + "real": 0.169119 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.181958, + "real": 0.16622 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.198502, + "real": 0.165859 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.210828, + "real": 0.162795 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.222888, + "real": 0.163423 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.235537, + "real": 0.160303 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.247087, + "real": 0.160228 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.261256, + "real": 0.156727 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.26916, + "real": 0.157428 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.278852, + "real": 0.154937 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.285712, + "real": 0.156721 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.289038, + "real": 0.15472 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.294737, + "real": 0.154284 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.298208, + "real": 0.152638 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.305126, + "real": 0.150564 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P3_LOAD", + "ports": 1 + } + }, + "type": "Load" + }, + { + "params": { + "Z0": 50.0, + "delay": 0.0, + "id": 11578190351511432457, + "loss": 0.0, + "name": "Port 3 to 4", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.02777, + "real": 0.125067 + }, + { + "imag": 0.469552, + "real": 0.618828 + }, + { + "imag": 0.235086, + "real": 0.691004 + }, + { + "imag": -0.480878, + "real": 0.262787 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.009807, + "real": 0.128192 + }, + { + "imag": 0.146318, + "real": 0.885184 + }, + { + "imag": -0.053143, + "real": 0.842644 + }, + { + "imag": 0.092346, + "real": 0.25829 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.011264, + "real": 0.119379 + }, + { + "imag": -0.073138, + "real": 0.840627 + }, + { + "imag": -0.070838, + "real": 0.837933 + }, + { + "imag": -0.011222, + "real": 0.118771 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.014586, + "real": 0.119096 + }, + { + "imag": -0.105437, + "real": 0.837562 + }, + { + "imag": -0.103205, + "real": 0.835299 + }, + { + "imag": -0.014829, + "real": 0.118257 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.017406, + "real": 0.118482 + }, + { + "imag": -0.137425, + "real": 0.829954 + }, + { + "imag": -0.135537, + "real": 0.827886 + }, + { + "imag": -0.018057, + "real": 0.117294 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.019805, + "real": 0.118131 + }, + { + "imag": -0.167228, + "real": 0.822372 + }, + { + "imag": -0.164564, + "real": 0.820194 + }, + { + "imag": -0.020612, + "real": 0.116606 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.022059, + "real": 0.11859 + }, + { + "imag": -0.200388, + "real": 0.815665 + }, + { + "imag": -0.197506, + "real": 0.813792 + }, + { + "imag": -0.023208, + "real": 0.116697 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.024292, + "real": 0.118779 + }, + { + "imag": -0.230664, + "real": 0.807011 + }, + { + "imag": -0.227801, + "real": 0.805135 + }, + { + "imag": -0.02511, + "real": 0.116671 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.026304, + "real": 0.119418 + }, + { + "imag": -0.26131, + "real": 0.796909 + }, + { + "imag": -0.257864, + "real": 0.795375 + }, + { + "imag": -0.027023, + "real": 0.116517 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.027839, + "real": 0.120171 + }, + { + "imag": -0.290708, + "real": 0.785688 + }, + { + "imag": -0.288078, + "real": 0.784051 + }, + { + "imag": -0.028482, + "real": 0.116602 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.02905, + "real": 0.120753 + }, + { + "imag": -0.319035, + "real": 0.774078 + }, + { + "imag": -0.317035, + "real": 0.772264 + }, + { + "imag": -0.029868, + "real": 0.116927 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.030378, + "real": 0.121228 + }, + { + "imag": -0.348056, + "real": 0.760751 + }, + { + "imag": -0.34577, + "real": 0.759027 + }, + { + "imag": -0.031096, + "real": 0.117489 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.031854, + "real": 0.12162 + }, + { + "imag": -0.375908, + "real": 0.74695 + }, + { + "imag": -0.373555, + "real": 0.745377 + }, + { + "imag": -0.032424, + "real": 0.118294 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.033548, + "real": 0.121575 + }, + { + "imag": -0.404306, + "real": 0.731698 + }, + { + "imag": -0.402051, + "real": 0.730125 + }, + { + "imag": -0.03363, + "real": 0.118807 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.035326, + "real": 0.121548 + }, + { + "imag": -0.431375, + "real": 0.715562 + }, + { + "imag": -0.42958, + "real": 0.714198 + }, + { + "imag": -0.034267, + "real": 0.119101 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.03729, + "real": 0.121339 + }, + { + "imag": -0.45869, + "real": 0.697999 + }, + { + "imag": -0.456292, + "real": 0.697194 + }, + { + "imag": -0.035327, + "real": 0.119025 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.039284, + "real": 0.120944 + }, + { + "imag": -0.484699, + "real": 0.679801 + }, + { + "imag": -0.482019, + "real": 0.679407 + }, + { + "imag": -0.036389, + "real": 0.119234 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.041291, + "real": 0.120276 + }, + { + "imag": -0.509925, + "real": 0.660684 + }, + { + "imag": -0.50769, + "real": 0.660165 + }, + { + "imag": -0.0379, + "real": 0.119061 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.043409, + "real": 0.119581 + }, + { + "imag": -0.534498, + "real": 0.640795 + }, + { + "imag": -0.532099, + "real": 0.640521 + }, + { + "imag": -0.039715, + "real": 0.119015 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.045819, + "real": 0.11841 + }, + { + "imag": -0.558765, + "real": 0.620086 + }, + { + "imag": -0.556005, + "real": 0.619741 + }, + { + "imag": -0.041708, + "real": 0.119118 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.0479, + "real": 0.116782 + }, + { + "imag": -0.581413, + "real": 0.59817 + }, + { + "imag": -0.579046, + "real": 0.598046 + }, + { + "imag": -0.044129, + "real": 0.118668 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.050344, + "real": 0.115324 + }, + { + "imag": -0.603968, + "real": 0.574818 + }, + { + "imag": -0.601648, + "real": 0.574748 + }, + { + "imag": -0.046916, + "real": 0.118188 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.052861, + "real": 0.114423 + }, + { + "imag": -0.625457, + "real": 0.552553 + }, + { + "imag": -0.623049, + "real": 0.552237 + }, + { + "imag": -0.050162, + "real": 0.117954 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.055525, + "real": 0.113232 + }, + { + "imag": -0.645901, + "real": 0.528636 + }, + { + "imag": -0.643657, + "real": 0.527867 + }, + { + "imag": -0.053934, + "real": 0.117137 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.057957, + "real": 0.112294 + }, + { + "imag": -0.665443, + "real": 0.503521 + }, + { + "imag": -0.662909, + "real": 0.503259 + }, + { + "imag": -0.057621, + "real": 0.116736 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.060762, + "real": 0.111065 + }, + { + "imag": -0.684364, + "real": 0.476865 + }, + { + "imag": -0.681742, + "real": 0.476923 + }, + { + "imag": -0.061788, + "real": 0.116208 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.063111, + "real": 0.109564 + }, + { + "imag": -0.700499, + "real": 0.45298 + }, + { + "imag": -0.699114, + "real": 0.451334 + }, + { + "imag": -0.066111, + "real": 0.115831 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.065673, + "real": 0.10881 + }, + { + "imag": -0.717254, + "real": 0.424882 + }, + { + "imag": -0.715385, + "real": 0.424044 + }, + { + "imag": -0.070586, + "real": 0.115335 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.068403, + "real": 0.107853 + }, + { + "imag": -0.732464, + "real": 0.39754 + }, + { + "imag": -0.730646, + "real": 0.396089 + }, + { + "imag": -0.075342, + "real": 0.115026 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.071191, + "real": 0.106737 + }, + { + "imag": -0.747016, + "real": 0.369373 + }, + { + "imag": -0.74464, + "real": 0.368419 + }, + { + "imag": -0.07994, + "real": 0.11492 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.073948, + "real": 0.105497 + }, + { + "imag": -0.759919, + "real": 0.340678 + }, + { + "imag": -0.75808, + "real": 0.339421 + }, + { + "imag": -0.08456, + "real": 0.114858 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.076037, + "real": 0.104554 + }, + { + "imag": -0.772161, + "real": 0.310834 + }, + { + "imag": -0.77002, + "real": 0.310663 + }, + { + "imag": -0.088757, + "real": 0.1149 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.078162, + "real": 0.104114 + }, + { + "imag": -0.783086, + "real": 0.282286 + }, + { + "imag": -0.78082, + "real": 0.281492 + }, + { + "imag": -0.092735, + "real": 0.114926 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.080459, + "real": 0.103916 + }, + { + "imag": -0.792574, + "real": 0.252687 + }, + { + "imag": -0.790819, + "real": 0.251581 + }, + { + "imag": -0.096296, + "real": 0.114712 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.082292, + "real": 0.103077 + }, + { + "imag": -0.801622, + "real": 0.222587 + }, + { + "imag": -0.799677, + "real": 0.221188 + }, + { + "imag": -0.09954, + "real": 0.114429 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.084227, + "real": 0.102748 + }, + { + "imag": -0.809475, + "real": 0.191587 + }, + { + "imag": -0.807462, + "real": 0.191211 + }, + { + "imag": -0.10191, + "real": 0.112485 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.0858, + "real": 0.102303 + }, + { + "imag": -0.815828, + "real": 0.160996 + }, + { + "imag": -0.814105, + "real": 0.160089 + }, + { + "imag": -0.105566, + "real": 0.111372 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.087438, + "real": 0.101594 + }, + { + "imag": -0.820871, + "real": 0.129225 + }, + { + "imag": -0.819092, + "real": 0.129057 + }, + { + "imag": -0.107981, + "real": 0.110515 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.08873, + "real": 0.100838 + }, + { + "imag": -0.824598, + "real": 0.098692 + }, + { + "imag": -0.823118, + "real": 0.098151 + }, + { + "imag": -0.109299, + "real": 0.109462 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.090219, + "real": 0.099919 + }, + { + "imag": -0.827773, + "real": 0.066384 + }, + { + "imag": -0.826327, + "real": 0.067337 + }, + { + "imag": -0.110306, + "real": 0.107775 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.09147, + "real": 0.098634 + }, + { + "imag": -0.82912, + "real": 0.033698 + }, + { + "imag": -0.827954, + "real": 0.036039 + }, + { + "imag": -0.11095, + "real": 0.105628 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.092049, + "real": 0.09793 + }, + { + "imag": -0.830152, + "real": 0.003638 + }, + { + "imag": -0.828835, + "real": 0.004294 + }, + { + "imag": -0.110726, + "real": 0.103006 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.092597, + "real": 0.096621 + }, + { + "imag": -0.830019, + "real": -0.027294 + }, + { + "imag": -0.828345, + "real": -0.02673 + }, + { + "imag": -0.110475, + "real": 0.099904 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.093147, + "real": 0.095012 + }, + { + "imag": -0.828597, + "real": -0.059609 + }, + { + "imag": -0.826517, + "real": -0.058168 + }, + { + "imag": -0.11006, + "real": 0.096488 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.093711, + "real": 0.093175 + }, + { + "imag": -0.825562, + "real": -0.091178 + }, + { + "imag": -0.823907, + "real": -0.089511 + }, + { + "imag": -0.109538, + "real": 0.09263 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.093728, + "real": 0.090933 + }, + { + "imag": -0.821731, + "real": -0.123044 + }, + { + "imag": -0.820065, + "real": -0.120844 + }, + { + "imag": -0.109066, + "real": 0.088017 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.094066, + "real": 0.088807 + }, + { + "imag": -0.816495, + "real": -0.154587 + }, + { + "imag": -0.814475, + "real": -0.151719 + }, + { + "imag": -0.108478, + "real": 0.083018 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.09454, + "real": 0.086482 + }, + { + "imag": -0.810227, + "real": -0.185961 + }, + { + "imag": -0.808232, + "real": -0.18263 + }, + { + "imag": -0.107821, + "real": 0.077547 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.094723, + "real": 0.084052 + }, + { + "imag": -0.803142, + "real": -0.216247 + }, + { + "imag": -0.800348, + "real": -0.213563 + }, + { + "imag": -0.107908, + "real": 0.071695 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.094986, + "real": 0.081275 + }, + { + "imag": -0.793781, + "real": -0.248208 + }, + { + "imag": -0.791573, + "real": -0.24426899999999999 + }, + { + "imag": -0.10767, + "real": 0.066418 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.094874, + "real": 0.078218 + }, + { + "imag": -0.783941, + "real": -0.278488 + }, + { + "imag": -0.781311, + "real": -0.273721 + }, + { + "imag": -0.108253, + "real": 0.060368 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.095737, + "real": 0.073736 + }, + { + "imag": -0.772098, + "real": -0.308003 + }, + { + "imag": -0.770169, + "real": -0.303353 + }, + { + "imag": -0.108915, + "real": 0.054322 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.096422, + "real": 0.070635 + }, + { + "imag": -0.758948, + "real": -0.33738 + }, + { + "imag": -0.757615, + "real": -0.332508 + }, + { + "imag": -0.109939, + "real": 0.048471 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.097191, + "real": 0.067274 + }, + { + "imag": -0.745078, + "real": -0.365794 + }, + { + "imag": -0.743989, + "real": -0.360522 + }, + { + "imag": -0.111076, + "real": 0.04256 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.098586, + "real": 0.063811 + }, + { + "imag": -0.730581, + "real": -0.393346 + }, + { + "imag": -0.729359, + "real": -0.38909 + }, + { + "imag": -0.112934, + "real": 0.036847 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.099731, + "real": 0.0603 + }, + { + "imag": -0.714445, + "real": -0.420751 + }, + { + "imag": -0.713363, + "real": -0.416504 + }, + { + "imag": -0.114863, + "real": 0.031083 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.100741, + "real": 0.056777 + }, + { + "imag": -0.698334, + "real": -0.446717 + }, + { + "imag": -0.696794, + "real": -0.442855 + }, + { + "imag": -0.117215, + "real": 0.025417 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.102422, + "real": 0.053903 + }, + { + "imag": -0.683407, + "real": -0.470307 + }, + { + "imag": -0.67933, + "real": -0.468453 + }, + { + "imag": -0.119689, + "real": 0.019576 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.10366, + "real": 0.049777 + }, + { + "imag": -0.662532, + "real": -0.497663 + }, + { + "imag": -0.660752, + "real": -0.493764 + }, + { + "imag": -0.12266, + "real": 0.014417 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.104947, + "real": 0.046034 + }, + { + "imag": -0.642841, + "real": -0.522418 + }, + { + "imag": -0.641631, + "real": -0.518236 + }, + { + "imag": -0.125919, + "real": 0.009502 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.10616, + "real": 0.042336 + }, + { + "imag": -0.622633, + "real": -0.545802 + }, + { + "imag": -0.621277, + "real": -0.541984 + }, + { + "imag": -0.128738, + "real": 0.005331 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.107677, + "real": 0.038797 + }, + { + "imag": -0.601078, + "real": -0.568872 + }, + { + "imag": -0.599709, + "real": -0.565105 + }, + { + "imag": -0.131356, + "real": 0.001357 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.109052, + "real": 0.03531 + }, + { + "imag": -0.578736, + "real": -0.590396 + }, + { + "imag": -0.577724, + "real": -0.587014 + }, + { + "imag": -0.133721, + "real": -0.002465 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.110124, + "real": 0.03253 + }, + { + "imag": -0.55758, + "real": -0.610529 + }, + { + "imag": -0.554938, + "real": -0.608432 + }, + { + "imag": -0.135908, + "real": -0.00567 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.111537, + "real": 0.02919 + }, + { + "imag": -0.533117, + "real": -0.632403 + }, + { + "imag": -0.531468, + "real": -0.628985 + }, + { + "imag": -0.137276, + "real": -0.009342 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.1123, + "real": 0.026077 + }, + { + "imag": -0.509359, + "real": -0.651022 + }, + { + "imag": -0.507378, + "real": -0.648805 + }, + { + "imag": -0.138753, + "real": -0.01247 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.11309, + "real": 0.02321 + }, + { + "imag": -0.4839, + "real": -0.669455 + }, + { + "imag": -0.482333, + "real": -0.667317 + }, + { + "imag": -0.139233, + "real": -0.015265 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.113615, + "real": 0.020652 + }, + { + "imag": -0.458565, + "real": -0.686762 + }, + { + "imag": -0.456899, + "real": -0.684858 + }, + { + "imag": -0.139082, + "real": -0.018031 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.113919, + "real": 0.017916 + }, + { + "imag": -0.429947, + "real": -0.70464 + }, + { + "imag": -0.43065, + "real": -0.701444 + }, + { + "imag": -0.138681, + "real": -0.020745 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.113386, + "real": 0.015659 + }, + { + "imag": -0.405489, + "real": -0.719723 + }, + { + "imag": -0.403876, + "real": -0.717408 + }, + { + "imag": -0.138017, + "real": -0.02324 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.112653, + "real": 0.01293 + }, + { + "imag": -0.377971, + "real": -0.73464 + }, + { + "imag": -0.376299, + "real": -0.732289 + }, + { + "imag": -0.136651, + "real": -0.025978 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.111564, + "real": 0.010141 + }, + { + "imag": -0.349507, + "real": -0.748343 + }, + { + "imag": -0.348199, + "real": -0.745827 + }, + { + "imag": -0.1348, + "real": -0.028292 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.110498, + "real": 0.00689 + }, + { + "imag": -0.321304, + "real": -0.760775 + }, + { + "imag": -0.319879, + "real": -0.758046 + }, + { + "imag": -0.132516, + "real": -0.03061 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.109099, + "real": 0.003786 + }, + { + "imag": -0.292135, + "real": -0.77299 + }, + { + "imag": -0.290401, + "real": -0.770158 + }, + { + "imag": -0.129659, + "real": -0.032822 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.108034, + "real": 0.000597 + }, + { + "imag": -0.26262, + "real": -0.783487 + }, + { + "imag": -0.260983, + "real": -0.780535 + }, + { + "imag": -0.126649, + "real": -0.035114 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.106579, + "real": -0.002667 + }, + { + "imag": -0.230235, + "real": -0.7928 + }, + { + "imag": -0.228711, + "real": -0.789665 + }, + { + "imag": -0.124191, + "real": -0.037287 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.105603, + "real": -0.005933 + }, + { + "imag": -0.201221, + "real": -0.800176 + }, + { + "imag": -0.199325, + "real": -0.79789 + }, + { + "imag": -0.119944, + "real": -0.039052 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.103893, + "real": -0.008573 + }, + { + "imag": -0.170008, + "real": -0.80775 + }, + { + "imag": -0.169548, + "real": -0.804224 + }, + { + "imag": -0.115428, + "real": -0.042358 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.102178, + "real": -0.0119 + }, + { + "imag": -0.1389, + "real": -0.813343 + }, + { + "imag": -0.138828, + "real": -0.809894 + }, + { + "imag": -0.111672, + "real": -0.045045 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.100367, + "real": -0.015544 + }, + { + "imag": -0.107999, + "real": -0.817552 + }, + { + "imag": -0.107946, + "real": -0.814141 + }, + { + "imag": -0.108141, + "real": -0.047766 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.098668, + "real": -0.019424 + }, + { + "imag": -0.076697, + "real": -0.820726 + }, + { + "imag": -0.076628, + "real": -0.817179 + }, + { + "imag": -0.104585, + "real": -0.050915 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.097109, + "real": -0.023552 + }, + { + "imag": -0.045143, + "real": -0.822972 + }, + { + "imag": -0.045398, + "real": -0.81922 + }, + { + "imag": -0.101486, + "real": -0.054104 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.095396, + "real": -0.027475 + }, + { + "imag": -0.013391, + "real": -0.823542 + }, + { + "imag": -0.014116, + "real": -0.819869 + }, + { + "imag": -0.098585, + "real": -0.056932 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.094118, + "real": -0.031772 + }, + { + "imag": 0.018025, + "real": -0.822987 + }, + { + "imag": 0.017076, + "real": -0.819678 + }, + { + "imag": -0.095752, + "real": -0.059905 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.092623, + "real": -0.03584 + }, + { + "imag": 0.049154, + "real": -0.821432 + }, + { + "imag": 0.047928, + "real": -0.818244 + }, + { + "imag": -0.093284, + "real": -0.06309 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.090866, + "real": -0.041195 + }, + { + "imag": 0.082834, + "real": -0.817845 + }, + { + "imag": 0.079489, + "real": -0.815705 + }, + { + "imag": -0.090981, + "real": -0.06603 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.089858, + "real": -0.044345999999999997 + }, + { + "imag": 0.111221, + "real": -0.814646 + }, + { + "imag": 0.110822, + "real": -0.811375 + }, + { + "imag": -0.088536, + "real": -0.069117 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.089044, + "real": -0.048174 + }, + { + "imag": 0.142949, + "real": -0.808937 + }, + { + "imag": 0.141333, + "real": -0.806621 + }, + { + "imag": -0.086017, + "real": -0.072734 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.087958, + "real": -0.051871 + }, + { + "imag": 0.173573, + "real": -0.802325 + }, + { + "imag": 0.171294, + "real": -0.800162 + }, + { + "imag": -0.084191, + "real": -0.075687 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.087097, + "real": -0.055091 + }, + { + "imag": 0.20312, + "real": -0.795275 + }, + { + "imag": 0.201716, + "real": -0.792807 + }, + { + "imag": -0.082812, + "real": -0.078401 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.085788, + "real": -0.057894 + }, + { + "imag": 0.231692, + "real": -0.787175 + }, + { + "imag": 0.231085, + "real": -0.784884 + }, + { + "imag": -0.080751, + "real": -0.081088 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.084846, + "real": -0.06066 + }, + { + "imag": 0.261766, + "real": -0.777744 + }, + { + "imag": 0.260712, + "real": -0.775415 + }, + { + "imag": -0.078602, + "real": -0.0837 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.083592, + "real": -0.062902 + }, + { + "imag": 0.291892, + "real": -0.766221 + }, + { + "imag": 0.28958, + "real": -0.76487 + }, + { + "imag": -0.076712, + "real": -0.086358 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.081975, + "real": -0.065103 + }, + { + "imag": 0.319306, + "real": -0.754965 + }, + { + "imag": 0.317843, + "real": -0.753243 + }, + { + "imag": -0.074753, + "real": -0.088655 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.07995, + "real": -0.066971 + }, + { + "imag": 0.348088, + "real": -0.74203 + }, + { + "imag": 0.345917, + "real": -0.740855 + }, + { + "imag": -0.072525, + "real": -0.090647 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.078162, + "real": -0.068664 + }, + { + "imag": 0.374828, + "real": -0.72859 + }, + { + "imag": 0.373857, + "real": -0.726868 + }, + { + "imag": -0.069911, + "real": -0.091602 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.076442, + "real": -0.069963 + }, + { + "imag": 0.402082, + "real": -0.71378 + }, + { + "imag": 0.401031, + "real": -0.712249 + }, + { + "imag": -0.067391, + "real": -0.092892 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.07488, + "real": -0.071083 + }, + { + "imag": 0.429708, + "real": -0.697844 + }, + { + "imag": 0.427302, + "real": -0.696216 + }, + { + "imag": -0.064029, + "real": -0.093609 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.07321, + "real": -0.07182 + }, + { + "imag": 0.454505, + "real": -0.68165 + }, + { + "imag": 0.453013, + "real": -0.67927 + }, + { + "imag": -0.060396, + "real": -0.094077 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.070966, + "real": -0.072168 + }, + { + "imag": 0.480563, + "real": -0.663777 + }, + { + "imag": 0.478429, + "real": -0.66163 + }, + { + "imag": -0.056398, + "real": -0.094252 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.068759, + "real": -0.072698 + }, + { + "imag": 0.504971, + "real": -0.645334 + }, + { + "imag": 0.502541, + "real": -0.643043 + }, + { + "imag": -0.051964, + "real": -0.094474 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.066285, + "real": -0.072759 + }, + { + "imag": 0.52859, + "real": -0.625144 + }, + { + "imag": 0.526438, + "real": -0.623357 + }, + { + "imag": -0.047637, + "real": -0.094779 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.063404, + "real": -0.072888 + }, + { + "imag": 0.552614, + "real": -0.604189 + }, + { + "imag": 0.549823, + "real": -0.602897 + }, + { + "imag": -0.043009, + "real": -0.094674 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.060601, + "real": -0.072744 + }, + { + "imag": 0.574398, + "real": -0.582783 + }, + { + "imag": 0.571977, + "real": -0.580621 + }, + { + "imag": -0.038661, + "real": -0.09443 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.057157, + "real": -0.071983 + }, + { + "imag": 0.595346, + "real": -0.559364 + }, + { + "imag": 0.592868, + "real": -0.557757 + }, + { + "imag": -0.034606, + "real": -0.09519 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.055156, + "real": -0.072141 + }, + { + "imag": 0.615492, + "real": -0.537907 + }, + { + "imag": 0.612388, + "real": -0.537103 + }, + { + "imag": -0.029256, + "real": -0.096477 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.050419, + "real": -0.07439 + }, + { + "imag": 0.640231, + "real": -0.510228 + }, + { + "imag": 0.632863, + "real": -0.51306 + }, + { + "imag": -0.023672, + "real": -0.09647 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.048229, + "real": -0.073758 + }, + { + "imag": 0.655161, + "real": -0.488406 + }, + { + "imag": 0.652025, + "real": -0.488191 + }, + { + "imag": -0.018305, + "real": -0.097422 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.044752, + "real": -0.074432 + }, + { + "imag": 0.672356, + "real": -0.462787 + }, + { + "imag": 0.66989, + "real": -0.462974 + }, + { + "imag": -0.01376, + "real": -0.097777 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.041268, + "real": -0.075355 + }, + { + "imag": 0.68923, + "real": -0.436437 + }, + { + "imag": 0.68646, + "real": -0.436828 + }, + { + "imag": -0.009224, + "real": -0.098465 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.037657, + "real": -0.076736 + }, + { + "imag": 0.704733, + "real": -0.409737 + }, + { + "imag": 0.70229, + "real": -0.409796 + }, + { + "imag": -0.005343, + "real": -0.099886 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.033869, + "real": -0.077889 + }, + { + "imag": 0.71928, + "real": -0.382217 + }, + { + "imag": 0.716484, + "real": -0.382928 + }, + { + "imag": -0.001499, + "real": -0.101286 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.030581, + "real": -0.079005 + }, + { + "imag": 0.732961, + "real": -0.35387 + }, + { + "imag": 0.73026, + "real": -0.354937 + }, + { + "imag": 0.002056, + "real": -0.103109 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.026943, + "real": -0.079838 + }, + { + "imag": 0.745076, + "real": -0.325396 + }, + { + "imag": 0.742333, + "real": -0.326952 + }, + { + "imag": 0.004744, + "real": -0.104753 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.023241, + "real": -0.080681 + }, + { + "imag": 0.75576, + "real": -0.298038 + }, + { + "imag": 0.753618, + "real": -0.298567 + }, + { + "imag": 0.006909, + "real": -0.106418 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.019558, + "real": -0.081775 + }, + { + "imag": 0.767536, + "real": -0.268987 + }, + { + "imag": 0.764752, + "real": -0.270206 + }, + { + "imag": 0.008215, + "real": -0.108137 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.016165, + "real": -0.082835 + }, + { + "imag": 0.77674, + "real": -0.238911 + }, + { + "imag": 0.774255, + "real": -0.24096 + }, + { + "imag": 0.00973, + "real": -0.11006 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.012551, + "real": -0.083802 + }, + { + "imag": 0.78424, + "real": -0.209293 + }, + { + "imag": 0.782014, + "real": -0.210884 + }, + { + "imag": 0.010378, + "real": -0.112103 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.009329, + "real": -0.084631 + }, + { + "imag": 0.79149, + "real": -0.179514 + }, + { + "imag": 0.788984, + "real": -0.180828 + }, + { + "imag": 0.010256, + "real": -0.113289 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.006705, + "real": -0.08505 + }, + { + "imag": 0.797508, + "real": -0.149269 + }, + { + "imag": 0.794727, + "real": -0.150985 + }, + { + "imag": 0.010226, + "real": -0.114198 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.004443, + "real": -0.081695 + }, + { + "imag": 0.806551, + "real": -0.105068 + }, + { + "imag": 0.799435, + "real": -0.120178 + }, + { + "imag": 0.009785, + "real": -0.114568 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.001584, + "real": -0.085412 + }, + { + "imag": 0.80601, + "real": -0.08856 + }, + { + "imag": 0.802881, + "real": -0.09043 + }, + { + "imag": 0.008655, + "real": -0.114455 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.001078, + "real": -0.084839 + }, + { + "imag": 0.808533, + "real": -0.058294 + }, + { + "imag": 0.805538, + "real": -0.060355 + }, + { + "imag": 0.007701, + "real": -0.113812 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.003369, + "real": -0.084017 + }, + { + "imag": 0.81028, + "real": -0.027545 + }, + { + "imag": 0.806937, + "real": -0.029937 + }, + { + "imag": 0.006997, + "real": -0.112744 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.005565, + "real": -0.082649 + }, + { + "imag": 0.810776, + "real": 0.002319 + }, + { + "imag": 0.807232, + "real": 0.000487 + }, + { + "imag": 0.00578, + "real": -0.111433 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.00678, + "real": -0.080804 + }, + { + "imag": 0.808249, + "real": 0.033446 + }, + { + "imag": 0.804, + "real": 0.030191 + }, + { + "imag": 0.003103, + "real": -0.109593 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.009791, + "real": -0.07945 + }, + { + "imag": 0.808454, + "real": 0.063399 + }, + { + "imag": 0.804639, + "real": 0.06144 + }, + { + "imag": 0.00374, + "real": -0.107184 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.011559, + "real": -0.078175 + }, + { + "imag": 0.806307, + "real": 0.093885 + }, + { + "imag": 0.80244, + "real": 0.092256 + }, + { + "imag": 0.00325, + "real": -0.103657 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.013555, + "real": -0.076014 + }, + { + "imag": 0.802127, + "real": 0.124267 + }, + { + "imag": 0.798566, + "real": 0.122709 + }, + { + "imag": 0.002777, + "real": -0.101049 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.015403, + "real": -0.073781 + }, + { + "imag": 0.796594, + "real": 0.154747 + }, + { + "imag": 0.793338, + "real": 0.153006 + }, + { + "imag": 0.003307, + "real": -0.098014 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.017382, + "real": -0.07162 + }, + { + "imag": 0.789412, + "real": 0.184927 + }, + { + "imag": 0.78662, + "real": 0.182519 + }, + { + "imag": 0.004409, + "real": -0.0948 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.018561, + "real": -0.069332 + }, + { + "imag": 0.781935, + "real": 0.214649 + }, + { + "imag": 0.779456, + "real": 0.212488 + }, + { + "imag": 0.004981, + "real": -0.091788 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.020131, + "real": -0.066988 + }, + { + "imag": 0.772473, + "real": 0.244235 + }, + { + "imag": 0.770785, + "real": 0.242242 + }, + { + "imag": 0.00713, + "real": -0.088578 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.021908, + "real": -0.064924 + }, + { + "imag": 0.763265, + "real": 0.273171 + }, + { + "imag": 0.760687, + "real": 0.271125 + }, + { + "imag": 0.00919, + "real": -0.086326 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.023296, + "real": -0.062609 + }, + { + "imag": 0.752183, + "real": 0.301514 + }, + { + "imag": 0.749479, + "real": 0.300052 + }, + { + "imag": 0.012286, + "real": -0.084144 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.024724, + "real": -0.059872 + }, + { + "imag": 0.739647, + "real": 0.328999 + }, + { + "imag": 0.736864, + "real": 0.327519 + }, + { + "imag": 0.015331, + "real": -0.082332 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.026179, + "real": -0.057192 + }, + { + "imag": 0.725917, + "real": 0.356438 + }, + { + "imag": 0.723341, + "real": 0.354841 + }, + { + "imag": 0.018939, + "real": -0.08057 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.027604, + "real": -0.054756 + }, + { + "imag": 0.712501, + "real": 0.383507 + }, + { + "imag": 0.709548, + "real": 0.382245 + }, + { + "imag": 0.021468, + "real": -0.079542 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.029052, + "real": -0.052668 + }, + { + "imag": 0.696629, + "real": 0.40999 + }, + { + "imag": 0.694211, + "real": 0.408849 + }, + { + "imag": 0.024977, + "real": -0.079428 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.030814, + "real": -0.050416 + }, + { + "imag": 0.679889, + "real": 0.43632 + }, + { + "imag": 0.677843, + "real": 0.434402 + }, + { + "imag": 0.028325, + "real": -0.079417 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.031991, + "real": -0.048662 + }, + { + "imag": 0.662766, + "real": 0.461698 + }, + { + "imag": 0.660764, + "real": 0.459474 + }, + { + "imag": 0.031627, + "real": -0.079866 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.03342, + "real": -0.04686 + }, + { + "imag": 0.646167, + "real": 0.485543 + }, + { + "imag": 0.642778, + "real": 0.483587 + }, + { + "imag": 0.034584, + "real": -0.079919 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.034275, + "real": -0.04526 + }, + { + "imag": 0.625781, + "real": 0.510658 + }, + { + "imag": 0.623756, + "real": 0.506975 + }, + { + "imag": 0.036839, + "real": -0.081208 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.034808, + "real": -0.043812 + }, + { + "imag": 0.605861, + "real": 0.533462 + }, + { + "imag": 0.603952, + "real": 0.529406 + }, + { + "imag": 0.039109, + "real": -0.082763 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.035313, + "real": -0.042441 + }, + { + "imag": 0.584842, + "real": 0.555328 + }, + { + "imag": 0.583777, + "real": 0.551443 + }, + { + "imag": 0.041072, + "real": -0.084103 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.035221, + "real": -0.041135 + }, + { + "imag": 0.562964, + "real": 0.576441 + }, + { + "imag": 0.562503, + "real": 0.572619 + }, + { + "imag": 0.042626, + "real": -0.085737 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.035244, + "real": -0.03968 + }, + { + "imag": 0.5403, + "real": 0.596446 + }, + { + "imag": 0.540444, + "real": 0.593093 + }, + { + "imag": 0.043184, + "real": -0.08698 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.035354, + "real": -0.038282 + }, + { + "imag": 0.517006, + "real": 0.615624 + }, + { + "imag": 0.51749, + "real": 0.612513 + }, + { + "imag": 0.043322, + "real": -0.089025 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.034975, + "real": -0.036273 + }, + { + "imag": 0.49288, + "real": 0.634559 + }, + { + "imag": 0.493452, + "real": 0.631723 + }, + { + "imag": 0.042424, + "real": -0.090214 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.034656, + "real": -0.034037 + }, + { + "imag": 0.467876, + "real": 0.652494 + }, + { + "imag": 0.468841, + "real": 0.650346 + }, + { + "imag": 0.041327, + "real": -0.090703 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.034489, + "real": -0.032431 + }, + { + "imag": 0.443358, + "real": 0.66813 + }, + { + "imag": 0.444695, + "real": 0.667206 + }, + { + "imag": 0.039125, + "real": -0.092093 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.034525, + "real": -0.030739 + }, + { + "imag": 0.418623, + "real": 0.68468 + }, + { + "imag": 0.419919, + "real": 0.683774 + }, + { + "imag": 0.037163, + "real": -0.093449 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.034625, + "real": -0.028587 + }, + { + "imag": 0.392052, + "real": 0.699711 + }, + { + "imag": 0.393656, + "real": 0.699375 + }, + { + "imag": 0.034736, + "real": -0.094053 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.034354, + "real": -0.026865 + }, + { + "imag": 0.365909, + "real": 0.713644 + }, + { + "imag": 0.367077, + "real": 0.713966 + }, + { + "imag": 0.033016, + "real": -0.093819 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.033922, + "real": -0.025353 + }, + { + "imag": 0.340042, + "real": 0.726528 + }, + { + "imag": 0.339925, + "real": 0.7269 + }, + { + "imag": 0.030058, + "real": -0.09353 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.034236, + "real": -0.023943 + }, + { + "imag": 0.312115, + "real": 0.740281 + }, + { + "imag": 0.311666, + "real": 0.739064 + }, + { + "imag": 0.027036, + "real": -0.093183 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.034882, + "real": -0.022353 + }, + { + "imag": 0.282218, + "real": 0.752962 + }, + { + "imag": 0.282706, + "real": 0.74996 + }, + { + "imag": 0.024721, + "real": -0.092749 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.035093, + "real": -0.021188 + }, + { + "imag": 0.252728, + "real": 0.762537 + }, + { + "imag": 0.253309, + "real": 0.760064 + }, + { + "imag": 0.02243, + "real": -0.092095 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.034956, + "real": -0.019629 + }, + { + "imag": 0.2234, + "real": 0.771302 + }, + { + "imag": 0.223636, + "real": 0.768456 + }, + { + "imag": 0.020542, + "real": -0.091152 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.034999, + "real": -0.018104 + }, + { + "imag": 0.193879, + "real": 0.778637 + }, + { + "imag": 0.194104, + "real": 0.775778 + }, + { + "imag": 0.018722, + "real": -0.089958 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.035042, + "real": -0.01669 + }, + { + "imag": 0.164172, + "real": 0.78477 + }, + { + "imag": 0.163547, + "real": 0.78238 + }, + { + "imag": 0.016922, + "real": -0.088325 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.03496, + "real": -0.015475 + }, + { + "imag": 0.134605, + "real": 0.789931 + }, + { + "imag": 0.133635, + "real": 0.787603 + }, + { + "imag": 0.01544, + "real": -0.087202 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.03477, + "real": -0.014307 + }, + { + "imag": 0.104822, + "real": 0.793763 + }, + { + "imag": 0.103346, + "real": 0.791342 + }, + { + "imag": 0.014352, + "real": -0.085567 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.034715, + "real": -0.013635 + }, + { + "imag": 0.074575, + "real": 0.796665 + }, + { + "imag": 0.07273, + "real": 0.794261 + }, + { + "imag": 0.014322, + "real": -0.08443 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.034673, + "real": -0.012866 + }, + { + "imag": 0.044299, + "real": 0.798734 + }, + { + "imag": 0.042771, + "real": 0.795686 + }, + { + "imag": 0.014243, + "real": -0.083125 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.034622, + "real": -0.011789000000000001 + }, + { + "imag": 0.013869, + "real": 0.800047 + }, + { + "imag": 0.012422, + "real": 0.795978 + }, + { + "imag": 0.016141, + "real": -0.081593 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.034554, + "real": -0.011491 + }, + { + "imag": -0.016234, + "real": 0.800175 + }, + { + "imag": -0.016964, + "real": 0.794913 + }, + { + "imag": 0.016959, + "real": -0.080788 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.034036, + "real": -0.011133 + }, + { + "imag": -0.046027, + "real": 0.79904 + }, + { + "imag": -0.046889, + "real": 0.792787 + }, + { + "imag": 0.017834, + "real": -0.080196 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.033777, + "real": -0.011588 + }, + { + "imag": -0.075294, + "real": 0.796612 + }, + { + "imag": -0.076574, + "real": 0.789426 + }, + { + "imag": 0.020074, + "real": -0.079782 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.032904, + "real": -0.012652 + }, + { + "imag": -0.105378, + "real": 0.792997 + }, + { + "imag": -0.106276, + "real": 0.785577 + }, + { + "imag": 0.022547, + "real": -0.078883 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.032186, + "real": -0.013822 + }, + { + "imag": -0.135313, + "real": 0.788073 + }, + { + "imag": -0.135369, + "real": 0.780965 + }, + { + "imag": 0.025715, + "real": -0.078817 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.030966, + "real": -0.014508 + }, + { + "imag": -0.165222, + "real": 0.781508 + }, + { + "imag": -0.164494, + "real": 0.77441 + }, + { + "imag": 0.028947, + "real": -0.078526 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.029473, + "real": -0.015327 + }, + { + "imag": -0.195144, + "real": 0.774282 + }, + { + "imag": -0.192815, + "real": 0.767723 + }, + { + "imag": 0.032483, + "real": -0.07881 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.02765, + "real": -0.016188 + }, + { + "imag": -0.224514, + "real": 0.766076 + }, + { + "imag": -0.221368, + "real": 0.760059 + }, + { + "imag": 0.036188, + "real": -0.079817 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.026329, + "real": -0.01703 + }, + { + "imag": -0.253059, + "real": 0.756546 + }, + { + "imag": -0.249583, + "real": 0.751301 + }, + { + "imag": 0.039741, + "real": -0.080589 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.024943, + "real": -0.017697 + }, + { + "imag": -0.281609, + "real": 0.746249 + }, + { + "imag": -0.276684, + "real": 0.741796 + }, + { + "imag": 0.042803, + "real": -0.081319 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.024184, + "real": -0.016382 + }, + { + "imag": -0.313383, + "real": 0.731428 + }, + { + "imag": -0.306895, + "real": 0.729704 + }, + { + "imag": 0.048381, + "real": -0.080293 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.02219, + "real": -0.019812 + }, + { + "imag": -0.335124, + "real": 0.721958 + }, + { + "imag": -0.332512, + "real": 0.718593 + }, + { + "imag": 0.050405, + "real": -0.082559 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.020888, + "real": -0.020673 + }, + { + "imag": -0.3618, + "real": 0.707839 + }, + { + "imag": -0.359322, + "real": 0.70575 + }, + { + "imag": 0.054073, + "real": -0.08326 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.020249, + "real": -0.021583 + }, + { + "imag": -0.387866, + "real": 0.693195 + }, + { + "imag": -0.38608, + "real": 0.691684 + }, + { + "imag": 0.057619, + "real": -0.084249 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.01937, + "real": -0.022287 + }, + { + "imag": -0.413902, + "real": 0.677078 + }, + { + "imag": -0.411826, + "real": 0.676226 + }, + { + "imag": 0.061127, + "real": -0.085045 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.018912, + "real": -0.023141 + }, + { + "imag": -0.438382, + "real": 0.660854 + }, + { + "imag": -0.437555, + "real": 0.659571 + }, + { + "imag": 0.064204, + "real": -0.085795 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.018493, + "real": -0.024207 + }, + { + "imag": -0.463046, + "real": 0.643778 + }, + { + "imag": -0.461924, + "real": 0.642312 + }, + { + "imag": 0.066997, + "real": -0.08638 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.018488, + "real": -0.025199 + }, + { + "imag": -0.487097, + "real": 0.625548 + }, + { + "imag": -0.485951, + "real": 0.623347 + }, + { + "imag": 0.069273, + "real": -0.087328 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.019085, + "real": -0.02657 + }, + { + "imag": -0.51053, + "real": 0.606017 + }, + { + "imag": -0.509817, + "real": 0.603708 + }, + { + "imag": 0.071213, + "real": -0.088066 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.019677, + "real": -0.027887 + }, + { + "imag": -0.533087, + "real": 0.586542 + }, + { + "imag": -0.533071, + "real": 0.583089 + }, + { + "imag": 0.07258, + "real": -0.088235 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.020634, + "real": -0.029294 + }, + { + "imag": -0.554555, + "real": 0.565971 + }, + { + "imag": -0.554188, + "real": 0.562358 + }, + { + "imag": 0.073811, + "real": -0.088682 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.021243, + "real": -0.030876 + }, + { + "imag": -0.575151, + "real": 0.544245 + }, + { + "imag": -0.573349, + "real": 0.540368 + }, + { + "imag": 0.074741, + "real": -0.088947 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.022294, + "real": -0.032793 + }, + { + "imag": -0.594982, + "real": 0.52198 + }, + { + "imag": -0.593147, + "real": 0.517497 + }, + { + "imag": 0.075304, + "real": -0.08915 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.023438, + "real": -0.034974 + }, + { + "imag": -0.613924, + "real": 0.498684 + }, + { + "imag": -0.611741, + "real": 0.494325 + }, + { + "imag": 0.075603, + "real": -0.088792 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.024656, + "real": -0.03687 + }, + { + "imag": -0.63212, + "real": 0.475638 + }, + { + "imag": -0.62958, + "real": 0.470514 + }, + { + "imag": 0.075958, + "real": -0.08844 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.025664, + "real": -0.0401 + }, + { + "imag": -0.648975, + "real": 0.449973 + }, + { + "imag": -0.645742, + "real": 0.44628 + }, + { + "imag": 0.076576, + "real": -0.087683 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.027221, + "real": -0.042364 + }, + { + "imag": -0.66507, + "real": 0.425723 + }, + { + "imag": -0.66137, + "real": 0.421666 + }, + { + "imag": 0.077192, + "real": -0.087132 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.028282, + "real": -0.045247 + }, + { + "imag": -0.680172, + "real": 0.399726 + }, + { + "imag": -0.676678, + "real": 0.395982 + }, + { + "imag": 0.077404, + "real": -0.086361 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.029158, + "real": -0.048108 + }, + { + "imag": -0.69425, + "real": 0.373778 + }, + { + "imag": -0.690428, + "real": 0.370826 + }, + { + "imag": 0.078414, + "real": -0.085647 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.029331, + "real": -0.050726 + }, + { + "imag": -0.707694, + "real": 0.347627 + }, + { + "imag": -0.704878, + "real": 0.343741 + }, + { + "imag": 0.078961, + "real": -0.084726 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.029954, + "real": -0.053683 + }, + { + "imag": -0.720027, + "real": 0.321303 + }, + { + "imag": -0.717465, + "real": 0.31782 + }, + { + "imag": 0.080029, + "real": -0.084136 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.03067, + "real": -0.056693 + }, + { + "imag": -0.731492, + "real": 0.294274 + }, + { + "imag": -0.727293, + "real": 0.291143 + }, + { + "imag": 0.081245, + "real": -0.083037 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.030786, + "real": -0.059065 + }, + { + "imag": -0.741471, + "real": 0.266817 + }, + { + "imag": -0.737658, + "real": 0.263376 + }, + { + "imag": 0.082512, + "real": -0.081746 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.030733, + "real": -0.0615 + }, + { + "imag": -0.750059, + "real": 0.23774700000000001 + }, + { + "imag": -0.747032, + "real": 0.235044 + }, + { + "imag": 0.084344, + "real": -0.080433 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.030786, + "real": -0.063795 + }, + { + "imag": -0.758389, + "real": 0.20915 + }, + { + "imag": -0.755566, + "real": 0.20679 + }, + { + "imag": 0.086838, + "real": -0.079904 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.030781, + "real": -0.065348 + }, + { + "imag": -0.765705, + "real": 0.180322 + }, + { + "imag": -0.763178, + "real": 0.178195 + }, + { + "imag": 0.089314, + "real": -0.078795 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.031, + "real": -0.066559 + }, + { + "imag": -0.771946, + "real": 0.150832 + }, + { + "imag": -0.769827, + "real": 0.148853 + }, + { + "imag": 0.092571, + "real": -0.078089 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.031226, + "real": -0.067435 + }, + { + "imag": -0.777148, + "real": 0.121729 + }, + { + "imag": -0.77499, + "real": 0.119237 + }, + { + "imag": 0.096083, + "real": -0.077674 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.03165, + "real": -0.068165 + }, + { + "imag": -0.781303, + "real": 0.092195 + }, + { + "imag": -0.779869, + "real": 0.089961 + }, + { + "imag": 0.098936, + "real": -0.077386 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.03237, + "real": -0.068442 + }, + { + "imag": -0.784143, + "real": 0.063163 + }, + { + "imag": -0.781791, + "real": 0.060617 + }, + { + "imag": 0.10166, + "real": -0.077764 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.033151, + "real": -0.06827 + }, + { + "imag": -0.785595, + "real": 0.032896 + }, + { + "imag": -0.783703, + "real": 0.030723 + }, + { + "imag": 0.104892, + "real": -0.077533 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.033973, + "real": -0.067791 + }, + { + "imag": -0.785303, + "real": 0.003213 + }, + { + "imag": -0.784086, + "real": 0.00042 + }, + { + "imag": 0.108194, + "real": -0.077073 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.035563, + "real": -0.066989 + }, + { + "imag": -0.784472, + "real": -0.026603 + }, + { + "imag": -0.783163, + "real": -0.02974 + }, + { + "imag": 0.111433, + "real": -0.077148 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.037745, + "real": -0.065834 + }, + { + "imag": -0.782494, + "real": -0.057112 + }, + { + "imag": -0.78129, + "real": -0.059892 + }, + { + "imag": 0.114598, + "real": -0.07728 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.040867, + "real": -0.064542 + }, + { + "imag": -0.779315, + "real": -0.087237 + }, + { + "imag": -0.777857, + "real": -0.089555 + }, + { + "imag": 0.116649, + "real": -0.076578 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.044164, + "real": -0.063194 + }, + { + "imag": -0.775422, + "real": -0.117371 + }, + { + "imag": -0.773285, + "real": -0.119038 + }, + { + "imag": 0.119182, + "real": -0.075999 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.047045, + "real": -0.061281 + }, + { + "imag": -0.769634, + "real": -0.146778 + }, + { + "imag": -0.767735, + "real": -0.147506 + }, + { + "imag": 0.121881, + "real": -0.074796 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.050979, + "real": -0.060028 + }, + { + "imag": -0.763094, + "real": -0.175457 + }, + { + "imag": -0.760699, + "real": -0.175972 + }, + { + "imag": 0.124113, + "real": -0.073412 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.055635, + "real": -0.057833 + }, + { + "imag": -0.754325, + "real": -0.203186 + }, + { + "imag": -0.752583, + "real": -0.203701 + }, + { + "imag": 0.126325, + "real": -0.071752 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.060397, + "real": -0.056146 + }, + { + "imag": -0.745076, + "real": -0.231353 + }, + { + "imag": -0.74436, + "real": -0.231388 + }, + { + "imag": 0.128421, + "real": -0.06859 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.065265, + "real": -0.053643 + }, + { + "imag": -0.734659, + "real": -0.258742 + }, + { + "imag": -0.734375, + "real": -0.258224 + }, + { + "imag": 0.130531, + "real": -0.065464 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.067616, + "real": -0.053668 + }, + { + "imag": -0.723478, + "real": -0.289748 + }, + { + "imag": -0.723885, + "real": -0.286034 + }, + { + "imag": 0.13072, + "real": -0.06077 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.074869, + "real": -0.050166 + }, + { + "imag": -0.712635, + "real": -0.312855 + }, + { + "imag": -0.713019, + "real": -0.311177 + }, + { + "imag": 0.132927, + "real": -0.057567 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.080293, + "real": -0.047731 + }, + { + "imag": -0.700242, + "real": -0.338274 + }, + { + "imag": -0.700542, + "real": -0.337197 + }, + { + "imag": 0.134679, + "real": -0.052928 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.085484, + "real": -0.045265 + }, + { + "imag": -0.686759, + "real": -0.363858 + }, + { + "imag": -0.686516, + "real": -0.362547 + }, + { + "imag": 0.136104, + "real": -0.047288 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.090845, + "real": -0.043192 + }, + { + "imag": -0.672576, + "real": -0.387684 + }, + { + "imag": -0.672378, + "real": -0.386858 + }, + { + "imag": 0.13794, + "real": -0.041283 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.095644, + "real": -0.041528 + }, + { + "imag": -0.657059, + "real": -0.410939 + }, + { + "imag": -0.656449, + "real": -0.410728 + }, + { + "imag": 0.139426, + "real": -0.033911 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.098814, + "real": -0.038829 + }, + { + "imag": -0.640514, + "real": -0.433397 + }, + { + "imag": -0.640001, + "real": -0.43372 + }, + { + "imag": 0.140472, + "real": -0.026531 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.10165, + "real": -0.036305 + }, + { + "imag": -0.62465, + "real": -0.455807 + }, + { + "imag": -0.623688, + "real": -0.45562 + }, + { + "imag": 0.141434, + "real": -0.018547 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.105149, + "real": -0.034283 + }, + { + "imag": -0.608287, + "real": -0.478871 + }, + { + "imag": -0.607875, + "real": -0.477287 + }, + { + "imag": 0.141609, + "real": -0.010866 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.104797, + "real": -0.033259 + }, + { + "imag": -0.591823, + "real": -0.500381 + }, + { + "imag": -0.590333, + "real": -0.498757 + }, + { + "imag": 0.141788, + "real": -0.004734 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.104062, + "real": -0.031629 + }, + { + "imag": -0.573588, + "real": -0.522342 + }, + { + "imag": -0.571506, + "real": -0.520845 + }, + { + "imag": 0.142217, + "real": 0.000987 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.105408, + "real": -0.030839 + }, + { + "imag": -0.554301, + "real": -0.54442 + }, + { + "imag": -0.551817, + "real": -0.542199 + }, + { + "imag": 0.143332, + "real": 0.006505 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.105812, + "real": -0.028981 + }, + { + "imag": -0.534066, + "real": -0.565195 + }, + { + "imag": -0.531687, + "real": -0.562538 + }, + { + "imag": 0.14446, + "real": 0.01129 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.106007, + "real": -0.028119 + }, + { + "imag": -0.512145, + "real": -0.585207 + }, + { + "imag": -0.51046, + "real": -0.582448 + }, + { + "imag": 0.146168, + "real": 0.015494 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.106979, + "real": -0.02655 + }, + { + "imag": -0.489246, + "real": -0.604338 + }, + { + "imag": -0.488069, + "real": -0.601357 + }, + { + "imag": 0.14811, + "real": 0.019413 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.106917, + "real": -0.025149 + }, + { + "imag": -0.465778, + "real": -0.622021 + }, + { + "imag": -0.46531, + "real": -0.61929 + }, + { + "imag": 0.149861, + "real": 0.023407 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.106562, + "real": -0.02344 + }, + { + "imag": -0.442869, + "real": -0.639523 + }, + { + "imag": -0.441991, + "real": -0.637037 + }, + { + "imag": 0.151604, + "real": 0.026604 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.106057, + "real": -0.020561 + }, + { + "imag": -0.417678, + "real": -0.656251 + }, + { + "imag": -0.417863, + "real": -0.653125 + }, + { + "imag": 0.153092, + "real": 0.030486 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.10537, + "real": -0.017531 + }, + { + "imag": -0.39375, + "real": -0.670857 + }, + { + "imag": -0.394441, + "real": -0.668127 + }, + { + "imag": 0.15408, + "real": 0.035015 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.105051, + "real": -0.014785 + }, + { + "imag": -0.36763, + "real": -0.685933 + }, + { + "imag": -0.368551, + "real": -0.683419 + }, + { + "imag": 0.155238, + "real": 0.037948 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.1039, + "real": -0.010681 + }, + { + "imag": -0.341364, + "real": -0.699246 + }, + { + "imag": -0.342495, + "real": -0.697871 + }, + { + "imag": 0.155588, + "real": 0.041077 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.102772, + "real": -0.00687 + }, + { + "imag": -0.313674, + "real": -0.711735 + }, + { + "imag": -0.315947, + "real": -0.71144 + }, + { + "imag": 0.155524, + "real": 0.043835 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.101435, + "real": -0.002059 + }, + { + "imag": -0.28661, + "real": -0.723734 + }, + { + "imag": -0.287577, + "real": -0.724674 + }, + { + "imag": 0.154973, + "real": 0.047101 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.099854, + "real": 0.002799 + }, + { + "imag": -0.258956, + "real": -0.733995 + }, + { + "imag": -0.259453, + "real": -0.736171 + }, + { + "imag": 0.154141, + "real": 0.049671 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.097846, + "real": 0.007946 + }, + { + "imag": -0.230592, + "real": -0.742965 + }, + { + "imag": -0.230704, + "real": -0.74633 + }, + { + "imag": 0.153386, + "real": 0.0521 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.096189, + "real": 0.014339 + }, + { + "imag": -0.202706, + "real": -0.751183 + }, + { + "imag": -0.201064, + "real": -0.755423 + }, + { + "imag": 0.15197, + "real": 0.055357 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.095188, + "real": 0.020818 + }, + { + "imag": -0.173613, + "real": -0.758267 + }, + { + "imag": -0.171131, + "real": -0.762505 + }, + { + "imag": 0.1495, + "real": 0.058984 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.094337, + "real": 0.027102 + }, + { + "imag": -0.144958, + "real": -0.76362 + }, + { + "imag": -0.141175, + "real": -0.768651 + }, + { + "imag": 0.147017, + "real": 0.063329 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.102246, + "real": 0.030524 + }, + { + "imag": -0.125379, + "real": -0.764969 + }, + { + "imag": -0.105959, + "real": -0.7747 + }, + { + "imag": 0.145687, + "real": 0.074014 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.091395, + "real": 0.040695 + }, + { + "imag": -0.086989, + "real": -0.772247 + }, + { + "imag": -0.081583, + "real": -0.775408 + }, + { + "imag": 0.142294, + "real": 0.071374 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.090363, + "real": 0.047243 + }, + { + "imag": -0.056563, + "real": -0.774905 + }, + { + "imag": -0.051288, + "real": -0.776878 + }, + { + "imag": 0.139405, + "real": 0.075968 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.089227, + "real": 0.054537 + }, + { + "imag": -0.027531, + "real": -0.776077 + }, + { + "imag": -0.022277, + "real": -0.77707 + }, + { + "imag": 0.134873, + "real": 0.080166 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.088437, + "real": 0.061575 + }, + { + "imag": 0.00077, + "real": -0.776132 + }, + { + "imag": 0.005638, + "real": -0.776068 + }, + { + "imag": 0.131837, + "real": 0.084989 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.087994, + "real": 0.070622 + }, + { + "imag": 0.031211, + "real": -0.775009 + }, + { + "imag": 0.033686, + "real": -0.772257 + }, + { + "imag": 0.128164, + "real": 0.090518 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.087608, + "real": 0.076087 + }, + { + "imag": 0.05907, + "real": -0.772668 + }, + { + "imag": 0.061552, + "real": -0.770642 + }, + { + "imag": 0.124324, + "real": 0.094213 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.08715, + "real": 0.08267 + }, + { + "imag": 0.087564, + "real": -0.769252 + }, + { + "imag": 0.089496, + "real": -0.769262 + }, + { + "imag": 0.12135, + "real": 0.098182 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.086673, + "real": 0.089171 + }, + { + "imag": 0.115821, + "real": -0.765752 + }, + { + "imag": 0.11712, + "real": -0.765578 + }, + { + "imag": 0.11814, + "real": 0.102236 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.087257, + "real": 0.095766 + }, + { + "imag": 0.145206, + "real": -0.760739 + }, + { + "imag": 0.144871, + "real": -0.761193 + }, + { + "imag": 0.11425, + "real": 0.106875 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.086169, + "real": 0.10191 + }, + { + "imag": 0.172842, + "real": -0.754788 + }, + { + "imag": 0.171913, + "real": -0.756055 + }, + { + "imag": 0.111304, + "real": 0.110899 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.085449, + "real": 0.106816 + }, + { + "imag": 0.201187, + "real": -0.748314 + }, + { + "imag": 0.19941, + "real": -0.749968 + }, + { + "imag": 0.108105, + "real": 0.114324 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.084094, + "real": 0.111512 + }, + { + "imag": 0.228446, + "real": -0.741977 + }, + { + "imag": 0.227021, + "real": -0.742936 + }, + { + "imag": 0.105171, + "real": 0.118234 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.083787, + "real": 0.115584 + }, + { + "imag": 0.258056, + "real": -0.73273 + }, + { + "imag": 0.255287, + "real": -0.734618 + }, + { + "imag": 0.101341, + "real": 0.1201 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.081643, + "real": 0.119124 + }, + { + "imag": 0.285853, + "real": -0.723748 + }, + { + "imag": 0.283496, + "real": -0.725611 + }, + { + "imag": 0.097978, + "real": 0.122461 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.080421, + "real": 0.122003 + }, + { + "imag": 0.3139, + "real": -0.713187 + }, + { + "imag": 0.311512, + "real": -0.715043 + }, + { + "imag": 0.093767, + "real": 0.124431 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.078192, + "real": 0.124994 + }, + { + "imag": 0.341392, + "real": -0.701364 + }, + { + "imag": 0.339175, + "real": -0.703522 + }, + { + "imag": 0.090171, + "real": 0.125599 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.074944, + "real": 0.130182 + }, + { + "imag": 0.367037, + "real": -0.689711 + }, + { + "imag": 0.365462, + "real": -0.69146 + }, + { + "imag": 0.087417, + "real": 0.12612 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.072982, + "real": 0.129171 + }, + { + "imag": 0.395202, + "real": -0.673716 + }, + { + "imag": 0.394292, + "real": -0.675544 + }, + { + "imag": 0.082513, + "real": 0.12697 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.07023, + "real": 0.130296 + }, + { + "imag": 0.420888, + "real": -0.657567 + }, + { + "imag": 0.42051, + "real": -0.659252 + }, + { + "imag": 0.078731, + "real": 0.127524 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.066489, + "real": 0.131783 + }, + { + "imag": 0.445532, + "real": -0.6403 + }, + { + "imag": 0.445546, + "real": -0.641797 + }, + { + "imag": 0.074633, + "real": 0.127821 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.062021, + "real": 0.132293 + }, + { + "imag": 0.469587, + "real": -0.622372 + }, + { + "imag": 0.470403, + "real": -0.622684 + }, + { + "imag": 0.070882, + "real": 0.127999 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.055783, + "real": 0.132229 + }, + { + "imag": 0.49274, + "real": -0.602717 + }, + { + "imag": 0.494083, + "real": -0.602395 + }, + { + "imag": 0.066999, + "real": 0.12875 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.049688, + "real": 0.133141 + }, + { + "imag": 0.513937, + "real": -0.583142 + }, + { + "imag": 0.516108, + "real": -0.581621 + }, + { + "imag": 0.063233, + "real": 0.128283 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.043482, + "real": 0.13355 + }, + { + "imag": 0.534632, + "real": -0.56222 + }, + { + "imag": 0.537053, + "real": -0.559625 + }, + { + "imag": 0.058916, + "real": 0.127797 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.036986, + "real": 0.13321 + }, + { + "imag": 0.55402, + "real": -0.54096 + }, + { + "imag": 0.556796, + "real": -0.538084 + }, + { + "imag": 0.053896, + "real": 0.127473 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.02983, + "real": 0.134108 + }, + { + "imag": 0.572714, + "real": -0.519201 + }, + { + "imag": 0.575915, + "real": -0.51421 + }, + { + "imag": 0.049154, + "real": 0.126165 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.022351, + "real": 0.135268 + }, + { + "imag": 0.590797, + "real": -0.496778 + }, + { + "imag": 0.594254, + "real": -0.490849 + }, + { + "imag": 0.044588, + "real": 0.124619 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.015711, + "real": 0.134514 + }, + { + "imag": 0.607694, + "real": -0.474597 + }, + { + "imag": 0.610456, + "real": -0.468089 + }, + { + "imag": 0.039465, + "real": 0.123324 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.008942, + "real": 0.135826 + }, + { + "imag": 0.623996, + "real": -0.451326 + }, + { + "imag": 0.626759, + "real": -0.444631 + }, + { + "imag": 0.034301, + "real": 0.122475 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.001195, + "real": 0.13551 + }, + { + "imag": 0.63953, + "real": -0.428064 + }, + { + "imag": 0.642038, + "real": -0.421509 + }, + { + "imag": 0.029815, + "real": 0.121529 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.005153, + "real": 0.136097 + }, + { + "imag": 0.65579, + "real": -0.40336 + }, + { + "imag": 0.657669, + "real": -0.397116 + }, + { + "imag": 0.024853, + "real": 0.119991 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.011927, + "real": 0.135957 + }, + { + "imag": 0.671389, + "real": -0.378866 + }, + { + "imag": 0.671851, + "real": -0.373144 + }, + { + "imag": 0.020112, + "real": 0.118476 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.018803, + "real": 0.136775 + }, + { + "imag": 0.68595, + "real": -0.353273 + }, + { + "imag": 0.686125, + "real": -0.347816 + }, + { + "imag": 0.014873, + "real": 0.117444 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.025066, + "real": 0.136706 + }, + { + "imag": 0.699454, + "real": -0.32738 + }, + { + "imag": 0.698964, + "real": -0.322252 + }, + { + "imag": 0.010116, + "real": 0.116369 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.031135, + "real": 0.135885 + }, + { + "imag": 0.712245, + "real": -0.300659 + }, + { + "imag": 0.711123, + "real": -0.295344 + }, + { + "imag": 0.005181, + "real": 0.114641 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.03771, + "real": 0.135857 + }, + { + "imag": 0.724458, + "real": -0.27327 + }, + { + "imag": 0.722781, + "real": -0.269456 + }, + { + "imag": -0.000491, + "real": 0.113115 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.043345, + "real": 0.13505 + }, + { + "imag": 0.734571, + "real": -0.245476 + }, + { + "imag": 0.732355, + "real": -0.242183 + }, + { + "imag": -0.005373, + "real": 0.111727 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.04868, + "real": 0.134128 + }, + { + "imag": 0.743733, + "real": -0.216235 + }, + { + "imag": 0.741896, + "real": -0.214013 + }, + { + "imag": -0.010639, + "real": 0.109812 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.053674, + "real": 0.132693 + }, + { + "imag": 0.751802, + "real": -0.187274 + }, + { + "imag": 0.750032, + "real": -0.185355 + }, + { + "imag": -0.016318, + "real": 0.1082 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.058521, + "real": 0.131212 + }, + { + "imag": 0.757854, + "real": -0.157606 + }, + { + "imag": 0.756288, + "real": -0.156087 + }, + { + "imag": -0.021396, + "real": 0.106465 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.062651, + "real": 0.128569 + }, + { + "imag": 0.763457, + "real": -0.128325 + }, + { + "imag": 0.761467, + "real": -0.127283 + }, + { + "imag": -0.026298, + "real": 0.10505 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.066503, + "real": 0.126826 + }, + { + "imag": 0.765973, + "real": -0.097587 + }, + { + "imag": 0.764783, + "real": -0.080392 + }, + { + "imag": -0.040018, + "real": 0.112883 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.071962, + "real": 0.123017 + }, + { + "imag": 0.768077, + "real": -0.066633 + }, + { + "imag": 0.767975, + "real": -0.042642 + }, + { + "imag": -0.044762, + "real": 0.117816 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.076875, + "real": 0.119193 + }, + { + "imag": 0.770009, + "real": -0.039761 + }, + { + "imag": 0.768394, + "real": -0.039788 + }, + { + "imag": -0.041429, + "real": 0.100072 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.08119, + "real": 0.115527 + }, + { + "imag": 0.769617, + "real": -0.01024 + }, + { + "imag": 0.768639, + "real": -0.009501 + }, + { + "imag": -0.046139, + "real": 0.098101 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.086418, + "real": 0.111045 + }, + { + "imag": 0.769277, + "real": 0.018318 + }, + { + "imag": 0.767619, + "real": 0.018555 + }, + { + "imag": -0.049901, + "real": 0.095831 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.092266, + "real": 0.106681 + }, + { + "imag": 0.766654, + "real": 0.047746 + }, + { + "imag": 0.765314, + "real": 0.0487 + }, + { + "imag": -0.053955, + "real": 0.093643 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.09527, + "real": 0.103005 + }, + { + "imag": 0.763551, + "real": 0.074506 + }, + { + "imag": 0.762883, + "real": 0.075954 + }, + { + "imag": -0.058074, + "real": 0.089593 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.09829, + "real": 0.098937 + }, + { + "imag": 0.760585, + "real": 0.102295 + }, + { + "imag": 0.758945, + "real": 0.103486 + }, + { + "imag": -0.06113, + "real": 0.08637 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.103834, + "real": 0.094114 + }, + { + "imag": 0.755188, + "real": 0.13104 + }, + { + "imag": 0.752889, + "real": 0.133206 + }, + { + "imag": -0.064321, + "real": 0.082972 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.107503, + "real": 0.089434 + }, + { + "imag": 0.749356, + "real": 0.158715 + }, + { + "imag": 0.746273, + "real": 0.1614 + }, + { + "imag": -0.067304, + "real": 0.079313 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.111723, + "real": 0.08483 + }, + { + "imag": 0.743006, + "real": 0.186075 + }, + { + "imag": 0.739862, + "real": 0.189332 + }, + { + "imag": -0.069367, + "real": 0.075695 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.114259, + "real": 0.080346 + }, + { + "imag": 0.735326, + "real": 0.213216 + }, + { + "imag": 0.731888, + "real": 0.215605 + }, + { + "imag": -0.071215, + "real": 0.072666 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.117293, + "real": 0.0764 + }, + { + "imag": 0.72681, + "real": 0.241071 + }, + { + "imag": 0.722383, + "real": 0.244031 + }, + { + "imag": -0.072257, + "real": 0.067107 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.119654, + "real": 0.071634 + }, + { + "imag": 0.717453, + "real": 0.268817 + }, + { + "imag": 0.711685, + "real": 0.270981 + }, + { + "imag": -0.073206, + "real": 0.061971 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.121006, + "real": 0.065751 + }, + { + "imag": 0.706841, + "real": 0.296157 + }, + { + "imag": 0.700937, + "real": 0.296752 + }, + { + "imag": -0.073775, + "real": 0.057119 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.122603, + "real": 0.060934 + }, + { + "imag": 0.695056, + "real": 0.323598 + }, + { + "imag": 0.687821, + "real": 0.323562 + }, + { + "imag": -0.073977, + "real": 0.051782 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.122436, + "real": 0.056113 + }, + { + "imag": 0.683169, + "real": 0.349927 + }, + { + "imag": 0.676241, + "real": 0.348837 + }, + { + "imag": -0.074485, + "real": 0.045972 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.12292, + "real": 0.0517 + }, + { + "imag": 0.670094, + "real": 0.375971 + }, + { + "imag": 0.662063, + "real": 0.373191 + }, + { + "imag": -0.074213, + "real": 0.040297 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.121055, + "real": 0.046533 + }, + { + "imag": 0.655612, + "real": 0.401976 + }, + { + "imag": 0.647514, + "real": 0.398909 + }, + { + "imag": -0.074014, + "real": 0.034579 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.119462, + "real": 0.041343 + }, + { + "imag": 0.639842, + "real": 0.426319 + }, + { + "imag": 0.632327, + "real": 0.422689 + }, + { + "imag": -0.074075, + "real": 0.029453 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.116911, + "real": 0.035297 + }, + { + "imag": 0.623014, + "real": 0.450791 + }, + { + "imag": 0.616129, + "real": 0.445525 + }, + { + "imag": -0.072576, + "real": 0.024118 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.114332, + "real": 0.028497 + }, + { + "imag": 0.606061, + "real": 0.473817 + }, + { + "imag": 0.598876, + "real": 0.467603 + }, + { + "imag": -0.070724, + "real": 0.018009 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.110471, + "real": 0.021924 + }, + { + "imag": 0.587194, + "real": 0.496006 + }, + { + "imag": 0.58056, + "real": 0.490004 + }, + { + "imag": -0.068807, + "real": 0.01267 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.109625, + "real": 0.017548 + }, + { + "imag": 0.568096, + "real": 0.516538 + }, + { + "imag": 0.561351, + "real": 0.512548 + }, + { + "imag": -0.066491, + "real": 0.006713 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.103916, + "real": 0.00931 + }, + { + "imag": 0.54744, + "real": 0.538222 + }, + { + "imag": 0.542449, + "real": 0.533024 + }, + { + "imag": -0.064622, + "real": 0.00126 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.098333, + "real": 0.000944 + }, + { + "imag": 0.52639, + "real": 0.559496 + }, + { + "imag": 0.522801, + "real": 0.552772 + }, + { + "imag": -0.06219, + "real": -0.003846 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.093716, + "real": -0.007306 + }, + { + "imag": 0.50452, + "real": 0.579294 + }, + { + "imag": 0.501715, + "real": 0.57175 + }, + { + "imag": -0.060357, + "real": -0.009067 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.091072, + "real": -0.016149 + }, + { + "imag": 0.482484, + "real": 0.598057 + }, + { + "imag": 0.479553, + "real": 0.590854 + }, + { + "imag": -0.057416, + "real": -0.012862 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.087721, + "real": -0.023386 + }, + { + "imag": 0.458692, + "real": 0.616214 + }, + { + "imag": 0.456884, + "real": 0.608508 + }, + { + "imag": -0.055561, + "real": -0.016987 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.082846, + "real": -0.030993 + }, + { + "imag": 0.435031, + "real": 0.633074 + }, + { + "imag": 0.433532, + "real": 0.625436 + }, + { + "imag": -0.053468, + "real": -0.02037 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.079018, + "real": -0.039496 + }, + { + "imag": 0.409979, + "real": 0.648945 + }, + { + "imag": 0.410181, + "real": 0.641499 + }, + { + "imag": -0.05084, + "real": -0.024136 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.077362, + "real": -0.046337 + }, + { + "imag": 0.383308, + "real": 0.664977 + }, + { + "imag": 0.387058, + "real": 0.656342 + }, + { + "imag": -0.048969, + "real": -0.026353 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.073426, + "real": -0.054989 + }, + { + "imag": 0.359047, + "real": 0.678214 + }, + { + "imag": 0.361177, + "real": 0.671063 + }, + { + "imag": -0.045526, + "real": -0.029933 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.071252, + "real": -0.063501 + }, + { + "imag": 0.332276, + "real": 0.691162 + }, + { + "imag": 0.335608, + "real": 0.685056 + }, + { + "imag": -0.042684, + "real": -0.032008 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.068689, + "real": -0.069921 + }, + { + "imag": 0.305369, + "real": 0.703214 + }, + { + "imag": 0.308964, + "real": 0.697379 + }, + { + "imag": -0.039532, + "real": -0.034466 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.067652, + "real": -0.075259 + }, + { + "imag": 0.278215, + "real": 0.714006 + }, + { + "imag": 0.282418, + "real": 0.708891 + }, + { + "imag": -0.036666, + "real": -0.036718 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.064348, + "real": -0.079105 + }, + { + "imag": 0.248568, + "real": 0.723747 + }, + { + "imag": 0.255243, + "real": 0.719849 + }, + { + "imag": -0.033332, + "real": -0.037864 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.062957, + "real": -0.086089 + }, + { + "imag": 0.222988, + "real": 0.731664 + }, + { + "imag": 0.22694, + "real": 0.72941 + }, + { + "imag": -0.030397, + "real": -0.039529 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.060015, + "real": -0.092494 + }, + { + "imag": 0.194624, + "real": 0.73981 + }, + { + "imag": 0.199195, + "real": 0.737475 + }, + { + "imag": -0.026904, + "real": -0.04098 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.05851, + "real": -0.094437 + }, + { + "imag": 0.166196, + "real": 0.746031 + }, + { + "imag": 0.170142, + "real": 0.744668 + }, + { + "imag": -0.023504, + "real": -0.041704 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.058658, + "real": -0.096083 + }, + { + "imag": 0.137813, + "real": 0.751276 + }, + { + "imag": 0.140653, + "real": 0.750364 + }, + { + "imag": -0.019782, + "real": -0.042341 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.055885, + "real": -0.098112 + }, + { + "imag": 0.109612, + "real": 0.755623 + }, + { + "imag": 0.111081, + "real": 0.755171 + }, + { + "imag": -0.015666, + "real": -0.042913 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.052951, + "real": -0.099753 + }, + { + "imag": 0.080251, + "real": 0.758891 + }, + { + "imag": 0.082086, + "real": 0.757665 + }, + { + "imag": -0.0113, + "real": -0.043569 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.050921, + "real": -0.098336 + }, + { + "imag": 0.050703, + "real": 0.760411 + }, + { + "imag": 0.052597, + "real": 0.759062 + }, + { + "imag": -0.006897, + "real": -0.043604 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.045949, + "real": -0.099709 + }, + { + "imag": 0.022656, + "real": 0.761608 + }, + { + "imag": 0.023665, + "real": 0.75916 + }, + { + "imag": -0.002066, + "real": -0.044125 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.041701, + "real": -0.100503 + }, + { + "imag": -0.006572, + "real": 0.761424 + }, + { + "imag": -0.005517, + "real": 0.757352 + }, + { + "imag": 0.00294, + "real": -0.044502 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.038002, + "real": -0.098123 + }, + { + "imag": -0.035656, + "real": 0.759639 + }, + { + "imag": -0.034151, + "real": 0.754812 + }, + { + "imag": 0.007804, + "real": -0.043724 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.032122, + "real": -0.097086 + }, + { + "imag": -0.064853, + "real": 0.758069 + }, + { + "imag": -0.06243, + "real": 0.751131 + }, + { + "imag": 0.012576, + "real": -0.043776 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.02858, + "real": -0.096737 + }, + { + "imag": -0.093509, + "real": 0.754374 + }, + { + "imag": -0.090268, + "real": 0.746044 + }, + { + "imag": 0.016934, + "real": -0.044132 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.022474, + "real": -0.095151 + }, + { + "imag": -0.121009, + "real": 0.750127 + }, + { + "imag": -0.117472, + "real": 0.740975 + }, + { + "imag": 0.022038, + "real": -0.044306 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.016057, + "real": -0.091433 + }, + { + "imag": -0.14931, + "real": 0.744652 + }, + { + "imag": -0.14354, + "real": 0.73556 + }, + { + "imag": 0.026941, + "real": -0.044667 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.011629, + "real": -0.090521 + }, + { + "imag": -0.177505, + "real": 0.737729 + }, + { + "imag": -0.170788, + "real": 0.72898 + }, + { + "imag": 0.031896, + "real": -0.04459 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.006048, + "real": -0.08845 + }, + { + "imag": -0.204506, + "real": 0.729955 + }, + { + "imag": -0.196457, + "real": 0.722394 + }, + { + "imag": 0.036215, + "real": -0.044975 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.000475, + "real": -0.085126 + }, + { + "imag": -0.231491, + "real": 0.721613 + }, + { + "imag": -0.221601, + "real": 0.715216 + }, + { + "imag": 0.039913, + "real": -0.04538 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.006768, + "real": -0.083124 + }, + { + "imag": -0.25772, + "real": 0.712095 + }, + { + "imag": -0.246862, + "real": 0.708347 + }, + { + "imag": 0.042872, + "real": -0.045374 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.009624, + "real": -0.079159 + }, + { + "imag": -0.286863, + "real": 0.699609 + }, + { + "imag": -0.272857, + "real": 0.699469 + }, + { + "imag": 0.045329, + "real": -0.045061 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.018966, + "real": -0.078701 + }, + { + "imag": -0.310279, + "real": 0.690266 + }, + { + "imag": -0.298439, + "real": 0.691524 + }, + { + "imag": 0.047301, + "real": -0.044427 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.024715, + "real": -0.07678 + }, + { + "imag": -0.336921, + "real": 0.67872 + }, + { + "imag": -0.324817, + "real": 0.681636 + }, + { + "imag": 0.04908, + "real": -0.043281 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.030567, + "real": -0.074144 + }, + { + "imag": -0.363085, + "real": 0.665824 + }, + { + "imag": -0.351406, + "real": 0.669941 + }, + { + "imag": 0.050539, + "real": -0.041072 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.036384, + "real": -0.070875 + }, + { + "imag": -0.387838, + "real": 0.651785 + }, + { + "imag": -0.378362, + "real": 0.657924 + }, + { + "imag": 0.050135, + "real": -0.040591 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.043167, + "real": -0.068962 + }, + { + "imag": -0.413194, + "real": 0.636451 + }, + { + "imag": -0.405765, + "real": 0.642865 + }, + { + "imag": 0.05045, + "real": -0.038438 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.048904, + "real": -0.067427 + }, + { + "imag": -0.437119, + "real": 0.620317 + }, + { + "imag": -0.43253, + "real": 0.626263 + }, + { + "imag": 0.050389, + "real": -0.036138 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.055283, + "real": -0.064913 + }, + { + "imag": -0.46228, + "real": 0.601288 + }, + { + "imag": -0.459092, + "real": 0.608738 + }, + { + "imag": 0.050397, + "real": -0.032454 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.059191, + "real": -0.063292 + }, + { + "imag": -0.484072, + "real": 0.586696 + }, + { + "imag": -0.482852, + "real": 0.593012 + }, + { + "imag": 0.049272, + "real": -0.026517 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.063991, + "real": -0.061856 + }, + { + "imag": -0.507104, + "real": 0.563221 + }, + { + "imag": -0.508046, + "real": 0.569216 + }, + { + "imag": 0.050085, + "real": -0.023603 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.067896, + "real": -0.059447 + }, + { + "imag": -0.528687, + "real": 0.541109 + }, + { + "imag": -0.531197, + "real": 0.545904 + }, + { + "imag": 0.050286, + "real": -0.020395 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.072776, + "real": -0.056726 + }, + { + "imag": -0.549967, + "real": 0.517177 + }, + { + "imag": -0.551617, + "real": 0.522251 + }, + { + "imag": 0.050382, + "real": -0.015442 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.074359, + "real": -0.052772 + }, + { + "imag": -0.568174, + "real": 0.496504 + }, + { + "imag": -0.571203, + "real": 0.49808 + }, + { + "imag": 0.049753, + "real": -0.011636 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.074088, + "real": -0.049358 + }, + { + "imag": -0.582579, + "real": 0.475006 + }, + { + "imag": -0.58445, + "real": 0.4735 + }, + { + "imag": 0.041611, + "real": -0.006565 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.078114, + "real": -0.04745 + }, + { + "imag": -0.601782, + "real": 0.44982 + }, + { + "imag": -0.602192, + "real": 0.44913 + }, + { + "imag": 0.045504, + "real": -0.002526 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.080574, + "real": -0.045204 + }, + { + "imag": -0.617827, + "real": 0.425976 + }, + { + "imag": -0.616544, + "real": 0.423631 + }, + { + "imag": 0.046831, + "real": 0.002283 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.081227, + "real": -0.04915 + }, + { + "imag": -0.636105, + "real": 0.398506 + }, + { + "imag": -0.628854, + "real": 0.400574 + }, + { + "imag": 0.046525, + "real": 0.005431 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.083987, + "real": -0.04161 + }, + { + "imag": -0.645504, + "real": 0.377137 + }, + { + "imag": -0.64097, + "real": 0.375247 + }, + { + "imag": 0.048297, + "real": 0.008709 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.085308, + "real": -0.038988 + }, + { + "imag": -0.657602, + "real": 0.353654 + }, + { + "imag": -0.651805, + "real": 0.352073 + }, + { + "imag": 0.049525, + "real": 0.010825 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.086818, + "real": -0.036407 + }, + { + "imag": -0.668517, + "real": 0.329493 + }, + { + "imag": -0.662366, + "real": 0.329127 + }, + { + "imag": 0.049553, + "real": 0.011072 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.0872, + "real": -0.035461 + }, + { + "imag": -0.67834, + "real": 0.304246 + }, + { + "imag": -0.672198, + "real": 0.305866 + }, + { + "imag": 0.050009, + "real": 0.011224 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.086837, + "real": -0.03363 + }, + { + "imag": -0.688804, + "real": 0.279093 + }, + { + "imag": -0.682748, + "real": 0.282712 + }, + { + "imag": 0.049735, + "real": 0.011213 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.088346, + "real": -0.031133 + }, + { + "imag": -0.696029, + "real": 0.2551 + }, + { + "imag": -0.692099, + "real": 0.259584 + }, + { + "imag": 0.049489, + "real": 0.011429 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.088088, + "real": -0.029181 + }, + { + "imag": -0.705773, + "real": 0.229851 + }, + { + "imag": -0.7019, + "real": 0.234953 + }, + { + "imag": 0.04624, + "real": 0.00996 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.086866, + "real": -0.026065 + }, + { + "imag": -0.714445, + "real": 0.205113 + }, + { + "imag": -0.712377, + "real": 0.210042 + }, + { + "imag": 0.043332, + "real": 0.008706 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.086514, + "real": -0.022906 + }, + { + "imag": -0.721083, + "real": 0.179278 + }, + { + "imag": -0.721361, + "real": 0.185319 + }, + { + "imag": 0.039091, + "real": 0.006003 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.085792, + "real": -0.020863 + }, + { + "imag": -0.727376, + "real": 0.153693 + }, + { + "imag": -0.728894, + "real": 0.158701 + }, + { + "imag": 0.033495, + "real": 0.002831 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.084407, + "real": -0.017574 + }, + { + "imag": -0.733032, + "real": 0.127579 + }, + { + "imag": -0.736332, + "real": 0.1319 + }, + { + "imag": 0.026979, + "real": 0.000379 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.081118, + "real": -0.015143 + }, + { + "imag": -0.737507, + "real": 0.102922 + }, + { + "imag": -0.743155, + "real": 0.105545 + }, + { + "imag": 0.020298, + "real": -0.004789 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.081892, + "real": -0.011748 + }, + { + "imag": -0.740115, + "real": 0.073095 + }, + { + "imag": -0.747463, + "real": 0.075496 + }, + { + "imag": 0.012193, + "real": -0.003215 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.082082, + "real": -0.008704 + }, + { + "imag": -0.742378, + "real": 0.043275 + }, + { + "imag": -0.750865, + "real": 0.046122 + }, + { + "imag": 0.003872, + "real": -0.002013 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.081198, + "real": -0.005695 + }, + { + "imag": -0.744406, + "real": 0.01388 + }, + { + "imag": -0.752487, + "real": 0.016642 + }, + { + "imag": -0.004001, + "real": 1.1e-05 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.078221, + "real": -0.004404 + }, + { + "imag": -0.744421, + "real": -0.015463 + }, + { + "imag": -0.751749, + "real": -0.012755 + }, + { + "imag": -0.012501, + "real": 0.004789 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.075497, + "real": 0.000724 + }, + { + "imag": -0.741864, + "real": -0.044084 + }, + { + "imag": -0.74847, + "real": -0.042381 + }, + { + "imag": -0.022715, + "real": 0.009852 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.075356, + "real": 0.002321 + }, + { + "imag": -0.740372, + "real": -0.073916 + }, + { + "imag": -0.747446, + "real": -0.071751 + }, + { + "imag": -0.029736, + "real": 0.017802 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.072756, + "real": 0.004762 + }, + { + "imag": -0.737025, + "real": -0.103341 + }, + { + "imag": -0.742976, + "real": -0.10037 + }, + { + "imag": -0.036046, + "real": 0.026595 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.070871, + "real": 0.007864 + }, + { + "imag": -0.731558, + "real": -0.133528 + }, + { + "imag": -0.73741, + "real": -0.130104 + }, + { + "imag": -0.041971, + "real": 0.038853 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.066876, + "real": 0.00948 + }, + { + "imag": -0.725447, + "real": -0.162711 + }, + { + "imag": -0.730818, + "real": -0.158301 + }, + { + "imag": -0.045167, + "real": 0.051099 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.064104, + "real": 0.0103 + }, + { + "imag": -0.717559, + "real": -0.192801 + }, + { + "imag": -0.722723, + "real": -0.186485 + }, + { + "imag": -0.046518, + "real": 0.064838 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.059469, + "real": 0.012331 + }, + { + "imag": -0.709167, + "real": -0.220993 + }, + { + "imag": -0.713585, + "real": -0.214092 + }, + { + "imag": -0.045237, + "real": 0.079762 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.054632, + "real": 0.013168 + }, + { + "imag": -0.700188, + "real": -0.250017 + }, + { + "imag": -0.703398, + "real": -0.241686 + }, + { + "imag": -0.040572, + "real": 0.09443 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.051333, + "real": 0.013087 + }, + { + "imag": -0.689919, + "real": -0.279361 + }, + { + "imag": -0.692063, + "real": -0.268743 + }, + { + "imag": -0.030798, + "real": 0.110318 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.046631, + "real": 0.013337 + }, + { + "imag": -0.679769, + "real": -0.308263 + }, + { + "imag": -0.680389, + "real": -0.29596 + }, + { + "imag": -0.016412, + "real": 0.125399 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.041783, + "real": 0.012695 + }, + { + "imag": -0.669503, + "real": -0.336518 + }, + { + "imag": -0.667302, + "real": -0.322966 + }, + { + "imag": -0.000704, + "real": 0.139591 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.039188, + "real": 0.013519 + }, + { + "imag": -0.659511, + "real": -0.365603 + }, + { + "imag": -0.655174, + "real": -0.348364 + }, + { + "imag": 0.020893, + "real": 0.152797 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.03596, + "real": 0.014899 + }, + { + "imag": -0.65003, + "real": -0.393846 + }, + { + "imag": -0.641706, + "real": -0.375295 + }, + { + "imag": 0.047091, + "real": 0.163062 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.033668, + "real": 0.016549 + }, + { + "imag": -0.640697, + "real": -0.421046 + }, + { + "imag": -0.628237, + "real": -0.401522 + }, + { + "imag": 0.074396, + "real": 0.172101 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.031431, + "real": 0.020703 + }, + { + "imag": -0.630307, + "real": -0.449308 + }, + { + "imag": -0.615176, + "real": -0.427547 + }, + { + "imag": 0.105922, + "real": 0.175683 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.030034, + "real": 0.024531 + }, + { + "imag": -0.620932, + "real": -0.476615 + }, + { + "imag": -0.601258, + "real": -0.452352 + }, + { + "imag": 0.140495, + "real": 0.176633 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.027115, + "real": 0.030449 + }, + { + "imag": -0.609333, + "real": -0.507177 + }, + { + "imag": -0.585752, + "real": -0.47712 + }, + { + "imag": 0.1753, + "real": 0.177059 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.02418, + "real": 0.037611 + }, + { + "imag": -0.597368, + "real": -0.53714 + }, + { + "imag": -0.567727, + "real": -0.501038 + }, + { + "imag": 0.214762, + "real": 0.177146 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.021193, + "real": 0.043737 + }, + { + "imag": -0.583236, + "real": -0.568501 + }, + { + "imag": -0.545464, + "real": -0.523644 + }, + { + "imag": 0.253086, + "real": 0.174178 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.017366, + "real": 0.048184 + }, + { + "imag": -0.567097, + "real": -0.598083 + }, + { + "imag": -0.520833, + "real": -0.54404 + }, + { + "imag": 0.290784, + "real": 0.169014 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.014306, + "real": 0.052646 + }, + { + "imag": -0.549897, + "real": -0.622213 + }, + { + "imag": -0.493896, + "real": -0.56132 + }, + { + "imag": 0.326705, + "real": 0.161803 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.011949, + "real": 0.054286 + }, + { + "imag": -0.527793, + "real": -0.642804 + }, + { + "imag": -0.468497, + "real": -0.575491 + }, + { + "imag": 0.35333, + "real": 0.155919 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.012424, + "real": 0.058899 + }, + { + "imag": -0.497765, + "real": -0.659203 + }, + { + "imag": -0.443517, + "real": -0.587606 + }, + { + "imag": 0.370755, + "real": 0.151905 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.015323, + "real": 0.063655 + }, + { + "imag": -0.465433, + "real": -0.670979 + }, + { + "imag": -0.419811, + "real": -0.59856 + }, + { + "imag": 0.372448, + "real": 0.148563 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.019642, + "real": 0.070232 + }, + { + "imag": -0.430901, + "real": -0.678599 + }, + { + "imag": -0.398663, + "real": -0.608639 + }, + { + "imag": 0.359642, + "real": 0.138857 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.023978, + "real": 0.075433 + }, + { + "imag": -0.398822, + "real": -0.684982 + }, + { + "imag": -0.377892, + "real": -0.619114 + }, + { + "imag": 0.339285, + "real": 0.12525 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.028126, + "real": 0.079419 + }, + { + "imag": -0.369936, + "real": -0.686592 + }, + { + "imag": -0.355392, + "real": -0.630307 + }, + { + "imag": 0.311254, + "real": 0.103876 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.030494, + "real": 0.081438 + }, + { + "imag": -0.341706, + "real": -0.688758 + }, + { + "imag": -0.333765, + "real": -0.642501 + }, + { + "imag": 0.279513, + "real": 0.079665 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.032099, + "real": 0.082905 + }, + { + "imag": -0.314958, + "real": -0.692541 + }, + { + "imag": -0.310525, + "real": -0.655248 + }, + { + "imag": 0.250119, + "real": 0.051716 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.032808, + "real": 0.082746 + }, + { + "imag": -0.288403, + "real": -0.694875 + }, + { + "imag": -0.2863, + "real": -0.669593 + }, + { + "imag": 0.220306, + "real": 0.02106 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.034421, + "real": 0.081013 + }, + { + "imag": -0.26041, + "real": -0.697309 + }, + { + "imag": -0.262219, + "real": -0.682939 + }, + { + "imag": 0.193109, + "real": -0.006378 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.035948, + "real": 0.078949 + }, + { + "imag": -0.232066, + "real": -0.700388 + }, + { + "imag": -0.235047, + "real": -0.696319 + }, + { + "imag": 0.168082, + "real": -0.032179 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.039494, + "real": 0.073159 + }, + { + "imag": -0.202192, + "real": -0.701365 + }, + { + "imag": -0.205966, + "real": -0.707506 + }, + { + "imag": 0.144733, + "real": -0.054064 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.043359, + "real": 0.068115 + }, + { + "imag": -0.171815, + "real": -0.703379 + }, + { + "imag": -0.176527, + "real": -0.716571 + }, + { + "imag": 0.120649, + "real": -0.072042 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.045181, + "real": 0.061082 + }, + { + "imag": -0.141956, + "real": -0.702431 + }, + { + "imag": -0.144621, + "real": -0.72355 + }, + { + "imag": 0.101861, + "real": -0.08767 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.046669, + "real": 0.056735 + }, + { + "imag": -0.112349, + "real": -0.70119 + }, + { + "imag": -0.111884, + "real": -0.726291 + }, + { + "imag": 0.08182, + "real": -0.095102 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.047293, + "real": 0.049505 + }, + { + "imag": -0.087772, + "real": -0.698007 + }, + { + "imag": -0.082049, + "real": -0.726168 + }, + { + "imag": 0.061128, + "real": -0.102284 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.045785, + "real": 0.042884 + }, + { + "imag": -0.060642, + "real": -0.694405 + }, + { + "imag": -0.051303, + "real": -0.723487 + }, + { + "imag": 0.04182, + "real": -0.103652 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.042027, + "real": 0.035879 + }, + { + "imag": -0.036031, + "real": -0.690997 + }, + { + "imag": -0.022142, + "real": -0.718739 + }, + { + "imag": 0.022162, + "real": -0.102052 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.037654, + "real": 0.029543 + }, + { + "imag": -0.012394, + "real": -0.687491 + }, + { + "imag": 0.003581, + "real": -0.71223 + }, + { + "imag": 0.004045, + "real": -0.098209 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.031436, + "real": 0.022892 + }, + { + "imag": 0.010958, + "real": -0.685396 + }, + { + "imag": 0.028683, + "real": -0.705824 + }, + { + "imag": -0.011107, + "real": -0.093383 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.026212, + "real": 0.016829 + }, + { + "imag": 0.035022, + "real": -0.683351 + }, + { + "imag": 0.051517, + "real": -0.699119 + }, + { + "imag": -0.02458, + "real": -0.086151 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.021233, + "real": 0.009183 + }, + { + "imag": 0.058955, + "real": -0.68235 + }, + { + "imag": 0.074257, + "real": -0.692432 + }, + { + "imag": -0.035412, + "real": -0.077943 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.016026, + "real": 0.003176 + }, + { + "imag": 0.082406, + "real": -0.681024 + }, + { + "imag": 0.09574, + "real": -0.686658 + }, + { + "imag": -0.041771, + "real": -0.06977 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.008613, + "real": -0.002516 + }, + { + "imag": 0.108401, + "real": -0.68218 + }, + { + "imag": 0.118224, + "real": -0.682243 + }, + { + "imag": -0.046079, + "real": -0.060761 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.001264, + "real": -0.00781 + }, + { + "imag": 0.13435, + "real": -0.682223 + }, + { + "imag": 0.141536, + "real": -0.679323 + }, + { + "imag": -0.048612, + "real": -0.053156 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.005219, + "real": -0.009867 + }, + { + "imag": 0.161704, + "real": -0.682454 + }, + { + "imag": 0.165142, + "real": -0.676905 + }, + { + "imag": -0.046887, + "real": -0.044521 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.013085, + "real": -0.011231 + }, + { + "imag": 0.188573, + "real": -0.681108 + }, + { + "imag": 0.190201, + "real": -0.674683 + }, + { + "imag": -0.04567, + "real": -0.036559 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.019691, + "real": -0.012551 + }, + { + "imag": 0.215391, + "real": -0.679201 + }, + { + "imag": 0.21632, + "real": -0.671598 + }, + { + "imag": -0.040036, + "real": -0.02949 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.028527, + "real": -0.012231 + }, + { + "imag": 0.243786, + "real": -0.674249 + }, + { + "imag": 0.242718, + "real": -0.66856 + }, + { + "imag": -0.03653, + "real": -0.023019 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": -0.035049, + "real": -0.013791 + }, + { + "imag": 0.271979, + "real": -0.666324 + }, + { + "imag": 0.27087, + "real": -0.662929 + }, + { + "imag": -0.029621, + "real": -0.022377 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": -0.039822, + "real": -0.013391 + }, + { + "imag": 0.298965, + "real": -0.658448 + }, + { + "imag": 0.299084, + "real": -0.657298 + }, + { + "imag": -0.025467, + "real": -0.021462 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.046133, + "real": -0.014061 + }, + { + "imag": 0.324478, + "real": -0.646334 + }, + { + "imag": 0.326442, + "real": -0.649307 + }, + { + "imag": -0.018235, + "real": -0.022868 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.051049, + "real": -0.014543 + }, + { + "imag": 0.349264, + "real": -0.632679 + }, + { + "imag": 0.35405, + "real": -0.638774 + }, + { + "imag": -0.012242, + "real": -0.027213 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.054212, + "real": -0.015932 + }, + { + "imag": 0.372755, + "real": -0.616635 + }, + { + "imag": 0.379673, + "real": -0.626469 + }, + { + "imag": -0.00645, + "real": -0.030768 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.057373, + "real": -0.01812 + }, + { + "imag": 0.394579, + "real": -0.599152 + }, + { + "imag": 0.403682, + "real": -0.610868 + }, + { + "imag": -0.001225, + "real": -0.033586 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.060103, + "real": -0.018266 + }, + { + "imag": 0.414736, + "real": -0.580763 + }, + { + "imag": 0.427587, + "real": -0.593008 + }, + { + "imag": 0.003314, + "real": -0.040034 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.061786, + "real": -0.020795 + }, + { + "imag": 0.432653, + "real": -0.560958 + }, + { + "imag": 0.448924, + "real": -0.573198 + }, + { + "imag": 0.009327, + "real": -0.047649 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.065626, + "real": -0.023292 + }, + { + "imag": 0.44899, + "real": -0.540035 + }, + { + "imag": 0.467648, + "real": -0.55271 + }, + { + "imag": 0.010365, + "real": -0.05409 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.067698, + "real": -0.025525 + }, + { + "imag": 0.464216, + "real": -0.519209 + }, + { + "imag": 0.484671, + "real": -0.528844 + }, + { + "imag": 0.013689, + "real": -0.059641 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.067955, + "real": -0.027443 + }, + { + "imag": 0.478178, + "real": -0.498049 + }, + { + "imag": 0.500273, + "real": -0.504754 + }, + { + "imag": 0.011244, + "real": -0.067777 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.067734, + "real": -0.032454 + }, + { + "imag": 0.493308, + "real": -0.477753 + }, + { + "imag": 0.514386, + "real": -0.481168 + }, + { + "imag": 0.008732, + "real": -0.075522 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": -0.068556, + "real": -0.035725 + }, + { + "imag": 0.507337, + "real": -0.457335 + }, + { + "imag": 0.527679, + "real": -0.456659 + }, + { + "imag": 0.007916, + "real": -0.081716 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.065167, + "real": -0.043736 + }, + { + "imag": 0.521127, + "real": -0.436651 + }, + { + "imag": 0.538057, + "real": -0.433296 + }, + { + "imag": 0.005975, + "real": -0.088201 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.065062, + "real": -0.055173 + }, + { + "imag": 0.535689, + "real": -0.416982 + }, + { + "imag": 0.550381, + "real": -0.410186 + }, + { + "imag": 0.003669, + "real": -0.09622 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.066769, + "real": -0.063263 + }, + { + "imag": 0.548768, + "real": -0.398951 + }, + { + "imag": 0.559655, + "real": -0.387052 + }, + { + "imag": -0.000948, + "real": -0.096558 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.067301, + "real": -0.06784 + }, + { + "imag": 0.563974, + "real": -0.379755 + }, + { + "imag": 0.570131, + "real": -0.364553 + }, + { + "imag": -0.002792, + "real": -0.103049 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.066485, + "real": -0.073934 + }, + { + "imag": 0.57912, + "real": -0.359992 + }, + { + "imag": 0.580305, + "real": -0.341331 + }, + { + "imag": -0.004092, + "real": -0.103151 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.067039, + "real": -0.079529 + }, + { + "imag": 0.592732, + "real": -0.340859 + }, + { + "imag": 0.590618, + "real": -0.320403 + }, + { + "imag": -0.001944, + "real": -0.104505 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.06691, + "real": -0.084211 + }, + { + "imag": 0.607761, + "real": -0.319219 + }, + { + "imag": 0.603466, + "real": -0.295209 + }, + { + "imag": -0.00119, + "real": -0.104713 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.066718, + "real": -0.089709 + }, + { + "imag": 0.620641, + "real": -0.297919 + }, + { + "imag": 0.616581, + "real": -0.277774 + }, + { + "imag": 0.001805, + "real": -0.104849 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.065639, + "real": -0.095146 + }, + { + "imag": 0.634936, + "real": -0.273911 + }, + { + "imag": 0.628308, + "real": -0.255837 + }, + { + "imag": 0.003838, + "real": -0.100876 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.066699, + "real": -0.102235 + }, + { + "imag": 0.647521, + "real": -0.251334 + }, + { + "imag": 0.6396, + "real": -0.232653 + }, + { + "imag": 0.007555, + "real": -0.100155 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.067682, + "real": -0.108693 + }, + { + "imag": 0.659088, + "real": -0.227893 + }, + { + "imag": 0.65112, + "real": -0.20979 + }, + { + "imag": 0.010085, + "real": -0.098179 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": -0.068847, + "real": -0.116372 + }, + { + "imag": 0.667592, + "real": -0.203123 + }, + { + "imag": 0.660559, + "real": -0.187797 + }, + { + "imag": 0.013977, + "real": -0.095824 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": -0.07107, + "real": -0.131033 + }, + { + "imag": 0.675054, + "real": -0.176235 + }, + { + "imag": 0.671269, + "real": -0.163569 + }, + { + "imag": 0.030667, + "real": -0.095841 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": -0.071206, + "real": -0.134318 + }, + { + "imag": 0.680276, + "real": -0.151802 + }, + { + "imag": 0.676942, + "real": -0.139088 + }, + { + "imag": 0.028194, + "real": -0.091553 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": -0.071377, + "real": -0.136495 + }, + { + "imag": 0.684963, + "real": -0.126516 + }, + { + "imag": 0.682714, + "real": -0.114441 + }, + { + "imag": 0.0342, + "real": -0.090833 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": -0.069737, + "real": -0.138971 + }, + { + "imag": 0.687075, + "real": -0.09966 + }, + { + "imag": 0.685963, + "real": -0.08921 + }, + { + "imag": 0.040629, + "real": -0.091163 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": -0.069104, + "real": -0.140696 + }, + { + "imag": 0.688953, + "real": -0.072199 + }, + { + "imag": 0.688702, + "real": -0.063472 + }, + { + "imag": 0.051674, + "real": -0.089218 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": -0.065554, + "real": -0.141625 + }, + { + "imag": 0.687545, + "real": -0.047225 + }, + { + "imag": 0.690229, + "real": -0.038626 + }, + { + "imag": 0.057534, + "real": -0.090913 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": -0.061774, + "real": -0.142704 + }, + { + "imag": 0.687663, + "real": -0.020828 + }, + { + "imag": 0.689741, + "real": -0.013428 + }, + { + "imag": 0.066862, + "real": -0.090449 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.057002, + "real": -0.144367 + }, + { + "imag": 0.686264, + "real": 0.00473 + }, + { + "imag": 0.688257, + "real": 0.010514 + }, + { + "imag": 0.07443, + "real": -0.092462 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.05081, + "real": -0.144573 + }, + { + "imag": 0.683601, + "real": 0.029538 + }, + { + "imag": 0.685201, + "real": 0.035504 + }, + { + "imag": 0.079505, + "real": -0.093978 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": -0.04497, + "real": -0.146763 + }, + { + "imag": 0.680935, + "real": 0.053504 + }, + { + "imag": 0.680392, + "real": 0.058315 + }, + { + "imag": 0.088794, + "real": -0.098163 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": -0.037643, + "real": -0.149775 + }, + { + "imag": 0.67655, + "real": 0.079222 + }, + { + "imag": 0.675763, + "real": 0.082416 + }, + { + "imag": 0.095267, + "real": -0.100752 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": -0.028314, + "real": -0.153324 + }, + { + "imag": 0.671464, + "real": 0.105159 + }, + { + "imag": 0.669327, + "real": 0.105184 + }, + { + "imag": 0.101944, + "real": -0.104717 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": -0.019444, + "real": -0.157251 + }, + { + "imag": 0.667185, + "real": 0.129138 + }, + { + "imag": 0.661653, + "real": 0.129909 + }, + { + "imag": 0.106118, + "real": -0.10685 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": -0.009621, + "real": -0.160754 + }, + { + "imag": 0.661814, + "real": 0.153177 + }, + { + "imag": 0.654742, + "real": 0.151977 + }, + { + "imag": 0.112961, + "real": -0.109749 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.002129, + "real": -0.164921 + }, + { + "imag": 0.655022, + "real": 0.176323 + }, + { + "imag": 0.646363, + "real": 0.174511 + }, + { + "imag": 0.11921, + "real": -0.112445 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.011933, + "real": -0.169695 + }, + { + "imag": 0.64839, + "real": 0.202437 + }, + { + "imag": 0.637411, + "real": 0.198832 + }, + { + "imag": 0.124786, + "real": -0.11719 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.02253, + "real": -0.173876 + }, + { + "imag": 0.640501, + "real": 0.227338 + }, + { + "imag": 0.627731, + "real": 0.221495 + }, + { + "imag": 0.131037, + "real": -0.117594 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.032177, + "real": -0.177607 + }, + { + "imag": 0.632385, + "real": 0.251692 + }, + { + "imag": 0.6176, + "real": 0.245116 + }, + { + "imag": 0.137767, + "real": -0.117861 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.042495, + "real": -0.180205 + }, + { + "imag": 0.623261, + "real": 0.27537 + }, + { + "imag": 0.606183, + "real": 0.268055 + }, + { + "imag": 0.142964, + "real": -0.117904 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.053284, + "real": -0.1823 + }, + { + "imag": 0.613919, + "real": 0.299797 + }, + { + "imag": 0.595035, + "real": 0.291508 + }, + { + "imag": 0.145632, + "real": -0.117066 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.065273, + "real": -0.188436 + }, + { + "imag": 0.604141, + "real": 0.32292 + }, + { + "imag": 0.584935, + "real": 0.310153 + }, + { + "imag": 0.153323, + "real": -0.117482 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.077225, + "real": -0.194387 + }, + { + "imag": 0.592814, + "real": 0.346183 + }, + { + "imag": 0.57117, + "real": 0.334267 + }, + { + "imag": 0.157581, + "real": -0.113589 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.084084, + "real": -0.200573 + }, + { + "imag": 0.581782, + "real": 0.36761 + }, + { + "imag": 0.557497, + "real": 0.354404 + }, + { + "imag": 0.162788, + "real": -0.1088 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.091348, + "real": -0.207232 + }, + { + "imag": 0.570652, + "real": 0.38842 + }, + { + "imag": 0.543079, + "real": 0.375572 + }, + { + "imag": 0.169187, + "real": -0.107042 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.097688, + "real": -0.212432 + }, + { + "imag": 0.555429, + "real": 0.409743 + }, + { + "imag": 0.527825, + "real": 0.395235 + }, + { + "imag": 0.175631, + "real": -0.102175 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.105789, + "real": -0.215374 + }, + { + "imag": 0.543128, + "real": 0.429733 + }, + { + "imag": 0.514924, + "real": 0.415224 + }, + { + "imag": 0.184097, + "real": -0.097666 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.107832, + "real": -0.21909 + }, + { + "imag": 0.528788, + "real": 0.448252 + }, + { + "imag": 0.498285, + "real": 0.432827 + }, + { + "imag": 0.190067, + "real": -0.093436 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.113642, + "real": -0.221979 + }, + { + "imag": 0.513288, + "real": 0.466059 + }, + { + "imag": 0.484141, + "real": 0.452881 + }, + { + "imag": 0.198348, + "real": -0.08901 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.117498, + "real": -0.224743 + }, + { + "imag": 0.496478, + "real": 0.483272 + }, + { + "imag": 0.466163, + "real": 0.470251 + }, + { + "imag": 0.205729, + "real": -0.084221 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.124823, + "real": -0.224394 + }, + { + "imag": 0.479277, + "real": 0.498311 + }, + { + "imag": 0.449989, + "real": 0.486436 + }, + { + "imag": 0.21311, + "real": -0.079084 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.129889, + "real": -0.225202 + }, + { + "imag": 0.45956, + "real": 0.512741 + }, + { + "imag": 0.432662, + "real": 0.500621 + }, + { + "imag": 0.222142, + "real": -0.073723 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.134661, + "real": -0.223476 + }, + { + "imag": 0.438783, + "real": 0.526245 + }, + { + "imag": 0.415605, + "real": 0.51576 + }, + { + "imag": 0.227269, + "real": -0.067011 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.139754, + "real": -0.221771 + }, + { + "imag": 0.418838, + "real": 0.542172 + }, + { + "imag": 0.399371, + "real": 0.531013 + }, + { + "imag": 0.23552, + "real": -0.063017 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.144884, + "real": -0.218231 + }, + { + "imag": 0.396915, + "real": 0.554078 + }, + { + "imag": 0.382693, + "real": 0.542615 + }, + { + "imag": 0.241607, + "real": -0.056899 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.148957, + "real": -0.214022 + }, + { + "imag": 0.374457, + "real": 0.567849 + }, + { + "imag": 0.36448, + "real": 0.554864 + }, + { + "imag": 0.248238, + "real": -0.052426 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.154166, + "real": -0.208008 + }, + { + "imag": 0.353682, + "real": 0.58053 + }, + { + "imag": 0.346905, + "real": 0.565468 + }, + { + "imag": 0.254438, + "real": -0.045669 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.160399, + "real": -0.201263 + }, + { + "imag": 0.331548, + "real": 0.593176 + }, + { + "imag": 0.331708, + "real": 0.578111 + }, + { + "imag": 0.258368, + "real": -0.041333 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.165616, + "real": -0.195441 + }, + { + "imag": 0.310406, + "real": 0.605077 + }, + { + "imag": 0.315227, + "real": 0.587334 + }, + { + "imag": 0.263348, + "real": -0.033706 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.169223, + "real": -0.184402 + }, + { + "imag": 0.290229, + "real": 0.616503 + }, + { + "imag": 0.297316, + "real": 0.599009 + }, + { + "imag": 0.267916, + "real": -0.027186 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.17492, + "real": -0.176682 + }, + { + "imag": 0.26795, + "real": 0.628641 + }, + { + "imag": 0.278216, + "real": 0.611385 + }, + { + "imag": 0.27276, + "real": -0.019328 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.18068, + "real": -0.164888 + }, + { + "imag": 0.245098, + "real": 0.64102 + }, + { + "imag": 0.258762, + "real": 0.620967 + }, + { + "imag": 0.273875, + "real": -0.016234 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.184527, + "real": -0.153833 + }, + { + "imag": 0.221307, + "real": 0.65262 + }, + { + "imag": 0.237123, + "real": 0.632766 + }, + { + "imag": 0.277, + "real": -0.00443 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.189416, + "real": -0.140735 + }, + { + "imag": 0.198035, + "real": 0.661992 + }, + { + "imag": 0.213686, + "real": 0.645569 + }, + { + "imag": 0.281015, + "real": 0.003251 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.195427, + "real": -0.130414 + }, + { + "imag": 0.171598, + "real": 0.672639 + }, + { + "imag": 0.190155, + "real": 0.656587 + }, + { + "imag": 0.283493, + "real": 0.010789 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.203628, + "real": -0.11858 + }, + { + "imag": 0.144096, + "real": 0.683137 + }, + { + "imag": 0.164843, + "real": 0.666041 + }, + { + "imag": 0.282999, + "real": 0.020283 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.207196, + "real": -0.105878 + }, + { + "imag": 0.114866, + "real": 0.69204 + }, + { + "imag": 0.13602, + "real": 0.678569 + }, + { + "imag": 0.2869, + "real": 0.032784 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.213528, + "real": -0.094109 + }, + { + "imag": 0.089362, + "real": 0.698697 + }, + { + "imag": 0.10442, + "real": 0.684651 + }, + { + "imag": 0.284708, + "real": 0.040923 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.221108, + "real": -0.085672 + }, + { + "imag": 0.05936, + "real": 0.704202 + }, + { + "imag": 0.072677, + "real": 0.690578 + }, + { + "imag": 0.29021, + "real": 0.05149 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.225314, + "real": -0.076869 + }, + { + "imag": 0.030679, + "real": 0.707085 + }, + { + "imag": 0.039728, + "real": 0.695005 + }, + { + "imag": 0.293667, + "real": 0.060495 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 0.233561, + "real": -0.058799 + }, + { + "imag": 0.001829, + "real": 0.705574 + }, + { + "imag": 0.009772, + "real": 0.692319 + }, + { + "imag": 0.292989, + "real": 0.07271 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 0.239315, + "real": -0.04115 + }, + { + "imag": -0.027748, + "real": 0.702429 + }, + { + "imag": -0.021843, + "real": 0.689332 + }, + { + "imag": 0.291756, + "real": 0.083209 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P34_THROUGH", + "ports": 2 + } + }, + "type": "Through" + }, + { + "params": { + "C0": 0.0, + "C1": 0.0, + "C2": 0.0, + "C3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 1466270487027956330, + "loss": 0.0, + "name": "Port 4", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": 0.233078, + "real": 0.812099 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.052078, + "real": 0.969992 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.068235, + "real": 0.960965 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.096937, + "real": 0.958675 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.125458, + "real": 0.952331 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.151452, + "real": 0.946042 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.180338, + "real": 0.942251 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.20627, + "real": 0.936455 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.232448, + "real": 0.930056 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.257068, + "real": 0.923046 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.280952, + "real": 0.915986 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.30523, + "real": 0.907556 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.328712, + "real": 0.899359 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.352642, + "real": 0.89019 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.376475, + "real": 0.880123 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.400203, + "real": 0.869291 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.423076, + "real": 0.858419 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.44639, + "real": 0.846173 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.469629, + "real": 0.833345 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.492166, + "real": 0.819715 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.514606, + "real": 0.805331 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.537732, + "real": 0.789429 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.559453, + "real": 0.774286 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.580802, + "real": 0.757744 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.602311, + "real": 0.740044 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.624052, + "real": 0.721632 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.642912, + "real": 0.704903 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.662095, + "real": 0.685912 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.681091, + "real": 0.667271 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.699295, + "real": 0.648073 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.717059, + "real": 0.62851 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.734028, + "real": 0.608463 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.75031, + "real": 0.589423 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.766273, + "real": 0.570077 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.781774, + "real": 0.550181 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.797045, + "real": 0.529886 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.811526, + "real": 0.509936 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.825587, + "real": 0.488651 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.838708, + "real": 0.469399 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.852757, + "real": 0.446801 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.865727, + "real": 0.423764 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.877342, + "real": 0.403654 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.888851, + "real": 0.381483 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.900313, + "real": 0.357192 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.910139, + "real": 0.332633 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.919148, + "real": 0.307522 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.92787, + "real": 0.281499 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.934659, + "real": 0.255688 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.941147, + "real": 0.229964 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.946362, + "real": 0.201179 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.95041, + "real": 0.174174 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.953183, + "real": 0.145581 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.95448, + "real": 0.117172 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.954685, + "real": 0.088277 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.954537, + "real": 0.059967 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.953436, + "real": 0.031123 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.951022, + "real": 0.002983 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.94956, + "real": -0.021367 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.945171, + "real": -0.053532 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.941279, + "real": -0.082385 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.937044, + "real": -0.110144 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.932297, + "real": -0.138688 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.927387, + "real": -0.166044 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.922671, + "real": -0.191071 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.917863, + "real": -0.220133 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.912369, + "real": -0.246917 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.906036, + "real": -0.273177 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.900045, + "real": -0.298798 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.893259, + "real": -0.320299 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.884586, + "real": -0.351615 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.875466, + "real": -0.377471 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.865453, + "real": -0.403309 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.85467, + "real": -0.42809 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.841912, + "real": -0.452642 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.82859, + "real": -0.477327 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.811895, + "real": -0.503752 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.797909, + "real": -0.528019 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.780427, + "real": -0.548692 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.762527, + "real": -0.571025 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.743535, + "real": -0.59297 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.723783, + "real": -0.614421 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.703921, + "real": -0.634814 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.683838, + "real": -0.654584 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.663661, + "real": -0.674636 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.643778, + "real": -0.693381 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.620658, + "real": -0.713963 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.60398, + "real": -0.728951 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.583558, + "real": -0.746421 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.564205, + "real": -0.76315 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.545276, + "real": -0.778853 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.526116, + "real": -0.792816 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.507434, + "real": -0.808675 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.486896, + "real": -0.823063 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.467839, + "real": -0.83545 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.447115, + "real": -0.848034 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.426937, + "real": -0.860454 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.404814, + "real": -0.872544 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.382636, + "real": -0.883864 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.360697, + "real": -0.893652 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.335908, + "real": -0.903455 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.311484, + "real": -0.911472 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.285106, + "real": -0.918652 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.257702, + "real": -0.925027 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.231017, + "real": -0.929855 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.204558, + "real": -0.932001 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.177526, + "real": -0.938451 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.140833, + "real": -0.944786 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.11838, + "real": -0.944864 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.089135, + "real": -0.94694 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.059982, + "real": -0.947861 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.03064, + "real": -0.948482 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.002783, + "real": -0.948468 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": 0.025515, + "real": -0.947815 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": 0.053275, + "real": -0.946488 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": 0.079009, + "real": -0.945177 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": 0.105515, + "real": -0.94392 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": 0.132412, + "real": -0.941757 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": 0.158155, + "real": -0.938452 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": 0.183469, + "real": -0.9353630000000001 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": 0.208782, + "real": -0.931987 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": 0.248736, + "real": -0.922484 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": 0.257914, + "real": -0.9228 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": 0.282579, + "real": -0.917116 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": 0.307279, + "real": -0.909897 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": 0.33177, + "real": -0.902537 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": 0.3561, + "real": -0.890147 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": 0.38084, + "real": -0.883938 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": 0.406182, + "real": -0.873844 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": 0.431182, + "real": -0.861302 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": 0.45544, + "real": -0.848617 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": 0.479583, + "real": -0.835257 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": 0.504031, + "real": -0.821121 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": 0.528163, + "real": -0.806155 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": 0.552087, + "real": -0.790311 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": 0.574841, + "real": -0.77436 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": 0.596766, + "real": -0.758707 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": 0.618322, + "real": -0.741368 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": 0.640139, + "real": -0.723521 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": 0.660584, + "real": -0.706006 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": 0.680609, + "real": -0.687996 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": 0.699622, + "real": -0.670034 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": 0.717365, + "real": -0.653196 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": 0.736403, + "real": -0.632149 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": 0.754087, + "real": -0.613257 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": 0.771277, + "real": -0.593094 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.786951, + "real": -0.572961 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.802231, + "real": -0.55186 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.817032, + "real": -0.530896 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.831222, + "real": -0.508685 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.844869, + "real": -0.484306 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.857641, + "real": -0.456926 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.870202, + "real": -0.437454 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.882631, + "real": -0.411788 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.894439, + "real": -0.38779 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.904914, + "real": -0.363328 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.915847, + "real": -0.337191 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.926595, + "real": -0.308689 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.935614, + "real": -0.280813 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.94337, + "real": -0.25331 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.950451, + "real": -0.225738 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.956817, + "real": -0.198497 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.961959, + "real": -0.170989 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.966489, + "real": -0.143322 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.970873, + "real": -0.116311 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.974179, + "real": -0.089113 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.97677, + "real": -0.062009 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.97855, + "real": -0.035505 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.979078, + "real": -0.008782 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.980002, + "real": 0.017517 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.97863, + "real": 0.045207 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.977759, + "real": 0.07097 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.976574, + "real": 0.099281 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.973953, + "real": 0.125694 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.970243, + "real": 0.151743 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.966883, + "real": 0.177829 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.962325, + "real": 0.203974 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.954071, + "real": 0.239305 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.949623, + "real": 0.258242 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.942769, + "real": 0.2852 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.936115, + "real": 0.311817 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.928501, + "real": 0.338864 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.919679, + "real": 0.363777 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.910391, + "real": 0.388697 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.900867, + "real": 0.413903 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.890776, + "real": 0.438562 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.879403, + "real": 0.462951 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.867518, + "real": 0.486555 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.854944, + "real": 0.510421 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.841734, + "real": 0.533408 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.826921, + "real": 0.555951 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.811067, + "real": 0.578541 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.794464, + "real": 0.600655 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.776871, + "real": 0.62187 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.757856, + "real": 0.642729 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.737635, + "real": 0.663401 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.715208, + "real": 0.682875 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.692549, + "real": 0.701001 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.667081, + "real": 0.722559 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.641473, + "real": 0.741682 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.614702, + "real": 0.759054 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.587556, + "real": 0.778052 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.560141, + "real": 0.795888 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.530506, + "real": 0.812615 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.501666, + "real": 0.828328 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.471122, + "real": 0.843732 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.440644, + "real": 0.857952 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.411012, + "real": 0.871584 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.381937, + "real": 0.883292 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.352138, + "real": 0.89473 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.319893, + "real": 0.905443 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.289816, + "real": 0.91484 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.259379, + "real": 0.922693 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.229959, + "real": 0.930353 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.201293, + "real": 0.935944 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.173373, + "real": 0.941189 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.145594, + "real": 0.944794 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.118528, + "real": 0.947941 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.084323, + "real": 0.949673 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.065472, + "real": 0.95188 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.039202, + "real": 0.953722 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.013742, + "real": 0.953467 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": -0.012644, + "real": 0.953275 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": -0.038069, + "real": 0.951751 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": -0.064133, + "real": 0.950526 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": -0.088447, + "real": 0.950778 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": -0.112942, + "real": 0.947493 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": -0.140855, + "real": 0.949737 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": -0.169858, + "real": 0.951402 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": -0.19796, + "real": 0.948974 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": -0.228073, + "real": 0.944466 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": -0.257912, + "real": 0.937902 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": -0.288125, + "real": 0.929463 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": -0.318701, + "real": 0.917647 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": -0.348175, + "real": 0.90521 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": -0.377001, + "real": 0.893181 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": -0.40515, + "real": 0.880233 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": -0.433041, + "real": 0.865668 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": -0.460922, + "real": 0.851742 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": -0.486628, + "real": 0.835003 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": -0.510081, + "real": 0.817289 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": -0.533586, + "real": 0.799102 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": -0.558767, + "real": 0.78052 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": -0.579819, + "real": 0.762347 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": -0.602301, + "real": 0.742339 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": -0.623707, + "real": 0.722711 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": -0.627715, + "real": 0.707021 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": -0.667994, + "real": 0.684236 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": -0.688499, + "real": 0.664895 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": -0.707566, + "real": 0.646972 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": -0.727157, + "real": 0.627791 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": -0.744848, + "real": 0.61025 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": -0.762007, + "real": 0.591565 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": -0.779428, + "real": 0.570261 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": -0.795863, + "real": 0.547767 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": -0.810246, + "real": 0.523282 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": -0.824106, + "real": 0.500173 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": -0.836455, + "real": 0.47525 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": -0.849151, + "real": 0.450078 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": -0.860539, + "real": 0.423489 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": -0.870963, + "real": 0.397233 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": -0.880748, + "real": 0.370193 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": -0.888591, + "real": 0.342681 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": -0.89656, + "real": 0.317624 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": -0.900375, + "real": 0.284262 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": -0.904096, + "real": 0.25364 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": -0.909024, + "real": 0.222882 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": -0.912918, + "real": 0.192742 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": -0.918032, + "real": 0.16024 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": -0.920878, + "real": 0.130406 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": -0.925053, + "real": 0.100478 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": -0.926947, + "real": 0.071646 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": -0.929304, + "real": 0.04611 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": -0.932375, + "real": 0.019795 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": -0.933299, + "real": -0.006056 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": -0.933949, + "real": -0.031598 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": -0.93308, + "real": -0.062211 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.930203, + "real": -0.088902 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.928664, + "real": -0.113275 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.925768, + "real": -0.13852 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.923252, + "real": -0.163256 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.918632, + "real": -0.186946 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.91446, + "real": -0.212787 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.909818, + "real": -0.234755 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.903805, + "real": -0.259545 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.896638, + "real": -0.283482 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.88769, + "real": -0.307228 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.877106, + "real": -0.331922 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.865597, + "real": -0.357961 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.854979, + "real": -0.381474 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.843143, + "real": -0.406344 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.829444, + "real": -0.432285 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.816677, + "real": -0.454886 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.805129, + "real": -0.480194 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.791656, + "real": -0.499419 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.77916, + "real": -0.519255 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.765285, + "real": -0.539058 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.746227, + "real": -0.563366 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.730364, + "real": -0.5841 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.714075, + "real": -0.603535 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.696032, + "real": -0.622946 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.677998, + "real": -0.642098 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.659677, + "real": -0.659395 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.638933, + "real": -0.677104 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.619174, + "real": -0.694342 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.598016, + "real": -0.71128 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.575888, + "real": -0.727052 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.555144, + "real": -0.74469 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.529697, + "real": -0.760786 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.504874, + "real": -0.776573 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.481412, + "real": -0.792123 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.456243, + "real": -0.80758 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.430542, + "real": -0.821921 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.403897, + "real": -0.836557 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.378366, + "real": -0.849723 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.353303, + "real": -0.863305 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.328052, + "real": -0.876668 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.304565, + "real": -0.88651 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.277409, + "real": -0.897859 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.253957, + "real": -0.910284 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.230348, + "real": -0.921015 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.206479, + "real": -0.93058 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.183756, + "real": -0.93891 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.159445, + "real": -0.947045 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.134405, + "real": -0.952908 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.114447, + "real": -0.960787 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.09444, + "real": -0.968558 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.070165, + "real": -0.971527 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.043446, + "real": -0.97563 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.021515, + "real": -0.980299 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.004952, + "real": -0.981907 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.029712, + "real": -0.982552 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": 0.056617, + "real": -0.984122 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": 0.083846, + "real": -0.984445 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": 0.110337, + "real": -0.982116 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": 0.139348, + "real": -0.981438 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": 0.166863, + "real": -0.977846 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.195629, + "real": -0.973514 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.224601, + "real": -0.968115 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": 0.254274, + "real": -0.962286 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": 0.287968, + "real": -0.952521 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": 0.315536, + "real": -0.948303 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.343898, + "real": -0.940913 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.372901, + "real": -0.932844 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": 0.4021, + "real": -0.923154 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": 0.432637, + "real": -0.915127 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": 0.462607, + "real": -0.904879 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.491376, + "real": -0.895451 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.519424, + "real": -0.884606 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.545264, + "real": -0.875446 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.57488, + "real": -0.864487 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.602374, + "real": -0.854246 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.629087, + "real": -0.843637 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.652985, + "real": -0.832586 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.683392, + "real": -0.822123 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.703843, + "real": -0.811008 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.721394, + "real": -0.8029 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.752912, + "real": -0.787539 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.778986, + "real": -0.775194 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.785961, + "real": -0.75218 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.819942, + "real": -0.743564 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.840329, + "real": -0.724947 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.861832, + "real": -0.699842 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.878547, + "real": -0.678161 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.894192, + "real": -0.66006 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.910899, + "real": -0.637354 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.927203, + "real": -0.613546 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.940516, + "real": -0.585458 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.956022, + "real": -0.560357 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.969749, + "real": -0.533842 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.984778, + "real": -0.504769 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 1.00068, + "real": -0.4748 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 1.01477, + "real": -0.450082 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 1.02783, + "real": -0.424908 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 1.03983, + "real": -0.396088 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 1.04631, + "real": -0.370047 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 1.0588, + "real": -0.337928 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 1.0723800000000001, + "real": -0.315553 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 1.08384, + "real": -0.290836 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 1.09543, + "real": -0.262832 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 1.10423, + "real": -0.236456 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 1.11081, + "real": -0.20868 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 1.11568, + "real": -0.179121 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 1.1206, + "real": -0.145794 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 1.12183, + "real": -0.111854 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 1.1239, + "real": -0.07902 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 1.12102, + "real": -0.046156 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 1.12213, + "real": -0.015835 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 1.12092, + "real": 0.01734 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 1.11771, + "real": 0.052496 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 1.11261, + "real": 0.091641 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 1.10358, + "real": 0.129022 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 1.09747, + "real": 0.170159 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 1.09333, + "real": 0.210374 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 1.0858, + "real": 0.249579 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 1.08105, + "real": 0.286894 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 1.07442, + "real": 0.326153 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 1.07089, + "real": 0.363671 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 1.06683, + "real": 0.401127 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 1.06601, + "real": 0.433663 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 1.06542, + "real": 0.468563 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 1.06633, + "real": 0.501675 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 1.06597, + "real": 0.536702 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 1.06531, + "real": 0.566956 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 1.06508, + "real": 0.601554 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 1.06218, + "real": 0.636122 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 1.05912, + "real": 0.665385 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 1.05395, + "real": 0.698799 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 1.05062, + "real": 0.722923 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 1.04707, + "real": 0.748599 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 1.03887, + "real": 0.774344 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 1.02247, + "real": 0.802033 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 1.00654, + "real": 0.823726 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.986217, + "real": 0.857717 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.96361, + "real": 0.881513 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.936436, + "real": 0.913017 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.905526, + "real": 0.936652 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.87606, + "real": 0.966867 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.844822, + "real": 0.988829 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.812247, + "real": 1.01494 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.778087, + "real": 1.03586 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.74288, + "real": 1.05407 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.707094, + "real": 1.07369 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.672413, + "real": 1.09163 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.638315, + "real": 1.10975 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.599349, + "real": 1.13047 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.564447, + "real": 1.14591 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.531742, + "real": 1.15893 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.496309, + "real": 1.17365 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.46097, + "real": 1.18725 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.428364, + "real": 1.19723 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.395406, + "real": 1.20553 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.361801, + "real": 1.21726 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.32429, + "real": 1.22763 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.283731, + "real": 1.23267 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.241675, + "real": 1.24015 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.198176, + "real": 1.24593 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.154684, + "real": 1.25184 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.106477, + "real": 1.25558 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.060546, + "real": 1.25489 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.006284, + "real": 1.25783 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.036524, + "real": 1.25287 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.086492, + "real": 1.25071 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.13424, + "real": 1.24699 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.180431, + "real": 1.23871 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.22448, + "real": 1.22795 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.269926, + "real": 1.21809 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.311315, + "real": 1.20262 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": -0.355899, + "real": 1.18519 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": -0.39445, + "real": 1.16783 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": -0.436252, + "real": 1.14677 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": -0.471745, + "real": 1.11423 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": -0.509879, + "real": 1.09656 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": -0.546781, + "real": 1.08103 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": -0.58503, + "real": 1.06627 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": -0.620265, + "real": 1.05302 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": -0.656474, + "real": 1.04078 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": -0.690487, + "real": 1.02545 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": -0.719094, + "real": 1.01372 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": -0.746773, + "real": 1.00259 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": -0.775146, + "real": 0.988165 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": -0.801615, + "real": 0.973279 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": -0.825269, + "real": 0.958347 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": -0.846853, + "real": 0.938107 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": -0.869358, + "real": 0.919825 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": -0.885739, + "real": 0.899755 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": -0.900969, + "real": 0.873959 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": -0.926025, + "real": 0.847169 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": -0.936883, + "real": 0.812168 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": -0.947844, + "real": 0.778254 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": -0.960059, + "real": 0.741187 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": -0.965012, + "real": 0.696092 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": -0.97846, + "real": 0.654421 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": -0.984402, + "real": 0.610151 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": -0.991627, + "real": 0.565057 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": -0.996854, + "real": 0.523784 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": -1.00278, + "real": 0.476834 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": -1.01119, + "real": 0.434958 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": -1.0158, + "real": 0.395751 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": -1.02464, + "real": 0.356544 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": -1.03115, + "real": 0.313615 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": -1.03478, + "real": 0.272817 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": -1.04222, + "real": 0.235311 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -1.05253, + "real": 0.199981 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -1.05833, + "real": 0.165446 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -1.06778, + "real": 0.133133 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -1.07343, + "real": 0.098232 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -1.07959, + "real": 0.064877 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -1.0854, + "real": 0.030499 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -1.09285, + "real": -0.000157 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -1.09781, + "real": -0.031886 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -1.10406, + "real": -0.063842 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -1.10334, + "real": -0.091825 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -1.1031, + "real": -0.11683 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -1.10434, + "real": -0.147836 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -1.10369, + "real": -0.172847 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -1.09487, + "real": -0.199621 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -1.08426, + "real": -0.223914 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -1.07298, + "real": -0.246876 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -1.06157, + "real": -0.27115 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -1.04107, + "real": -0.295491 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -1.02011, + "real": -0.321303 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P4_OPEN", + "ports": 1 + } + }, + "type": "Open" + }, + { + "params": { + "L0": 0.0, + "L1": 0.0, + "L2": 0.0, + "L3": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 12608976180789876735, + "loss": 0.0, + "name": "Port 4", + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.301351, + "real": -0.583433 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": 0.03301, + "real": -0.737999 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": 0.043894, + "real": -0.73227 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": 0.064592, + "real": -0.731305 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": 0.084698, + "real": -0.726674 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": 0.10308, + "real": -0.722186 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": 0.125343, + "real": -0.719234 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": 0.146221, + "real": -0.714479 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": 0.167403, + "real": -0.708836 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": 0.187973, + "real": -0.702686 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": 0.208819, + "real": -0.69607 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": 0.230224, + "real": -0.688285 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": 0.250993, + "real": -0.680719 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": 0.272368, + "real": -0.672254 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": 0.29325, + "real": -0.663275 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": 0.313949, + "real": -0.653872 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": 0.333788, + "real": -0.644291 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": 0.353324, + "real": -0.633874 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": 0.371896, + "real": -0.623509 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": 0.390556, + "real": -0.612804 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": 0.408543, + "real": -0.601552 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": 0.426035, + "real": -0.589652 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.442965, + "real": -0.578531 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": 0.459451, + "real": -0.566248 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": 0.475763, + "real": -0.553122 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": 0.492218, + "real": -0.539137 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": 0.505833, + "real": -0.52757 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": 0.521578, + "real": -0.511754 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": 0.53599, + "real": -0.497139 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": 0.550474, + "real": -0.481323 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": 0.564457, + "real": -0.464612 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": 0.577872, + "real": -0.446896 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": 0.590278, + "real": -0.429697 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": 0.602395, + "real": -0.41158 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": 0.614108, + "real": -0.392721 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": 0.625871, + "real": -0.372411 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": 0.636252, + "real": -0.352668 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": 0.646202, + "real": -0.331885 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": 0.655094, + "real": -0.311368 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": 0.6641, + "real": -0.289598 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": 0.672112, + "real": -0.267546 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": 0.679738, + "real": -0.247391 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": 0.686858, + "real": -0.226495 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.69381, + "real": -0.204847 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": 0.700004, + "real": -0.183635 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": 0.705762, + "real": -0.162866 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": 0.711051, + "real": -0.142091 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": 0.715759, + "real": -0.121548 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": 0.72061, + "real": -0.102056 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": 0.725112, + "real": -0.080581 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": 0.728789, + "real": -0.060331 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": 0.732654, + "real": -0.040207 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": 0.736084, + "real": -0.01986 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": 0.739029, + "real": 0.000474 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": 0.741216, + "real": 0.019851 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": 0.742722, + "real": 0.040649 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": 0.74403, + "real": 0.060391 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": 0.744594, + "real": 0.077849 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": 0.743456, + "real": 0.100373 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": 0.741775, + "real": 0.120668 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": 0.73927, + "real": 0.140354 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": 0.73602, + "real": 0.160965 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": 0.73144, + "real": 0.181127 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": 0.726921, + "real": 0.200052 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": 0.720501, + "real": 0.221097 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": 0.713392, + "real": 0.240844 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": 0.705692, + "real": 0.260524 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": 0.697172, + "real": 0.27972 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": 0.690402, + "real": 0.294173 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": 0.678439, + "real": 0.318917 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": 0.668567, + "real": 0.337595 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": 0.65789, + "real": 0.356308 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": 0.647059, + "real": 0.374984 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": 0.636527, + "real": 0.393219 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": 0.625589, + "real": 0.411265 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": 0.613036, + "real": 0.430952 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": 0.601612, + "real": 0.446427 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": 0.590708, + "real": 0.463961 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": 0.578565, + "real": 0.480386 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": 0.565986, + "real": 0.4961 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": 0.552595, + "real": 0.512175 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": 0.538342, + "real": 0.527487 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": 0.523411, + "real": 0.542624 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": 0.507701, + "real": 0.557075 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": 0.491531, + "real": 0.570834 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": 0.471941, + "real": 0.585184 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.456525, + "real": 0.597959 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": 0.437079, + "real": 0.611475 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": 0.41694, + "real": 0.623402 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": 0.396874, + "real": 0.63504 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": 0.377495, + "real": 0.64699 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": 0.35478, + "real": 0.65755 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": 0.330879, + "real": 0.668062 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": 0.310275, + "real": 0.67665 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": 0.286978, + "real": 0.68681 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": 0.265166, + "real": 0.694765 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": 0.242365, + "real": 0.703168 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": 0.21991, + "real": 0.712095 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": 0.198648, + "real": 0.718952 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": 0.176534, + "real": 0.726007 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": 0.155558, + "real": 0.73241 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": 0.133918, + "real": 0.738898 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": 0.112724, + "real": 0.744646 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": 0.092481, + "real": 0.749223 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": 0.071883, + "real": 0.752753 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": 0.052538, + "real": 0.757192 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": 0.029096, + "real": 0.760619 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": 0.011794, + "real": 0.762523 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.00785, + "real": 0.764159 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.028538, + "real": 0.764886 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.049668, + "real": 0.765284 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.06994, + "real": 0.764152 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.091213, + "real": 0.76218 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.112217, + "real": 0.759063 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.132394, + "real": 0.755752 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.155629, + "real": 0.751488 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.177812, + "real": 0.746184 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.198495, + "real": 0.738592 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.220691, + "real": 0.731492 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.242379, + "real": 0.723422 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.278901, + "real": 0.715788 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.285479, + "real": 0.706063 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.307119, + "real": 0.696545 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.328192, + "real": 0.686287 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.349056, + "real": 0.67617 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.369194, + "real": 0.665009 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.388727, + "real": 0.65383 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.407279, + "real": 0.642308 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.426081, + "real": 0.630309 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.444266, + "real": 0.618144 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.46209, + "real": 0.605314 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.479307, + "real": 0.592132 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.496099, + "real": 0.578757 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.512321, + "real": 0.564998 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.528258, + "real": 0.549844 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.543901, + "real": 0.535291 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.558743, + "real": 0.520041 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.574524, + "real": 0.502963 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.589335, + "real": 0.486004 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": -0.603304, + "real": 0.468713 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": -0.617275, + "real": 0.450216 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": -0.629425, + "real": 0.432683 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": -0.643219, + "real": 0.411121 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": -0.656261, + "real": 0.390251 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": -0.667866, + "real": 0.370363 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": -0.679322, + "real": 0.349912 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": -0.689629, + "real": 0.328822 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": -0.69979, + "real": 0.307645 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": -0.708946, + "real": 0.286601 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": -0.717004, + "real": 0.265018 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": -0.724202, + "real": 0.243396 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": -0.731659, + "real": 0.222258 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": -0.737811, + "real": 0.200876 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": -0.743398, + "real": 0.179549 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": -0.749089, + "real": 0.159493 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": -0.754501, + "real": 0.138382 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": -0.758677, + "real": 0.115171 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": -0.761628, + "real": 0.093307 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": -0.764046, + "real": 0.071906 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": -0.766221, + "real": 0.04995 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": -0.76747, + "real": 0.028506 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": -0.768121, + "real": 0.006764 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": -0.768325, + "real": -0.015309 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": -0.767572, + "real": -0.037369 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": -0.766495, + "real": -0.060127 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": -0.76531, + "real": -0.082694 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": -0.763105, + "real": -0.105185 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": -0.760272, + "real": -0.127701 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.756886, + "real": -0.150118 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": -0.752597, + "real": -0.172929 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.748181, + "real": -0.194816 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": -0.742522, + "real": -0.217065 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": -0.736343, + "real": -0.239163 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.72948, + "real": -0.260575 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": -0.721957, + "real": -0.281883 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": -0.71407, + "real": -0.303203 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": -0.701402, + "real": -0.326188 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": -0.694479, + "real": -0.344973 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": -0.684905, + "real": -0.364886 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": -0.674218, + "real": -0.384864 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": -0.662799, + "real": -0.40423 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": -0.650274, + "real": -0.423431 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": -0.637014, + "real": -0.442589 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": -0.623232, + "real": -0.461028 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": -0.608966, + "real": -0.480219 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": -0.595167, + "real": -0.498251 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": -0.580351, + "real": -0.516395 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": -0.564871, + "real": -0.534966 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": -0.549529, + "real": -0.553534 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": -0.533623, + "real": -0.570492 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": -0.517519, + "real": -0.587515 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": -0.501522, + "real": -0.604853 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": -0.485698, + "real": -0.620445 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": -0.469193, + "real": -0.63614 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": -0.453469, + "real": -0.651262 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": -0.437965, + "real": -0.665974 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": -0.421937, + "real": -0.680322 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": -0.406663, + "real": -0.693766 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": -0.390383, + "real": -0.705853 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": -0.374505, + "real": -0.717043 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": -0.359195, + "real": -0.728586 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": -0.343695, + "real": -0.739022 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": -0.3278, + "real": -0.749743 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": -0.312687, + "real": -0.759057 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": -0.29704, + "real": -0.767571 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": -0.280527, + "real": -0.776394 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": -0.263271, + "real": -0.783428 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": -0.245925, + "real": -0.789061 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": -0.227345, + "real": -0.795401 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": -0.207499, + "real": -0.802162 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": -0.186813, + "real": -0.807068 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": -0.164752, + "real": -0.811718 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": -0.143434, + "real": -0.815701 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": -0.120261, + "real": -0.820264 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": -0.097972, + "real": -0.823863 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": -0.07546, + "real": -0.825415 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": -0.052095, + "real": -0.827451 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": -0.026909, + "real": -0.831476 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": -0.005079, + "real": -0.828394 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.019924, + "real": -0.826988 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.045808, + "real": -0.824206 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.069921, + "real": -0.821182 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.092975, + "real": -0.818189 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.115511, + "real": -0.814549 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.137502, + "real": -0.811325 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.16163, + "real": -0.808402 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.181879, + "real": -0.80573 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.200993, + "real": -0.800208 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.221388, + "real": -0.796054 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.241256, + "real": -0.79091 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.262454, + "real": -0.784148 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.281289, + "real": -0.779119 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.301127, + "real": -0.771804 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.321046, + "real": -0.766105 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.341679, + "real": -0.758173 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.362534, + "real": -0.750969 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.382347, + "real": -0.743627 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.401415, + "real": -0.734938 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.42091, + "real": -0.726596 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.439121, + "real": -0.717184 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.457096, + "real": -0.706952 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.474487, + "real": -0.695703 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.494798, + "real": -0.680802 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.513027, + "real": -0.664337 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.531109, + "real": -0.64976 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.549786, + "real": -0.640949 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.567231, + "real": -0.617565 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.584936, + "real": -0.601381 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.602661, + "real": -0.583938 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.619801, + "real": -0.566858 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.637511, + "real": -0.546676 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.65262, + "real": -0.529219 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.666831, + "real": -0.510383 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.681406, + "real": -0.491367 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.696693, + "real": -0.469992 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.710708, + "real": -0.450429 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.72632, + "real": -0.43126 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.740353, + "real": -0.413375 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.756812, + "real": -0.393297 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.770781, + "real": -0.375927 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.783282, + "real": -0.360278 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.796477, + "real": -0.344176 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.806733, + "real": -0.326469 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.819351, + "real": -0.309722 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.830974, + "real": -0.287149 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.840262, + "real": -0.267976 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.849589, + "real": -0.248036 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.857333, + "real": -0.228471 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.865136, + "real": -0.209248 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.871237, + "real": -0.188828 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.877522, + "real": -0.166624 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.883299, + "real": -0.144791 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.887227, + "real": -0.120786 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.889362, + "real": -0.098478 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.891717, + "real": -0.072987 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.8906, + "real": -0.047362 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": 0.891015, + "real": -0.022131 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": 0.889931, + "real": 0.004311 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": 0.888118, + "real": 0.032818 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": 0.887141, + "real": 0.060881 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": 0.885559, + "real": 0.087949 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": 0.883189, + "real": 0.114634 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": 0.879364, + "real": 0.140254 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": 0.876598, + "real": 0.163308 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": 0.87193, + "real": 0.186897 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": 0.866716, + "real": 0.213078 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": 0.858413, + "real": 0.243532 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": 0.852437, + "real": 0.268236 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": 0.845139, + "real": 0.292263 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": 0.837247, + "real": 0.31646 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": 0.827831, + "real": 0.339636 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": 0.820159, + "real": 0.364083 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": 0.806943, + "real": 0.388327 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": 0.799628, + "real": 0.409841 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": 0.790061, + "real": 0.433938 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": 0.775236, + "real": 0.458373 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": 0.762312, + "real": 0.480541 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": 0.747497, + "real": 0.502039 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": 0.733685, + "real": 0.524813 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": 0.717663, + "real": 0.547677 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": 0.701456, + "real": 0.569981 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": 0.685587, + "real": 0.590678 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": 0.669377, + "real": 0.612793 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": 0.652577, + "real": 0.633339 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": 0.636539, + "real": 0.653507 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": 0.620327, + "real": 0.66964 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": 0.605378, + "real": 0.686177 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": 0.585672, + "real": 0.702004 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": 0.567597, + "real": 0.722323 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": 0.550056, + "real": 0.738404 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": 0.531777, + "real": 0.751661 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": 0.51395, + "real": 0.767131 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": 0.496194, + "real": 0.781156 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": 0.478007, + "real": 0.793071 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": 0.45776, + "real": 0.804914 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": 0.437372, + "real": 0.813409 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": 0.41663, + "real": 0.824681 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": 0.392847, + "real": 0.835463 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": 0.369884, + "real": 0.843749 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": 0.346133, + "real": 0.849898 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": 0.322441, + "real": 0.858773 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": 0.295387, + "real": 0.86313 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": 0.268316, + "real": 0.86841 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": 0.240719, + "real": 0.875858 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": 0.215135, + "real": 0.87702 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": 0.188522, + "real": 0.881618 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": 0.160217, + "real": 0.883108 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": 0.132737, + "real": 0.88412 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": 0.107463, + "real": 0.884231 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": 0.076599, + "real": 0.884641 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": 0.048395, + "real": 0.886179 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": 0.021018, + "real": 0.887058 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.005552, + "real": 0.885753 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.030561, + "real": 0.886641 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.056659, + "real": 0.885135 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.080261, + "real": 0.881644 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.106124, + "real": 0.878938 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.128944, + "real": 0.875306 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.154877, + "real": 0.871563 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.178136, + "real": 0.866801 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.201056, + "real": 0.861023 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.223632, + "real": 0.854855 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.242673, + "real": 0.847557 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.265305, + "real": 0.839961 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.286846, + "real": 0.831481 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.306927, + "real": 0.821123 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.326557, + "real": 0.809538 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.346152, + "real": 0.797993 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": -0.364444, + "real": 0.782269 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": -0.382699, + "real": 0.767432 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": -0.401138, + "real": 0.748295 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.423001, + "real": 0.730744 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.441395, + "real": 0.717645 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": -0.458116, + "real": 0.700127 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": -0.477213, + "real": 0.683649 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": -0.493287, + "real": 0.670817 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.511936, + "real": 0.649066 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.53, + "real": 0.628594 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": -0.552825, + "real": 0.601366 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": -0.564982, + "real": 0.591048 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": -0.581566, + "real": 0.571375 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": -0.598322, + "real": 0.552315 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": -0.617554, + "real": 0.533398 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": -0.634251, + "real": 0.515757 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": -0.651263, + "real": 0.499305 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": -0.667284, + "real": 0.479687 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": -0.680896, + "real": 0.46255 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": -0.696826, + "real": 0.444286 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": -0.710967, + "real": 0.426356 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": -0.723045, + "real": 0.406425 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": -0.735314, + "real": 0.387909 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": -0.743855, + "real": 0.367029 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": -0.754793, + "real": 0.338705 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": -0.764249, + "real": 0.316423 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": -0.774258, + "real": 0.296483 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": -0.78254, + "real": 0.276236 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": -0.787879, + "real": 0.252049 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": -0.794604, + "real": 0.227479 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": -0.800439, + "real": 0.202869 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": -0.806666, + "real": 0.178573 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": -0.810484, + "real": 0.153119 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": -0.81479, + "real": 0.127777 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": -0.820904, + "real": 0.102314 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": -0.826109, + "real": 0.077846 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": -0.829872, + "real": 0.054224 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": -0.8349800000000001, + "real": 0.030842 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": -0.839239, + "real": 0.009018 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": -0.842641, + "real": -0.010732 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": -0.844078, + "real": -0.03085 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": -0.848624, + "real": -0.050934 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": -0.849998, + "real": -0.072398 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": -0.851786, + "real": -0.090637 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": -0.850828, + "real": -0.110225 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": -0.849055, + "real": -0.131889 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": -0.842122, + "real": -0.153837 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": -0.835976, + "real": -0.173556 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": -0.828576, + "real": -0.191777 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": -0.821437, + "real": -0.209182 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": -0.812193, + "real": -0.226945 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": -0.799745, + "real": -0.246179 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": -0.786436, + "real": -0.267844 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": -0.769264, + "real": -0.286615 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": -0.750942, + "real": -0.307295 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": -0.730811, + "real": -0.328612 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": -0.711171, + "real": -0.350687 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": -0.689618, + "real": -0.37202 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": -0.671505, + "real": -0.39332 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": -0.651765, + "real": -0.413601 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": -0.63247, + "real": -0.433278 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": -0.614639, + "real": -0.453925 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": -0.599744, + "real": -0.473976 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": -0.583919, + "real": -0.492211 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": -0.56622, + "real": -0.51129 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": -0.550155, + "real": -0.530388 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": -0.533965, + "real": -0.548424 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": -0.519193, + "real": -0.566783 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": -0.504234, + "real": -0.582367 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": -0.490263, + "real": -0.598503 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": -0.476377, + "real": -0.61326 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": -0.463423, + "real": -0.628206 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": -0.450554, + "real": -0.643984 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": -0.43588, + "real": -0.658621 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": -0.419408, + "real": -0.673228 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": -0.403529, + "real": -0.686873 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": -0.386709, + "real": -0.700719 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": -0.367603, + "real": -0.713902 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": -0.349459, + "real": -0.727626 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": -0.330971, + "real": -0.739861 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": -0.31252, + "real": -0.751118 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": -0.293181, + "real": -0.762485 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": -0.274508, + "real": -0.774714 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": -0.257587, + "real": -0.783312 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": -0.238612, + "real": -0.792032 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": -0.22055, + "real": -0.801128 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": -0.201841, + "real": -0.808862 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": -0.184888, + "real": -0.814813 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": -0.165502, + "real": -0.82072 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": -0.151808, + "real": -0.826132 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": -0.135429, + "real": -0.831969 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": -0.118478, + "real": -0.834677 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": -0.105407, + "real": -0.839308 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": -0.090508, + "real": -0.840062 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": -0.076685, + "real": -0.842741 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": -0.061353, + "real": -0.846473 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": -0.045306, + "real": -0.84823 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": -0.029185, + "real": -0.84953 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": -0.011652, + "real": -0.850753 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.005917, + "real": -0.852789 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.024352, + "real": -0.854659 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.041218, + "real": -0.857253 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.057769, + "real": -0.866501 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.076998, + "real": -0.867393 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.098752, + "real": -0.86472 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.119908, + "real": -0.860605 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.141834, + "real": -0.854825 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.167313, + "real": -0.846711 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.195366, + "real": -0.837704 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.218038, + "real": -0.828335 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.246468, + "real": -0.816402 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.272454, + "real": -0.806836 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.2987, + "real": -0.797106 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.329016, + "real": -0.787462 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.356495, + "real": -0.77847 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.383333, + "real": -0.771766 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.411048, + "real": -0.766474 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.438413, + "real": -0.76322 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.463669, + "real": -0.758515 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.489667, + "real": -0.758334 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.515398, + "real": -0.754917 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.539764, + "real": -0.752768 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.562468, + "real": -0.752639 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.583353, + "real": -0.750504 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.600809, + "real": -0.750668 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.621313, + "real": -0.750174 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.640045, + "real": -0.744322 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.659028, + "real": -0.738898 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.68638, + "real": -0.724535 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.691169, + "real": -0.733467 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.707416, + "real": -0.727817 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.724163, + "real": -0.715114 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.738186, + "real": -0.703661 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.75499, + "real": -0.68822 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": 0.771046, + "real": -0.670085 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": 0.786172, + "real": -0.650397 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": 0.800727, + "real": -0.631511 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": 0.813987, + "real": -0.60806 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": 0.826635, + "real": -0.582884 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": 0.842351, + "real": -0.559525 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": 0.855801, + "real": -0.534732 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": 0.864552, + "real": -0.508462 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": 0.876431, + "real": -0.47179 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": 0.888887, + "real": -0.44141 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": 0.90161, + "real": -0.410685 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": 0.919402, + "real": -0.382602 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": 0.930746, + "real": -0.352446 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": 0.945394, + "real": -0.323333 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": 0.95843, + "real": -0.294145 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": 0.972329, + "real": -0.266741 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": 0.988223, + "real": -0.23644 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": 1.0051, + "real": -0.211011 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": 1.01958, + "real": -0.179741 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P4_SHORT", + "ports": 1 + } + }, + "type": "Short" + }, + { + "params": { + "Cfirst": true, + "Cparallel": 0.0, + "Lseries": 0.0, + "Z0": 50.0, + "delay": 0.0, + "id": 4079273652709059873, + "loss": 1.0175046346627003e-120, + "name": "Port 4", + "resistance": 50.0, + "touchstone": { + "datapoints": [ + { + "Sparams": [ + { + "imag": -0.04529, + "real": 0.078102 + } + ], + "frequency": 1000000.0 + }, + { + "Sparams": [ + { + "imag": -0.004473, + "real": 0.059654 + } + ], + "frequency": 12998000.0 + }, + { + "Sparams": [ + { + "imag": -0.006382, + "real": 0.055304 + } + ], + "frequency": 24996000.0 + }, + { + "Sparams": [ + { + "imag": -0.008655, + "real": 0.05588 + } + ], + "frequency": 36994000.0 + }, + { + "Sparams": [ + { + "imag": -0.01055, + "real": 0.05624 + } + ], + "frequency": 48992000.0 + }, + { + "Sparams": [ + { + "imag": -0.012382, + "real": 0.056787 + } + ], + "frequency": 60990000.0 + }, + { + "Sparams": [ + { + "imag": -0.013929, + "real": 0.057954 + } + ], + "frequency": 72988000.0 + }, + { + "Sparams": [ + { + "imag": -0.015146, + "real": 0.058825 + } + ], + "frequency": 84986000.0 + }, + { + "Sparams": [ + { + "imag": -0.016521, + "real": 0.059803 + } + ], + "frequency": 96984000.0 + }, + { + "Sparams": [ + { + "imag": -0.017944, + "real": 0.06047 + } + ], + "frequency": 108982000.0 + }, + { + "Sparams": [ + { + "imag": -0.01848, + "real": 0.060997 + } + ], + "frequency": 120980000.0 + }, + { + "Sparams": [ + { + "imag": -0.01878, + "real": 0.061632 + } + ], + "frequency": 132978000.00000001 + }, + { + "Sparams": [ + { + "imag": -0.019177, + "real": 0.062079 + } + ], + "frequency": 144976000.0 + }, + { + "Sparams": [ + { + "imag": -0.019089, + "real": 0.062178 + } + ], + "frequency": 156974000.0 + }, + { + "Sparams": [ + { + "imag": -0.019341, + "real": 0.062198 + } + ], + "frequency": 168972000.0 + }, + { + "Sparams": [ + { + "imag": -0.019468, + "real": 0.061811 + } + ], + "frequency": 180970000.0 + }, + { + "Sparams": [ + { + "imag": -0.019527, + "real": 0.061591 + } + ], + "frequency": 192968000.0 + }, + { + "Sparams": [ + { + "imag": -0.019805, + "real": 0.06105 + } + ], + "frequency": 204966000.0 + }, + { + "Sparams": [ + { + "imag": -0.020431, + "real": 0.060438 + } + ], + "frequency": 216964000.0 + }, + { + "Sparams": [ + { + "imag": -0.02085, + "real": 0.059721 + } + ], + "frequency": 228962000.0 + }, + { + "Sparams": [ + { + "imag": -0.021149, + "real": 0.058922 + } + ], + "frequency": 240960000.0 + }, + { + "Sparams": [ + { + "imag": -0.021961, + "real": 0.057897 + } + ], + "frequency": 252958000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.022755, + "real": 0.05717 + } + ], + "frequency": 264956000.00000003 + }, + { + "Sparams": [ + { + "imag": -0.023862, + "real": 0.056263 + } + ], + "frequency": 276954000.0 + }, + { + "Sparams": [ + { + "imag": -0.025185, + "real": 0.055478 + } + ], + "frequency": 288952000.0 + }, + { + "Sparams": [ + { + "imag": -0.026135, + "real": 0.054528 + } + ], + "frequency": 300950000.0 + }, + { + "Sparams": [ + { + "imag": -0.027553, + "real": 0.053364 + } + ], + "frequency": 312948000.0 + }, + { + "Sparams": [ + { + "imag": -0.029008, + "real": 0.052861 + } + ], + "frequency": 324946000.0 + }, + { + "Sparams": [ + { + "imag": -0.030688, + "real": 0.051954 + } + ], + "frequency": 336944000.0 + }, + { + "Sparams": [ + { + "imag": -0.032599, + "real": 0.051183 + } + ], + "frequency": 348942000.0 + }, + { + "Sparams": [ + { + "imag": -0.034912, + "real": 0.05066 + } + ], + "frequency": 360940000.0 + }, + { + "Sparams": [ + { + "imag": -0.036823, + "real": 0.050626 + } + ], + "frequency": 372938000.0 + }, + { + "Sparams": [ + { + "imag": -0.038598, + "real": 0.050803 + } + ], + "frequency": 384936000.0 + }, + { + "Sparams": [ + { + "imag": -0.040518, + "real": 0.051206 + } + ], + "frequency": 396934000.0 + }, + { + "Sparams": [ + { + "imag": -0.042024, + "real": 0.051615 + } + ], + "frequency": 408932000.0 + }, + { + "Sparams": [ + { + "imag": -0.043355, + "real": 0.052138 + } + ], + "frequency": 420930000.0 + }, + { + "Sparams": [ + { + "imag": -0.044635, + "real": 0.052577 + } + ], + "frequency": 432928000.0 + }, + { + "Sparams": [ + { + "imag": -0.045615, + "real": 0.053204 + } + ], + "frequency": 444926000.0 + }, + { + "Sparams": [ + { + "imag": -0.046383, + "real": 0.053881 + } + ], + "frequency": 456924000.0 + }, + { + "Sparams": [ + { + "imag": -0.047227, + "real": 0.054389 + } + ], + "frequency": 468922000.0 + }, + { + "Sparams": [ + { + "imag": -0.048027, + "real": 0.054626 + } + ], + "frequency": 480920000.0 + }, + { + "Sparams": [ + { + "imag": -0.047938, + "real": 0.055537 + } + ], + "frequency": 492918000.0 + }, + { + "Sparams": [ + { + "imag": -0.048238, + "real": 0.055964 + } + ], + "frequency": 504916000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.048321, + "real": 0.056315 + } + ], + "frequency": 516914000.0 + }, + { + "Sparams": [ + { + "imag": -0.048215, + "real": 0.056416 + } + ], + "frequency": 528912000.00000006 + }, + { + "Sparams": [ + { + "imag": -0.047522, + "real": 0.056286 + } + ], + "frequency": 540910000.0 + }, + { + "Sparams": [ + { + "imag": -0.047139, + "real": 0.0561 + } + ], + "frequency": 552908000.0 + }, + { + "Sparams": [ + { + "imag": -0.046772, + "real": 0.055611 + } + ], + "frequency": 564906000.0 + }, + { + "Sparams": [ + { + "imag": -0.045909, + "real": 0.054668 + } + ], + "frequency": 576904000.0 + }, + { + "Sparams": [ + { + "imag": -0.045464, + "real": 0.053705 + } + ], + "frequency": 588902000.0 + }, + { + "Sparams": [ + { + "imag": -0.044951, + "real": 0.052458 + } + ], + "frequency": 600900000.0 + }, + { + "Sparams": [ + { + "imag": -0.04468, + "real": 0.050613 + } + ], + "frequency": 612898000.0 + }, + { + "Sparams": [ + { + "imag": -0.044478, + "real": 0.048784 + } + ], + "frequency": 624896000.0 + }, + { + "Sparams": [ + { + "imag": -0.044431, + "real": 0.047054 + } + ], + "frequency": 636894000.0 + }, + { + "Sparams": [ + { + "imag": -0.044565, + "real": 0.045157 + } + ], + "frequency": 648892000.0 + }, + { + "Sparams": [ + { + "imag": -0.045125, + "real": 0.043292 + } + ], + "frequency": 660890000.0 + }, + { + "Sparams": [ + { + "imag": -0.045558, + "real": 0.041414 + } + ], + "frequency": 672888000.0 + }, + { + "Sparams": [ + { + "imag": -0.046468, + "real": 0.039833 + } + ], + "frequency": 684886000.0 + }, + { + "Sparams": [ + { + "imag": -0.046529, + "real": 0.037368 + } + ], + "frequency": 696884000.0 + }, + { + "Sparams": [ + { + "imag": -0.047285, + "real": 0.035348 + } + ], + "frequency": 708882000.0 + }, + { + "Sparams": [ + { + "imag": -0.04794, + "real": 0.033212 + } + ], + "frequency": 720880000.0 + }, + { + "Sparams": [ + { + "imag": -0.048977, + "real": 0.031415 + } + ], + "frequency": 732878000.0 + }, + { + "Sparams": [ + { + "imag": -0.050004, + "real": 0.02963 + } + ], + "frequency": 744876000.0 + }, + { + "Sparams": [ + { + "imag": -0.050862, + "real": 0.02832 + } + ], + "frequency": 756874000.0 + }, + { + "Sparams": [ + { + "imag": -0.052098, + "real": 0.026595 + } + ], + "frequency": 768872000.0 + }, + { + "Sparams": [ + { + "imag": -0.052927, + "real": 0.024887 + } + ], + "frequency": 780870000.0 + }, + { + "Sparams": [ + { + "imag": -0.053917, + "real": 0.023571 + } + ], + "frequency": 792868000.0 + }, + { + "Sparams": [ + { + "imag": -0.054816, + "real": 0.022034 + } + ], + "frequency": 804866000.0 + }, + { + "Sparams": [ + { + "imag": -0.054049, + "real": 0.020732 + } + ], + "frequency": 816864000.0 + }, + { + "Sparams": [ + { + "imag": -0.055797, + "real": 0.019624 + } + ], + "frequency": 828862000.0 + }, + { + "Sparams": [ + { + "imag": -0.055864, + "real": 0.018052 + } + ], + "frequency": 840860000.0 + }, + { + "Sparams": [ + { + "imag": -0.056445, + "real": 0.016405 + } + ], + "frequency": 852858000.0 + }, + { + "Sparams": [ + { + "imag": -0.056393, + "real": 0.014769 + } + ], + "frequency": 864856000.0 + }, + { + "Sparams": [ + { + "imag": -0.056654, + "real": 0.012812 + } + ], + "frequency": 876854000.0 + }, + { + "Sparams": [ + { + "imag": -0.056911, + "real": 0.010583 + } + ], + "frequency": 888852000.0 + }, + { + "Sparams": [ + { + "imag": -0.056936, + "real": 0.008624 + } + ], + "frequency": 900850000.0 + }, + { + "Sparams": [ + { + "imag": -0.057746, + "real": 0.005791 + } + ], + "frequency": 912848000.0 + }, + { + "Sparams": [ + { + "imag": -0.057398, + "real": 0.004175 + } + ], + "frequency": 924846000.0 + }, + { + "Sparams": [ + { + "imag": -0.057779, + "real": 0.001678 + } + ], + "frequency": 936844000.0 + }, + { + "Sparams": [ + { + "imag": -0.058049, + "real": -0.000784 + } + ], + "frequency": 948842000.0 + }, + { + "Sparams": [ + { + "imag": -0.058451, + "real": -0.003319 + } + ], + "frequency": 960840000.0 + }, + { + "Sparams": [ + { + "imag": -0.058947, + "real": -0.00598 + } + ], + "frequency": 972838000.0 + }, + { + "Sparams": [ + { + "imag": -0.059567, + "real": -0.00861 + } + ], + "frequency": 984836000.0 + }, + { + "Sparams": [ + { + "imag": -0.060248, + "real": -0.011548 + } + ], + "frequency": 996834000.0 + }, + { + "Sparams": [ + { + "imag": -0.061058, + "real": -0.014386 + } + ], + "frequency": 1008832000.0 + }, + { + "Sparams": [ + { + "imag": -0.061963, + "real": -0.017771 + } + ], + "frequency": 1020829999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.063396, + "real": -0.019011 + } + ], + "frequency": 1032828000.0000001 + }, + { + "Sparams": [ + { + "imag": -0.064706, + "real": -0.021586 + } + ], + "frequency": 1044826000.0 + }, + { + "Sparams": [ + { + "imag": -0.06637, + "real": -0.023962 + } + ], + "frequency": 1056824000.0 + }, + { + "Sparams": [ + { + "imag": -0.067912, + "real": -0.02582 + } + ], + "frequency": 1068821999.9999999 + }, + { + "Sparams": [ + { + "imag": -0.068984, + "real": -0.02717 + } + ], + "frequency": 1080820000.0 + }, + { + "Sparams": [ + { + "imag": -0.070499, + "real": -0.028963 + } + ], + "frequency": 1092818000.0 + }, + { + "Sparams": [ + { + "imag": -0.072281, + "real": -0.030166 + } + ], + "frequency": 1104816000.0 + }, + { + "Sparams": [ + { + "imag": -0.073243, + "real": -0.030944 + } + ], + "frequency": 1116814000.0 + }, + { + "Sparams": [ + { + "imag": -0.074223, + "real": -0.031678 + } + ], + "frequency": 1128812000.0 + }, + { + "Sparams": [ + { + "imag": -0.074547, + "real": -0.03306 + } + ], + "frequency": 1140810000.0 + }, + { + "Sparams": [ + { + "imag": -0.075155, + "real": -0.033869 + } + ], + "frequency": 1152808000.0 + }, + { + "Sparams": [ + { + "imag": -0.075587, + "real": -0.034365 + } + ], + "frequency": 1164806000.0 + }, + { + "Sparams": [ + { + "imag": -0.075971, + "real": -0.034983 + } + ], + "frequency": 1176804000.0 + }, + { + "Sparams": [ + { + "imag": -0.076056, + "real": -0.035354 + } + ], + "frequency": 1188802000.0 + }, + { + "Sparams": [ + { + "imag": -0.075863, + "real": -0.035669 + } + ], + "frequency": 1200800000.0 + }, + { + "Sparams": [ + { + "imag": -0.075434, + "real": -0.035931 + } + ], + "frequency": 1212798000.0 + }, + { + "Sparams": [ + { + "imag": -0.074519, + "real": -0.036155 + } + ], + "frequency": 1224796000.0 + }, + { + "Sparams": [ + { + "imag": -0.0737, + "real": -0.036072 + } + ], + "frequency": 1236794000.0 + }, + { + "Sparams": [ + { + "imag": -0.072931, + "real": -0.036046 + } + ], + "frequency": 1248792000.0 + }, + { + "Sparams": [ + { + "imag": -0.071475, + "real": -0.037682 + } + ], + "frequency": 1260790000.0 + }, + { + "Sparams": [ + { + "imag": -0.067956, + "real": -0.040258 + } + ], + "frequency": 1272788000.0 + }, + { + "Sparams": [ + { + "imag": -0.067594, + "real": -0.039828 + } + ], + "frequency": 1284786000.0 + }, + { + "Sparams": [ + { + "imag": -0.065425, + "real": -0.041305 + } + ], + "frequency": 1296784000.0 + }, + { + "Sparams": [ + { + "imag": -0.06337, + "real": -0.042772 + } + ], + "frequency": 1308782000.0 + }, + { + "Sparams": [ + { + "imag": -0.061417, + "real": -0.044345 + } + ], + "frequency": 1320780000.0 + }, + { + "Sparams": [ + { + "imag": -0.05925, + "real": -0.046421 + } + ], + "frequency": 1332778000.0 + }, + { + "Sparams": [ + { + "imag": -0.057239, + "real": -0.048387 + } + ], + "frequency": 1344776000.0 + }, + { + "Sparams": [ + { + "imag": -0.055097, + "real": -0.050451 + } + ], + "frequency": 1356774000.0 + }, + { + "Sparams": [ + { + "imag": -0.053185, + "real": -0.052427 + } + ], + "frequency": 1368772000.0 + }, + { + "Sparams": [ + { + "imag": -0.051216, + "real": -0.05454 + } + ], + "frequency": 1380770000.0 + }, + { + "Sparams": [ + { + "imag": -0.049863, + "real": -0.056724 + } + ], + "frequency": 1392768000.0 + }, + { + "Sparams": [ + { + "imag": -0.047519, + "real": -0.059124 + } + ], + "frequency": 1404766000.0 + }, + { + "Sparams": [ + { + "imag": -0.045698, + "real": -0.061653 + } + ], + "frequency": 1416764000.0 + }, + { + "Sparams": [ + { + "imag": -0.043823, + "real": -0.064412 + } + ], + "frequency": 1428762000.0 + }, + { + "Sparams": [ + { + "imag": -0.042994, + "real": -0.06416 + } + ], + "frequency": 1440760000.0 + }, + { + "Sparams": [ + { + "imag": -0.041355, + "real": -0.069724 + } + ], + "frequency": 1452758000.0 + }, + { + "Sparams": [ + { + "imag": -0.040384, + "real": -0.071805 + } + ], + "frequency": 1464756000.0 + }, + { + "Sparams": [ + { + "imag": -0.039122, + "real": -0.073746 + } + ], + "frequency": 1476754000.0 + }, + { + "Sparams": [ + { + "imag": -0.038185, + "real": -0.075782 + } + ], + "frequency": 1488752000.0 + }, + { + "Sparams": [ + { + "imag": -0.037571, + "real": -0.077973 + } + ], + "frequency": 1500750000.0 + }, + { + "Sparams": [ + { + "imag": -0.035937, + "real": -0.078696 + } + ], + "frequency": 1512748000.0 + }, + { + "Sparams": [ + { + "imag": -0.034698, + "real": -0.080686 + } + ], + "frequency": 1524746000.0 + }, + { + "Sparams": [ + { + "imag": -0.033333, + "real": -0.082191 + } + ], + "frequency": 1536744000.0 + }, + { + "Sparams": [ + { + "imag": -0.031832, + "real": -0.083299 + } + ], + "frequency": 1548742000.0 + }, + { + "Sparams": [ + { + "imag": -0.030653, + "real": -0.084492 + } + ], + "frequency": 1560740000.0 + }, + { + "Sparams": [ + { + "imag": -0.028982, + "real": -0.08548 + } + ], + "frequency": 1572738000.0 + }, + { + "Sparams": [ + { + "imag": -0.027429, + "real": -0.086486 + } + ], + "frequency": 1584736000.0 + }, + { + "Sparams": [ + { + "imag": -0.025277, + "real": -0.087872 + } + ], + "frequency": 1596734000.0 + }, + { + "Sparams": [ + { + "imag": -0.023405, + "real": -0.089065 + } + ], + "frequency": 1608732000.0 + }, + { + "Sparams": [ + { + "imag": -0.02183, + "real": -0.090081 + } + ], + "frequency": 1620730000.0 + }, + { + "Sparams": [ + { + "imag": -0.019752, + "real": -0.09076 + } + ], + "frequency": 1632728000.0 + }, + { + "Sparams": [ + { + "imag": -0.017816, + "real": -0.091529 + } + ], + "frequency": 1644726000.0 + }, + { + "Sparams": [ + { + "imag": -0.015615, + "real": -0.092719 + } + ], + "frequency": 1656724000.0 + }, + { + "Sparams": [ + { + "imag": -0.013506, + "real": -0.093347 + } + ], + "frequency": 1668722000.0 + }, + { + "Sparams": [ + { + "imag": -0.011401, + "real": -0.093993 + } + ], + "frequency": 1680720000.0 + }, + { + "Sparams": [ + { + "imag": -0.008864, + "real": -0.094743 + } + ], + "frequency": 1692718000.0 + }, + { + "Sparams": [ + { + "imag": -0.006545, + "real": -0.095617 + } + ], + "frequency": 1704716000.0 + }, + { + "Sparams": [ + { + "imag": -0.004073, + "real": -0.096596 + } + ], + "frequency": 1716714000.0 + }, + { + "Sparams": [ + { + "imag": -0.001546, + "real": -0.097747 + } + ], + "frequency": 1728712000.0 + }, + { + "Sparams": [ + { + "imag": 0.000227, + "real": -0.098596 + } + ], + "frequency": 1740710000.0 + }, + { + "Sparams": [ + { + "imag": 0.002434, + "real": -0.099373 + } + ], + "frequency": 1752708000.0 + }, + { + "Sparams": [ + { + "imag": 0.004593, + "real": -0.100219 + } + ], + "frequency": 1764706000.0 + }, + { + "Sparams": [ + { + "imag": 0.006643, + "real": -0.100454 + } + ], + "frequency": 1776704000.0 + }, + { + "Sparams": [ + { + "imag": 0.008589, + "real": -0.100465 + } + ], + "frequency": 1788702000.0 + }, + { + "Sparams": [ + { + "imag": 0.010694, + "real": -0.10085 + } + ], + "frequency": 1800700000.0 + }, + { + "Sparams": [ + { + "imag": 0.012694, + "real": -0.101085 + } + ], + "frequency": 1812698000.0 + }, + { + "Sparams": [ + { + "imag": 0.015085, + "real": -0.100819 + } + ], + "frequency": 1824696000.0 + }, + { + "Sparams": [ + { + "imag": 0.017095, + "real": -0.100837 + } + ], + "frequency": 1836694000.0 + }, + { + "Sparams": [ + { + "imag": 0.01907, + "real": -0.10081 + } + ], + "frequency": 1848692000.0 + }, + { + "Sparams": [ + { + "imag": 0.02136, + "real": -0.100449 + } + ], + "frequency": 1860690000.0 + }, + { + "Sparams": [ + { + "imag": 0.024824, + "real": -0.100116 + } + ], + "frequency": 1872688000.0 + }, + { + "Sparams": [ + { + "imag": 0.027441, + "real": -0.099799 + } + ], + "frequency": 1884686000.0 + }, + { + "Sparams": [ + { + "imag": 0.030018, + "real": -0.099515 + } + ], + "frequency": 1896684000.0 + }, + { + "Sparams": [ + { + "imag": 0.032763, + "real": -0.098993 + } + ], + "frequency": 1908682000.0 + }, + { + "Sparams": [ + { + "imag": 0.035292, + "real": -0.098679 + } + ], + "frequency": 1920680000.0 + }, + { + "Sparams": [ + { + "imag": 0.03792, + "real": -0.098229 + } + ], + "frequency": 1932678000.0 + }, + { + "Sparams": [ + { + "imag": 0.040763, + "real": -0.097431 + } + ], + "frequency": 1944676000.0 + }, + { + "Sparams": [ + { + "imag": 0.043563, + "real": -0.096942 + } + ], + "frequency": 1956674000.0 + }, + { + "Sparams": [ + { + "imag": 0.046457, + "real": -0.096367 + } + ], + "frequency": 1968672000.0 + }, + { + "Sparams": [ + { + "imag": 0.049611, + "real": -0.095573 + } + ], + "frequency": 1980670000.0 + }, + { + "Sparams": [ + { + "imag": 0.052524, + "real": -0.094994 + } + ], + "frequency": 1992668000.0 + }, + { + "Sparams": [ + { + "imag": 0.055568, + "real": -0.094112 + } + ], + "frequency": 2004665999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.058506, + "real": -0.093755 + } + ], + "frequency": 2016664000.0 + }, + { + "Sparams": [ + { + "imag": 0.061051, + "real": -0.093495 + } + ], + "frequency": 2028662000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.063931, + "real": -0.092852 + } + ], + "frequency": 2040660000.0 + }, + { + "Sparams": [ + { + "imag": 0.066687, + "real": -0.092497 + } + ], + "frequency": 2052658000.0 + }, + { + "Sparams": [ + { + "imag": 0.069368, + "real": -0.09185 + } + ], + "frequency": 2064655999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.071747, + "real": -0.091135 + } + ], + "frequency": 2076654000.0 + }, + { + "Sparams": [ + { + "imag": 0.073998, + "real": -0.09008 + } + ], + "frequency": 2088652000.0000002 + }, + { + "Sparams": [ + { + "imag": 0.076586, + "real": -0.089405 + } + ], + "frequency": 2100650000.0 + }, + { + "Sparams": [ + { + "imag": 0.079856, + "real": -0.085591 + } + ], + "frequency": 2112648000.0 + }, + { + "Sparams": [ + { + "imag": 0.081241, + "real": -0.087215 + } + ], + "frequency": 2124645999.9999998 + }, + { + "Sparams": [ + { + "imag": 0.083841, + "real": -0.086026 + } + ], + "frequency": 2136644000.0 + }, + { + "Sparams": [ + { + "imag": 0.086197, + "real": -0.085098 + } + ], + "frequency": 2148642000.0 + }, + { + "Sparams": [ + { + "imag": 0.088611, + "real": -0.084015 + } + ], + "frequency": 2160640000.0 + }, + { + "Sparams": [ + { + "imag": 0.091135, + "real": -0.082473 + } + ], + "frequency": 2172638000.0 + }, + { + "Sparams": [ + { + "imag": 0.093925, + "real": -0.081766 + } + ], + "frequency": 2184636000.0 + }, + { + "Sparams": [ + { + "imag": 0.09636, + "real": -0.080516 + } + ], + "frequency": 2196634000.0 + }, + { + "Sparams": [ + { + "imag": 0.098967, + "real": -0.079595 + } + ], + "frequency": 2208632000.0 + }, + { + "Sparams": [ + { + "imag": 0.101254, + "real": -0.078484 + } + ], + "frequency": 2220630000.0 + }, + { + "Sparams": [ + { + "imag": 0.103799, + "real": -0.077634 + } + ], + "frequency": 2232628000.0 + }, + { + "Sparams": [ + { + "imag": 0.105859, + "real": -0.077598 + } + ], + "frequency": 2244626000.0 + }, + { + "Sparams": [ + { + "imag": 0.107915, + "real": -0.076711 + } + ], + "frequency": 2256624000.0 + }, + { + "Sparams": [ + { + "imag": 0.109806, + "real": -0.075738 + } + ], + "frequency": 2268622000.0 + }, + { + "Sparams": [ + { + "imag": 0.111447, + "real": -0.075221 + } + ], + "frequency": 2280620000.0 + }, + { + "Sparams": [ + { + "imag": 0.112887, + "real": -0.074624 + } + ], + "frequency": 2292618000.0 + }, + { + "Sparams": [ + { + "imag": 0.114658, + "real": -0.073791 + } + ], + "frequency": 2304616000.0 + }, + { + "Sparams": [ + { + "imag": 0.116263, + "real": -0.073323 + } + ], + "frequency": 2316614000.0 + }, + { + "Sparams": [ + { + "imag": 0.117615, + "real": -0.072728 + } + ], + "frequency": 2328612000.0 + }, + { + "Sparams": [ + { + "imag": 0.118405, + "real": -0.072559 + } + ], + "frequency": 2340610000.0 + }, + { + "Sparams": [ + { + "imag": 0.118945, + "real": -0.072184 + } + ], + "frequency": 2352608000.0 + }, + { + "Sparams": [ + { + "imag": 0.118402, + "real": -0.071839 + } + ], + "frequency": 2364606000.0 + }, + { + "Sparams": [ + { + "imag": 0.118111, + "real": -0.070829 + } + ], + "frequency": 2376604000.0 + }, + { + "Sparams": [ + { + "imag": 0.117426, + "real": -0.069509 + } + ], + "frequency": 2388602000.0 + }, + { + "Sparams": [ + { + "imag": 0.116577, + "real": -0.068567 + } + ], + "frequency": 2400600000.0 + }, + { + "Sparams": [ + { + "imag": 0.11546, + "real": -0.066641 + } + ], + "frequency": 2412598000.0 + }, + { + "Sparams": [ + { + "imag": 0.11412, + "real": -0.064998 + } + ], + "frequency": 2424596000.0 + }, + { + "Sparams": [ + { + "imag": 0.112641, + "real": -0.06306200000000001 + } + ], + "frequency": 2436594000.0 + }, + { + "Sparams": [ + { + "imag": 0.110954, + "real": -0.060467 + } + ], + "frequency": 2448592000.0 + }, + { + "Sparams": [ + { + "imag": 0.109605, + "real": -0.057402 + } + ], + "frequency": 2460590000.0 + }, + { + "Sparams": [ + { + "imag": 0.107842, + "real": -0.054257 + } + ], + "frequency": 2472588000.0 + }, + { + "Sparams": [ + { + "imag": 0.106447, + "real": -0.050742 + } + ], + "frequency": 2484586000.0 + }, + { + "Sparams": [ + { + "imag": 0.105045, + "real": -0.047139 + } + ], + "frequency": 2496584000.0 + }, + { + "Sparams": [ + { + "imag": 0.103618, + "real": -0.04292 + } + ], + "frequency": 2508582000.0 + }, + { + "Sparams": [ + { + "imag": 0.103188, + "real": -0.038803 + } + ], + "frequency": 2520580000.0 + }, + { + "Sparams": [ + { + "imag": 0.101751, + "real": -0.034038 + } + ], + "frequency": 2532578000.0 + }, + { + "Sparams": [ + { + "imag": 0.10109, + "real": -0.029162 + } + ], + "frequency": 2544576000.0 + }, + { + "Sparams": [ + { + "imag": 0.100551, + "real": -0.025013 + } + ], + "frequency": 2556574000.0 + }, + { + "Sparams": [ + { + "imag": 0.100893, + "real": -0.020099 + } + ], + "frequency": 2568572000.0 + }, + { + "Sparams": [ + { + "imag": 0.101308, + "real": -0.015826 + } + ], + "frequency": 2580570000.0 + }, + { + "Sparams": [ + { + "imag": 0.102331, + "real": -0.011427 + } + ], + "frequency": 2592568000.0 + }, + { + "Sparams": [ + { + "imag": 0.100759, + "real": -0.008866 + } + ], + "frequency": 2604566000.0 + }, + { + "Sparams": [ + { + "imag": 0.103845, + "real": -0.003702 + } + ], + "frequency": 2616564000.0 + }, + { + "Sparams": [ + { + "imag": 0.105524, + "real": 0.00083 + } + ], + "frequency": 2628562000.0 + }, + { + "Sparams": [ + { + "imag": 0.107356, + "real": 0.004441 + } + ], + "frequency": 2640560000.0 + }, + { + "Sparams": [ + { + "imag": 0.109033, + "real": 0.007113 + } + ], + "frequency": 2652558000.0 + }, + { + "Sparams": [ + { + "imag": 0.111049, + "real": 0.009618 + } + ], + "frequency": 2664556000.0 + }, + { + "Sparams": [ + { + "imag": 0.112727, + "real": 0.012199 + } + ], + "frequency": 2676554000.0 + }, + { + "Sparams": [ + { + "imag": 0.114438, + "real": 0.014741 + } + ], + "frequency": 2688552000.0 + }, + { + "Sparams": [ + { + "imag": 0.115904, + "real": 0.016514 + } + ], + "frequency": 2700550000.0 + }, + { + "Sparams": [ + { + "imag": 0.11579, + "real": 0.019284 + } + ], + "frequency": 2712548000.0 + }, + { + "Sparams": [ + { + "imag": 0.11518, + "real": 0.021976 + } + ], + "frequency": 2724546000.0 + }, + { + "Sparams": [ + { + "imag": 0.11467, + "real": 0.023414 + } + ], + "frequency": 2736544000.0 + }, + { + "Sparams": [ + { + "imag": 0.113523, + "real": 0.025134 + } + ], + "frequency": 2748542000.0 + }, + { + "Sparams": [ + { + "imag": 0.111765, + "real": 0.026608 + } + ], + "frequency": 2760540000.0 + }, + { + "Sparams": [ + { + "imag": 0.110591, + "real": 0.027502 + } + ], + "frequency": 2772538000.0 + }, + { + "Sparams": [ + { + "imag": 0.108093, + "real": 0.028232 + } + ], + "frequency": 2784536000.0 + }, + { + "Sparams": [ + { + "imag": 0.104847, + "real": 0.029253 + } + ], + "frequency": 2796534000.0 + }, + { + "Sparams": [ + { + "imag": 0.102134, + "real": 0.030396 + } + ], + "frequency": 2808532000.0 + }, + { + "Sparams": [ + { + "imag": 0.098799, + "real": 0.031867 + } + ], + "frequency": 2820530000.0 + }, + { + "Sparams": [ + { + "imag": 0.095458, + "real": 0.033452 + } + ], + "frequency": 2832528000.0 + }, + { + "Sparams": [ + { + "imag": 0.091607, + "real": 0.035534 + } + ], + "frequency": 2844526000.0 + }, + { + "Sparams": [ + { + "imag": 0.087673, + "real": 0.037714 + } + ], + "frequency": 2856524000.0 + }, + { + "Sparams": [ + { + "imag": 0.084066, + "real": 0.040421 + } + ], + "frequency": 2868522000.0 + }, + { + "Sparams": [ + { + "imag": 0.080201, + "real": 0.043432 + } + ], + "frequency": 2880520000.0 + }, + { + "Sparams": [ + { + "imag": 0.076079, + "real": 0.046373 + } + ], + "frequency": 2892518000.0 + }, + { + "Sparams": [ + { + "imag": 0.073255, + "real": 0.050664 + } + ], + "frequency": 2904516000.0 + }, + { + "Sparams": [ + { + "imag": 0.069826, + "real": 0.054219 + } + ], + "frequency": 2916514000.0 + }, + { + "Sparams": [ + { + "imag": 0.067034, + "real": 0.057837 + } + ], + "frequency": 2928512000.0 + }, + { + "Sparams": [ + { + "imag": 0.074095, + "real": 0.059196 + } + ], + "frequency": 2940510000.0 + }, + { + "Sparams": [ + { + "imag": 0.062263, + "real": 0.065698 + } + ], + "frequency": 2952508000.0 + }, + { + "Sparams": [ + { + "imag": 0.059569, + "real": 0.069575 + } + ], + "frequency": 2964506000.0 + }, + { + "Sparams": [ + { + "imag": 0.057987, + "real": 0.073354 + } + ], + "frequency": 2976504000.0 + }, + { + "Sparams": [ + { + "imag": 0.056976, + "real": 0.076939 + } + ], + "frequency": 2988502000.0 + }, + { + "Sparams": [ + { + "imag": 0.055843, + "real": 0.081949 + } + ], + "frequency": 3000500000.0 + }, + { + "Sparams": [ + { + "imag": 0.055403, + "real": 0.083337 + } + ], + "frequency": 3012498000.0 + }, + { + "Sparams": [ + { + "imag": 0.054127, + "real": 0.085689 + } + ], + "frequency": 3024496000.0 + }, + { + "Sparams": [ + { + "imag": 0.053687, + "real": 0.0878 + } + ], + "frequency": 3036494000.0 + }, + { + "Sparams": [ + { + "imag": 0.054074, + "real": 0.090588 + } + ], + "frequency": 3048492000.0 + }, + { + "Sparams": [ + { + "imag": 0.053042, + "real": 0.091689 + } + ], + "frequency": 3060490000.0 + }, + { + "Sparams": [ + { + "imag": 0.052752, + "real": 0.0922 + } + ], + "frequency": 3072488000.0 + }, + { + "Sparams": [ + { + "imag": 0.051015, + "real": 0.092023 + } + ], + "frequency": 3084486000.0 + }, + { + "Sparams": [ + { + "imag": 0.05136, + "real": 0.092079 + } + ], + "frequency": 3096484000.0 + }, + { + "Sparams": [ + { + "imag": 0.050486, + "real": 0.091249 + } + ], + "frequency": 3108482000.0 + }, + { + "Sparams": [ + { + "imag": 0.049103, + "real": 0.091139 + } + ], + "frequency": 3120480000.0 + }, + { + "Sparams": [ + { + "imag": 0.047526, + "real": 0.090024 + } + ], + "frequency": 3132478000.0 + }, + { + "Sparams": [ + { + "imag": 0.045195, + "real": 0.091435 + } + ], + "frequency": 3144476000.0 + }, + { + "Sparams": [ + { + "imag": 0.043623, + "real": 0.087656 + } + ], + "frequency": 3156474000.0 + }, + { + "Sparams": [ + { + "imag": 0.041231, + "real": 0.086115 + } + ], + "frequency": 3168472000.0 + }, + { + "Sparams": [ + { + "imag": 0.038394, + "real": 0.084761 + } + ], + "frequency": 3180470000.0 + }, + { + "Sparams": [ + { + "imag": 0.03528, + "real": 0.08359 + } + ], + "frequency": 3192468000.0 + }, + { + "Sparams": [ + { + "imag": 0.030648, + "real": 0.081438 + } + ], + "frequency": 3204466000.0 + }, + { + "Sparams": [ + { + "imag": 0.027583, + "real": 0.080017 + } + ], + "frequency": 3216464000.0 + }, + { + "Sparams": [ + { + "imag": 0.023161, + "real": 0.079106 + } + ], + "frequency": 3228462000.0 + }, + { + "Sparams": [ + { + "imag": 0.019707, + "real": 0.077851 + } + ], + "frequency": 3240460000.0 + }, + { + "Sparams": [ + { + "imag": 0.015936, + "real": 0.077582 + } + ], + "frequency": 3252458000.0 + }, + { + "Sparams": [ + { + "imag": 0.011089, + "real": 0.077118 + } + ], + "frequency": 3264456000.0 + }, + { + "Sparams": [ + { + "imag": 0.007177, + "real": 0.075855 + } + ], + "frequency": 3276454000.0 + }, + { + "Sparams": [ + { + "imag": 0.004027, + "real": 0.075424 + } + ], + "frequency": 3288452000.0 + }, + { + "Sparams": [ + { + "imag": 0.000159, + "real": 0.075686 + } + ], + "frequency": 3300450000.0 + }, + { + "Sparams": [ + { + "imag": -0.003455, + "real": 0.073426 + } + ], + "frequency": 3312448000.0 + }, + { + "Sparams": [ + { + "imag": -0.00763, + "real": 0.072386 + } + ], + "frequency": 3324446000.0 + }, + { + "Sparams": [ + { + "imag": -0.011334, + "real": 0.072225 + } + ], + "frequency": 3336444000.0 + }, + { + "Sparams": [ + { + "imag": -0.014747, + "real": 0.071678 + } + ], + "frequency": 3348442000.0 + }, + { + "Sparams": [ + { + "imag": -0.017957, + "real": 0.070695 + } + ], + "frequency": 3360440000.0 + }, + { + "Sparams": [ + { + "imag": -0.021169, + "real": 0.070158 + } + ], + "frequency": 3372438000.0 + }, + { + "Sparams": [ + { + "imag": -0.024435, + "real": 0.070071 + } + ], + "frequency": 3384436000.0 + }, + { + "Sparams": [ + { + "imag": -0.027084, + "real": 0.069536 + } + ], + "frequency": 3396434000.0 + }, + { + "Sparams": [ + { + "imag": -0.030004, + "real": 0.068929 + } + ], + "frequency": 3408432000.0 + }, + { + "Sparams": [ + { + "imag": -0.032108, + "real": 0.068471 + } + ], + "frequency": 3420430000.0 + }, + { + "Sparams": [ + { + "imag": -0.034375, + "real": 0.066872 + } + ], + "frequency": 3432428000.0 + }, + { + "Sparams": [ + { + "imag": -0.036455, + "real": 0.065096 + } + ], + "frequency": 3444426000.0 + }, + { + "Sparams": [ + { + "imag": -0.039226, + "real": 0.064639 + } + ], + "frequency": 3456424000.0 + }, + { + "Sparams": [ + { + "imag": -0.041465, + "real": 0.062932 + } + ], + "frequency": 3468422000.0 + }, + { + "Sparams": [ + { + "imag": -0.044089, + "real": 0.061051 + } + ], + "frequency": 3480420000.0 + }, + { + "Sparams": [ + { + "imag": -0.047215, + "real": 0.059148 + } + ], + "frequency": 3492418000.0 + }, + { + "Sparams": [ + { + "imag": -0.049355, + "real": 0.057735 + } + ], + "frequency": 3504416000.0 + }, + { + "Sparams": [ + { + "imag": -0.050235, + "real": 0.057214 + } + ], + "frequency": 3516414000.0 + }, + { + "Sparams": [ + { + "imag": -0.052163, + "real": 0.055845 + } + ], + "frequency": 3528412000.0 + }, + { + "Sparams": [ + { + "imag": -0.053523, + "real": 0.054638 + } + ], + "frequency": 3540410000.0 + }, + { + "Sparams": [ + { + "imag": -0.054828, + "real": 0.053395 + } + ], + "frequency": 3552408000.0 + }, + { + "Sparams": [ + { + "imag": -0.056115, + "real": 0.051165 + } + ], + "frequency": 3564406000.0 + }, + { + "Sparams": [ + { + "imag": -0.057187, + "real": 0.049103 + } + ], + "frequency": 3576404000.0 + }, + { + "Sparams": [ + { + "imag": -0.058158, + "real": 0.047885 + } + ], + "frequency": 3588402000.0 + }, + { + "Sparams": [ + { + "imag": -0.058715, + "real": 0.045284 + } + ], + "frequency": 3600400000.0 + }, + { + "Sparams": [ + { + "imag": -0.059481, + "real": 0.043326 + } + ], + "frequency": 3612398000.0 + }, + { + "Sparams": [ + { + "imag": -0.059429, + "real": 0.04105 + } + ], + "frequency": 3624396000.0 + }, + { + "Sparams": [ + { + "imag": -0.059146, + "real": 0.039316 + } + ], + "frequency": 3636394000.0 + }, + { + "Sparams": [ + { + "imag": -0.059411, + "real": 0.037631 + } + ], + "frequency": 3648392000.0 + }, + { + "Sparams": [ + { + "imag": -0.059174, + "real": 0.034497 + } + ], + "frequency": 3660390000.0 + }, + { + "Sparams": [ + { + "imag": -0.058527, + "real": 0.032268 + } + ], + "frequency": 3672388000.0 + }, + { + "Sparams": [ + { + "imag": -0.057859, + "real": 0.028848 + } + ], + "frequency": 3684386000.0 + }, + { + "Sparams": [ + { + "imag": -0.056977, + "real": 0.026023 + } + ], + "frequency": 3696384000.0 + }, + { + "Sparams": [ + { + "imag": -0.05532, + "real": 0.022732 + } + ], + "frequency": 3708382000.0 + }, + { + "Sparams": [ + { + "imag": -0.056473, + "real": 0.019103 + } + ], + "frequency": 3720380000.0 + }, + { + "Sparams": [ + { + "imag": -0.054053, + "real": 0.01591 + } + ], + "frequency": 3732378000.0 + }, + { + "Sparams": [ + { + "imag": -0.051896, + "real": 0.010785 + } + ], + "frequency": 3744376000.0 + }, + { + "Sparams": [ + { + "imag": -0.050398, + "real": 0.007168 + } + ], + "frequency": 3756374000.0 + }, + { + "Sparams": [ + { + "imag": -0.049453, + "real": 0.001507 + } + ], + "frequency": 3768372000.0 + }, + { + "Sparams": [ + { + "imag": -0.049345, + "real": -0.003481 + } + ], + "frequency": 3780370000.0 + }, + { + "Sparams": [ + { + "imag": -0.048089, + "real": -0.00744 + } + ], + "frequency": 3792368000.0 + }, + { + "Sparams": [ + { + "imag": -0.046796, + "real": -0.012999 + } + ], + "frequency": 3804366000.0 + }, + { + "Sparams": [ + { + "imag": -0.047996, + "real": -0.017554 + } + ], + "frequency": 3816364000.0 + }, + { + "Sparams": [ + { + "imag": -0.046516, + "real": -0.022931 + } + ], + "frequency": 3828362000.0 + }, + { + "Sparams": [ + { + "imag": -0.046821, + "real": -0.028828 + } + ], + "frequency": 3840360000.0 + }, + { + "Sparams": [ + { + "imag": -0.045766, + "real": -0.033626 + } + ], + "frequency": 3852358000.0 + }, + { + "Sparams": [ + { + "imag": -0.045821, + "real": -0.038379 + } + ], + "frequency": 3864356000.0 + }, + { + "Sparams": [ + { + "imag": -0.044907999999999997, + "real": -0.041686 + } + ], + "frequency": 3876354000.0 + }, + { + "Sparams": [ + { + "imag": -0.046523, + "real": -0.0482 + } + ], + "frequency": 3888352000.0 + }, + { + "Sparams": [ + { + "imag": -0.045895, + "real": -0.053945 + } + ], + "frequency": 3900350000.0 + }, + { + "Sparams": [ + { + "imag": -0.046755, + "real": -0.057513 + } + ], + "frequency": 3912348000.0 + }, + { + "Sparams": [ + { + "imag": -0.049041, + "real": -0.061187 + } + ], + "frequency": 3924346000.0 + }, + { + "Sparams": [ + { + "imag": -0.050499, + "real": -0.064377 + } + ], + "frequency": 3936344000.0 + }, + { + "Sparams": [ + { + "imag": -0.051131, + "real": -0.067446 + } + ], + "frequency": 3948342000.0 + }, + { + "Sparams": [ + { + "imag": -0.050883, + "real": -0.068986 + } + ], + "frequency": 3960340000.0 + }, + { + "Sparams": [ + { + "imag": -0.050428, + "real": -0.072587 + } + ], + "frequency": 3972338000.0 + }, + { + "Sparams": [ + { + "imag": -0.05012, + "real": -0.074583 + } + ], + "frequency": 3984336000.0 + }, + { + "Sparams": [ + { + "imag": -0.049536, + "real": -0.074923 + } + ], + "frequency": 3996334000.0 + }, + { + "Sparams": [ + { + "imag": -0.048193, + "real": -0.077551 + } + ], + "frequency": 4008332000.0 + }, + { + "Sparams": [ + { + "imag": -0.048107, + "real": -0.078807 + } + ], + "frequency": 4020330000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.045326, + "real": -0.079073 + } + ], + "frequency": 4032327999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.04196, + "real": -0.079908 + } + ], + "frequency": 4044326000.0 + }, + { + "Sparams": [ + { + "imag": -0.040363, + "real": -0.081755 + } + ], + "frequency": 4056324000.0 + }, + { + "Sparams": [ + { + "imag": -0.037164, + "real": -0.082867 + } + ], + "frequency": 4068322000.0 + }, + { + "Sparams": [ + { + "imag": -0.033057, + "real": -0.083059 + } + ], + "frequency": 4080320000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.029288, + "real": -0.084364 + } + ], + "frequency": 4092317999.9999995 + }, + { + "Sparams": [ + { + "imag": -0.023863, + "real": -0.085959 + } + ], + "frequency": 4104316000.0 + }, + { + "Sparams": [ + { + "imag": -0.019816, + "real": -0.087325 + } + ], + "frequency": 4116314000.0 + }, + { + "Sparams": [ + { + "imag": -0.014634, + "real": -0.089169 + } + ], + "frequency": 4128312000.0 + }, + { + "Sparams": [ + { + "imag": -0.009527, + "real": -0.09146 + } + ], + "frequency": 4140310000.0000005 + }, + { + "Sparams": [ + { + "imag": -0.004137, + "real": -0.093614 + } + ], + "frequency": 4152307999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.001035, + "real": -0.096782 + } + ], + "frequency": 4164306000.0 + }, + { + "Sparams": [ + { + "imag": 0.005543, + "real": -0.100134 + } + ], + "frequency": 4176304000.0 + }, + { + "Sparams": [ + { + "imag": 0.011063, + "real": -0.102651 + } + ], + "frequency": 4188302000.0 + }, + { + "Sparams": [ + { + "imag": 0.015579, + "real": -0.105616 + } + ], + "frequency": 4200300000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.019663, + "real": -0.109338 + } + ], + "frequency": 4212297999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.024195, + "real": -0.112718 + } + ], + "frequency": 4224296000.0 + }, + { + "Sparams": [ + { + "imag": 0.030631, + "real": -0.117094 + } + ], + "frequency": 4236294000.0 + }, + { + "Sparams": [ + { + "imag": 0.032939, + "real": -0.119496 + } + ], + "frequency": 4248292000.0 + }, + { + "Sparams": [ + { + "imag": 0.034082, + "real": -0.122465 + } + ], + "frequency": 4260290000.0000005 + }, + { + "Sparams": [ + { + "imag": 0.038779, + "real": -0.125436 + } + ], + "frequency": 4272287999.9999995 + }, + { + "Sparams": [ + { + "imag": 0.042761, + "real": -0.129448 + } + ], + "frequency": 4284286000.0 + }, + { + "Sparams": [ + { + "imag": 0.044471, + "real": -0.110201 + } + ], + "frequency": 4296284000.0 + }, + { + "Sparams": [ + { + "imag": 0.049133, + "real": -0.134981 + } + ], + "frequency": 4308282000.0 + }, + { + "Sparams": [ + { + "imag": 0.050851, + "real": -0.135325 + } + ], + "frequency": 4320280000.0 + }, + { + "Sparams": [ + { + "imag": 0.054774, + "real": -0.136792 + } + ], + "frequency": 4332278000.0 + }, + { + "Sparams": [ + { + "imag": 0.057539, + "real": -0.13856 + } + ], + "frequency": 4344276000.0 + }, + { + "Sparams": [ + { + "imag": 0.06041, + "real": -0.138799 + } + ], + "frequency": 4356274000.0 + }, + { + "Sparams": [ + { + "imag": 0.06476, + "real": -0.138692 + } + ], + "frequency": 4368272000.0 + }, + { + "Sparams": [ + { + "imag": 0.069049, + "real": -0.140144 + } + ], + "frequency": 4380270000.0 + }, + { + "Sparams": [ + { + "imag": 0.072218, + "real": -0.140458 + } + ], + "frequency": 4392268000.0 + }, + { + "Sparams": [ + { + "imag": 0.077355, + "real": -0.140049 + } + ], + "frequency": 4404266000.0 + }, + { + "Sparams": [ + { + "imag": 0.081733, + "real": -0.14076 + } + ], + "frequency": 4416264000.0 + }, + { + "Sparams": [ + { + "imag": 0.086036, + "real": -0.140462 + } + ], + "frequency": 4428262000.0 + }, + { + "Sparams": [ + { + "imag": 0.090484, + "real": -0.139796 + } + ], + "frequency": 4440260000.0 + }, + { + "Sparams": [ + { + "imag": 0.096129, + "real": -0.139356 + } + ], + "frequency": 4452258000.0 + }, + { + "Sparams": [ + { + "imag": 0.100872, + "real": -0.140801 + } + ], + "frequency": 4464256000.0 + }, + { + "Sparams": [ + { + "imag": 0.10576, + "real": -0.140556 + } + ], + "frequency": 4476254000.0 + }, + { + "Sparams": [ + { + "imag": 0.106957, + "real": -0.141327 + } + ], + "frequency": 4488252000.0 + }, + { + "Sparams": [ + { + "imag": 0.112879, + "real": -0.141521 + } + ], + "frequency": 4500250000.0 + }, + { + "Sparams": [ + { + "imag": 0.11772, + "real": -0.141973 + } + ], + "frequency": 4512248000.0 + }, + { + "Sparams": [ + { + "imag": 0.121989, + "real": -0.14416 + } + ], + "frequency": 4524246000.0 + }, + { + "Sparams": [ + { + "imag": 0.12523, + "real": -0.143238 + } + ], + "frequency": 4536244000.0 + }, + { + "Sparams": [ + { + "imag": 0.127785, + "real": -0.144299 + } + ], + "frequency": 4548242000.0 + }, + { + "Sparams": [ + { + "imag": 0.129743, + "real": -0.145087 + } + ], + "frequency": 4560240000.0 + }, + { + "Sparams": [ + { + "imag": 0.131166, + "real": -0.144713 + } + ], + "frequency": 4572238000.0 + }, + { + "Sparams": [ + { + "imag": 0.132705, + "real": -0.143918 + } + ], + "frequency": 4584236000.0 + }, + { + "Sparams": [ + { + "imag": 0.133643, + "real": -0.142395 + } + ], + "frequency": 4596234000.0 + }, + { + "Sparams": [ + { + "imag": 0.134474, + "real": -0.139513 + } + ], + "frequency": 4608232000.0 + }, + { + "Sparams": [ + { + "imag": 0.134978, + "real": -0.136864 + } + ], + "frequency": 4620230000.0 + }, + { + "Sparams": [ + { + "imag": 0.135391, + "real": -0.133422 + } + ], + "frequency": 4632228000.0 + }, + { + "Sparams": [ + { + "imag": 0.137367, + "real": -0.128448 + } + ], + "frequency": 4644226000.0 + }, + { + "Sparams": [ + { + "imag": 0.138761, + "real": -0.123517 + } + ], + "frequency": 4656224000.0 + }, + { + "Sparams": [ + { + "imag": 0.13965, + "real": -0.117588 + } + ], + "frequency": 4668222000.0 + }, + { + "Sparams": [ + { + "imag": 0.141152, + "real": -0.111093 + } + ], + "frequency": 4680220000.0 + }, + { + "Sparams": [ + { + "imag": 0.142177, + "real": -0.10434 + } + ], + "frequency": 4692218000.0 + }, + { + "Sparams": [ + { + "imag": 0.145372, + "real": -0.096762 + } + ], + "frequency": 4704216000.0 + }, + { + "Sparams": [ + { + "imag": 0.14753, + "real": -0.088432 + } + ], + "frequency": 4716214000.0 + }, + { + "Sparams": [ + { + "imag": 0.151332, + "real": -0.079837 + } + ], + "frequency": 4728212000.0 + }, + { + "Sparams": [ + { + "imag": 0.155244, + "real": -0.07164 + } + ], + "frequency": 4740210000.0 + }, + { + "Sparams": [ + { + "imag": 0.161054, + "real": -0.062976 + } + ], + "frequency": 4752208000.0 + }, + { + "Sparams": [ + { + "imag": 0.167006, + "real": -0.054459 + } + ], + "frequency": 4764206000.0 + }, + { + "Sparams": [ + { + "imag": 0.173273, + "real": -0.045712 + } + ], + "frequency": 4776204000.0 + }, + { + "Sparams": [ + { + "imag": 0.180308, + "real": -0.038083 + } + ], + "frequency": 4788202000.0 + }, + { + "Sparams": [ + { + "imag": 0.188242, + "real": -0.030853 + } + ], + "frequency": 4800200000.0 + }, + { + "Sparams": [ + { + "imag": 0.196534, + "real": -0.023965 + } + ], + "frequency": 4812198000.0 + }, + { + "Sparams": [ + { + "imag": 0.203599, + "real": -0.018917 + } + ], + "frequency": 4824196000.0 + }, + { + "Sparams": [ + { + "imag": 0.212306, + "real": -0.013425 + } + ], + "frequency": 4836194000.0 + }, + { + "Sparams": [ + { + "imag": 0.220433, + "real": -0.008315 + } + ], + "frequency": 4848192000.0 + }, + { + "Sparams": [ + { + "imag": 0.228643, + "real": -0.003987 + } + ], + "frequency": 4860190000.0 + }, + { + "Sparams": [ + { + "imag": 0.236788, + "real": 0.000275 + } + ], + "frequency": 4872188000.0 + }, + { + "Sparams": [ + { + "imag": 0.244859, + "real": 0.002683 + } + ], + "frequency": 4884186000.0 + }, + { + "Sparams": [ + { + "imag": 0.253254, + "real": 0.004729 + } + ], + "frequency": 4896184000.0 + }, + { + "Sparams": [ + { + "imag": 0.259862, + "real": 0.004357 + } + ], + "frequency": 4908182000.0 + }, + { + "Sparams": [ + { + "imag": 0.265634, + "real": 0.004697 + } + ], + "frequency": 4920180000.0 + }, + { + "Sparams": [ + { + "imag": 0.271403, + "real": 0.003488 + } + ], + "frequency": 4932178000.0 + }, + { + "Sparams": [ + { + "imag": 0.275075, + "real": 0.00373 + } + ], + "frequency": 4944176000.0 + }, + { + "Sparams": [ + { + "imag": 0.277644, + "real": 0.003072 + } + ], + "frequency": 4956174000.0 + }, + { + "Sparams": [ + { + "imag": 0.279202, + "real": 0.002924 + } + ], + "frequency": 4968172000.0 + }, + { + "Sparams": [ + { + "imag": 0.279081, + "real": 0.002646 + } + ], + "frequency": 4980170000.0 + }, + { + "Sparams": [ + { + "imag": 0.278573, + "real": 0.003495 + } + ], + "frequency": 4992168000.0 + }, + { + "Sparams": [ + { + "imag": 0.278186, + "real": 0.004424 + } + ], + "frequency": 5004166000.0 + }, + { + "Sparams": [ + { + "imag": 0.277175, + "real": 0.005371 + } + ], + "frequency": 5016164000.0 + }, + { + "Sparams": [ + { + "imag": 0.274737, + "real": 0.007956 + } + ], + "frequency": 5028162000.0 + }, + { + "Sparams": [ + { + "imag": 0.272152, + "real": 0.009671 + } + ], + "frequency": 5040160000.0 + }, + { + "Sparams": [ + { + "imag": 0.268153, + "real": 0.013813 + } + ], + "frequency": 5052158000.0 + }, + { + "Sparams": [ + { + "imag": 0.264849, + "real": 0.017914 + } + ], + "frequency": 5064156000.0 + }, + { + "Sparams": [ + { + "imag": 0.262182, + "real": 0.022122 + } + ], + "frequency": 5076154000.0 + }, + { + "Sparams": [ + { + "imag": 0.256968, + "real": 0.027991 + } + ], + "frequency": 5088152000.0 + }, + { + "Sparams": [ + { + "imag": 0.254384, + "real": 0.032343 + } + ], + "frequency": 5100150000.0 + }, + { + "Sparams": [ + { + "imag": 0.251246, + "real": 0.038824 + } + ], + "frequency": 5112148000.0 + }, + { + "Sparams": [ + { + "imag": 0.245426, + "real": 0.046781 + } + ], + "frequency": 5124146000.0 + }, + { + "Sparams": [ + { + "imag": 0.240331, + "real": 0.056225 + } + ], + "frequency": 5136144000.0 + }, + { + "Sparams": [ + { + "imag": 0.238157, + "real": 0.065452 + } + ], + "frequency": 5148142000.0 + }, + { + "Sparams": [ + { + "imag": 0.237412, + "real": 0.07339 + } + ], + "frequency": 5160140000.0 + }, + { + "Sparams": [ + { + "imag": 0.236593, + "real": 0.081632 + } + ], + "frequency": 5172138000.0 + }, + { + "Sparams": [ + { + "imag": 0.236244, + "real": 0.088114 + } + ], + "frequency": 5184136000.0 + }, + { + "Sparams": [ + { + "imag": 0.235138, + "real": 0.094388 + } + ], + "frequency": 5196134000.0 + }, + { + "Sparams": [ + { + "imag": 0.234248, + "real": 0.10105600000000001 + } + ], + "frequency": 5208132000.0 + }, + { + "Sparams": [ + { + "imag": 0.232899, + "real": 0.107557 + } + ], + "frequency": 5220130000.0 + }, + { + "Sparams": [ + { + "imag": 0.231959, + "real": 0.113471 + } + ], + "frequency": 5232128000.0 + }, + { + "Sparams": [ + { + "imag": 0.22976, + "real": 0.120906 + } + ], + "frequency": 5244126000.0 + }, + { + "Sparams": [ + { + "imag": 0.22857, + "real": 0.126459 + } + ], + "frequency": 5256124000.0 + }, + { + "Sparams": [ + { + "imag": 0.226447, + "real": 0.134329 + } + ], + "frequency": 5268122000.0 + }, + { + "Sparams": [ + { + "imag": 0.224932, + "real": 0.13791 + } + ], + "frequency": 5280120000.0 + }, + { + "Sparams": [ + { + "imag": 0.223064, + "real": 0.144178 + } + ], + "frequency": 5292118000.0 + }, + { + "Sparams": [ + { + "imag": 0.221451, + "real": 0.14911 + } + ], + "frequency": 5304116000.0 + }, + { + "Sparams": [ + { + "imag": 0.217885, + "real": 0.153772 + } + ], + "frequency": 5316114000.0 + }, + { + "Sparams": [ + { + "imag": 0.216165, + "real": 0.159092 + } + ], + "frequency": 5328112000.0 + }, + { + "Sparams": [ + { + "imag": 0.211737, + "real": 0.164457 + } + ], + "frequency": 5340110000.0 + }, + { + "Sparams": [ + { + "imag": 0.207726, + "real": 0.170409 + } + ], + "frequency": 5352108000.0 + }, + { + "Sparams": [ + { + "imag": 0.201796, + "real": 0.176454 + } + ], + "frequency": 5364106000.0 + }, + { + "Sparams": [ + { + "imag": 0.195164, + "real": 0.18178 + } + ], + "frequency": 5376104000.0 + }, + { + "Sparams": [ + { + "imag": 0.185675, + "real": 0.187551 + } + ], + "frequency": 5388102000.0 + }, + { + "Sparams": [ + { + "imag": 0.172458, + "real": 0.186973 + } + ], + "frequency": 5400100000.0 + }, + { + "Sparams": [ + { + "imag": 0.162427, + "real": 0.193551 + } + ], + "frequency": 5412098000.0 + }, + { + "Sparams": [ + { + "imag": 0.154913, + "real": 0.201204 + } + ], + "frequency": 5424096000.0 + }, + { + "Sparams": [ + { + "imag": 0.147438, + "real": 0.209787 + } + ], + "frequency": 5436094000.0 + }, + { + "Sparams": [ + { + "imag": 0.14219, + "real": 0.219069 + } + ], + "frequency": 5448092000.0 + }, + { + "Sparams": [ + { + "imag": 0.13598, + "real": 0.228476 + } + ], + "frequency": 5460090000.0 + }, + { + "Sparams": [ + { + "imag": 0.130767, + "real": 0.238377 + } + ], + "frequency": 5472088000.0 + }, + { + "Sparams": [ + { + "imag": 0.126663, + "real": 0.245762 + } + ], + "frequency": 5484086000.0 + }, + { + "Sparams": [ + { + "imag": 0.123017, + "real": 0.253909 + } + ], + "frequency": 5496084000.0 + }, + { + "Sparams": [ + { + "imag": 0.118751, + "real": 0.258348 + } + ], + "frequency": 5508082000.0 + }, + { + "Sparams": [ + { + "imag": 0.109353, + "real": 0.261207 + } + ], + "frequency": 5520080000.0 + }, + { + "Sparams": [ + { + "imag": 0.099587, + "real": 0.268657 + } + ], + "frequency": 5532078000.0 + }, + { + "Sparams": [ + { + "imag": 0.097135, + "real": 0.275835 + } + ], + "frequency": 5544076000.0 + }, + { + "Sparams": [ + { + "imag": 0.095047, + "real": 0.278891 + } + ], + "frequency": 5556074000.0 + }, + { + "Sparams": [ + { + "imag": 0.096982, + "real": 0.278906 + } + ], + "frequency": 5568072000.0 + }, + { + "Sparams": [ + { + "imag": 0.099635, + "real": 0.278815 + } + ], + "frequency": 5580070000.0 + }, + { + "Sparams": [ + { + "imag": 0.102289, + "real": 0.280108 + } + ], + "frequency": 5592068000.0 + }, + { + "Sparams": [ + { + "imag": 0.102869, + "real": 0.277253 + } + ], + "frequency": 5604066000.0 + }, + { + "Sparams": [ + { + "imag": 0.10419, + "real": 0.275148 + } + ], + "frequency": 5616064000.0 + }, + { + "Sparams": [ + { + "imag": 0.104412, + "real": 0.272925 + } + ], + "frequency": 5628062000.0 + }, + { + "Sparams": [ + { + "imag": 0.101876, + "real": 0.267629 + } + ], + "frequency": 5640060000.0 + }, + { + "Sparams": [ + { + "imag": 0.098901, + "real": 0.265277 + } + ], + "frequency": 5652058000.0 + }, + { + "Sparams": [ + { + "imag": 0.093567, + "real": 0.259697 + } + ], + "frequency": 5664056000.0 + }, + { + "Sparams": [ + { + "imag": 0.088197, + "real": 0.254497 + } + ], + "frequency": 5676054000.0 + }, + { + "Sparams": [ + { + "imag": 0.082565, + "real": 0.248925 + } + ], + "frequency": 5688052000.0 + }, + { + "Sparams": [ + { + "imag": 0.074918, + "real": 0.242945 + } + ], + "frequency": 5700050000.0 + }, + { + "Sparams": [ + { + "imag": 0.066262, + "real": 0.237085 + } + ], + "frequency": 5712048000.0 + }, + { + "Sparams": [ + { + "imag": 0.056353, + "real": 0.230205 + } + ], + "frequency": 5724046000.0 + }, + { + "Sparams": [ + { + "imag": 0.046271, + "real": 0.222113 + } + ], + "frequency": 5736044000.0 + }, + { + "Sparams": [ + { + "imag": 0.035087, + "real": 0.218733 + } + ], + "frequency": 5748042000.0 + }, + { + "Sparams": [ + { + "imag": 0.022051, + "real": 0.211093 + } + ], + "frequency": 5760040000.0 + }, + { + "Sparams": [ + { + "imag": 0.00833, + "real": 0.206517 + } + ], + "frequency": 5772038000.0 + }, + { + "Sparams": [ + { + "imag": -0.005653, + "real": 0.201937 + } + ], + "frequency": 5784036000.0 + }, + { + "Sparams": [ + { + "imag": -0.020102, + "real": 0.19657 + } + ], + "frequency": 5796034000.0 + }, + { + "Sparams": [ + { + "imag": -0.034955, + "real": 0.19355 + } + ], + "frequency": 5808032000.0 + }, + { + "Sparams": [ + { + "imag": -0.051065, + "real": 0.192521 + } + ], + "frequency": 5820030000.0 + }, + { + "Sparams": [ + { + "imag": -0.065812, + "real": 0.191803 + } + ], + "frequency": 5832028000.0 + }, + { + "Sparams": [ + { + "imag": -0.08084, + "real": 0.191032 + } + ], + "frequency": 5844026000.0 + }, + { + "Sparams": [ + { + "imag": -0.096904, + "real": 0.193651 + } + ], + "frequency": 5856024000.0 + }, + { + "Sparams": [ + { + "imag": -0.108966, + "real": 0.192886 + } + ], + "frequency": 5868022000.0 + }, + { + "Sparams": [ + { + "imag": -0.120171, + "real": 0.197061 + } + ], + "frequency": 5880020000.0 + }, + { + "Sparams": [ + { + "imag": -0.132248, + "real": 0.197817 + } + ], + "frequency": 5892018000.0 + }, + { + "Sparams": [ + { + "imag": -0.145833, + "real": 0.199921 + } + ], + "frequency": 5904016000.0 + }, + { + "Sparams": [ + { + "imag": -0.156138, + "real": 0.200841 + } + ], + "frequency": 5916014000.0 + }, + { + "Sparams": [ + { + "imag": -0.16422, + "real": 0.205156 + } + ], + "frequency": 5928012000.0 + }, + { + "Sparams": [ + { + "imag": -0.178082, + "real": 0.206958 + } + ], + "frequency": 5940010000.0 + }, + { + "Sparams": [ + { + "imag": -0.183954, + "real": 0.210564 + } + ], + "frequency": 5952008000.0 + }, + { + "Sparams": [ + { + "imag": -0.186644, + "real": 0.211986 + } + ], + "frequency": 5964006000.0 + }, + { + "Sparams": [ + { + "imag": -0.19168, + "real": 0.213315 + } + ], + "frequency": 5976004000.0 + }, + { + "Sparams": [ + { + "imag": -0.198697, + "real": 0.215553 + } + ], + "frequency": 5988002000.0 + }, + { + "Sparams": [ + { + "imag": -0.201435, + "real": 0.220324 + } + ], + "frequency": 6000000000.0 + } + ], + "filename": "LibreCAL/P4_LOAD", + "ports": 1 + } + }, + "type": "Load" + } + ], + "version": "1.5.0-alpha.1-2b9cc78e5" + }, + "device": "208939A23350", + "format": 3, + "measurements": [ + { + "data": { + "points": null, + "port": 1, + "standard": 5762845714384679112, + "timestamp": -3600 + }, + "type": "Open" + }, + { + "data": { + "points": null, + "port": 1, + "standard": 3508904253150165021, + "timestamp": -3600 + }, + "type": "Short" + }, + { + "data": { + "points": null, + "port": 1, + "standard": 10623207317598837575, + "timestamp": -3600 + }, + "type": "Load" + }, + { + "data": { + "points": null, + "port": 2, + "standard": 5265997809752029671, + "timestamp": -3600 + }, + "type": "Open" + }, + { + "data": { + "points": null, + "port": 2, + "standard": 5569943011892084756, + "timestamp": -3600 + }, + "type": "Short" + }, + { + "data": { + "points": null, + "port": 2, + "standard": 5506100953055748068, + "timestamp": -3600 + }, + "type": "Load" + }, + { + "data": { + "points": null, + "port1": 1, + "port2": 2, + "reverseStandard": true, + "standard": 14293876623961490041, + "timestamp": -3600 + }, + "type": "Through" + } + ], + "ports": null, + "type": "None", + "version": "1.5.0-alpha.1-2b9cc78e5" +} \ No newline at end of file diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/errorlog_20250106173311.txt b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/errorlog_20250106173311.txt new file mode 100644 index 0000000..5dee19d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/errorlog_20250106173311.txt @@ -0,0 +1,22 @@ + 0.027: [debug] Application start + 0.045: [info] Listening on port 19544 + 0.060: [debug] Activating mode "Vector Network Analyzer" + 0.068: [debug] Updated device list, found 1 + 0.068: [debug] Trying to connect to "208A367A4B42" + 0.068: [debug] Attempting to connect to device... + 0.075: [info] USB connection established + 0.075: [debug] Receive thread started + 0.075: [debug] Transmission started (packet type 15 ), queue at 1 + 0.078: [info] Connected to "208A367A4B42" + 0.079: [debug] Transmission started (packet type 26 ), queue at 1 + 0.082: [debug] No default calibration file set for this device + 0.082: [debug] Transmission started (packet type 11 ), queue at 1 + 0.187: [debug] Transmission started (packet type 2 ), queue at 1 + 0.533: [debug] Attempting to open calibration from file "LIBRECAL.cal" + 0.533: [debug] Associated calibration kit expected in "LIBRECAL.calkit" + 0.533: [debug] Opening calkit to file "LIBRECAL.calkit" + 0.533: [debug] Parsing of calibration kit failed while opening calibration file: Unable to open file (ignore for calibration format >= 3) + 0.899: [debug] Transmission started (packet type 2 ), queue at 1 + 1.007: [debug] Deactivated mode "Vector Network Analyzer" + 1.007: [debug] Transmission started (packet type 20 ), queue at 1 + 1.050: [debug] Disconnected, receive thread exiting diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/libreCAL.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/libreCAL.py new file mode 100644 index 0000000..33cf78a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/libreCAL.py @@ -0,0 +1,88 @@ +import serial +import serial.tools.list_ports +from enum import Enum + +class libreCAL: + def __init__(self, serialnum = ''): + self.ser = None + for p in serial.tools.list_ports.comports(): + if (p.vid == 0x0483 and p.pid == 0x4122) or (p.vid == 0x1209 and p.pid == 0x4122): + self.ser = serial.Serial(p.device, timeout = 1) + idn = self.SCPICommand("*IDN?").split(",") + if idn[0] != "LibreCAL": + self.ser = None + continue + self.serial = idn[2] + if len(serialnum) > 0: + # serial number specified, compare + if self.serial != serialnum: + self.ser = None + continue + break + if self.ser == None: + if len(serialnum) > 0: + raise Exception("LibreCAL with serial number '"+serialnum+"' not detected") + else: + raise Exception("No LibreCAL device detected") + + def getSerial(self) -> str: + return self.serial + + class Standard(Enum): + NONE = 0, + OPEN = 1, + SHORT = 2, + LOAD = 3, + THROUGH = 4 + + def reset(self): + self.SCPICommand(":PORT 1 NONE") + self.SCPICommand(":PORT 2 NONE") + self.SCPICommand(":PORT 3 NONE") + self.SCPICommand(":PORT 4 NONE") + + def setPort(self, s : Standard, port, port2 = -1): + if s == self.Standard.THROUGH and port2 == -1: + raise Exception("When setting a port to THROUGH, the destination port must also be specified") + cmd = ":PORT "+str(port)+" "+s.name + if s == self.Standard.THROUGH: + cmd += " "+str(port2) + if len(self.SCPICommand(cmd)) == 0: + return True + else: + return False + + def getPort(self, port): + resp = self.SCPICommand(":PORT? "+str(port)).split(" ")[0] + try: + s = self.Standard[resp] + return s + except: + raise Exception("LibreCAL reported unknown standard '"+resp+"'") + + def getTemperature(self): + return float(self.SCPICommand(":TEMP?")) + + def isStable(self) -> bool: + if self.SCPICommand(":TEMP:STABLE?") == "TRUE": + return True + else: + return False + + def getHeaterPower(self): + return float(self.SCPICommand(":HEAT:POW?")) + + def getDateTimeUTC(self): + return self.SCPICommand(":DATE_TIME?") + + def setDateTimeUTC(self, date_time_utc): + return self.SCPICommand(":DATE_TIME "+ date_time_utc) + + def SCPICommand(self, cmd: str) -> str: + self.ser.write((cmd+"\r\n").encode()) + resp = self.ser.readline().decode("ascii") + if len(resp) == 0: + raise Exception("Timeout occurred in communication with LibreCAL") + if resp.strip() == "ERROR": + raise Exception("LibreCAL returned 'ERROR' for command '"+cmd+"'") + return resp.strip() diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/packetlog_20250106173310.vnalog b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/packetlog_20250106173310.vnalog new file mode 100644 index 0000000..1919889 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/packetlog_20250106173310.vnalog @@ -0,0 +1 @@ +[{"data":[15,223,20,124,145,92,0,0,3,7,251,237,36,126,0,0,48,206,177,124,145,92,0,0,48,163,167,228,253,127,0,0,96,205,217,124,1,0,0,0,112,193,217,124,18,0,0,0,44,163,167,228,253,127,0,0,208,163,167,228,253,127,0,0,157,111,170,123,145,92,0,0,64,165,167,228,253,127,0,0,112,163,167,228,253,127,0,0,140,96,170,123,145,92,0,0,64,165,167,228,253,127,0,0,32,165,167,228,253,127,0,0,16,129,217,124,145,92,0,0,64,165,167,228,253,127,0,0,212,3,225,123,145,92,0,0,0,0,0,0,0,0,0,0,16,164,167,228,253,127,0,0,10,69,170,123,145,92,0,0,130,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,223,20,124,145,92,0,0,210,68,170,123,145,92,0,0,64,165,167,228,253,127,0,0,48,206,177,124,145,92,0,0,74,163,223,123,145,92,0,0,0,0,0,0,0,0,0,0,48,206,177,124,145,92,0,0,32,165,167,228,253,127,0,0,0,0,0,0,0,0,0,0,96,165,167,228,253,127,0,0,32,164,167,228,253],"serial":"","timestamp":1736181189867,"type":"Packet"},{"data":[7,16,0,208,36,126,0,0,176,16,0,208,36,126,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,227,149,239,36,126,0,0,128,16,0,208,36,126,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,0,0,0,0,0],"serial":"208A367A4B42","timestamp":1736181189867,"type":"Packet"},{"data":[5,14,0,1,6,1,1,66,0,0,0,0,0,0,0,0,0,188,160,101,1,0,0,0,6,0,0,0,80,195,0,0,149,17,96,240,0,0,13,0,0,0,140,179,1,0,64,0,52,226,48,4,0,0,0,2,255,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,0,0,0,0,0],"serial":"208A367A4B42","timestamp":1736181189868,"type":"Packet"},{"data":[26,223,20,124,145,92,0,0,3,7,251,237,36,126,0,0,48,206,177,124,145,92,0,0,48,163,167,228,253,127,0,0,96,205,217,124,1,0,0,0,112,193,217,124,18,0,0,0,44,163,167,228,253,127,0,0,208,163,167,228,253,127,0,0,157,111,170,123,145,92,0,0,64,165,167,228,253,127,0,0,112,163,167,228,253,127,0,0,140,96,170,123,145,92,0,0,64,165,167,228,253,127,0,0,32,165,167,228,253,127,0,0,16,129,217,124,145,92,0,0,64,165,167,228,253,127,0,0,212,3,225,123,145,92,0,0,0,0,0,0,0,0,0,0,16,164,167,228,253,127,0,0,10,69,170,123,145,92,0,0,130,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,223,20,124,145,92,0,0,210,68,170,123,145,92,0,0,64,165,167,228,253,127,0,0,48,206,177,124,145,92,0,0,74,163,223,123,145,92,0,0,0,0,0,0,0,0,0,0,48,206,177,124,145,92,0,0,32,165,167,228,253,127,0,0,0,0,0,0,0,0,0,0,96,165,167,228,253,127,0,0,32,164,167,228,253],"serial":"","timestamp":1736181189871,"type":"Packet"},{"data":[7,14,0,1,6,1,1,66,0,0,0,0,0,0,0,0,0,188,160,101,1,0,0,0,6,0,0,0,80,195,0,0,128,227,149,239,36,126,0,0,0,0,140,179,1,0,64,0,52,226,48,4,0,0,0,2,255,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,0,0,0,0,0],"serial":"208A367A4B42","timestamp":1736181189872,"type":"Packet"},{"data":[25,28,95,95,38,1,1,0,116,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,16,143,219,124,145,92,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,71,0,0,0,0,0,0,0,16,143,219,124,145,92,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,71,0,0,0,0],"serial":"208A367A4B42","timestamp":1736181189872,"type":"Packet"},{"data":[11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"serial":"","timestamp":1736181189875,"type":"Packet"},{"data":[7,28,95,95,38,1,1,0,116,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,16,143,219,124,145,92,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,71,0,0,0,0,0,0,0,16,143,219,124,145,92,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,71,0,0,0,0],"serial":"208A367A4B42","timestamp":1736181189875,"type":"Packet"},{"data":[2,64,66,15,0,0,0,0,0,0,188,160,101,1,0,0,0,245,1,232,3,0,0,24,252,12,65,36,24,252,60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"serial":"","timestamp":1736181189979,"type":"Packet"},{"data":[7,245,159,226,36,126,0,0,116,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,112,11,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,34,0,0,0,0,0,0,0,112,11,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,34,0,0,0,0],"serial":"208A367A4B42","timestamp":1736181190298,"type":"Packet"},{"data":[27,48,40,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,112,11,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,34,0,0,0,0,0,0,0,112,11,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,34,0,0,0,0],"datapoint":[64,66,15,0,0,0,0,0,24,252,0,0,24,64,142,80,248,3,44,74,101,59,247,208,28,107,200,202,233,154,98,80,1,9,239,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,92,126,110,207,44,163,21,203,77,100,84,80,18,113,173,202,253,144,69,80,52,13,143,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190313,"type":"Packet"},{"data":[27,112,41,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,112,11,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,34,0,0,0,0,0,0,0,112,11,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,34,0,0,0,0],"datapoint":[112,85,198,0,0,0,0,0,24,252,1,0,42,34,15,81,40,143,208,73,19,77,91,209,208,51,95,73,27,199,158,80,249,221,225,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,125,133,191,79,0,101,50,72,68,90,180,207,88,37,182,73,88,14,238,80,167,94,61,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190316,"type":"Packet"},{"data":[27,80,47,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,104,125,1,0,0,0,0,24,252,2,0,76,105,190,80,216,79,137,73,85,237,15,209,64,130,17,73,129,109,13,81,42,71,93,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,166,216,208,224,144,188,72,75,240,40,81,128,232,34,73,42,75,183,207,199,47,105,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190319,"type":"Packet"},{"data":[27,240,51,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,123,52,2,0,0,0,0,24,252,3,0,218,184,133,208,0,44,124,70,225,142,203,80,96,97,77,201,197,115,140,79,69,201,217,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,79,189,8,209,0,254,6,71,204,51,83,81,20,206,12,202,160,33,24,209,209,117,81,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190321,"type":"Packet"},{"data":[27,16,57,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,143,235,2,0,0,0,0,24,252,4,0,132,234,48,208,80,222,211,73,180,191,116,80,0,82,165,70,245,209,192,79,36,231,19,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,234,194,20,209,192,210,95,72,190,197,102,81,4,193,24,74,41,36,26,209,242,245,59,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190324,"type":"Packet"},{"data":[27,0,61,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,162,162,3,0,0,0,0,24,252,5,0,14,181,240,80,96,117,127,73,190,249,47,209,96,203,58,73,220,102,168,80,229,188,208,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,122,200,80,128,209,88,200,175,87,37,209,192,123,66,73,196,78,5,81,5,128,111,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190326,"type":"Packet"},{"data":[27,80,66,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,181,89,4,0,0,0,0,24,252,6,0,73,58,156,207,108,173,30,202,34,10,77,80,0,134,129,200,17,72,66,208,237,212,90,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,205,89,28,81,32,23,65,73,222,20,109,209,240,80,185,73,150,131,23,81,178,152,202,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190328,"type":"Packet"},{"data":[27,240,70,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,200,16,5,0,0,0,0,24,252,7,0,17,178,37,208,192,167,171,200,240,185,17,80,208,254,56,201,137,75,3,208,123,79,40,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,90,145,24,209,8,171,230,73,123,49,112,81,128,45,25,72,107,219,28,209,10,79,44,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190330,"type":"Packet"},{"data":[27,144,75,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,219,199,5,0,0,0,0,24,252,8,0,76,155,172,80,132,146,2,202,81,48,31,209,128,73,132,71,165,57,156,80,165,143,109,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,127,3,209,240,160,73,201,93,11,53,81,204,248,50,202,101,204,11,209,23,122,142,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190333,"type":"Packet"},{"data":[27,176,80,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,238,126,6,0,0,0,0,24,252,9,0,225,232,190,80,92,222,11,202,135,94,224,208,160,157,8,73,150,110,242,80,75,102,200,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,26,249,80,184,187,213,73,231,216,83,209,8,162,139,73,108,217,210,80,251,218,85,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190335,"type":"Packet"},{"data":[27,208,85,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,2,54,7,0,0,0,0,24,252,10,0,50,158,159,208,128,198,251,71,73,18,160,80,88,157,25,202,93,165,245,208,223,16,0,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,188,210,5,209,8,201,139,73,80,70,95,81,176,100,44,201,13,95,206,208,38,144,66,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190337,"type":"Packet"},{"data":[27,176,92,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,21,237,7,0,0,0,0,24,252,11,0,138,17,184,208,56,98,21,74,51,6,49,81,0,100,205,200,2,255,216,207,194,164,94,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,85,15,246,80,48,192,150,201,125,118,23,209,48,28,58,73,239,232,28,81,93,223,71,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190339,"type":"Packet"},{"data":[27,208,97,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,40,164,8,0,0,0,0,24,252,12,0,223,6,244,80,32,60,191,73,12,139,82,209,128,40,44,74,68,1,84,80,189,63,58,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,164,104,172,208,192,98,153,73,186,203,161,80,0,82,91,200,219,166,18,209,198,232,235,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190342,"type":"Packet"},{"data":[27,240,102,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,59,91,9,0,0,0,0,24,252,13,0,39,80,200,208,72,113,195,201,197,205,207,80,224,90,155,72,32,245,20,209,50,90,171,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,177,105,200,208,32,174,47,202,201,208,57,81,96,141,145,200,229,199,164,206,143,88,61,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190344,"type":"Packet"},{"data":[27,16,108,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,78,18,10,0,0,0,0,24,252,14,0,227,202,24,80,64,176,228,201,2,254,38,78,32,92,19,73,71,223,3,81,182,249,30,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,160,126,0,81,80,118,126,73,195,97,72,209,128,193,158,73,137,127,83,80,60,135,227,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190346,"type":"Packet"},{"data":[27,48,113,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,98,201,10,0,0,0,0,24,252,15,0,44,33,224,208,80,254,255,73,136,116,244,80,224,211,10,201,116,106,255,208,201,149,87,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,90,223,147,208,160,227,206,200,3,240,29,81,16,121,1,201,220,43,129,80,28,209,58,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190348,"type":"Packet"},{"data":[27,16,120,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,117,128,11,0,0,0,0,24,252,16,0,46,238,7,81,160,197,170,200,35,156,75,209,64,214,189,72,148,86,181,79,113,76,185,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,88,35,233,207,112,95,43,201,60,225,238,207,64,216,220,72,228,31,19,209,130,31,49,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190351,"type":"Packet"},{"data":[27,48,125,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,136,55,12,0,0,0,0,24,252,17,0,2,85,14,81,152,142,143,201,20,137,79,209,224,175,99,73,169,41,196,78,59,7,162,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,200,61,193,207,40,82,166,201,25,75,55,208,16,66,39,201,4,0,27,209,41,141,61,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190353,"type":"Packet"},{"data":[27,80,130,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,155,238,12,0,0,0,0,24,252,18,0,100,199,200,208,24,109,166,201,126,161,70,81,24,108,170,73,231,182,225,80,93,55,52,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,73,237,217,80,128,19,148,199,224,28,174,208,96,188,167,72,84,8,226,80,192,23,217,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190355,"type":"Packet"},{"data":[27,112,135,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,174,165,13,0,0,0,0,24,252,19,0,243,14,161,208,0,245,47,200,222,116,215,79,32,57,111,201,107,60,251,208,133,116,30,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,223,163,254,208,200,60,15,74,72,138,89,81,40,51,130,201,100,16,207,80,13,69,14,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190357,"type":"Packet"},{"data":[27,144,140,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,194,92,14,0,0,0,0,24,252,20,0,117,62,143,208,0,176,135,73,197,230,157,78,208,100,215,201,238,51,231,208,168,148,46,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,155,141,6,209,216,249,119,74,114,91,92,81,136,197,128,201,247,111,235,80,131,175,250,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190360,"type":"Packet"},{"data":[27,112,147,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,213,19,15,0,0,0,0,24,252,21,0,185,135,25,81,96,182,167,73,21,127,69,209,128,159,129,73,74,148,166,208,207,172,222,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,167,147,154,206,220,213,19,74,160,103,197,208,192,73,98,72,137,7,16,209,179,155,86,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190362,"type":"Packet"},{"data":[27,144,152,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,232,202,15,0,0,0,0,24,252,22,0,102,9,24,81,192,41,179,72,222,250,78,209,152,183,178,73,70,161,253,208,179,62,75,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,227,54,213,207,168,145,140,73,31,30,152,208,0,168,111,72,71,117,217,208,36,177,83,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190364,"type":"Packet"},{"data":[27,176,157,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,251,129,16,0,0,0,0,24,252,23,0,51,157,14,209,174,100,144,74,128,198,89,81,8,168,235,201,246,98,33,81,122,72,183,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185,148,116,80,4,16,9,202,93,79,5,80,248,139,215,73,205,208,49,80,95,89,71,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190366,"type":"Packet"},{"data":[27,208,162,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,14,57,17,0,0,0,0,24,252,24,0,94,133,201,208,48,147,184,201,94,73,83,81,144,87,48,201,45,182,24,81,229,131,39,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,84,138,237,80,168,63,202,201,128,82,114,208,128,12,244,72,162,171,135,208,206,105,16,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190369,"type":"Packet"},{"data":[27,240,167,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,33,240,17,0,0,0,0,24,252,25,0,233,124,25,209,184,220,155,201,246,23,71,81,0,65,26,71,4,23,38,81,223,149,4,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,121,234,79,96,125,185,200,189,251,182,80,136,80,210,201,91,215,14,78,237,148,92,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190371,"type":"Packet"},{"data":[27,208,174,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,53,167,18,0,0,0,0,24,252,26,0,162,232,195,208,8,238,136,201,61,223,173,78,160,117,77,73,161,114,223,80,186,245,56,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,186,163,244,208,144,220,177,73,67,108,90,81,192,139,178,201,3,17,241,80,44,79,0,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190373,"type":"Packet"},{"data":[27,240,179,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,72,94,19,0,0,0,0,24,252,27,0,56,51,226,208,12,147,39,74,7,158,210,79,128,201,155,200,62,148,22,81,252,5,43,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,10,218,208,96,204,35,73,3,47,88,81,148,5,4,202,65,127,103,80,117,67,21,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190375,"type":"Packet"},{"data":[27,16,185,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,91,21,20,0,0,0,0,24,252,28,0,155,16,220,80,192,239,120,72,40,52,81,207,192,93,86,201,215,70,28,209,35,79,52,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,135,68,225,80,216,246,172,201,223,149,88,209,144,79,74,74,166,106,19,206,245,66,12,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190378,"type":"Packet"},{"data":[27,48,190,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,110,204,20,0,0,0,0,24,252,29,0,93,86,20,81,224,245,154,200,223,70,198,208,24,151,73,74,39,167,168,208,25,35,212,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,48,88,80,32,183,216,201,169,82,64,209,24,4,211,73,54,197,241,80,98,135,74,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190380,"type":"Packet"},{"data":[27,80,195,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,129,131,21,0,0,0,0,24,252,30,0,125,48,53,80,64,213,246,201,69,133,202,80,224,164,135,73,196,133,155,208,208,167,94,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,172,23,81,160,117,219,200,223,145,62,209,96,100,133,72,182,170,208,80,162,5,8,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190382,"type":"Packet"},{"data":[27,48,202,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,149,58,22,0,0,0,0,24,252,31,0,245,101,218,80,224,197,182,201,151,87,87,209,0,76,80,73,49,40,104,207,67,187,252,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,126,230,208,210,119,133,74,150,229,2,75,0,69,40,201,1,183,227,208,120,1,49,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190384,"type":"Packet"},{"data":[27,80,207,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,168,241,22,0,0,0,0,24,252,32,0,125,223,21,80,68,246,23,74,78,74,58,209,160,42,158,200,127,8,146,208,114,41,64,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,25,23,209,0,138,114,199,171,86,194,80,224,100,14,201,138,25,232,80,133,225,205,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190387,"type":"Packet"},{"data":[27,112,212,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,187,168,23,0,0,0,0,24,252,33,0,203,121,96,80,0,232,182,201,85,48,206,80,64,41,233,73,250,91,241,208,161,212,94,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,227,163,17,81,68,67,54,202,66,172,54,209,144,108,230,73,214,79,161,208,68,45,246,206,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190389,"type":"Packet"},{"data":[27,144,217,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,206,95,24,0,0,0,0,24,252,34,0,30,213,13,209,192,130,12,74,223,142,53,80,156,71,15,202,236,73,135,80,194,245,16,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,124,158,131,208,208,215,191,73,23,73,76,81,240,113,84,201,73,51,250,208,140,111,40,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190391,"type":"Packet"},{"data":[27,176,222,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,225,22,25,0,0,0,0,24,252,35,0,231,120,197,80,164,87,70,74,156,39,80,209,16,171,92,73,79,246,8,81,225,33,244,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,206,197,242,208,28,247,4,202,89,21,92,207,80,244,31,73,24,252,226,78,187,36,53,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190394,"type":"Packet"},{"data":[27,144,229,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,245,205,25,0,0,0,0,24,252,36,0,201,173,21,81,16,159,32,73,30,199,31,209,88,38,177,73,16,40,5,81,189,56,222,206,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,22,55,208,96,146,50,201,7,41,5,209,0,142,166,72,220,114,0,207,171,131,85,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190396,"type":"Packet"},{"data":[27,176,234,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,8,133,26,0,0,0,0,24,252,37,0,219,10,25,209,216,211,0,74,62,249,13,81,244,144,27,202,76,114,196,208,24,140,211,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,113,2,80,160,152,37,73,104,4,23,81,48,185,4,202,35,53,179,80,44,0,80,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190398,"type":"Packet"},{"data":[27,208,239,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,27,60,27,0,0,0,0,24,252,38,0,115,63,200,208,92,233,37,74,240,104,147,208,32,90,60,201,187,25,0,209,64,42,73,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,156,114,240,208,224,149,126,73,196,26,65,81,88,201,113,202,223,201,61,80,105,176,94,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190400,"type":"Packet"},{"data":[27,240,244,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,46,243,27,0,0,0,0,24,252,39,0,240,84,26,81,0,46,119,71,214,117,128,208,208,229,2,201,228,218,30,208,223,175,222,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,3,204,79,176,156,219,73,98,234,67,209,112,171,168,73,46,186,8,209,229,34,51,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190403,"type":"Packet"},{"data":[27,16,250,0,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,65,170,28,0,0,0,0,24,252,40,0,23,168,233,80,48,5,246,201,19,247,61,209,24,174,134,73,6,75,17,209,243,71,64,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,163,2,208,208,64,172,48,200,55,233,157,208,128,100,72,202,203,59,210,79,161,63,81,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190405,"type":"Packet"},{"data":[27,240,0,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,84,97,29,0,0,0,0,24,252,41,0,13,180,123,208,160,180,177,72,159,140,10,209,152,191,192,201,56,75,73,80,112,40,83,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,80,30,15,209,96,158,115,201,38,128,23,81,168,244,160,201,253,190,13,81,7,172,83,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190407,"type":"Packet"},{"data":[27,16,6,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,104,24,30,0,0,0,0,24,252,42,0,177,76,248,80,8,113,132,201,248,10,92,80,192,166,217,73,115,100,22,209,141,203,74,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,46,190,80,176,92,42,202,23,132,69,209,200,26,154,73,99,8,225,205,94,39,163,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190409,"type":"Packet"},{"data":[27,48,11,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,123,207,30,0,0,0,0,24,252,43,0,96,105,28,209,192,126,13,74,187,103,125,80,208,51,235,201,86,153,106,80,90,223,237,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,57,169,206,176,112,32,73,225,217,66,81,40,237,223,73,69,212,7,209,115,183,53,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190412,"type":"Packet"},{"data":[27,80,16,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,142,134,31,0,0,0,0,24,252,44,0,27,24,226,208,180,147,15,74,236,63,52,81,48,192,140,201,121,223,229,208,142,6,35,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,170,238,216,80,140,211,21,202,171,217,194,80,88,14,222,73,35,96,173,208,155,27,82,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190414,"type":"Packet"},{"data":[27,112,21,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,161,61,32,0,0,0,0,24,252,45,0,76,73,32,208,32,21,67,201,156,54,77,81,64,100,32,73,237,3,253,208,75,31,9,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,198,213,23,81,0,9,186,201,217,60,89,206,72,208,245,73,62,140,108,80,128,135,31,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190416,"type":"Packet"},{"data":[27,80,28,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,180,244,32,0,0,0,0,24,252,46,0,88,90,158,206,48,154,200,201,158,19,70,209,160,207,66,201,147,3,38,80,37,213,41,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,123,63,29,209,56,168,90,74,168,224,92,80,192,166,122,201,86,76,1,209,1,76,236,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190418,"type":"Packet"},{"data":[27,112,33,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,200,171,33,0,0,0,0,24,252,47,0,249,224,19,81,68,15,36,202,26,118,218,208,176,252,244,73,194,45,226,80,76,153,132,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,92,89,208,220,213,23,202,13,181,46,209,248,181,128,201,105,204,141,208,178,176,65,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190421,"type":"Packet"},{"data":[27,144,38,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,219,98,34,0,0,0,0,24,252,48,0,222,19,238,208,120,128,243,73,163,73,32,81,52,39,5,202,217,198,76,207,213,19,78,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,35,207,80,224,217,1,201,58,242,1,81,176,220,138,73,152,205,4,81,211,113,76,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190423,"type":"Packet"},{"data":[27,176,43,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,238,25,35,0,0,0,0,24,252,49,0,205,191,24,81,224,98,218,200,199,209,160,208,48,40,48,73,7,214,41,76,106,143,204,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,53,153,33,208,112,18,92,201,219,128,62,209,112,93,119,73,246,200,7,209,140,14,51,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190425,"type":"Packet"},{"data":[27,208,48,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,1,209,35,0,0,0,0,24,252,50,0,153,137,210,80,96,231,183,201,70,245,10,81,192,114,218,72,254,164,148,80,116,142,80,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,230,127,236,80,56,51,33,202,193,211,25,209,240,221,29,201,214,123,237,208,134,253,149,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190427,"type":"Packet"},{"data":[27,240,56,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,20,136,36,0,0,0,0,24,252,51,0,164,66,25,209,16,14,52,74,30,214,138,80,16,169,226,201,39,65,0,81,251,181,233,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,233,35,80,192,193,48,201,39,248,67,81,160,250,33,201,206,5,137,80,130,26,50,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190430,"type":"Packet"},{"data":[27,16,62,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,40,63,37,0,0,0,0,24,252,52,0,153,45,208,208,176,64,189,201,135,230,35,81,64,50,210,201,195,73,245,80,169,249,185,77,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,43,240,80,48,88,253,73,11,219,0,81,192,123,98,200,34,27,174,208,15,180,87,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190432,"type":"Packet"},{"data":[27,48,67,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,59,246,37,0,0,0,0,24,252,53,0,49,105,162,208,80,200,46,201,208,41,50,209,160,37,73,201,140,185,219,80,192,56,76,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,144,238,8,209,48,52,9,73,44,2,219,80,32,94,243,200,32,17,216,80,2,86,145,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190434,"type":"Packet"},{"data":[27,208,71,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,78,173,38,0,0,0,0,24,252,54,0,228,7,245,80,168,127,9,74,183,212,8,81,48,208,179,73,116,177,27,209,166,220,87,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,174,128,204,80,88,197,66,202,129,237,30,209,180,189,13,74,154,209,192,78,193,114,97,206,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190436,"type":"Packet"},{"data":[27,240,76,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,97,100,39,0,0,0,0,24,252,55,0,169,217,31,209,92,195,20,74,82,15,118,207,160,41,215,201,148,202,118,80,138,11,44,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,60,36,135,206,12,36,4,74,185,207,81,81,248,141,132,201,162,183,14,209,208,161,252,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190439,"type":"Packet"},{"data":[27,208,83,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,116,27,40,0,0,0,0,24,252,56,0,217,193,12,208,128,69,49,200,91,139,73,81,224,239,31,202,125,46,23,209,108,149,168,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,75,28,81,128,136,121,72,151,73,121,80,160,8,188,72,46,57,201,207,178,93,64,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190441,"type":"Packet"},{"data":[27,240,88,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,135,210,40,0,0,0,0,24,252,57,0,247,148,227,208,80,189,241,73,110,12,37,209,0,81,234,71,97,219,56,80,182,238,74,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,160,226,208,16,99,216,201,36,137,4,81,248,58,187,201,181,173,14,209,239,167,29,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190443,"type":"Packet"},{"data":[27,16,94,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,155,137,41,0,0,0,0,24,252,58,0,250,221,226,208,0,173,4,199,114,60,43,209,64,86,192,72,22,184,162,207,66,169,71,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,165,155,228,208,100,28,18,202,224,214,250,80,172,132,34,202,147,190,16,209,197,132,39,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190445,"type":"Packet"},{"data":[27,48,99,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,174,64,42,0,0,0,0,24,252,59,0,108,38,10,81,0,15,16,201,47,50,13,81,160,96,187,73,22,187,196,80,250,67,74,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,150,166,80,64,147,63,202,132,19,31,209,128,28,103,201,134,133,205,80,127,221,202,206,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190448,"type":"Packet"},{"data":[27,80,104,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,193,247,42,0,0,0,0,24,252,60,0,225,239,14,209,156,77,96,74,60,21,96,80,48,128,118,201,42,36,229,208,213,88,239,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,122,150,80,160,103,13,74,141,129,77,81,128,174,118,72,185,176,156,80,15,141,34,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190450,"type":"Packet"},{"data":[27,48,111,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,212,174,43,0,0,0,0,24,252,61,0,194,53,220,208,128,29,130,72,87,182,229,80,196,246,105,202,146,113,249,207,132,97,131,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,111,68,236,80,32,43,31,73,105,137,51,81,0,190,109,72,196,133,4,81,64,125,63,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190452,"type":"Packet"},{"data":[27,80,116,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,231,101,44,0,0,0,0,24,252,62,0,243,97,139,80,96,137,97,201,67,81,82,81,192,197,47,72,125,18,4,81,129,84,23,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,110,163,17,81,216,205,95,202,125,112,9,208,240,69,211,73,75,244,208,79,246,157,8,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190454,"type":"Packet"},{"data":[27,112,121,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,251,28,45,0,0,0,0,24,252,63,0,175,94,254,208,0,47,31,200,103,87,44,209,208,156,27,73,43,168,210,208,152,223,64,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,219,186,191,208,64,12,204,72,169,82,240,80,176,170,153,73,184,58,161,80,250,115,128,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190457,"type":"Packet"},{"data":[27,144,126,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,14,212,45,0,0,0,0,24,252,64,0,220,251,30,81,232,175,229,201,221,218,116,80,0,42,141,71,5,247,186,207,80,234,65,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,117,249,3,207,68,170,10,202,246,235,72,209,192,141,237,72,45,162,3,209,20,98,136,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190459,"type":"Packet"},{"data":[27,176,131,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,33,139,46,0,0,0,0,24,252,65,0,27,243,136,207,12,97,65,74,249,179,57,81,0,118,203,200,54,171,247,80,169,225,255,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,142,43,30,81,120,54,148,201,70,45,195,80,148,151,17,74,84,94,95,208,88,215,76,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190461,"type":"Packet"},{"data":[27,144,138,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,52,66,47,0,0,0,0,24,252,66,0,104,185,172,208,96,123,6,73,199,105,78,209,28,8,16,74,38,30,63,76,234,158,31,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,100,5,209,56,92,16,74,230,63,15,80,180,106,1,202,96,225,10,81,194,22,6,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190463,"type":"Packet"},{"data":[27,176,143,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,71,249,47,0,0,0,0,24,252,67,0,228,196,17,81,48,22,76,201,150,65,149,78,48,189,154,73,177,154,11,209,206,29,40,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,232,131,122,208,72,116,186,201,137,8,81,209,32,44,137,200,71,149,218,79,190,202,245,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190466,"type":"Packet"},{"data":[27,208,148,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,91,176,48,0,0,0,0,24,252,68,0,84,79,25,209,120,168,21,74,37,181,7,209,0,212,96,70,167,59,17,81,124,102,78,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,158,185,31,208,0,164,124,70,182,86,30,81,232,198,23,202,124,135,206,78,208,204,249,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190468,"type":"Packet"},{"data":[27,240,153,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,110,103,49,0,0,0,0,24,252,69,0,225,232,175,80,96,126,159,200,131,148,78,81,192,145,227,201,25,45,12,209,101,216,19,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,69,56,3,81,64,233,68,72,98,126,182,207,128,255,189,71,95,17,54,208,115,109,11,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190470,"type":"Packet"},{"data":[27,16,159,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,129,30,50,0,0,0,0,24,252,70,0,83,125,16,208,192,143,55,200,22,229,24,81,104,8,177,201,118,38,220,208,78,42,58,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,93,25,81,164,144,10,202,230,124,11,81,104,147,7,74,39,92,197,208,127,179,70,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190472,"type":"Packet"},{"data":[27,240,165,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,148,213,50,0,0,0,0,24,252,71,0,26,168,138,80,16,32,175,201,19,204,224,208,64,171,97,73,113,180,249,80,204,243,129,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,190,12,209,24,152,142,74,224,116,44,209,128,131,33,200,70,248,153,80,137,128,55,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190475,"type":"Packet"},{"data":[27,16,171,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,167,140,51,0,0,0,0,24,252,72,0,98,242,246,80,64,12,37,202,99,40,157,207,144,216,0,73,118,144,243,80,192,218,10,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,145,191,208,0,60,157,72,85,196,75,209,216,79,28,74,205,149,153,80,209,70,3,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190477,"type":"Packet"},{"data":[27,48,176,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,186,67,52,0,0,0,0,24,252,73,0,253,243,16,209,72,165,127,74,30,115,38,209,8,247,232,201,35,6,105,208,162,119,53,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,56,95,208,0,210,78,71,80,131,233,80,24,115,204,201,4,207,254,208,191,248,77,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190479,"type":"Packet"},{"data":[27,80,181,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,206,250,52,0,0,0,0,24,252,74,0,124,17,23,81,224,0,163,200,235,172,21,81,96,143,113,201,120,101,208,80,229,187,52,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,70,78,3,80,32,194,49,73,255,163,7,209,184,244,158,73,28,208,174,80,65,23,76,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190481,"type":"Packet"},{"data":[27,112,186,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,225,177,53,0,0,0,0,24,252,75,0,87,134,71,207,128,5,220,201,122,43,29,81,224,151,43,201,83,70,125,207,50,19,191,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,180,32,81,64,132,147,200,201,214,11,81,64,4,162,73,125,85,9,81,223,195,67,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190484,"type":"Packet"},{"data":[27,80,193,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,244,104,54,0,0,0,0,24,252,76,0,223,156,5,209,12,236,21,74,113,197,72,209,128,27,32,72,188,184,2,209,102,116,27,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,101,5,180,208,0,244,46,200,74,137,117,80,64,100,44,201,120,242,6,208,113,61,249,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190486,"type":"Packet"},{"data":[27,112,198,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,7,32,55,0,0,0,0,24,252,77,0,18,135,146,80,160,141,197,201,25,182,157,208,192,246,222,73,110,82,16,208,89,5,212,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,180,95,15,209,32,107,15,73,92,13,66,209,32,215,250,72,46,4,255,208,133,162,43,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190488,"type":"Packet"},{"data":[27,144,203,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,26,215,55,0,0,0,0,24,252,78,0,236,108,254,207,248,148,155,201,148,173,245,80,100,31,82,202,100,38,195,80,161,55,153,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,201,192,29,81,64,194,9,201,108,19,41,81,144,99,2,202,11,97,174,80,156,92,61,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190490,"type":"Packet"},{"data":[27,176,208,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,46,142,56,0,0,0,0,24,252,79,0,212,209,32,209,240,96,70,74,188,232,15,209,240,68,73,201,242,221,140,207,29,14,75,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,197,20,78,0,252,97,73,99,236,22,81,52,185,53,202,134,1,1,81,232,42,22,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190493,"type":"Packet"},{"data":[27,208,213,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,65,69,57,0,0,0,0,24,252,80,0,103,15,32,81,32,41,69,73,237,245,8,81,128,143,39,200,231,161,35,208,46,165,78,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,8,104,207,240,144,62,201,10,173,28,209,144,61,193,73,250,220,247,208,66,69,198,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190495,"type":"Packet"},{"data":[27,176,220,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,84,252,57,0,0,0,0,24,252,81,0,127,33,28,209,0,168,230,72,160,230,54,209,144,99,2,201,179,223,48,80,58,31,56,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,214,162,22,208,88,21,157,201,62,84,196,80,112,100,120,202,18,57,248,80,179,229,196,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190497,"type":"Packet"},{"data":[27,208,225,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,103,179,58,0,0,0,0,24,252,82,0,144,249,75,80,160,155,103,73,166,144,150,208,184,191,13,74,197,3,170,208,143,36,145,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,134,255,23,209,64,141,153,73,239,205,64,209,96,142,93,201,153,76,206,80,211,89,67,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190499,"type":"Packet"},{"data":[27,240,230,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,122,106,59,0,0,0,0,24,252,83,0,76,77,246,78,160,239,153,73,38,113,6,81,188,161,13,202,157,211,144,79,21,87,49,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,129,252,31,81,96,190,44,73,156,194,28,81,0,19,161,72,125,30,7,209,20,76,74,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190502,"type":"Packet"},{"data":[27,16,236,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,142,33,60,0,0,0,0,24,252,84,0,88,141,28,209,0,254,130,200,232,156,10,209,104,59,151,201,75,109,255,80,133,190,75,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,102,56,3,80,96,27,117,201,150,102,24,81,144,86,23,201,178,46,94,208,27,50,163,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190504,"type":"Packet"},{"data":[27,48,241,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,161,216,60,0,0,0,0,24,252,85,0,225,174,184,207,8,210,220,73,192,3,10,209,64,109,65,73,150,166,195,80,184,53,24,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,177,20,30,209,0,146,54,201,100,88,24,209,16,184,50,73,98,33,206,80,68,46,70,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190506,"type":"Packet"},{"data":[27,16,248,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,180,143,61,0,0,0,0,24,252,86,0,6,67,18,209,8,56,157,201,125,254,74,209,192,58,66,72,178,194,235,80,227,123,13,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,63,126,208,60,213,46,74,55,158,237,79,88,102,134,201,121,11,166,208,84,214,11,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190509,"type":"Packet"},{"data":[27,48,253,1,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,199,70,62,0,0,0,0,24,252,87,0,228,148,185,80,128,158,84,201,1,74,165,79,128,147,147,73,197,27,218,80,66,236,37,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,246,132,1,209,32,229,50,202,33,190,75,209,16,196,131,73,101,92,192,80,16,45,212,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190511,"type":"Packet"},{"data":[27,80,2,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,218,253,62,0,0,0,0,24,252,88,0,31,217,194,207,64,218,49,74,146,195,133,80,64,156,43,201,217,83,16,209,228,100,231,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,238,69,29,81,112,121,78,73,183,93,65,81,0,20,197,72,174,35,139,79,194,108,30,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190513,"type":"Packet"},{"data":[27,112,7,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,237,180,63,0,0,0,0,24,252,89,0,59,212,127,207,216,42,80,202,154,12,215,208,72,33,160,73,132,77,198,80,17,165,153,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,90,36,30,209,228,207,2,74,177,200,45,209,152,46,227,201,131,163,209,208,118,171,53,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190515,"type":"Packet"},{"data":[27,144,12,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,1,108,64,0,0,0,0,24,252,90,0,36,43,229,208,48,237,34,201,214,38,154,208,128,32,111,200,169,227,8,209,113,223,67,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,28,220,80,128,181,196,200,86,66,61,81,64,57,18,201,206,39,30,80,94,63,28,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190517,"type":"Packet"},{"data":[27,112,19,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,20,35,65,0,0,0,0,24,252,91,0,192,8,69,207,24,99,130,73,196,166,181,208,248,137,150,73,86,7,236,77,132,41,201,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,247,57,30,209,120,150,233,73,66,242,54,209,140,91,18,74,155,240,11,209,162,32,48,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190520,"type":"Packet"},{"data":[27,144,24,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,39,218,65,0,0,0,0,24,252,92,0,144,76,30,81,220,208,56,202,77,192,60,81,224,2,114,201,104,245,2,81,106,215,41,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,173,93,230,206,208,113,250,201,25,198,155,208,20,108,17,74,118,186,36,208,80,137,233,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190522,"type":"Packet"},{"data":[27,176,29,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,58,145,66,0,0,0,0,24,252,93,0,191,149,2,81,128,233,166,199,230,152,67,81,136,83,181,73,161,168,6,81,173,42,136,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,116,136,178,80,216,86,10,202,244,138,105,80,72,153,241,73,108,242,210,206,157,177,69,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190524,"type":"Packet"},{"data":[27,208,34,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,77,72,67,0,0,0,0,24,252,94,0,82,59,21,209,0,212,42,201,62,184,75,209,144,85,45,73,42,150,197,208,141,241,255,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,198,150,78,208,96,178,92,74,143,247,61,207,16,217,222,201,91,93,177,80,205,45,40,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190527,"type":"Packet"},{"data":[27,240,39,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,97,255,67,0,0,0,0,24,252,95,0,14,31,165,208,212,215,28,202,41,100,17,209,148,196,28,74,217,117,253,208,128,170,18,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,111,6,209,64,5,53,72,32,97,15,209,96,9,18,201,7,120,5,80,4,198,81,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190529,"type":"Packet"},{"data":[27,208,46,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,116,182,68,0,0,0,0,24,252,96,0,18,63,26,81,88,254,181,73,215,41,76,81,112,187,173,201,65,81,183,79,188,218,248,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,164,42,254,79,216,0,42,202,43,198,148,205,80,224,197,73,109,164,255,208,169,156,45,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190531,"type":"Packet"},{"data":[27,240,51,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,135,109,69,0,0,0,0,24,252,97,0,131,119,152,208,208,113,151,73,68,39,132,208,252,62,31,202,211,197,255,80,79,28,74,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,194,122,9,81,176,198,4,74,187,58,65,81,128,98,74,200,81,112,142,79,30,194,136,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190533,"type":"Packet"},{"data":[27,16,57,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,154,36,70,0,0,0,0,24,252,98,0,179,58,250,208,248,225,227,201,79,223,50,209,184,94,166,73,178,174,199,78,201,89,24,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,223,129,189,208,224,171,226,72,222,140,197,208,0,153,108,201,9,165,0,81,45,8,81,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190536,"type":"Packet"},{"data":[27,48,62,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,173,219,70,0,0,0,0,24,252,99,0,135,90,28,81,48,37,46,74,135,202,73,81,160,101,182,72,68,184,219,208,171,237,25,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,136,232,206,0,96,46,72,75,17,0,208,48,110,136,73,52,132,134,208,221,32,16,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190538,"type":"Packet"},{"data":[27,80,67,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,193,146,71,0,0,0,0,24,252,100,0,191,217,7,80,128,214,134,71,211,14,111,80,180,168,42,202,78,81,19,79,208,228,240,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,107,175,23,81,144,62,6,73,41,148,66,81,132,154,14,202,97,161,0,209,5,38,42,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190540,"type":"Packet"},{"data":[27,48,74,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,212,73,72,0,0,0,0,24,252,101,0,223,105,9,209,232,33,227,201,227,137,56,209,96,99,210,73,52,191,231,80,2,28,41,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,56,204,145,208,176,125,223,201,20,133,175,208,144,176,18,73,214,238,106,80,35,252,73,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190542,"type":"Packet"},{"data":[27,80,79,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,231,0,73,0,0,0,0,24,252,102,0,224,223,69,79,112,247,80,73,215,215,99,79,192,5,139,73,112,225,28,80,233,142,38,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,123,26,209,0,239,177,72,37,221,75,209,176,99,27,73,93,230,249,80,251,102,236,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190545,"type":"Packet"},{"data":[27,112,84,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,250,183,73,0,0,0,0,24,252,103,0,108,152,195,208,112,216,6,73,46,63,5,209,224,115,134,201,147,39,129,206,89,103,74,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,140,239,80,204,85,56,74,32,108,27,81,200,204,246,201,102,55,4,209,249,186,192,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190547,"type":"Packet"},{"data":[27,144,89,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,13,111,74,0,0,0,0,24,252,104,0,101,3,237,80,64,75,149,200,51,211,21,81,128,121,193,199,103,13,252,208,183,4,173,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,133,28,197,80,88,225,205,201,217,231,11,81,72,164,18,74,24,107,52,80,148,90,72,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190549,"type":"Packet"},{"data":[27,176,94,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,32,38,75,0,0,0,0,24,252,105,0,123,47,14,209,240,128,138,73,44,73,68,209,48,149,29,201,76,130,233,207,95,242,33,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,150,15,106,80,192,255,115,72,99,196,114,80,176,28,120,201,45,87,4,209,16,92,240,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190551,"type":"Packet"},{"data":[27,144,101,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,52,221,75,0,0,0,0,24,252,106,0,52,24,149,80,208,203,74,201,132,160,154,80,104,97,197,201,216,179,205,208,81,53,216,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,99,43,6,81,240,36,175,73,203,17,63,81,0,237,77,199,152,181,181,80,89,13,44,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190554,"type":"Packet"},{"data":[27,176,106,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,71,148,76,0,0,0,0,24,252,107,0,56,123,23,209,0,110,210,199,126,206,78,209,0,152,122,71,2,59,188,208,207,77,232,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,188,125,184,79,8,96,6,202,67,49,92,205,168,208,140,201,249,140,203,208,47,232,41,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190556,"type":"Packet"},{"data":[27,208,111,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,90,75,77,0,0,0,0,24,252,108,0,87,152,186,79,16,164,47,73,84,190,138,80,160,44,183,72,125,38,183,80,252,22,74,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,185,113,23,209,192,96,176,73,89,243,67,209,204,81,71,74,232,130,210,208,124,195,92,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190558,"type":"Packet"},{"data":[27,240,116,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,109,2,78,0,0,0,0,24,252,109,0,143,183,22,81,120,127,160,201,176,135,64,81,216,83,205,201,36,169,3,81,239,174,41,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,238,218,217,79,124,9,42,202,158,53,162,80,224,2,112,73,159,151,56,80,88,47,81,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190560,"type":"Packet"},{"data":[27,16,122,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,128,185,78,0,0,0,0,24,252,110,0,3,235,252,208,128,171,105,73,72,123,69,209,192,192,251,72,47,141,177,208,1,202,50,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,86,239,172,80,216,90,188,201,55,24,143,80,12,205,86,202,206,9,213,80,52,128,245,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190563,"type":"Packet"},{"data":[27,240,128,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,148,112,79,0,0,0,0,24,252,111,0,8,86,4,206,40,65,183,73,30,225,118,208,16,49,37,73,210,87,175,80,46,39,77,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,206,24,81,136,103,37,74,78,92,73,81,136,38,146,201,61,222,208,80,135,200,149,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190565,"type":"Packet"},{"data":[27,16,134,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,167,39,80,0,0,0,0,24,252,112,0,40,12,158,208,104,236,135,201,108,126,63,208,220,191,79,74,223,153,5,209,58,157,11,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,93,7,3,209,0,88,249,72,125,131,78,209,0,164,107,71,145,232,70,79,164,29,41,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190567,"type":"Packet"},{"data":[27,48,139,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,186,222,80,0,0,0,0,24,252,113,0,154,249,58,80,120,51,159,73,217,60,226,206,48,2,168,201,240,99,253,80,13,233,46,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,236,17,81,208,85,43,201,253,46,85,81,160,109,173,201,169,175,16,208,3,140,3,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190569,"type":"Packet"},{"data":[27,80,144,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,205,149,81,0,0,0,0,24,252,114,0,5,92,140,208,128,235,79,72,241,84,32,209,88,101,239,201,29,46,0,81,155,201,85,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,91,156,8,81,136,41,179,73,221,233,14,81,0,164,78,201,181,223,152,79,12,100,33,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190572,"type":"Packet"},{"data":[27,112,149,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,224,76,82,0,0,0,0,24,252,115,0,26,156,250,79,100,217,9,202,114,133,243,80,16,56,179,73,13,242,222,208,72,24,87,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,105,224,22,209,120,213,21,202,52,201,50,209,128,180,196,73,130,164,121,80,225,245,138,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190574,"type":"Packet"},{"data":[27,80,156,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,244,3,83,0,0,0,0,24,252,116,0,55,239,70,80,36,92,99,74,132,234,161,207,72,83,197,201,196,81,178,79,76,131,50,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,77,53,18,81,32,228,180,72,245,193,88,81,128,22,14,201,147,204,248,208,170,36,236,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190576,"type":"Packet"},{"data":[27,112,161,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,7,187,83,0,0,0,0,24,252,117,0,200,79,66,208,84,10,90,202,132,109,226,79,240,78,201,73,36,109,152,79,219,205,53,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,178,18,19,209,40,41,20,74,244,97,89,209,192,243,217,72,1,148,248,80,90,94,221,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190578,"type":"Packet"},{"data":[27,144,166,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,26,114,84,0,0,0,0,24,252,118,0,206,4,25,81,224,108,37,73,1,24,48,81,0,228,214,72,200,139,251,208,254,91,244,206,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,142,220,211,79,128,7,233,201,214,24,5,81,152,41,177,73,61,199,201,204,121,7,84,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190580,"type":"Packet"},{"data":[27,176,171,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,45,41,85,0,0,0,0,24,252,119,0,224,66,235,78,248,155,195,73,107,151,195,208,172,116,10,202,139,165,129,208,137,164,78,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,166,185,27,81,152,57,17,74,190,133,71,81,128,124,145,72,20,20,217,208,19,67,66,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190583,"type":"Packet"},{"data":[27,208,176,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,64,224,85,0,0,0,0,24,252,120,0,79,168,55,80,32,255,170,200,248,180,36,81,192,214,25,74,144,174,115,80,119,139,81,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,140,21,209,200,72,143,201,76,116,23,209,236,50,47,74,235,91,224,80,61,97,31,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190585,"type":"Packet"},{"data":[27,240,184,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,83,151,86,0,0,0,0,24,252,121,0,92,216,214,208,112,149,226,73,35,245,48,208,80,112,198,73,100,241,251,80,153,205,24,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,7,229,208,224,26,11,74,196,223,92,209,208,118,94,73,68,78,236,207,142,28,23,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190587,"type":"Packet"},{"data":[27,16,190,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,103,78,87,0,0,0,0,24,252,122,0,107,7,133,80,96,243,148,201,30,206,64,81,160,58,167,72,75,40,211,80,81,3,70,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,174,14,209,128,113,11,201,8,129,237,208,208,36,162,73,27,232,156,80,83,222,177,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190590,"type":"Packet"},{"data":[27,48,195,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,122,5,88,0,0,0,0,24,252,123,0,123,231,254,208,0,65,50,72,151,167,99,209,64,90,35,74,254,190,180,208,42,42,1,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,247,229,186,80,64,253,85,200,175,43,182,78,64,105,6,201,58,15,198,208,104,252,49,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190592,"type":"Packet"},{"data":[27,80,200,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,141,188,88,0,0,0,0,24,252,124,0,60,205,154,79,128,6,157,73,239,226,28,81,0,98,93,201,214,54,3,81,17,157,92,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,106,29,209,64,133,199,72,69,200,38,209,64,26,181,73,178,165,28,208,177,44,6,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190594,"type":"Packet"},{"data":[27,112,205,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,160,115,89,0,0,0,0,24,252,125,0,41,137,214,208,0,224,27,201,180,105,97,209,128,91,72,200,178,210,10,209,2,160,28,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,154,245,231,80,160,153,141,72,219,30,25,80,84,209,5,202,103,60,134,206,96,176,33,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190596,"type":"Packet"},{"data":[27,80,212,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,179,42,90,0,0,0,0,24,252,126,0,114,131,190,80,144,241,32,201,192,114,6,207,172,110,28,202,83,32,111,79,91,235,63,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,244,235,253,80,220,186,59,202,54,126,101,81,80,18,6,201,198,54,13,81,252,200,246,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190599,"type":"Packet"},{"data":[27,112,217,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,199,225,90,0,0,0,0,24,252,127,0,213,100,177,80,152,13,124,74,235,148,213,207,192,172,243,200,240,110,41,80,73,104,82,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,57,101,4,81,32,192,134,200,78,243,100,81,32,43,162,201,22,105,10,81,247,117,189,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190601,"type":"Packet"},{"data":[27,144,222,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,218,152,91,0,0,0,0,24,252,128,0,96,185,21,209,24,217,190,73,35,131,87,209,240,175,82,73,156,155,1,209,36,15,120,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,22,6,97,80,248,200,156,73,182,195,168,208,0,143,102,199,53,180,138,80,65,36,96,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190603,"type":"Packet"},{"data":[27,176,227,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,237,79,92,0,0,0,0,24,252,129,0,57,182,3,79,128,181,7,72,34,71,40,81,64,39,11,72,125,95,110,208,138,50,102,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,119,92,32,209,252,221,33,202,89,248,31,209,64,182,114,73,211,227,7,209,236,75,24,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190605,"type":"Packet"},{"data":[27,208,232,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,0,7,93,0,0,0,0,24,252,130,0,143,243,198,80,140,135,29,74,175,61,230,207,196,221,25,202,21,97,19,81,112,252,74,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,128,253,80,192,33,14,73,4,226,102,81,208,254,48,201,227,172,135,79,23,251,227,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190608,"type":"Packet"},{"data":[27,176,239,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,19,190,93,0,0,0,0,24,252,131,0,82,157,32,209,184,167,31,202,215,165,49,209,240,223,197,73,88,28,60,208,95,78,143,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,79,173,145,79,16,170,205,73,233,17,23,209,248,20,6,202,196,110,11,81,33,107,102,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190610,"type":"Packet"},{"data":[27,208,244,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,39,117,94,0,0,0,0,24,252,132,0,203,179,162,80,8,238,174,73,98,0,101,81,240,137,189,201,176,230,240,208,172,150,42,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,226,77,12,209,196,0,105,202,143,237,55,208,152,130,194,73,145,243,159,208,184,30,24,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190612,"type":"Packet"},{"data":[27,240,249,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,58,44,95,0,0,0,0,24,252,133,0,233,39,234,79,128,98,88,73,68,220,21,209,208,56,154,73,200,224,249,80,46,98,97,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,238,253,31,81,64,86,190,73,90,65,51,81,128,50,168,201,122,143,130,208,44,13,95,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190614,"type":"Packet"},{"data":[27,16,255,2,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,77,227,95,0,0,0,0,24,252,134,0,164,10,10,81,84,114,8,202,169,196,91,81,96,47,160,201,60,164,2,209,97,243,139,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,227,92,173,208,176,131,4,73,55,143,158,80,232,16,239,73,204,100,32,208,149,7,84,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190617,"type":"Packet"},{"data":[27,48,4,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,96,154,96,0,0,0,0,24,252,135,0,203,226,12,79,208,183,43,73,63,46,52,209,160,98,242,200,193,247,132,80,249,148,81,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,59,35,81,24,35,157,201,171,129,20,81,172,82,122,202,139,126,228,208,152,204,142,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190619,"type":"Packet"},{"data":[27,16,11,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,115,81,97,0,0,0,0,24,252,136,0,95,231,34,209,0,185,247,71,37,190,24,209,196,205,136,74,231,47,0,81,215,87,105,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,153,43,140,79,232,73,170,73,104,7,48,209,0,44,79,71,182,222,175,78,161,28,85,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190621,"type":"Packet"},{"data":[27,48,16,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,134,8,98,0,0,0,0,24,252,137,0,220,162,6,81,0,70,19,200,69,238,212,206,32,3,163,201,156,248,233,208,84,3,60,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,171,96,188,80,128,203,104,200,60,107,104,81,32,206,13,202,234,140,50,208,220,99,234,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190623,"type":"Packet"},{"data":[27,80,21,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,154,191,98,0,0,0,0,24,252,138,0,49,173,219,80,0,64,94,70,9,72,100,81,0,136,77,198,226,78,162,207,113,228,144,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,133,28,245,208,220,156,16,202,86,164,34,80,0,17,85,73,94,107,243,80,87,250,82,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190626,"type":"Packet"},{"data":[27,112,26,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,173,118,99,0,0,0,0,24,252,139,0,100,54,29,208,0,55,88,71,169,178,93,209,0,246,111,71,47,104,173,208,36,192,41,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,231,45,32,81,18,94,128,74,11,57,130,80,108,37,2,202,249,155,174,208,103,81,20,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190628,"type":"Packet"},{"data":[27,144,31,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,192,45,100,0,0,0,0,24,252,140,0,129,24,180,207,0,205,6,202,59,227,57,81,176,17,77,73,161,112,248,80,65,78,83,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,110,221,35,209,144,216,228,201,142,227,7,209,136,155,197,73,193,219,136,78,51,49,172,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190630,"type":"Packet"},{"data":[27,112,38,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,211,228,100,0,0,0,0,24,252,141,0,250,16,31,81,188,62,14,74,118,111,34,80,32,126,80,202,129,214,221,205,177,118,35,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,253,55,80,224,117,147,200,137,121,97,81,228,64,9,202,255,207,253,80,120,51,35,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190632,"type":"Packet"},{"data":[27,144,43,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,230,155,101,0,0,0,0,24,252,142,0,200,229,41,80,48,253,19,201,45,32,97,81,48,172,170,201,158,170,235,80,138,106,43,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,126,77,32,209,192,12,180,201,11,63,20,208,86,59,147,74,36,119,96,208,46,140,30,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190635,"type":"Packet"},{"data":[27,176,48,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,250,82,102,0,0,0,0,24,252,143,0,173,225,98,80,160,205,78,201,133,147,98,81,128,112,2,201,17,102,220,80,241,222,2,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,182,87,28,209,80,234,188,201,21,6,6,207,48,119,67,73,147,9,157,208,230,220,66,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190637,"type":"Packet"},{"data":[27,208,53,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,13,10,103,0,0,0,0,24,252,144,0,138,62,37,81,180,150,69,74,39,84,70,80,136,126,91,202,140,27,0,81,68,80,47,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,171,168,79,224,202,12,202,150,25,92,81,16,206,170,201,3,79,100,80,244,147,28,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190639,"type":"Packet"},{"data":[27,240,58,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,32,193,103,0,0,0,0,24,252,145,0,62,134,38,209,0,154,71,201,167,59,157,208,200,32,142,73,190,42,15,209,137,67,15,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,238,12,2,79,0,48,250,71,94,217,81,209,216,210,230,73,69,43,171,79,56,234,56,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190641,"type":"Packet"},{"data":[27,208,65,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,51,120,104,0,0,0,0,24,252,146,0,138,124,148,208,160,168,181,200,52,5,36,81,224,164,159,72,134,205,234,208,216,57,94,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,83,20,209,48,82,59,202,6,68,20,209,30,102,132,74,147,183,178,208,72,206,109,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190644,"type":"Packet"},{"data":[27,240,70,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,70,47,105,0,0,0,0,24,252,147,0,119,158,12,80,112,151,154,73,220,17,90,81,72,81,143,73,237,146,19,209,183,60,96,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,177,36,33,209,96,14,87,201,207,16,134,206,184,13,124,74,136,6,158,207,79,230,178,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190646,"type":"Packet"},{"data":[27,16,76,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,90,230,105,0,0,0,0,24,252,148,0,144,47,28,209,128,140,232,201,39,91,3,80,200,197,200,73,94,76,219,208,98,30,73,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,88,42,100,208,104,248,253,73,197,157,87,209,160,222,61,74,250,221,207,80,25,144,195,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190648,"type":"Packet"},{"data":[27,48,81,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,109,157,106,0,0,0,0,24,252,149,0,45,239,8,209,232,218,146,201,60,149,185,80,104,120,6,74,84,224,204,208,55,101,89,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,191,188,208,192,72,38,202,99,154,67,209,92,42,113,74,10,86,221,80,0,47,20,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190650,"type":"Packet"},{"data":[27,80,86,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,128,84,107,0,0,0,0,24,252,150,0,23,234,30,80,208,54,35,74,191,152,75,209,32,242,252,72,67,111,11,81,148,136,53,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,141,232,35,81,112,40,48,74,140,78,154,80,48,58,150,201,90,201,108,208,29,127,251,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190653,"type":"Packet"},{"data":[27,48,93,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[144,147,11,108,0,0,0,0,24,252,151,0,223,140,40,209,248,179,235,201,103,186,10,208,36,202,3,74,147,33,155,80,136,209,29,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,153,109,67,79,240,67,237,73,38,132,85,209,128,82,248,199,222,87,255,80,61,171,24,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190655,"type":"Packet"},{"data":[27,80,98,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[192,166,194,108,0,0,0,0,24,252,152,0,174,176,216,208,160,26,66,201,133,219,43,209,140,111,24,74,122,217,18,81,9,78,227,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,178,33,2,81,136,222,136,201,86,215,0,209,0,22,252,201,23,90,114,78,121,0,89,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190657,"type":"Packet"},{"data":[27,112,103,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[240,185,121,109,0,0,0,0,24,252,153,0,7,109,6,209,96,216,46,73,150,211,254,80,184,50,146,73,230,188,255,79,224,9,87,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,142,206,208,64,244,24,200,182,25,43,209,4,74,97,74,127,124,12,81,204,23,41,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190659,"type":"Packet"},{"data":[27,144,108,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[32,205,48,110,0,0,0,0,24,252,154,0,31,131,25,81,48,172,222,201,196,90,172,80,16,8,43,202,75,24,11,209,93,99,229,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,120,220,144,208,72,253,153,201,104,148,65,81,0,148,149,71,149,113,193,79,34,209,59,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190662,"type":"Packet"},{"data":[27,176,113,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[80,224,231,110,0,0,0,0,24,252,155,0,143,161,34,209,0,34,38,71,89,172,67,208,144,123,66,73,246,138,6,81,246,25,27,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,96,68,80,0,8,215,201,40,185,76,209,160,39,165,200,54,92,3,208,42,243,29,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190664,"type":"Packet"},{"data":[27,144,120,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[128,243,158,111,0,0,0,0,24,252,156,0,27,32,158,207,208,10,114,73,161,251,80,81,96,153,167,200,77,251,38,80,85,48,243,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,105,216,40,209,152,97,152,73,136,98,124,206,24,175,3,74,224,114,1,81,214,46,59,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190666,"type":"Packet"},{"data":[27,176,125,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[176,6,86,112,0,0,0,0,24,252,157,0,62,221,34,209,72,69,51,202,7,193,172,80,0,208,147,73,182,170,4,81,137,241,95,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,164,190,68,208,0,179,148,201,85,212,60,209,128,204,180,72,185,245,122,207,169,142,168,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190668,"type":"Packet"},{"data":[27,208,130,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[224,25,13,113,0,0,0,0,24,252,158,0,74,156,168,208,124,30,4,74,48,212,30,209,236,105,118,74,119,41,153,207,173,5,24,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,79,191,19,81,136,216,141,201,219,190,3,209,96,213,157,72,207,26,2,209,21,147,95,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190671,"type":"Packet"},{"data":[27,240,135,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[16,45,196,113,0,0,0,0,24,252,159,0,142,41,20,81,48,196,34,73,112,50,115,80,224,186,141,201,17,157,132,207,76,87,26,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,187,112,167,208,208,221,211,73,155,222,67,81,16,167,201,201,173,131,0,81,135,20,40,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190673,"type":"Packet"},{"data":[27,16,141,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[64,64,123,114,0,0,0,0,24,252,160,0,120,144,170,80,48,64,198,201,198,92,68,209,192,123,118,200,106,25,250,208,155,70,46,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,67,19,81,96,129,67,201,3,20,91,80,180,84,87,202,146,133,224,79,155,69,21,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190675,"type":"Packet"},{"data":[27,240,147,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[112,83,50,115,0,0,0,0,24,252,161,0,144,169,38,209,160,168,83,73,204,225,191,80,160,172,156,200,159,69,233,79,106,181,101,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,13,212,6,208,64,241,188,201,0,152,50,209,0,250,123,73,63,165,247,208,23,242,131,79,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190677,"type":"Packet"},{"data":[27,16,153,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[160,102,233,115,0,0,0,0,24,252,162,0,76,44,74,208,80,18,82,201,136,160,73,81,156,13,18,202,15,53,196,80,207,185,4,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,233,40,34,209,96,149,158,72,103,152,204,78,52,184,76,74,36,223,160,208,209,243,59,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190680,"type":"Packet"},{"data":[27,48,158,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[208,121,160,116,0,0,0,0,24,252,163,0,203,15,238,208,160,93,219,200,95,46,163,208,24,15,3,74,82,222,254,208,140,250,220,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,197,174,241,80,184,247,217,201,98,112,55,209,240,85,34,201,48,81,95,205,0,19,72,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190682,"type":"Packet"},{"data":[27,80,163,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[0,141,87,117,0,0,0,0,24,252,164,0,196,202,39,81,180,215,88,74,196,254,91,208,136,229,10,202,0,137,253,80,2,212,80,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,0,187,207,144,73,87,201,14,63,64,81,192,213,94,201,9,202,200,79,187,238,169,208,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190684,"type":"Packet"},{"data":[27,112,168,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[48,160,14,118,0,0,0,0,24,252,165,0,163,250,4,209,144,177,71,202,189,210,34,208,0,216,58,71,142,212,159,208,18,231,1,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,52,45,209,80,48,2,15,74,218,239,66,209,0,138,39,73,13,153,211,80,248,150,50,81,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190686,"type":"Packet"},{"data":[27,80,175,3,208,36,126,0,0,0,143,123,145,92,0,0,0,188,160,101,1,0,0,0,0,34,0,208,36,126,0,0,128,227,149,239,36,126,0,0,124,237,142,123,145,92,0,0,35,0,0,0,0,0,0,0,0,34,0,208,36,126,0,0,176,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,152,228,20,124,145,92,0,0,8,233,73,238,36,126,0,0,0,0,0,0,0,0,0,0,192,115,218,124,145,92,0,0,0,238,143,124,145,92,0,0,243,204,170,237,36,126,0,0,48,206,177,124,145,92,0,0,224,245,159,226,36,126,0,0,48,206,177,124,145,92,0,0,6,0,0,0,0,0,0,0,6,0,0,0,16,0,0,0,0,63,215,152,171,208,151,70,160,16,0,208,36,126,0,0,48,215,220,124,145,92,0,0,64,246,159,226,36,126,0,0,160,247,159,226,36,126,0,0,48,101,219,124,145,92,0,0,96,21,171,123,145,92,0,0,48,206,177,124,145,92,0,0,103,246,159,226,36,126,0,0,112,246,159,226,36,126,0,0,155,21,171,123,145,92,0,0,35,0,0,0,0],"datapoint":[96,179,197,118,0,0,0,0,24,252,166,0,64,96,39,209,112,168,67,201,170,82,146,80,40,48,58,74,135,116,167,208,207,145,77,209,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,134,59,169,79,60,10,101,202,38,131,56,209,84,87,38,74,131,174,215,80,186,186,128,80,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,19,33,34,51,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,6],"serial":"208A367A4B42","timestamp":1736181190689,"type":"Packet"},{"data":[2,128,240,250,2,0,0,0,0,0,188,160,101,1,0,0,0,245,1,232,3,0,0,24,252,12,65,36,24,252,60,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"serial":"","timestamp":1736181190692,"type":"Packet"}] \ No newline at end of file diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestBase.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestBase.py new file mode 100644 index 0000000..b8f6cac --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestBase.py @@ -0,0 +1,75 @@ +import unittest +from tests.libreVNA import libreVNA as libreVNA +import tests.definitions as defs +import subprocess +import time +import select +import os +from signal import SIGINT + +class TestBase(unittest.TestCase): + def setUp(self): + f = open("log.txt", "w") + self.gui = subprocess.Popen([defs.GUI_PATH, '-p', '19544', '--reset-preferences', '--no-gui', '-platform', 'offscreen'], stdout=f, stderr=subprocess.STDOUT) + + # wait for the SCPI server to become available + timeout = time.time() + 3; + fread = open("log.txt", "r") + while True: + text = fread.read() + if text and "Listening on port 19544" in text: + break + if time.time() >= timeout: + self.tearDown() + raise AssertionError("Timed out waiting for SCPI server") + + self.vna = libreVNA('localhost', 19544, timeout=4) + try: + self.vna.cmd("*CLS") + except Exception as e: + self.tearDown() + raise e + if self.vna.query(":DEV:CONN?") == "Not connected": + self.tearDown() + raise AssertionError("Not connected") + + + def tearDown(self): + if hasattr(self._outcome, 'errors'): + # Python 3.4 - 3.10 (These two methods have no side effects) + result = self.defaultTestResult() + self._feedErrorsToResult(result, self._outcome.errors) + else: + # Python 3.11+ + result = self._outcome.result + ok = all(test != self for test, text in result.errors + result.failures) + + if not ok: + try: + # Try to grab the packet log and save it + packetlog = self.vna.query(":DEV:PACKETLOG?", timeout=5) + f = open("packetlog_"+time.strftime("%Y%m%d%H%M%S.vnalog"), "w") + f.write(packetlog) + f.close() + except: + pass + + # make sure the GUI did not crash during the test + crashed = self.gui.poll() is not None + self.gui.send_signal(SIGINT) + try: + self.gui.wait(timeout = 3) + except subprocess.TimeoutExpired: + self.gui.kill() + + + if ok and not crashed: + # remove log file + os.remove("log.txt") + else: + os.rename("log.txt", "errorlog_"+time.strftime("%Y%m%d%H%M%S.txt")) + + if(crashed): + raise Exception("GUI crashed") + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestCalibration.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestCalibration.py new file mode 100644 index 0000000..3ed3709 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestCalibration.py @@ -0,0 +1,175 @@ +from tests.TestBase import TestBase +from libreCAL import libreCAL +import time +import math + +class TestCalibration(TestBase): + def cal_measure(self, number, timeout = 3): + self.vna.cmd(":VNA:CAL:MEAS "+str(number)) + # wait for the measurement to finish + assert self.vna.query(":VNA:CAL:BUSY?") == "TRUE" + self.vna.cmd("*WAI", timeout=timeout) + assert self.vna.query(":VNA:CAL:BUSY?") == "FALSE" + + def test_dummy_calibration(self): + # This test just iterates through the calibration steps. As no actual standards + # are applied to the ports, the calibration result is just random data + # Set up the sweep first + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP FREQUENCY") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 50000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 501") + self.vna.cmd(":VNA:FREQuency:START 1000000") + self.vna.cmd(":VNA:FREQuency:STOP 6000000000") + + self.vna.cmd(":VNA:CAL:RESET") + + # No measurements yet, activating should fail + self.vna.cmd(":VNA:CAL:ACT SOLT_1", check=False) + self.assertTrue(self.vna.get_status() & 0x3C) + + # Load calibration kit + self.assertEqual(self.vna.query(":VNA:CAL:KIT:LOAD? DUMMY.CALKIT"), "TRUE") + + # Lets take the measurements for port 1 first + self.vna.cmd(":VNA:CAL:ADD OPEN") + self.vna.cmd(":VNA:CAL:ADD SHORT") + self.vna.cmd(":VNA:CAL:ADD LOAD") + self.vna.cmd(":VNA:CAL:PORT 0 1") + self.vna.cmd(":VNA:CAL:PORT 1 1") + self.vna.cmd(":VNA:CAL:PORT 2 1") + + self.cal_measure(0) + self.cal_measure(1) + self.cal_measure(2) + + # SOLT_1 should now be available + self.vna.cmd(":VNA:CAL:ACT SOLT_1", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + + # SOLT_2 and SOLT_12 should still be unavailable + self.vna.cmd(":VNA:CAL:ACT SOLT_2", check=False) + self.assertTrue(self.vna.get_status() & 0x3C) + self.vna.cmd(":VNA:CAL:ACT SOLT_12", check=False) + self.assertTrue(self.vna.get_status() & 0x3C) + + # Take measurements for SOLT_2 + self.vna.cmd(":VNA:CAL:ADD OPEN") + self.vna.cmd(":VNA:CAL:ADD SHORT") + self.vna.cmd(":VNA:CAL:ADD LOAD") + self.vna.cmd(":VNA:CAL:PORT 3 2") + self.vna.cmd(":VNA:CAL:PORT 4 2") + self.vna.cmd(":VNA:CAL:PORT 5 2") + + self.cal_measure(3) + self.cal_measure(4) + self.cal_measure(5) + + # SOLT_1 and SOLT_2 should now be available + self.vna.cmd(":VNA:CAL:ACT SOLT_1", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + self.vna.cmd(":VNA:CAL:ACT SOLT_2", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + + # SOLT_12 should still be unavailable + self.vna.cmd(":VNA:CAL:ACT SOLT_12", check=False) + self.assertTrue(self.vna.get_status() & 0x3C) + + # Take the final through measurement for SOLT_12 + self.vna.cmd(":VNA:CAL:ADD THROUGH") + self.vna.cmd(":VNA:CAL:PORT 6 1 2") + + self.cal_measure(6) + + # SOLT_1, SOLT_2 and SOLT_12 should now be available + self.vna.cmd(":VNA:CAL:ACT SOLT_1", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + self.vna.cmd(":VNA:CAL:ACT SOLT_2", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + self.vna.cmd(":VNA:CAL:ACT SOLT_12", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + + def assertTrace_dB(self, trace, dB_nominal, dB_deviation): + for S in trace: + dB = 20*math.log10(abs(S[1])) + self.assertLessEqual(dB, dB_nominal + dB_deviation) + self.assertGreaterEqual(dB, dB_nominal - dB_deviation) + + def test_SOLT_calibration(self): + # This test performs a 2-port SOLT calibration with a connected LibreCAL + # Afterwqrds, the calibration is checked with a 6dB attenuator + # Set up the sweep first + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP FREQUENCY") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 1000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 501") + self.vna.cmd(":VNA:FREQuency:START 50000000") + self.vna.cmd(":VNA:FREQuency:STOP 6000000000") + + self.vna.cmd(":VNA:CAL:RESET") + + # Load calibration file (only for standard and measurement setup, no + # measurements are included) + self.assertEqual(self.vna.query(":VNA:CAL:LOAD? LIBRECAL.CAL"), "TRUE") + + # Take the measurements + + cal = libreCAL() + # Connections: + # LibreVNA -> LibreCAL + # 1 -> 3 + # 2 -> 1 + cal.reset() + cal.setPort(cal.Standard.OPEN, 1) + cal.setPort(cal.Standard.OPEN, 3) + self.cal_measure(0, 15) + self.cal_measure(3, 15) + + cal.setPort(cal.Standard.SHORT, 1) + cal.setPort(cal.Standard.SHORT, 3) + self.cal_measure(1, 15) + self.cal_measure(4, 15) + + cal.setPort(cal.Standard.LOAD, 1) + cal.setPort(cal.Standard.LOAD, 3) + self.cal_measure(2, 15) + self.cal_measure(5, 15) + + cal.setPort(cal.Standard.THROUGH, 1, 3) + self.cal_measure(6, 15) + + # activate calibration + self.vna.cmd(":VNA:CAL:ACT SOLT_12", check=False) + self.assertFalse(self.vna.get_status() & 0x3C) + + # switch in 6dB attenuator + cal.setPort(cal.Standard.THROUGH, 1, 2) + cal.setPort(cal.Standard.THROUGH, 3, 4) + + # Start measurement and grab data + self.vna.cmd(":VNA:ACQ:SINGLE TRUE") + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "FALSE") + self.vna.cmd("*WAI", timeout=3) + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "TRUE") + + cal.reset() + + # grab trace data + S11 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S11")) + S12 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S12")) + S21 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S21")) + S22 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S22")) + + # Attenuation is frequency dependent, use excessively large limits + # TODO: use smaller limits based on frequency + self.assertTrace_dB(S12, -13, 5) + self.assertTrace_dB(S21, -13, 5) + + # Reflection should be below -10dB (much lower for most frequencies) + self.assertTrace_dB(S11, -100, 91) + self.assertTrace_dB(S22, -100, 91) + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestConnect.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestConnect.py new file mode 100644 index 0000000..196bbdc --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestConnect.py @@ -0,0 +1,13 @@ +from tests.TestBase import TestBase + +class TestConnect(TestBase): + def test_connection(self): + self.vna.cmd(":DEV:DISC") + self.assertEqual(self.vna.query(":DEV:CONN?"), "Not connected") + self.vna.cmd(":DEV:CONN") + self.assertNotEqual(self.vna.query(":DEV:CONN?"), "Not connected") + + def test_list(self): + list = self.vna.query(":DEV:LIST?") + serials = list.split(',') + self.assertEqual(len(serials), 1) diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestGenerator.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestGenerator.py new file mode 100644 index 0000000..463e974 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestGenerator.py @@ -0,0 +1,16 @@ +from tests.TestBase import TestBase + +class TestGenerator(TestBase): + def test_Generator(self): + self.vna.cmd(":DEV:MODE GEN") + self.assertEqual(self.vna.query(":DEV:MODE?"), "GEN") + + self.vna.cmd(":GEN:FREQ 2000000000") + self.assertEqual(float(self.vna.query(":GEN:FREQ?")), 2000000000) + + self.vna.cmd(":GEN:LVL -12.34") + self.assertEqual(float(self.vna.query(":GEN:LVL?")), -12.34) + + self.assertEqual(self.vna.query(":GEN:PORT?"), "0") + self.vna.cmd(":GEN:PORT 2") + self.assertEqual(self.vna.query(":GEN:PORT?"), "2") diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestMode.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestMode.py new file mode 100644 index 0000000..78fcf8a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestMode.py @@ -0,0 +1,8 @@ +from tests.TestBase import TestBase + +class TestMode(TestBase): + def test_Mode(self): + modes = ["VNA", "GEN", "SA"] + for m in modes: + self.vna.cmd(":DEV:MODE "+m) + self.assertEqual(self.vna.query(":DEV:MODE?"), m) diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestRST.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestRST.py new file mode 100644 index 0000000..3471934 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestRST.py @@ -0,0 +1,245 @@ +import re +from tests.TestBase import TestBase +import time + +float_re = re.compile(r'^[-+]?(\d+(\.\d*)?|\.\d+)([eE][-+]\d+)?$') +int_re = re.compile(r'^\d+$') +lowerq_re = re.compile('[a-z?]') + +queries = [ + # Limits used to validate other parameters + ("float", "DEVice:INFo:LIMits:MINFrequency?"), + ("float", "DEVice:INFo:LIMits:MAXFrequency?"), + ("float", "DEVice:INFo:LIMits:MINIFBW?"), + ("float", "DEVice:INFo:LIMits:MAXIFBW?"), + ("int", "DEVice:INFo:LIMits:MAXPoints?"), + ("float", "DEVice:INFo:LIMits:MINPOWer?"), + ("float", "DEVice:INFo:LIMits:MAXPOWer?"), + ("float", "DEVice:INFo:LIMits:MINRBW?"), + ("float", "DEVice:INFo:LIMits:MAXRBW?"), + + # Settable parameters without query arguments + ("str", "DEVice:MODE?"), + ("str", "DEVice:REFerence:IN?"), + ("str", "DEVice:REFerence:OUT?"), + ("float", "GENerator:FREQuency?"), + ("float", "GENerator:LVL?"), + ("int", "GENerator:PORT?"), + ("int", "SA:ACQuisition:AVG?"), + ("str", "SA:ACQuisition:DETector?"), + ("float", "SA:ACQuisition:RBW?"), + ("bool", "SA:ACQuisition:RUN?"), + ("bool", "SA:ACQuisition:SINGLE?"), + ("str", "SA:ACQuisition:WINDow?"), + ("float", "SA:FREQuency:CENTer?"), + ("float", "SA:FREQuency:SPAN?"), + ("float", "SA:FREQuency:START?"), + ("float", "SA:FREQuency:STOP?"), + ("bool", "SA:TRACKing:ENable?"), + ("float", "SA:TRACKing:LVL?"), + ("bool", "SA:TRACKing:NORMalize:ENable?"), + ("float", "SA:TRACKing:NORMalize:LVL?"), + ("float", "SA:TRACKing:OFFset?"), + ("int", "SA:TRACKing:Port?"), + ("int", "VNA:ACQuisition:AVG?"), + ("float", "VNA:ACQuisition:IFBW?"), + ("int", "VNA:ACQuisition:POINTS?"), + ("bool", "VNA:ACQuisition:RUN?"), + ("bool", "VNA:ACQuisition:SINGLE?"), + ("str", "VNA:CALibration:ACTivate?"), + ("int", "VNA:DEEMBedding:NUMber?"), + ("float", "VNA:FREQuency:CENTer?"), + ("float", "VNA:FREQuency:SPAN?"), + ("float", "VNA:FREQuency:START?"), + ("float", "VNA:FREQuency:STOP?"), + ("float", "VNA:POWer:START?"), + ("float", "VNA:POWer:STOP?"), + ("float", "VNA:STIMulus:FREQuency?"), + ("float", "VNA:STIMulus:LVL?"), + ("str", "VNA:SWEEP?"), +] + + +class TestRST(TestBase): + def query_settings(self) -> dict: + result = dict() + for qtype, query in queries: + resp = self.vna.query(query) + if qtype == "float": + self.assertTrue(float_re.match(resp), + f"Expected float from {query}; got: '{resp}'") + value = float(resp) + elif qtype == "int": + self.assertTrue(int_re.match(resp), + f"Expected int from {query}; got: '{resp}'") + value = int(resp) + elif qtype == "bool": + self.assertTrue(resp == "TRUE" or resp == "FALSE", + f"Expected bool from {query}; got: '{resp}'") + value = True if resp == "TRUE" else False + elif qtype == "str": + value = resp + else: + assert False, "invalid type in table" + + query = re.sub(lowerq_re, r'', query) + result[query] = value + + return result + + def validate_settings(self, settings): + # Copy limits into local vars + f_min = settings["DEV:INF:LIM:MINF"] + f_max = settings["DEV:INF:LIM:MAXF"] + ifbw_min = settings["DEV:INF:LIM:MINIFBW"] + ifbw_max = settings["DEV:INF:LIM:MAXIFBW"] + points_max = settings["DEV:INF:LIM:MAXP"] + pwr_min = settings["DEV:INF:LIM:MINPOW"] + pwr_max = settings["DEV:INF:LIM:MAXPOW"] + rbw_min = settings["DEV:INF:LIM:MINRBW"] + rbw_max = settings["DEV:INF:LIM:MAXRBW"] + + # Validate select settings + self.assertEqual(settings["DEV:MODE"], "VNA") + self.assertEqual(settings["DEV:REF:IN"], "INT") + self.assertEqual(settings["DEV:REF:OUT"], "OFF") # can't source pwr + + f = settings["GEN:FREQ"] + self.assertGreaterEqual(f, f_min) + self.assertLessEqual(f, f_max) + + pwr = settings["GEN:LVL"] + self.assertGreaterEqual(pwr, pwr_min) + self.assertLessEqual(pwr, pwr_max) + + self.assertEqual(settings["SA:ACQ:AVG"], 1) + + rbw = settings["SA:ACQ:RBW"] + self.assertGreaterEqual(rbw, rbw_min) + self.assertLessEqual(rbw, rbw_max) + + f_center = settings["SA:FREQ:CENT"] + f_span = settings["SA:FREQ:SPAN"] + f_start = settings["SA:FREQ:START"] + f_stop = settings["SA:FREQ:STOP"] + self.assertGreaterEqual(f_start, f_min) + self.assertLessEqual(f_start, f_stop) + self.assertLessEqual(f_stop, f_max) + f_granularity = (f_max - f_min) / points_max + self.assertTrue(abs(f_stop - f_start - f_span) < f_granularity) + self.assertTrue(abs((f_start + f_stop) / 2 - f_center) < f_granularity) + + self.assertFalse(settings["SA:TRACK:EN"]) + pwr = settings["SA:TRACK:LVL"] + self.assertGreaterEqual(pwr, pwr_min) + self.assertLessEqual(pwr, pwr_max) + + pwr = settings["SA:TRACK:NORM:LVL"] + self.assertGreaterEqual(pwr, pwr_min) + self.assertLessEqual(pwr, pwr_max) + + self.assertGreaterEqual(settings["SA:TRACK:P"], 1) + + ifbw = settings["VNA:ACQ:IFBW"] + self.assertGreaterEqual(ifbw, ifbw_min) + self.assertLessEqual(ifbw, ifbw_max) + + points = settings["VNA:ACQ:POINTS"] + self.assertGreaterEqual(points, 1) + self.assertLessEqual(points, points_max) + + # TODO-check: In standard SCPI, the instrument does not source + # power from its ports after *RST. Automation program enables + # the output only after completing its setup. + #self.assertFalse(settings["VNA:ACQ:RUN"]) # can't source pwr + self.assertEqual(settings["VNA:DEEMB:NUM"], 0) + + f_center = settings["VNA:FREQ:CENT"] + f_span = settings["VNA:FREQ:SPAN"] + f_start = settings["VNA:FREQ:START"] + f_stop = settings["VNA:FREQ:STOP"] + self.assertGreaterEqual(f_start, f_min) + self.assertLessEqual(f_start, f_stop) + self.assertLessEqual(f_stop, f_max) + self.assertTrue(abs(f_stop - f_start - f_span) < f_granularity) + self.assertTrue(abs((f_start + f_stop) / 2 - f_center) < f_granularity) + + pwr_start = settings["VNA:POW:START"] + pwr_stop = settings["VNA:POW:STOP"] + self.assertGreaterEqual(pwr_start, pwr_min) + self.assertLess(pwr_start, pwr_stop) + self.assertLessEqual(pwr_stop, pwr_max) + + f = settings["VNA:STIM:FREQ"] + self.assertGreaterEqual(f, f_min) + self.assertLessEqual(f, f_max) + + pwr = settings["VNA:STIM:LVL"] + self.assertGreaterEqual(pwr, pwr_min) + self.assertLessEqual(pwr, pwr_max) + + self.assertEqual(settings["VNA:SWEEP"], "FREQUENCY") + + def test_rst_basic(self): + self.vna.cmd("*RST") + settings = self.query_settings() + self.validate_settings(settings) + + def test_rst_hard(self): + self.vna.cmd("*RST") + settings1 = self.query_settings() + self.validate_settings(settings1) + + # Get limits. + f_min = settings1["DEV:INF:LIM:MINF"] + f_max = settings1["DEV:INF:LIM:MAXF"] + f_1_3 = (2 * f_min + f_max) / 3 + f_1_2 = (f_min + f_max) / 2 + f_2_3 = (f_min + 2 * f_max) / 3 + ifbw_min = settings1["DEV:INF:LIM:MINIFBW"] + ifbw_max = settings1["DEV:INF:LIM:MAXIFBW"] + ifbw_1_2 = (ifbw_min + ifbw_max) / 2 + points_max = settings1["DEV:INF:LIM:MAXP"] + pwr_min = settings1["DEV:INF:LIM:MINPOW"] + pwr_max = settings1["DEV:INF:LIM:MAXPOW"] + pwr_1_3 = (2 * pwr_min + pwr_max) / 3 + pwr_2_3 = (pwr_min + 2 * pwr_max) / 3 + pwr_1_2 = (pwr_min + pwr_max) / 2 + rbw_min = settings1["DEV:INF:LIM:MINRBW"] + rbw_max = settings1["DEV:INF:LIM:MAXRBW"] + rbw_1_2 = (rbw_max + rbw_max) / 2 + + # Change parameters. + self.vna.cmd("DEV:MODE SA") + self.vna.cmd("DEV:REF:IN AUTO") + self.vna.cmd("DEV:REF:OUT 10") + self.vna.cmd(f"GEN:FREQ {f_1_2}") + self.vna.cmd(f"GEN:LVL {pwr_1_2}") + self.vna.cmd("GEN:PORT 2") + self.vna.cmd("SA:ACQ:AVG 3") + self.vna.cmd("SA:ACQ:DET -PEAK") + self.vna.cmd(f"SA:ACQ:RBW {rbw_1_2}") + self.vna.cmd("SA:ACQ:SINGLE TRUE") + self.vna.cmd("SA:ACQ:WIND HANN") + self.vna.cmd(f"SA:FREQ:START {f_1_3} STOP {f_2_3}") + self.vna.cmd("SA:TRACK:EN TRUE") + self.vna.cmd(f"SA:TRACK:LVL {pwr_1_2}") + self.vna.cmd("SA:TRACK:NORM:EN TRUE") + self.vna.cmd(f"SA:TRACK:NORM:LVL {pwr_1_3}") + self.vna.cmd("SA:TRACK:OFF 1.0e+6;PORT 2") + self.vna.cmd("VNA:ACQ:AVG 10") + self.vna.cmd(f"VNA:ACQ:IFBW {ifbw_1_2}") + self.vna.cmd(f"VNA:ACQ:POINTS 100") + self.vna.cmd("VNA:ACQ:SINGLE TRUE") + self.vna.cmd(f"VNA:FREQ:START {f_1_2};STOP {f_max}") + self.vna.cmd(f"VNA:POW:START {pwr_1_3};STOP {pwr_2_3}") + self.vna.cmd(f"VNA:STIM:FREQ {f_1_3}") + self.vna.cmd(f"VNA:STIM:LVL {pwr_min}") + self.vna.cmd("VNA:SWEEP POWER") + + # Reset and verify all settings revert. + self.vna.cmd("*RST") + + settings2 = self.query_settings() + for key, value in settings1.items(): + self.assertEqual(value, settings2[key]) diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestSASweep.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestSASweep.py new file mode 100644 index 0000000..79303fb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestSASweep.py @@ -0,0 +1,98 @@ +from tests.TestBase import TestBase +import time + +class TestSASweep(TestBase): + def waitSweepTimeout(self, timeout = 1): + self.assertEqual(self.vna.query(":SA:ACQ:FIN?"), "FALSE") + stoptime = time.time() + timeout + while self.vna.query(":SA:ACQ:FIN?") == "FALSE": + if time.time() > stoptime: + raise AssertionError("Sweep timed out") + + def assertTrace_dB(self, trace, dB_nominal, dB_deviation): + for S in trace: + self.assertLessEqual(S[1], dB_nominal + dB_deviation) + self.assertGreaterEqual(S[1], dB_nominal - dB_deviation) + + def test_sweep_frequency(self): + self.vna.cmd(":DEV:MODE SA") + self.vna.cmd(":SA:FREQ:CENT 2000000000") + self.vna.cmd(":SA:FREQ:SPAN 200000") + + self.assertEqual(float(self.vna.query(":SA:FREQ:START?")), 1999900000) + self.assertEqual(float(self.vna.query(":SA:FREQ:STOP?")), 2000100000) + + self.vna.cmd(":SA:ACQ:RBW 10000") + self.waitSweepTimeout(10) + + port1 = self.vna.parse_SA_trace_data(self.vna.query(":SA:TRACE:DATA? PORT1")) + port2 = self.vna.parse_SA_trace_data(self.vna.query(":SA:TRACE:DATA? PORT2")) + + self.assertEqual(port1[0][0], 1999900000) + self.assertEqual(port1[-1][0], 2000100000) + self.assertEqual(port2[0][0], 1999900000) + self.assertEqual(port2[-1][0], 2000100000) + + # No signal present, signal level should be very low + self.assertTrace_dB(port1, -140, 60) + self.assertTrace_dB(port2, -140, 60) + + def test_sweep_zerospan(self): + self.vna.cmd(":DEV:MODE SA") + self.vna.cmd(":SA:FREQ:CENT 2000000000") + self.vna.cmd(":SA:FREQ:SPAN 0") + + self.assertEqual(float(self.vna.query(":SA:FREQ:START?")), 2000000000) + self.assertEqual(float(self.vna.query(":SA:FREQ:STOP?")), 2000000000) + + self.vna.cmd(":SA:ACQ:RBW 10000") + self.waitSweepTimeout(10) + + port1 = self.vna.parse_SA_trace_data(self.vna.query(":SA:TRACE:DATA? PORT1")) + port2 = self.vna.parse_SA_trace_data(self.vna.query(":SA:TRACE:DATA? PORT2")) + + self.assertEqual(port1[0][0], 0.0) + self.assertGreater(port1[-1][0], 4) + self.assertLess(port1[-1][0], 8) + self.assertEqual(port2[0][0], 0.0) + self.assertGreater(port2[-1][0], 4) + self.assertLess(port2[-1][0], 8) + + # No signal present, signal level should be very low + self.assertTrace_dB(port1, -140, 60) + self.assertTrace_dB(port2, -140, 60) + + def test_tracking_generator(self): + self.vna.cmd(":DEV:MODE SA") + self.vna.cmd(":SA:FREQ:CENT 1930000000") + self.vna.cmd(":SA:FREQ:SPAN 200000") + self.vna.cmd(":SA:ACQ:RBW 10000") + self.vna.cmd(":SA:TRACK:PORT 1") + self.assertEqual(self.vna.query(":SA:TRACK:PORT?"), "1") + self.vna.cmd(":SA:TRACK:LVL -20") + self.vna.cmd(":SA:TRACK:OFFSET 0") + self.vna.cmd(":SA:TRACK:EN TRUE") + self.waitSweepTimeout(10) + + port1 = self.vna.parse_SA_trace_data(self.vna.query(":SA:TRACE:DATA? PORT1")) + + level = port1[0][1] + self.assertGreater(level, -30) + self.assertLess(level, -10) + # check tracking generator signal + self.assertTrace_dB(port1, level, 5) + + # Enable normalization + self.vna.cmd(":SA:TRACK:NORM:LVL -10") + self.vna.cmd(":SA:TRACK:NORM:EN TRUE") + # wait for normalization to finish + self.waitSweepTimeout(10) + + # trigger the next sweep + self.vna.cmd(":SA:ACQ:SINGLE TRUE") + self.waitSweepTimeout(10) + + # Reported level on port1 should match normalization very closely now + port1 = self.vna.parse_SA_trace_data(self.vna.query(":SA:TRACE:DATA? PORT1")) + self.assertTrace_dB(port1, -10, 1) + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestStatusRegisters.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestStatusRegisters.py new file mode 100644 index 0000000..c4e3ae4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestStatusRegisters.py @@ -0,0 +1,56 @@ +import re +from tests.TestBase import TestBase + + +class TestStatusRegisters(TestBase): + def query_stb(self): + resp = self.vna.query("*STB?") + self.assertTrue(re.match(r"^\d+$", resp)) + value = int(resp) + self.assertTrue(value >= 0 and value <= 255) + return value + + def test_invalid_command(self): + status = self.vna.get_status() + self.assertEqual(status, 0) + self.vna.default_check_cmds = False + self.vna.cmd("INVALID:COMMAND") + status = self.vna.get_status() + self.assertEqual(status & 0x3C, 0x20) + status = self.vna.get_status() + self.assertEqual(status, 0) + + def test_invalid_query(self): + status = self.vna.get_status() + self.assertEqual(status, 0) + self.vna.default_check_cmds = False + self.vna.cmd("INVALID:QUERY?") # send as cmd to avoid timeout + status = self.vna.get_status() + self.assertTrue(status & 0x20) # expect CME + status = self.vna.get_status() + self.assertEqual(status, 0) + + def test_stb(self): + self.vna.default_check_cmds = False + self.vna.cmd("*SRE 0") + status = self.vna.get_status() + if status & 0x20: + self.skipTest("Skipping test: *SRE, *SRE?, *STB? not implemented") + self.vna.cmd("*RST") + self.vna.cmd("VNA:ACQ:SINGLE TRUE") + self.vna.cmd("*WAI") + status = self.vna.get_status() + self.assertEqual(status, 0) + self.vna.cmd("OPC") # should set OPC + self.vna.cmd(f"*ESE {0x21:d}") # mask is CME|OPC + self.assertEqual(self.query_stb() & 0x60, 0x20) # expect !MSS, ESB + self.assertEqual(self.query_stb() & 0x60, 0x20) # shouldn't clear + self.vna.cmd(f"*SRE {0x20:d}") # unmask ESB + self.assertEqual(self.query_stb() & 0x60, 0x60) # expect MSS, ESB + self.vna.cmd(f"*ESE {0x20:d}") # mask is CME only + self.assertEqual(self.query_stb() & 0x60, 0) # expect !MSS, !ESB + self.vna.cmd("INVALID:COMMAND") # should set CME + self.assertEqual(self.query_stb() & 0x60, 0x60) # expect MSS, ESB + status = self.get_status() + self.assertEqual(status, 0x21) # expect CMD|OPC, clears + self.assertEqual(self.query_stb() & 0x60, 0) # expect !MSS, !ESB diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestSync.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestSync.py new file mode 100644 index 0000000..4b9bf19 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestSync.py @@ -0,0 +1,52 @@ +from tests.TestBase import TestBase +import time + + +class TestSync(TestBase): + def test_wai(self): + self.vna.cmd("*RST") + self.vna.cmd("VNA:ACQ:SINGLE TRUE") + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "FALSE") + self.vna.cmd("*WAI", timeout=3) + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "TRUE") + + def test_opc_query(self): + self.vna.cmd("*RST") + self.vna.cmd("VNA:ACQ:SINGLE TRUE") + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "FALSE") + resp = self.vna.query("*OPC?", timeout=3) + self.assertEqual(resp, "1") + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "TRUE") + + def test_opc_poll(self): + self.vna.cmd("*RST") + self.vna.cmd("VNA:ACQ:SINGLE TRUE") + self.vna.cmd("*OPC") + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "FALSE") + time_limit = time.time() + 4 + while True: + status = self.vna.get_status() + if status & 0x01: + break + if time.time() >= time_limit: + raise Exception("Timeout waiting for OPC") + time.sleep(0.05) + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "TRUE") + self.assertEqual(self.vna.get_status(), 0) + + def test_idle_waits(self): + ''' + Test that *WAI and *OPC? don't hang when device is idle. Test + that *OPC query sets the OPC status bit immediately. + ''' + self.vna.cmd("*RST") + self.vna.cmd("VNA:ACQ:SINGLE TRUE") + self.vna.cmd("*WAI", timeout=3) + self.assertEqual(self.vna.get_status(), 0) + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "TRUE") + self.vna.cmd("*WAI") + resp = self.vna.query("*OPC?") + self.assertEqual(resp, "1") + self.assertEqual(self.vna.get_status(), 0) + self.assertEqual(self.vna.cmd("*OPC"), 0x01) # should return OPC + self.assertEqual(self.vna.get_status(), 0) diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestTemperature.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestTemperature.py new file mode 100644 index 0000000..28f5dce --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestTemperature.py @@ -0,0 +1,9 @@ +from tests.TestBase import TestBase + +class TestConnect(TestBase): + def test_temperature(self): + res = self.vna.query(":DEV:INF:TEMP?") + self.assertEqual(len(res.split("/")), 3) + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestUpdate.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestUpdate.py new file mode 100644 index 0000000..8e13f40 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestUpdate.py @@ -0,0 +1,18 @@ +from tests.TestBase import TestBase +import time +import subprocess + +class TestUpdate(TestBase): + def test_Update(self): + # first update: actually update to the firmware version we want to test + self.vna.cmd("DEV:UPDATE ../../combined.vnafw", timeout=60) + # second update: check that we still have a working firmware update with this version + self.vna.cmd("DEV:UPDATE ../../combined.vnafw", timeout=60) + + reported = self.vna.query("DEV:INF:FWREVISION?") + major = subprocess.check_output("grep -oP '(?<=FW_MAJOR=)[0-9]+' ../VNA_embedded/Makefile", shell=True).strip() + minor = subprocess.check_output("grep -oP '(?<=FW_MINOR=)[0-9]+' ../VNA_embedded/Makefile", shell=True).strip() + patch = subprocess.check_output("grep -oP '(?<=FW_PATCH=)[0-9]+' ../VNA_embedded/Makefile", shell=True).strip() + expected = major.decode("utf-8") + "." + minor.decode("utf-8") + "." + patch.decode("utf-8") + self.assertEqual(reported, expected) + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestVNASweep.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestVNASweep.py new file mode 100644 index 0000000..3e0a87d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/TestVNASweep.py @@ -0,0 +1,85 @@ +from tests.TestBase import TestBase +import time + +class TestVNASweep(TestBase): + def waitSweepTimeout(self, timeout = 1): + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "FALSE") + self.vna.cmd("*WAI", timeout=timeout) + self.assertEqual(self.vna.query(":VNA:ACQ:FIN?"), "TRUE") + + def test_sweep_frequency(self): + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP FREQUENCY") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 10000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 501") + self.vna.cmd(":VNA:FREQuency:START 1000000") + self.vna.cmd(":VNA:FREQuency:STOP 6000000000") + self.waitSweepTimeout(2) + + S11 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S11")) + self.assertEqual(S11[0][0], 1000000) + self.assertEqual(S11[-1][0], 6000000000) + + def test_sweep_zerospan(self): + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP FREQUENCY") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 10000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 501") + self.vna.cmd(":VNA:FREQuency:START 500000000") + self.vna.cmd(":VNA:FREQuency:STOP 1500000000") + self.vna.cmd(":VNA:FREQuency:ZERO 1500000000") + self.waitSweepTimeout(2) + + S11 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S11")) + self.assertEqual(S11[0][0], 0.0) + # Sweep should take about 0.125 seconds + self.assertGreater(S11[-1][0], 0.1) + self.assertLess(S11[-1][0], 0.5) + + def test_sweep_power(self): + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP POWER") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 10000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 501") + self.vna.cmd(":VNA:POWER:START -30") + self.vna.cmd(":VNA:POWER:STOP -10") + self.waitSweepTimeout(2) + + S11 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S11")) + self.assertEqual(S11[0][0], -30) + self.assertEqual(S11[-1][0], -10) + + def test_fast_single_sweeps(self): + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP FREQUENCY") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 50000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 501") + self.vna.cmd(":VNA:FREQuency:START 1000000") + self.vna.cmd(":VNA:FREQuency:STOP 6000000000") + + for i in range(10): + # Change something irrelevant (to force reconfiguration of device) + self.vna.cmd(":VNA:FREQuency:START "+str(1000000+i)) + self.waitSweepTimeout(2) + + def test_segmented_sweep(self): + self.vna.cmd(":DEV:MODE VNA") + self.vna.cmd(":VNA:SWEEP FREQUENCY") + self.vna.cmd(":VNA:STIM:LVL -10") + self.vna.cmd(":VNA:ACQ:IFBW 50000") + self.vna.cmd(":VNA:ACQ:AVG 1") + self.vna.cmd(":VNA:ACQ:POINTS 10000") + self.vna.cmd(":VNA:FREQuency:START 1000000") + self.vna.cmd(":VNA:FREQuency:STOP 6000000000") + self.waitSweepTimeout(10) + + S11 = self.vna.parse_VNA_trace_data(self.vna.query(":VNA:TRACE:DATA? S11")) + self.assertEqual(len(S11), 10000) diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/__init__.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/definitions.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/definitions.py new file mode 100644 index 0000000..1684691 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/definitions.py @@ -0,0 +1 @@ +GUI_PATH = "../PC_Application/LibreVNA-GUI/LibreVNA-GUI" \ No newline at end of file diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/libreVNA.py b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/libreVNA.py new file mode 100644 index 0000000..d17ab80 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/Integrationtests/tests/libreVNA.py @@ -0,0 +1 @@ +../../../Documentation/UserManual/SCPI_Examples/libreVNA.py \ No newline at end of file diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/.gitignore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/.gitignore new file mode 100644 index 0000000..2d49f02 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/.gitignore @@ -0,0 +1,87 @@ +# This file is used to ignore files which are generated +# ---------------------------------------------------------------------------- + +*~ +*.autosave +*.a +*.core +*.moc +*.o +*.obj +*.orig +*.rej +*.so +*.so.* +*_pch.h.cpp +*_resource.rc +*.qm +.#* +*.*# +core +!core/ +tags +.DS_Store +.directory +*.debug +Makefile* +*.prl +*.app +moc_*.cpp +moc_*.h +ui_*.h +qrc_*.cpp +Thumbs.db +*.res +*.rc +/.qmake.cache +/.qmake.stash + +# qtcreator generated files +*.pro.user* + +# xemacs temporary files +*.flc + +# Vim temporary files +.*.swp + +# Visual Studio generated files +*.ib_pdb_index +*.idb +*.ilk +*.pdb +*.sln +*.suo +*.vcproj +*vcproj.*.*.user +*.ncb +*.sdf +*.opensdf +*.vcxproj +*vcxproj.* + +# MinGW generated files +*.Debug +*.Release + +# Python byte code +*.pyc + +# Binaries +# -------- +*.dll +*.exe +Application +/build-* +/LibreVNA-GUI/LibreVNA-GUI +/LibreVNA-Test/LibreVNA-Test +/LibreVNA-GUI/users*appdatalocaltemp* +/LibreVNA/build +LibreVNA-GUI/build + +# qmake.stash +LibreVNA-GUI/.qmake.stash + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/51-vna.rules b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/51-vna.rules new file mode 100644 index 0000000..4661e80 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/51-vna.rules @@ -0,0 +1,3 @@ +SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="564e", MODE:="0666" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="4121", MODE:="0666" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="4121", MODE:="0666" diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardLineEditDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardLineEditDialog.ui new file mode 100644 index 0000000..92681e7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardLineEditDialog.ui @@ -0,0 +1,147 @@ + + + CalStandardLineEditDialog + + + + 0 + 0 + 383 + 202 + + + + Edit Line Standard + + + true + + + + + + + + Name: + + + + + + + + + + + + + + Z0: + + + + + + + false + + + + + + + Delay: + + + + + + + + + + Minimum usable frequency: + + + + + + + false + + + + + + + Maximum usable frequency: + + + + + + + false + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + buttonBox + accepted() + CalStandardLineEditDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CalStandardLineEditDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardLoadEditDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardLoadEditDialog.ui new file mode 100644 index 0000000..6aebdf9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardLoadEditDialog.ui @@ -0,0 +1,254 @@ + + + CalStandardLoadEditDialog + + + + 0 + 0 + 344 + 386 + + + + Edit Load Standard + + + true + + + + + + + + Name: + + + + + + + + + + + + + + Coefficients + + + buttonGroup + + + + + + + Measurement file + + + buttonGroup + + + + + + + + + 0 + + + + + + + + + Resistance: + + + + + + + + + + Z0: + + + + + + + true + + + + + + + Offset delay [ps]: + + + + + + + + + + Offset loss [GΩ/s]: + + + + + + + + + + Parallel C: + + + + + + + + + + Series L: + + + + + + + + + + + + Load Parameter Model + + + + + + Series L first + + + buttonGroup_2 + + + + + + + Shunt C first + + + buttonGroup_2 + + + + + + + + + + + + + + + + + + + + + false + + + Update from file + + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+ + TouchstoneImport + QWidget +
CustomWidgets/touchstoneimport.h
+ 1 +
+
+ + + + buttonBox + accepted() + CalStandardLoadEditDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CalStandardLoadEditDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardOpenEditDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardOpenEditDialog.ui new file mode 100644 index 0000000..f3fdcfb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardOpenEditDialog.ui @@ -0,0 +1,230 @@ + + + CalStandardOpenEditDialog + + + + 0 + 0 + 358 + 342 + + + + Edit Open Standard + + + true + + + + + + + + Name: + + + + + + + + + + + + + + Coefficients + + + buttonGroup + + + + + + + Measurement file + + + buttonGroup + + + + + + + + + 0 + + + + + + + Z0: + + + + + + + true + + + + + + + Offset delay [ps]: + + + + + + + + + + Offset loss [GΩ/s]: + + + + + + + + + + C0 [10<sup>-15</sup>F]: + + + + + + + + + + C1 [10<sup>-27</sup>F/Hz]: + + + + + + + + + + C2 [10<sup>-36</sup>F/Hz<sup>2</sup>]: + + + + + + + + + + <html><head/><body><p>C3 [10<span style=" vertical-align:super;">-45</span>F/Hz<span style=" vertical-align:super;">3</span>]:</p></body></html> + + + + + + + + + + + + + + + + + + + + + false + + + Update from file + + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+ + TouchstoneImport + QWidget +
CustomWidgets/touchstoneimport.h
+ 1 +
+
+ + + + buttonBox + accepted() + CalStandardOpenEditDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CalStandardOpenEditDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardReflectEditDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardReflectEditDialog.ui new file mode 100644 index 0000000..486ae8b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardReflectEditDialog.ui @@ -0,0 +1,106 @@ + + + CalStandardReflectEditDialog + + + + 0 + 0 + 291 + 109 + + + + Edit Reflect Standard + + + true + + + + + + + + Name: + + + + + + + + + + + + + + Reflection type: + + + + + + + + Open + + + + + Short + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + CalStandardReflectEditDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CalStandardReflectEditDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardShortEditDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardShortEditDialog.ui new file mode 100644 index 0000000..594cb06 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardShortEditDialog.ui @@ -0,0 +1,230 @@ + + + CalStandardShortEditDialog + + + + 0 + 0 + 358 + 342 + + + + Edit Short Standard + + + true + + + + + + + + Name: + + + + + + + + + + + + + + Coefficients + + + buttonGroup + + + + + + + Measurement file + + + buttonGroup + + + + + + + + + 0 + + + + + + + Z0: + + + + + + + true + + + + + + + Offset delay [ps]: + + + + + + + + + + Offset loss [GΩ/s]: + + + + + + + + + + <html><head/><body><p>L0 [10<span style=" vertical-align:super;">-12</span>H]:</p></body></html> + + + + + + + + + + <html><head/><body><p>L1 [10<span style=" vertical-align:super;">-24</span>H/Hz]:</p></body></html> + + + + + + + + + + <html><head/><body><p>L2 [10<span style=" vertical-align:super;">-33</span>H/Hz<span style=" vertical-align:super;">2</span>]:</p></body></html> + + + + + + + + + + <html><head/><body><p>L3 [10<span style=" vertical-align:super;">-42</span>H/Hz<span style=" vertical-align:super;">3</span>]:</p></body></html> + + + + + + + + + + + + + + + + + + + + + false + + + Update from file + + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+ + TouchstoneImport + QWidget +
CustomWidgets/touchstoneimport.h
+ 1 +
+
+ + + + buttonBox + accepted() + CalStandardShortEditDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CalStandardShortEditDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardThroughEditDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardThroughEditDialog.ui new file mode 100644 index 0000000..4746bd0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/CalStandardThroughEditDialog.ui @@ -0,0 +1,190 @@ + + + CalStandardThroughEditDialog + + + + 0 + 0 + 358 + 342 + + + + Edit Through Standard + + + true + + + + + + + + Name: + + + + + + + + + + + + + + Coefficients + + + buttonGroup + + + + + + + Measurement file + + + buttonGroup + + + + + + + + + 0 + + + + + + + Z0: + + + + + + + true + + + + + + + Delay [ps]: + + + + + + + + + + Loss [GΩ/s]: + + + + + + + + + + + + + + + + + + + + + false + + + Update from file + + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+ + TouchstoneImport + QWidget +
CustomWidgets/touchstoneimport.h
+ 1 +
+
+ + + + buttonBox + accepted() + CalStandardThroughEditDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + CalStandardThroughEditDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/caldevice.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/caldevice.cpp new file mode 100644 index 0000000..229a295 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/caldevice.cpp @@ -0,0 +1,1017 @@ +#include "caldevice.h" + +#include "Util/util.h" +#include "ui_factoryUpdateDialog.h" +#include "Util/QMicroz/qmicroz.h" +#include "CustomWidgets/informationbox.h" + +#include +#include +#include +#include +#include +#include +#include + +using namespace std; + +static const QStringList factoryProblemSerials = { + "5mNkR0s+NzMA", "5mNkR0s2DTcA", "5mNkR0s2gzcA", "5mNkR0s2HTMA", "5mNkR0s2STMA", + "5mNkR0s3pzcA", "5mNkR0s8ijcA", "5mNkR0s9jjMA", "5mNkR0sGdCsA", "5mNkR0slqjEA", + "5mNkR0srVDMA", "5mNkR0sssjcA", "5mNkR0suHDcA", "5mNkR0svOTcA", "5mNkR0svrzcA", + "5mNkR0swkTcA", "5mNkR0s_JzMA", "5mNkR0t+HTUA", "5mNkR0t+JzcA", "5mNkR0t+mjUA", + "5mNkR0t0IzIA", "5mNkR0t0TjAA", "5mNkR0t1bTAA", "5mNkR0t1cjUA", "5mNkR0t1HDAA", + "5mNkR0t2oTIA", "5mNkR0t2rTAA", "5mNkR0t2uyoA", "5mNkR0t3HC0A", "5mNkR0t3HjIA", + "5mNkR0t3MS0A", "5mNkR0t3vC0A", "5mNkR0t3VzUA", "5mNkR0t4aS0A", "5mNkR0t4nDUA", + "5mNkR0t5fDcA", "5mNkR0t6cDcA", "5mNkR0t9kzcA", "5mNkR0t9OTcA", "5mNkR0t9UTUA", + "5mNkR0tbPTUA", "5mNkR0tbqTUA", "5mNkR0tcHzUA", "5mNkR0tctDUA", "5mNkR0tcwjcA", + "5mNkR0tdrDUA", "5mNkR0telDUA", "5mNkR0tgaTkA", "5mNkR0tgRzcA", "5mNkR0tgWTkA", + "5mNkR0tikTUA", "5mNkR0tivDcA", "5mNkR0tIXS8A", "5mNkR0tLOTkA", "5mNkR0tqtTkA", + "5mNkR0tshS0A", "5mNkR0tsnioA", "5mNkR0tSOzQA", "5mNkR0tSqjQA", "5mNkR0tThjUA", + "5mNkR0tTxTUA", "5mNkR0tuVS0A", "5mNkR0tvGC0A", "5mNkR0tvYyoA", "5mNkR0tWljIA", + "5mNkR0tXMDIA", "5mNkR0t_UzUA", "5mNkR0uBiC0A", "5mNkR0uBNS0A", "5mNkR0uCPTYA", + "5mNkR0uCrTYA", "5mNkR0uDgDIA", "5mNkR0uFjTUA", "5mNkR0uFTjUA", "5mNkR0ugbCoA", + "5mNkR0uGIy0A", "5mNkR0uGkzUA", "5mNkR0uGpi0A", "5mNkR0uGRC0A", "5mNkR0uGrjUA", + "5mNkR0uGSzUA", "5mNkR0uGVCoA", "5mNkR0uHIyoA", "5mNkR0uHJjUA", "5mNkR0uHmC0A", + "5mNkR0uHpzUA", "5mNkR0uHTzUA", "5mNkR0uIdzUA", "5mNkR0uIPDYA", "5mNkR0uIpy0A", + "5mNkR0uIqioA", "5mNkR0uISioA", "5mNkR0uITjUA", "5mNkR0uIVi0A", "5mNkR0uJejYA", + "5mNkR0uJSDUA", "5mNkR0uKNDYA", "5mNkR0uKnzYA", "5mNkR0uLfTIA", "5mNkR0uLPjIA", + "5mNkR0uMbTIA", "5mNkR0uNpy0A", "5mNkR0uOTzAA", "5mNkR0uPhTAA", "5mOUNss0EysA", + "5mOUNss1XisA", "5mOUNsseICwA", "5mOUNssiNiwA", "5mOUNssnISwA", "5mOUNssnIyUA", + "5mOUNssrmCQA", "5mOUNssRmicA", "5mOUNssUlycA", "5mOUNssURCcA", "5mOUNssvjyQA", + "5mOUNssvNSUA", "5mOUNssVXSwA", "5mOUNsszOiQA", "5mOUNst9liQA", "5mOUNstAhSsA", + "5mOUNstFSysA", "5mOUNstFwCsA", "5mOUNstGmCUA", "5mOUNstHaCUA", "5mOUNstJkScA", + "5mOUNstOxysA", "5mOUNstsYiIA", "5mOUNstYRi0A", "5mOUNsuHqioA", "5mOUNsuhVSgA", + "5mOUNsuJLSoA", "5mOUNsuJrioA", "5mOUNsuVdCcA", "5mNkR0s1sjMA", "5mNkR0s3MjMA", + "5mNkR0s3XDcA", "5mNkR0slWjEA", "5mNkR0sxkC8A", "5mNkR0t+bzcA", "5mNkR0t1azIA", + "5mNkR0taKzUA", "5mNkR0tbbTcA", "5mNkR0tgGTkA", "5mNkR0thGDcA", "5mNkR0thiTcA", + "5mNkR0thKDcA", "5mNkR0tRYzQA", "5mNkR0tWBTIA", "5mNkR0uCpDYA", "5mNkR0uDXDYA", + "5mNkR0uJUDUA", "5mNkR0uLfjYA", "5mNkR0uMfjIA", +}; + +static QString getLocalDateTimeWithUtcOffset() +{ + QDateTime currentDateTime = QDateTime::currentDateTime(); + int year = currentDateTime.date().year(); + int month = currentDateTime.date().month(); + int day = currentDateTime.date().day(); + int hour = currentDateTime.time().hour(); + int minute = currentDateTime.time().minute(); + int second = currentDateTime.time().second(); + int utcOffset = currentDateTime.offsetFromUtc() / 3600; + int utcOffsetMinute = (currentDateTime.offsetFromUtc() % 3600) / 60; + QString dateTimeString = QString("%1/%2/%3 %4:%5:%6 UTC%7%8:%9") + .arg(year, 4, 10, QChar('0')) + .arg(month, 2, 10, QChar('0')) + .arg(day, 2, 10, QChar('0')) + .arg(hour, 2, 10, QChar('0')) + .arg(minute, 2, 10, QChar('0')) + .arg(second, 2, 10, QChar('0')) + .arg(utcOffset > 0 ? "+" : "-") // Add a plus sign for positive offsets + .arg(qAbs(utcOffset), 2, 10, QChar('0')) + .arg(utcOffsetMinute, 2, 10, QChar('0')); + return dateTimeString; +} + +CalDevice::CalDevice(QString serial) : + usb(new USBDevice(serial)) +{ + loadThread = nullptr; + transferActive = false; + + // Check device identification + auto id = usb->Query("*IDN?"); + if(!id.startsWith("LibreCAL,")) { + delete usb; + throw std::runtime_error("Invalid response to *IDN?: "+id.toStdString()); + } + + firmware = usb->Query(":FIRMWARE?"); + QList fw_version = firmware.split("."); + if (fw_version.size() == 3) { + int firmware_major = fw_version[0].toInt(); + int firmware_minor = fw_version[1].toInt(); + this->firmware_major_minor = firmware_major + ((float)firmware_minor/10.0f); + if(this->firmware_major_minor >= 0.2) + { + /* Set Date Time UTC */ + QString LocalDateTimeWithUtcOffset = getLocalDateTimeWithUtcOffset(); + QString ret = usb->Query(":DATE_TIME "+LocalDateTimeWithUtcOffset); + } + } else { + // fw_version invalid + this->firmware_major_minor = 0.0; + } + QString ports = usb->Query(":PORTS?"); + bool okay; + numPorts = ports.toInt(&okay); + if(!okay) { + numPorts = 0; + } + connect(usb, &USBDevice::communicationFailure, this, &CalDevice::disconnected); + connect(this, &CalDevice::updateCoefficientsDone, this, [=]() { + transferActive = false; + }); + + // Check if this device was affected by the factory calibration problem + if(factoryProblemSerials.contains(usb->serial())) { + // it was, check if it still has bad factory coefficients + + struct point { + uint16_t pointNum; + double freq; + }; + std::array pointsToCheck = {{ + {.pointNum = 451, .freq = 1.0}, + {.pointNum = 551, .freq = 2.0}, + {.pointNum = 651, .freq = 3.0}, + }}; + + bool hasBadData = false; + for(auto point : pointsToCheck) { + // grab the point (just checking P12_THROUGH is enough + QString ret = usb->Query(":COEFF:GET? FACTORY P12_THROUGH "+QString::number(point.pointNum)); + auto parts = ret.split(","); + if (parts.size() == 9 && parts[0].toDouble() == point.freq) { + // got the correct data, check S12 phase + auto S12 = std::complex(parts[3].toDouble(), parts[4].toDouble()); + auto constexpr expectedS12Delay = 498e-12; + auto expectedS12Phase = expectedS12Delay * (point.freq * 1e9) * 2*M_PI; + auto phase = -arg(S12); + // unwrap to expected phase + while(phase < expectedS12Phase - M_PI) { + phase += 2*M_PI; + } + double S12Delay = phase / (2*M_PI) / (point.freq * 1e9); + qDebug() << "expected delay:" << expectedS12Delay << "factory calibration delay:" << S12Delay; + auto error = S12Delay - expectedS12Delay; + double tolerance = 17e-12; + if(abs(error) > tolerance) { + hasBadData = true; + break; + } +// QList possibleErrors({0, -94.7e-12, 34.8e-12}); +// for(auto e : possibleErrors) { +// if(abs(error-e) <= tolerance) { +// // this is the error of the LibreCAL +// if(e != 0) { +// // still has the wrong coefficients +// hasBadData = true; +// } +// break; +// } +// } + } else { + qWarning() << "Unexpected point frequency, factory calibration data is dubious"; + } + if(hasBadData) { + break; + } + } + if(hasBadData) { + if(InformationBox::AskQuestion("Update Factory Coefficients?", "Your LibreCAL with serial number "+usb->serial()+" is affected by " + "a mistake in the factory calibration and its factory coefficients (specifically the phase of all " + "THRU standard definitions) are slightly wrong. The mistake has been corrected and updated factory " + "coefficients are available. Do you want to update the factory coefficients now?", false)) { + factoryUpdateDialog(); + } + } + } +} + +CalDevice::~CalDevice() +{ + delete usb; +} + +QString CalDevice::StandardToString(CalDevice::Standard s) +{ + switch(s.type) { + case Standard::Type::Open: return "OPEN"; + case Standard::Type::Short: return "SHORT"; + case Standard::Type::Load: return "LOAD"; + case Standard::Type::Through: return "THROUGH "+QString::number(s.throughDest); + case Standard::Type::None: return "NONE"; + } + return "Invalid"; +} + +CalDevice::Standard CalDevice::StandardFromString(QString s) +{ + for(auto standard : availableStandards()) { + if(s == StandardToString(standard)) { + return standard; + } + } + return Standard(Standard::Type::None); +} + +CalDevice::Standard CalDevice::getStandard(int port) +{ + auto query = ":PORT? "+QString::number(port); + auto response = usb->Query(query); + return StandardFromString(response); +} + +bool CalDevice::setStandard(int port, CalDevice::Standard s) +{ + auto cmd = ":PORT "+QString::number(port)+" "+StandardToString(s); + return usb->Cmd(cmd); +} + +std::vector CalDevice::availableStandards() +{ + return {Standard(Standard::Type::None), Standard(Standard::Type::Open), Standard(Standard::Type::Short), Standard(Standard::Type::Load), Standard(1), Standard(2), Standard(3), Standard(4)}; +} + +double CalDevice::getTemperature() +{ + QString tempString = usb->Query(":TEMP?"); + bool okay; + double temp = tempString.toDouble(&okay); + if(!okay) { + temp = 0.0; + } + return temp; +} + +bool CalDevice::stabilized() +{ + auto stable = usb->Query(":TEMPerature:STABLE?"); + return stable == "TRUE"; +} + +double CalDevice::getHeaterPower() +{ + QString tempString = usb->Query(":HEATER:POWER?"); + bool okay; + double power = tempString.toDouble(&okay); + if(!okay) { + power = 0.0; + } + return power; +} + +QString CalDevice::serial() +{ + return usb->serial(); +} + +QString CalDevice::getFirmware() const +{ + return firmware; +} + +unsigned int CalDevice::getNumPorts() const +{ + return numPorts; +} + +bool CalDevice::enterBootloader() +{ + return usb->Cmd(":BOOTloader"); +} + +QString CalDevice::getDateTimeUTC() +{ + if(this->firmware_major_minor >= 0.2) + { + return usb->Query(":DATE_TIME?"); + }else + { + return ""; // Not available + } +} + +void CalDevice::loadCoefficientSets(QStringList names, QList ports, bool fast) +{ + coeffSets.clear(); + + if(ports.isEmpty()) { + for(unsigned int i=1;i<=getNumPorts();i++) { + ports.append(i); + } + } else { + // make sure we are sorted, otherwise the through coefficient naming is wrong + std::sort(ports.begin(), ports.end()); + } + + abortLoading = false; + transferActive = true; + if(fast && Util::firmwareEqualOrHigher(firmware, "0.2.1")) { + loadThread = new std::thread(&CalDevice::loadCoefficientSetsThreadFast, this, names, ports); + } else { + loadThread = new std::thread(&CalDevice::loadCoefficientSetsThreadSlow, this, names, ports); + } +} + +void CalDevice::abortCoefficientLoading() +{ + if(loadThread) { + abortLoading = true; + loadThread->join(); + loadThread = nullptr; + transferActive = false; + } +} + +void CalDevice::saveCoefficientSets() +{ + if(!hasModifiedCoefficients()) { + // nothing to do, already done + emit updateCoefficientsDone(true); + } else { + transferActive = true; + new std::thread(&CalDevice::saveCoefficientSetsThread, this); + } +} + +void CalDevice::loadCoefficientSetsThreadSlow(QStringList names, QList ports) +{ + QStringList coeffList = getCoefficientSetNames(); + if(coeffList.empty()) { + // something went wrong + emit updateCoefficientsDone(false); + return; + } + if(names.size() > 0) { + // check if all the requested names are actually available + for(auto n : names) { + if(!coeffList.contains(n)) { + // this coefficient does not exist + emit updateCoefficientsDone(false); + return; + } + } + coeffList = names; + } + // get total number of coefficient points for accurate percentage calculation + unsigned long totalPoints = 0; + for(auto name : coeffList) { + for(int idx=0;idxQuery(":COEFF:NUM? "+name+" P"+QString::number(i)+"_OPEN").toInt(); + totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+"_SHORT").toInt(); + totalPoints += usb->Query(":COEFF:NUM? "+name+" P"+QString::number(i)+"_LOAD").toInt(); + for(int jdx=idx+1;jdxQuery(":COEFF:NUM? "+name+" P"+QString::number(i)+QString::number(j)+"_THROUGH").toInt(); + } + } + } + unsigned long readPoints = 0; + int lastPercentage = 0; + for(auto name : coeffList) { + // create the coefficient set + CoefficientSet set; + set.name = name; + set.ports = numPorts; + // Read this coefficient set + for(int idx=0;idx CoefficientSet::Coefficient* { + int points = usb->Query(":COEFF:NUM? "+setName+" "+paramName).toInt(); + CoefficientSet::Coefficient *c = new CoefficientSet::Coefficient(); + if(paramName.endsWith("THROUGH")) { + c->t = Touchstone(2); + } else { + c->t = Touchstone(1); + } + for(int i=0;iQuery(":COEFF:GET? "+setName+" "+paramName+" "+QString::number(i)); + QStringList values = pString.split(","); + Touchstone::Datapoint p; + p.frequency = values[0].toDouble() * 1e9; + for(int j = 0;j<(values.size()-1)/2;j++) { + double real = values[1+j*2].toDouble(); + double imag = values[2+j*2].toDouble(); + p.S.push_back(complex(real, imag)); + } + if(p.S.size() == 4) { + // S21 and S12 are swapped in the touchstone file order (S21 goes first) + // but Touchstone::AddDatapoint expects S11 S12 S21 S22 order. Swap to match that + swap(p.S[1], p.S[2]); + } + c->t.AddDatapoint(p); + readPoints++; + int newPercentage = readPoints * 100 / totalPoints; + if(newPercentage != lastPercentage) { + lastPercentage = newPercentage; + emit updateCoefficientsPercent(newPercentage); + } + } + c->t.setFilename("LibreCAL/"+paramName); + return c; + }; + set.opens[i] = (createCoefficient(name, "P"+QString::number(i)+"_OPEN")); + set.shorts[i] = (createCoefficient(name, "P"+QString::number(i)+"_SHORT")); + set.loads[i] = (createCoefficient(name, "P"+QString::number(i)+"_LOAD")); + for(int jdx=idx+1;jdx ports) +{ + QStringList coeffList = getCoefficientSetNames(); + if(coeffList.empty()) { + // something went wrong + emit updateCoefficientsDone(false); + return; + } + if(names.size() > 0) { + // check if all the requested names are actually available + for(auto n : names) { + if(!coeffList.contains(n)) { + // this coefficient does not exist + emit updateCoefficientsDone(false); + return; + } + } + coeffList = names; + } + + int total_coeffs = (ports.size() * 3 + ports.size() * (ports.size() - 1) / 2) * coeffList.size(); + int read_coeffs = 0; + + for(auto name : coeffList) { + // create the coefficient set + CoefficientSet set; + set.name = name; + set.ports = numPorts; + + auto createCoefficient = [&](QString setName, QString paramName) -> CoefficientSet::Coefficient* { + CoefficientSet::Coefficient *c = new CoefficientSet::Coefficient(); + // ask for the whole set at once + usb->flushReceived(); + usb->send(":COEFF:GET? "+setName+" "+paramName); + // handle incoming lines + if(paramName.endsWith("THROUGH")) { + c->t = Touchstone(2); + } else { + c->t = Touchstone(1); + } + c->t.setFilename("LibreCAL/"+paramName); + while(true) { + QString line; + if(!usb->receive(&line)) { + // failed to receive something, abort + return nullptr; + } + if(line.startsWith("ERROR")) { + // something went wront + return nullptr; + } + // ignore start, comments and option line + if(line.startsWith("START") || line.startsWith("!") || line.startsWith("#")) { + // ignore + continue; + } + if(line.startsWith("END")) { + // got all data + return c; + } + // parse the values + try { + QStringList values = line.split(" "); + Touchstone::Datapoint p; + p.frequency = values[0].toDouble() * 1e9; + for(int j = 0;j<(values.size()-1)/2;j++) { + double real = values[1+j*2].toDouble(); + double imag = values[2+j*2].toDouble(); + p.S.push_back(complex(real, imag)); + } + if(p.S.size() == 4) { + // S21 and S12 are swapped in the touchstone file order (S21 goes first) + // but Touchstone::AddDatapoint expects S11 S12 S21 S22 order. Swap to match that + swap(p.S[1], p.S[2]); + } + c->t.AddDatapoint(p); + } catch (...) { + return nullptr; + } + } + }; + + for(int idx=0;idxmodified) { + totalPoints += c.second->t.points(); + } + } + for(auto c : set.shorts) { + if(c.second->modified) { + totalPoints += c.second->t.points(); + } + } + for(auto c : set.loads) { + if(c.second->modified) { + totalPoints += c.second->t.points(); + } + } + for(auto c : set.throughs) { + if(c.second->modified) { + totalPoints += c.second->t.points(); + } + } + } + unsigned long transferredPoints = 0; + int lastPercentage = 0; + bool success = true; + for(auto set : coeffSets) { + auto createCoefficient = [&](QString setName, QString paramName, Touchstone &t, bool &modified) -> bool { + if(!modified) { + // no changes, nothing to do + return true; + } + int points = t.points(); + if(points > 0) { + // create the file + if(!usb->Cmd(":COEFF:CREATE "+setName+" "+paramName)) { + return false; + } + for(int i=0;iCmd(cmd)) { + return false; + } + transferredPoints++; + int newPercentage = transferredPoints * 100 / totalPoints; + if(newPercentage != lastPercentage) { + lastPercentage = newPercentage; + emit updateCoefficientsPercent(newPercentage); + } + } + if(!usb->Cmd(":COEFF:FIN")) { + return false; + } + } else { + // no points, delete coefficient + if(!usb->Cmd(":COEFF:DEL "+setName+" "+paramName)) { + return false; + } + } + modified = false; + return true; + }; + for(int i=1;i<=numPorts;i++) { + if(set.opens.count(i)) { + success &= createCoefficient(set.name, "P"+QString::number(i)+"_OPEN", set.opens[i]->t, set.opens[i]->modified); + if(!success) { + break; + } + } + if(set.shorts.count(i)) { + success &= createCoefficient(set.name, "P"+QString::number(i)+"_SHORT", set.shorts[i]->t, set.shorts[i]->modified); + if(!success) { + break; + } + } + if(set.loads.count(i)) { + success &= createCoefficient(set.name, "P"+QString::number(i)+"_LOAD", set.loads[i]->t, set.loads[i]->modified); + if(!success) { + break; + } + } + for(int j=i+1;j<=numPorts;j++) { + auto c = set.getThrough(i,j); + if(c) { + success &= createCoefficient(set.name, "P"+QString::number(i)+QString::number(j)+"_THROUGH", c->t, c->modified); + if(!success) { + break; + } + } + } + if(!success) { + break; + } + } + } + // prune empty coefficient sets + auto i = coeffSets.begin(); + while(i != coeffSets.end()) { + if(i->isEmpty()) { + i = coeffSets.erase(i); + } else { + i++; + } + } + emit updateCoefficientsDone(success); +} + +std::vector CalDevice::getCoefficientSets() const +{ + return coeffSets; +} + +void CalDevice::addCoefficientSet(QString name) +{ + CoefficientSet set; + set.name = name; + set.ports = numPorts; + set.createEmptyCoefficients(); + coeffSets.push_back(set); +} + +QStringList CalDevice::getCoefficientSetNames() +{ + QString resp = usb->Query(":COEFF:LIST?"); + if(!resp.startsWith("FACTORY")) { + return QStringList(); + } + return resp.split(","); +} + +bool CalDevice::hasModifiedCoefficients() +{ + for(auto set : coeffSets) { + for(auto c : set.opens) { + if(c.second->modified) { + return true; + } + } + for(auto c : set.shorts) { + if(c.second->modified) { + return true; + } + } + for(auto c : set.loads) { + if(c.second->modified) { + return true; + } + } + for(auto c : set.throughs) { + if(c.second->modified) { + return true; + } + } + } + return false; +} + +void CalDevice::factoryUpdateDialog() +{ + auto d = new QDialog(); + auto ui = new Ui::FactoryUpdateDialog(); + ui->setupUi(d); + + ui->progress->setValue(0); + connect(this, &CalDevice::updateCoefficientsPercent, ui->progress, &QProgressBar::setValue, Qt::QueuedConnection); + + auto updateEnableState = [=]() { + ui->updateFile->setEnabled(true); + ui->updateServer->setEnabled(true); + if(ui->updateServer->isChecked()) { + // can start + ui->startUpdate->setEnabled(true); + // file selection disabled + ui->file->setEnabled(false); + ui->browse->setEnabled(false); + } else { + // file selection enabled + ui->file->setEnabled(true); + ui->browse->setEnabled(true); + // start possible if some file is selected + ui->startUpdate->setEnabled(!ui->file->text().isEmpty()); + } + }; + + connect(ui->updateServer, &QRadioButton::toggled, this, updateEnableState); + connect(ui->file, &QLineEdit::textChanged, this, updateEnableState); + connect(ui->browse, &QPushButton::clicked, this, [=](){ + auto filename = QFileDialog::getOpenFileName(nullptr, "Select factory coefficient file", "", "Zip files (*.zip)", nullptr, QFileDialog::DontUseNativeDialog); + if(filename.isEmpty()) { + // aborted selection + return; + } else { + ui->file->setText(filename); + updateEnableState(); + } + }); + + auto addStatus = [=](QString status) { + ui->msg->appendPlainText(status); + }; + auto abortWithError = [=](QString error) { + ui->progress->setValue(0); + + QTextCharFormat tf; + tf = ui->msg->currentCharFormat(); + tf.setForeground(QBrush(Qt::red)); + ui->msg->setCurrentCharFormat(tf); + ui->msg->appendPlainText(error); + tf.setForeground(QBrush(Qt::black)); + ui->msg->setCurrentCharFormat(tf); + + updateEnableState(); + }; + + connect(this, &CalDevice::updateCoefficientsDone, this, [=](bool success) { + // transfer complete + + // pass on communication failures again + connect(usb, &USBDevice::communicationFailure, this, &CalDevice::disconnected); + if(success) { + ui->progress->setValue(100); + addStatus("...done"); + updateEnableState(); + } else { + abortWithError("Transferring coefficients to LibreCAL failed"); + } + }); + + auto updateFromFile = [=](QString filename) { + addStatus("Unzipping file..."); + if(!QMicroz::extract(filename, ".")) { + abortWithError("Extracting zip file failed"); + return; + } + // create coefficient set + auto set = CoefficientSet(); + set.name = "FACTORY"; + set.ports = 4; + set.createEmptyCoefficients(); + struct Coeff { + QString description; + QString filename; + CoefficientSet::Coefficient *coeff; + }; + std::array coeffs = {{ + {.description = "Port 1 open", .filename = "P1_OPEN.s1p", .coeff = set.opens[1]}, + {.description = "Port 1 short", .filename = "P1_SHORT.s1p", .coeff = set.shorts[1]}, + {.description = "Port 1 load", .filename = "P1_LOAD.s1p", .coeff = set.loads[1]}, + {.description = "Port 2 open", .filename = "P2_OPEN.s1p", .coeff = set.opens[2]}, + {.description = "Port 2 short", .filename = "P2_SHORT.s1p", .coeff = set.shorts[2]}, + {.description = "Port 2 load", .filename = "P2_LOAD.s1p", .coeff = set.loads[2]}, + {.description = "Port 3 open", .filename = "P3_OPEN.s1p", .coeff = set.opens[3]}, + {.description = "Port 3 short", .filename = "P3_SHORT.s1p", .coeff = set.shorts[3]}, + {.description = "Port 3 load", .filename = "P3_LOAD.s1p", .coeff = set.loads[3]}, + {.description = "Port 4 open", .filename = "P4_OPEN.s1p", .coeff = set.opens[4]}, + {.description = "Port 4 short", .filename = "P4_SHORT.s1p", .coeff = set.shorts[4]}, + {.description = "Port 4 load", .filename = "P4_LOAD.s1p", .coeff = set.loads[4]}, + {.description = "Port 1 to 2 through", .filename = "P12_THROUGH.s2p", .coeff = set.throughs[set.portsToThroughIndex(1,2)]}, + {.description = "Port 1 to 3 through", .filename = "P13_THROUGH.s2p", .coeff = set.throughs[set.portsToThroughIndex(1,3)]}, + {.description = "Port 1 to 4 through", .filename = "P14_THROUGH.s2p", .coeff = set.throughs[set.portsToThroughIndex(1,4)]}, + {.description = "Port 2 to 3 through", .filename = "P23_THROUGH.s2p", .coeff = set.throughs[set.portsToThroughIndex(2,3)]}, + {.description = "Port 2 to 4 through", .filename = "P24_THROUGH.s2p", .coeff = set.throughs[set.portsToThroughIndex(2,4)]}, + {.description = "Port 3 to 4 through", .filename = "P34_THROUGH.s2p", .coeff = set.throughs[set.portsToThroughIndex(3,4)]}, + }}; + for(const Coeff &c : coeffs) { + addStatus("Loading coefficient ("+c.description+")..."); + try { + auto t = Touchstone::fromFile(c.filename.toStdString()); + c.coeff->t = t; + c.coeff->modified = true; + QFile rmfile(c.filename); + rmfile.remove(); + } catch (const std::exception &e) { + abortWithError("Failed: "+QString::fromStdString(e.what())); + return; + } + } + // delete previous factory set if available + for(unsigned int i=0;iCmd(":FACT:ENABLEWRITE I_AM_SURE"); + // delete all factory coefficients (this formats the factory partition) + success &= usb->Cmd(":FACT:DEL", 5000); + + if(success) { + // start the transfer + addStatus("Transferring new coefficients to LibreCAL..."); + // potential communication failures should not be passed on during this + disconnect(usb, &USBDevice::communicationFailure, this, &CalDevice::disconnected); + saveCoefficientSets(); + } else { + abortWithError("Failed to erase previous factory calibration"); + } + }; + + auto netw = new QNetworkAccessManager(); + connect(netw, &QNetworkAccessManager::finished, this, [=](QNetworkReply *reply) { + if(reply->error() == QNetworkReply::NoError) { + // success + addStatus("Factory coefficients downloaded..."); + QFile file(serial()+".zip"); + if(!file.open(QIODevice::WriteOnly)) { + abortWithError("Failed to create folder for zipped data"); + return; + } + file.write(reply->readAll()); + file.flush(); + file.close(); + updateFromFile(serial()+".zip"); + // remove zip file + file.remove(); + } else { + abortWithError("No factory coefficients found. Check internet access and serial number"); + } + }); + + connect(ui->startUpdate, &QPushButton::clicked, this, [=](){ + ui->msg->clear(); + ui->startUpdate->setEnabled(false); + ui->updateFile->setEnabled(false); + ui->updateServer->setEnabled(false); + ui->file->setEnabled(false); + ui->browse->setEnabled(false); + if(ui->updateServer->isChecked()) { + addStatus("Looking up factory coefficient data..."); + QUrl url("https://librecal.kaeberich.com/calibrationdata/"+serial()+".zip"); + netw->get(QNetworkRequest(url)); + } else { + // update from file + updateFromFile(ui->file->text()); + } + }); + + updateEnableState(); + + d->exec(); +} + +CalDevice::CoefficientSet::Coefficient *CalDevice::CoefficientSet::getOpen(int port) +{ + if(opens.count(port)) { + return opens[port]; + } else { + return nullptr; + } +} + +CalDevice::CoefficientSet::Coefficient *CalDevice::CoefficientSet::getShort(int port) +{ + if(shorts.count(port)) { + return shorts[port]; + } else { + return nullptr; + } +} + +CalDevice::CoefficientSet::Coefficient *CalDevice::CoefficientSet::getLoad(int port) +{ + if(loads.count(port)) { + return loads[port]; + } else { + return nullptr; + } +} + +CalDevice::CoefficientSet::Coefficient *CalDevice::CoefficientSet::getThrough(int port1, int port2) +{ + auto index = portsToThroughIndex(port1, port2); + if(throughs.count(index)) { + return throughs[index]; + } else { + return nullptr; + } +} + +int CalDevice::CoefficientSet::portsToThroughIndex(int port1, int port2) +{ + if(port1 > ports || port2 > ports || port1 >= port2) { + return -1; + } + return port1 * ports + port2; +} + +void CalDevice::CoefficientSet::portsFromThroughIndex(int &port1, int &port2, int index) +{ + port1 = index / ports; + port2 = index - port1 * ports; + if(port1 < 1 || port1 > ports) { + port1 = -1; + } + if(port2 < 1 || port2 > ports) { + port2 = -1; + } +} + +void CalDevice::CoefficientSet::createEmptyCoefficients() +{ + loads.clear(); + shorts.clear(); + opens.clear(); + throughs.clear(); + for(int i=1;i<=ports;i++) { + opens[i] = new Coefficient(); + shorts[i] = new Coefficient(); + loads[i] = new Coefficient(); + for(int j=i+1;j<=ports;j++) { + throughs[portsToThroughIndex(i,j)] = new Coefficient(); + } + } +} + +bool CalDevice::CoefficientSet::isEmpty() +{ + for(auto o : opens) { + if(o.second->t.points() > 0) { + return false; + } + } + for(auto s : shorts) { + if(s.second->t.points() > 0) { + return false; + } + } + for(auto l : loads) { + if(l.second->t.points() > 0) { + return false; + } + } + for(auto t : throughs) { + if(t.second->t.points() > 0) { + return false; + } + } + // no coefficients or all coefficients empty + return true; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/caldevice.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/caldevice.h new file mode 100644 index 0000000..1b05614 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/caldevice.h @@ -0,0 +1,128 @@ +#ifndef CALDEVICE_H +#define CALDEVICE_H + +#include "usbdevice.h" +#include "touchstone.h" + +#include +#include +#include + +class CalDevice : public QObject +{ + Q_OBJECT +public: + CalDevice(QString serial); + ~CalDevice(); + + class Standard { + public: + enum class Type { + Open, + Short, + Load, + Through, + None + }; + Standard(Type type) : type(type), throughDest(0){} + Standard(int throughDest) : type(Type::Through), throughDest(throughDest){} + Type type; + int throughDest; + }; + + static QString StandardToString(Standard s); + static Standard StandardFromString(QString s); + + Standard getStandard(int port); + bool setStandard(int port, Standard s); + static std::vector availableStandards(); + + double getTemperature(); + bool stabilized(); + double getHeaterPower(); + + QString serial(); + QString getFirmware() const; + unsigned int getNumPorts() const; + + QString getDateTimeUTC(); + + bool enterBootloader(); + + class CoefficientSet { + public: + QString name; + int ports; + class Coefficient { + public: + Coefficient() : t(Touchstone(1)), modified(false) {} + Touchstone t; + bool modified; + }; + + Coefficient *getOpen(int port); + Coefficient *getShort(int port); + Coefficient *getLoad(int port); + Coefficient *getThrough(int port1, int port2); + + std::map opens; + std::map shorts; + std::map loads; + std::map throughs; + + int portsToThroughIndex(int port1, int port2); + void portsFromThroughIndex(int &port1, int &port2, int index); + + void createEmptyCoefficients(); + bool isEmpty(); + }; + + // Extracts the coefficients from the device. This is done with a dedicated thread. + // Do not call any other functions until the update is finished. Process can be + // monitored through the updateCoefficientsPercent and updateCoefficientsDone signals + void loadCoefficientSets(QStringList names = QStringList(), QList ports = {}, bool fast=true); + + void abortCoefficientLoading(); + // Writes coefficient sets to the device. This will only write modified files to save + // time. This is done with a dedicated thread. + // Do not call any other functions until the update is finished. Process can be + // monitored through the updateCoefficientsPercent and updateCoefficientsDone signals + void saveCoefficientSets(); + std::vector getCoefficientSets() const; + + void addCoefficientSet(QString name); + + QStringList getCoefficientSetNames(); + + bool hasModifiedCoefficients(); + + bool coefficientTransferActive() { return transferActive; } + +public slots: + void factoryUpdateDialog(); + +signals: + void updateCoefficientsPercent(int percent); + // emitted when all coefficients have been received and it is safe to call all functions again + void updateCoefficientsDone(bool success); + + void disconnected(); + +private: + void loadCoefficientSetsThreadSlow(QStringList names, QList ports); + void loadCoefficientSetsThreadFast(QStringList names, QList ports); + void saveCoefficientSetsThread(); + + USBDevice *usb; + QString firmware; + int numPorts; + std::thread *loadThread; + bool abortLoading; + bool transferActive; + + float firmware_major_minor; + + std::vector coeffSets; +}; + +#endif // CALDEVICE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/factoryUpdateDialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/factoryUpdateDialog.ui new file mode 100644 index 0000000..b063441 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/factoryUpdateDialog.ui @@ -0,0 +1,98 @@ + + + FactoryUpdateDialog + + + Qt::ApplicationModal + + + + 0 + 0 + 635 + 448 + + + + Factory Coefficient Update + + + + + + Updating the factory coefficients is normally not necessary. But in case they have been lost or modified accidentally, they can be set to the original state again. + + + true + + + + + + + Update coefficients from manufacturing server + + + true + + + buttonGroup + + + + + + + + + Update from file + + + buttonGroup + + + + + + + + + + Select file + + + ... + + + + + + + + + Qt::NoFocus + + + + + + + 24 + + + + + + + Update Factory Coefficients + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.cpp new file mode 100644 index 0000000..3dde1c1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.cpp @@ -0,0 +1,688 @@ +#include "librecaldialog.h" +#include "ui_librecaldialog.h" + +#include "caldevice.h" +#include "usbdevice.h" +#include "CustomWidgets/informationbox.h" +#include "preferences.h" + +#include + +#include + +using namespace std; + +LibreCALDialog::LibreCALDialog(Calibration *cal) : + QDialog(nullptr), + ui(new Ui::LibreCALDialog), + cal(cal), + device(nullptr), + busy(false) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + createPortAssignmentUI(); + + connect(this, &LibreCALDialog::portAssignmentChanged, this, &LibreCALDialog::updateCalibrationStartStatus); + + connect(ui->cbDevice, &QComboBox::currentTextChanged, [=](QString text) { + if(device) { + delete device; + device = nullptr; + } + try { + device = new CalDevice(text); + } catch (exception &e) { + device = nullptr; + InformationBox::ShowError("Failed to connect", e.what(), this); + } + if(device) { + createPortAssignmentUI(); + connect(device, &CalDevice::updateCoefficientsPercent, ui->progressCoeff, &QProgressBar::setValue); + connect(device, &CalDevice::updateCoefficientsDone, this, [=](bool success){ + busy = false; + updateCalibrationStartStatus(); + if(success) { + ui->progressCoeff->setValue(100); + ui->lCalibrationStatus->setText("Coefficients loaded."); + coeffSet = device->getCoefficientSets()[0]; + + if(validateCoefficients()) { + startCalibration(); + } else { + enableUI(); + } + } else { + ui->progressCal->setValue(0); + ui->lCalibrationStatus->setText("Failed to load coefficients"); + } + }, Qt::QueuedConnection); + + ui->cbCoefficients->clear(); + ui->cbCoefficients->addItem("Select..."); + for(auto c : device->getCoefficientSetNames()) { + ui->cbCoefficients->addItem(c); + } + ui->cbCoefficients->setEnabled(true); + // select first available coefficient set + if(ui->cbCoefficients->count() > 1) { + ui->cbCoefficients->setCurrentIndex(1); + } + } else { + ui->cbCoefficients->clear(); + ui->cbCoefficients->setEnabled(false); + ui->start->setEnabled(false); + } + }); + + connect(ui->cbCoefficients, &QComboBox::currentTextChanged, [=](){ + // no coefficient set selected + ui->progressCoeff->setValue(0); + coeffSet = CalDevice::CoefficientSet(); + ui->lCalibrationStatus->setText("No coefficients loaded"); + updateCalibrationStartStatus(); + }); + + auto deviceList = USBDevice::GetDevices(); + for(auto device : deviceList) { + ui->cbDevice->addItem(device); + } + + connect(ui->start, &QPushButton::clicked, this, &LibreCALDialog::determineAutoPorts); + connect(this, &LibreCALDialog::autoPortComplete, this, &LibreCALDialog::loadCoefficients); + + updateCalibrationStartStatus(); + updateDeviceStatus(); + connect(&updateTimer, &QTimer::timeout, this, &LibreCALDialog::updateDeviceStatus); + updateTimer.start(1000); +} + +LibreCALDialog::~LibreCALDialog() +{ + if(device) { + device->abortCoefficientLoading(); + } + delete device; + delete ui; +} + +bool LibreCALDialog::validatePortSelection(bool autoAllowed) +{ + set usedCalPorts; + QString status; + bool canStart = true; + // Check port mapping for duplicate entries (and at least one used port) + for(auto port : portAssignment) { + if(autoAllowed && port == -1) { + // auto port, to be determined later + usedCalPorts.insert(port); + // skip duplicate selection + continue; + } else if(port < 1) { + // skip unused ports + continue; + } + if(usedCalPorts.count(port)) { + status = "LibreCAL port "+QString::number(port)+" is assigned to multiple VNA ports."; + canStart = false; + break; + } else { + usedCalPorts.insert(port); + } + } + if(canStart) { + // at least one port must be used + if(usedCalPorts.size() == 0) { + status = "At least one port must be assigned."; + canStart = false; + } + } + if(!canStart) { + ui->lCalibrationStatus->setText(status); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : red; }"); + } + return canStart; +} + +bool LibreCALDialog::validateCoefficients() +{ + bool canStart = true; + QString status; + + double coeffMinFreq = numeric_limits::max(); + double coeffMaxFreq = numeric_limits::lowest(); + + auto checkCoefficient = [&](CalDevice::CoefficientSet::Coefficient *c) -> bool { + if(!c) { + return false; + } + if(c->t.points() == 0) { + return false; + } else { + if(c->t.minFreq() < coeffMinFreq) { + coeffMinFreq = c->t.minFreq(); + } + if(c->t.maxFreq() > coeffMaxFreq) { + coeffMaxFreq = c->t.maxFreq(); + } + return true; + } + }; + + set usedCalPorts; + // Check port mapping for duplicate entries (and at least one used port) + for(auto port : portAssignment) { + if(port > 0) { + usedCalPorts.insert(port); + } + } + + // check if coefficients for all ports are available + for(auto i : usedCalPorts) { + // Check if OSL coefficients are there + if(!checkCoefficient(coeffSet.getOpen(i))) { + status = "Open coefficient for LibreCAL port "+QString::number(i)+" is missing."; + canStart = false; + break; + } + if(!checkCoefficient(coeffSet.getShort(i))) { + status = "Short coefficient for LibreCAL port "+QString::number(i)+" is missing."; + canStart = false; + break; + } + if(!checkCoefficient(coeffSet.getLoad(i))) { + status = "Load coefficient for LibreCAL port "+QString::number(i)+" is missing."; + canStart = false; + break; + } + for(auto j : usedCalPorts) { + if(j <= i) { + continue; + } + if(!checkCoefficient(coeffSet.getThrough(i,j))) { + status = "Through coefficient for LibreCAL port "+QString::number(i)+" to "+QString::number(j)+" is missing."; + canStart = false; + break; + } + } + } + if(!canStart) { + ui->lCalibrationStatus->setText(status); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : red; }"); + } + return canStart; +} + +void LibreCALDialog::updateCalibrationStartStatus() +{ + bool canStart = true; + if(!device) { + canStart = false; + ui->lCalibrationStatus->setText("Not connected to a LibreCAL device"); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : red; }"); + } + + if(canStart) { + if(ui->cbCoefficients->currentIndex() == 0) { + canStart = false; + ui->lCalibrationStatus->setText("No coefficient set selected"); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : red; }"); + } + } + + if(canStart) { + canStart = validatePortSelection(true); + } + + if(canStart) { + if(!Preferences::getInstance().Acquisition.allowUseOfUnstableLibreCALTemp && !device->stabilized()) { + canStart = false; + ui->lCalibrationStatus->setText("LibreCAL temperature unstable"); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : red; }"); + } + } + + ui->start->setEnabled(canStart); + if(canStart) { + ui->lCalibrationStatus->setText("Ready to start"); + ui->lCalibrationStatus->setStyleSheet(""); + } +} + +void LibreCALDialog::updateDeviceStatus() +{ + if(!device) { + ui->lDeviceStatus->setText("No LibreCAL connected"); + ui->lDeviceStatus->setStyleSheet("QLabel { color : red; }"); + return; + } + if(busy) { + // can't update while busy reading coefficients + return; + } + if(device->stabilized()) { + ui->lDeviceStatus->setText("LibreCAL ready for calibration"); + ui->lDeviceStatus->setStyleSheet(""); + } else { + ui->lDeviceStatus->setText("Heating up, please wait with calibration"); + ui->lDeviceStatus->setStyleSheet("QLabel { color : orange; }"); + } + updateCalibrationStartStatus(); +} + +void LibreCALDialog::determineAutoPorts() +{ + disableUI(); + ui->progressCal->setValue(0); + ui->lCalibrationStatus->setText("Autodetecting port connections..."); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : green; }"); + + // check if any ports are set to auto + bool usesAuto = false; + for(auto port : portAssignment) { + if(port == -1) { + usesAuto = true; + break; + } + } + if(usesAuto) { + driver = DeviceDriver::getActiveDriver(); + emit driver->acquireControl(); + // Determine ports by setting all ports to open and then switching them to short one at a time while observing the change in the VNA measurement + for(unsigned int i=1;i<=device->getNumPorts();i++) { + device->setStandard(i, CalDevice::Standard::Type::Open); + } + autoPortMeasurements.clear(); + startSweep(); + } else { + // no auto ports + emit autoPortComplete(); + } +} + +void LibreCALDialog::loadCoefficients() +{ + // validate ports again, at this point no "auto" selection is allowed anymore + if(!validatePortSelection(false)) { + enableUI(); + updateCalibrationStartStatus(); + } else { + // can continue with loading coefficients + // they might already be loaded from a previous calibration run, check first + if(!validateCoefficients()) { + // only load required coefficients + ui->progressCal->setValue(0); + ui->lCalibrationStatus->setText("Loading coefficients..."); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : green; }"); + + // determine the used ports of the LibreCAL + QList usedPorts; + for(auto port : portAssignment) { + if(port > 0) { + usedPorts.append(port); + } + } + + busy = true; + device->loadCoefficientSets({ui->cbCoefficients->currentText()}, usedPorts); + } else { + // can proceed with calibration directly + startCalibration(); + } + } +} + +void LibreCALDialog::handleIncomingMeasurement(DeviceDriver::VNAMeasurement m) +{ + stopSweep(); + autoPortMeasurements.push_back(m); + auto nextPort = autoPortMeasurements.size(); + // switch LibreCAL to next port + if(nextPort <= device->getNumPorts()) { + device->setStandard(nextPort, CalDevice::Standard::Type::Short); + } + if(nextPort > 1) { + device->setStandard(nextPort-1, CalDevice::Standard::Type::Open); + } + if(nextPort > device->getNumPorts()) { + // auto port measurements complete + + // reset LibreCAL ports + for(unsigned int i=1;i<=device->getNumPorts();i++) { + device->setStandard(i, CalDevice::Standard::Type::None); + } + // evaluate results + for(unsigned int p=0;p> measurements; + for(auto m : autoPortMeasurements) { + if(m.measurements.count(param)) { + measurements.push_back(m.measurements[param]); + } + } + if(measurements.size() != device->getNumPorts()+1) { + // not all measurements available (maybe the port has no stimulus?), set to unused + portAssignmentComboBoxes[p]->setCurrentIndex(0); + continue; + } + // got all required measurements, determine which one deviates the most from the baseline + double maxDeviation = 0.0; + int maxDevIndex = 0; + for(unsigned int i=1;i<=device->getNumPorts();i++) { + auto diff = abs(measurements[i] - measurements[0]); + if (diff > maxDeviation) { + maxDeviation = diff; + maxDevIndex = i; + } + } + constexpr double minRequiredDeviation = 0.25; + if(maxDeviation > minRequiredDeviation) { + portAssignmentComboBoxes[p]->setCurrentIndex(maxDevIndex+1); + } else { + // not enough deviation, probably unused + portAssignmentComboBoxes[p]->setCurrentIndex(0); + } + } + emit driver->releaseControl(); + emit autoPortComplete(); + } else { + // trigger the next measurement + startSweep(); + } +} + +void LibreCALDialog::startSweep() +{ + // set up a sweep with a single measurement point at the start frequency + auto info = driver->getInfo(); + DeviceDriver::VNASettings s = {}; + s.dBmStart = info.Limits.VNA.maxdBm; + s.dBmStop = info.Limits.VNA.maxdBm; + + auto freq = info.Limits.VNA.minFreq == 0 ? 100000 : info.Limits.VNA.minFreq; + + s.freqStart = freq; + s.freqStop = freq; + s.IFBW = 100; + s.logSweep = false; + s.points = 1; + + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + s.excitedPorts.push_back(i); + } + driver->setVNA(s, [=](bool){ + connect(driver, &DeviceDriver::VNAmeasurementReceived, this, &LibreCALDialog::handleIncomingMeasurement, Qt::DirectConnection); + }); +} + +void LibreCALDialog::stopSweep() +{ + disconnect(driver, &DeviceDriver::VNAmeasurementReceived, this, &LibreCALDialog::handleIncomingMeasurement); + driver->setIdle(); +} + +void LibreCALDialog::startCalibration() +{ + disableUI(); + busy = true; + + ui->progressCal->setValue(0); + ui->lCalibrationStatus->setText("Creating calibration kit from coefficients..."); + ui->lCalibrationStatus->setStyleSheet(""); + auto& kit = cal->getKit(); + kit.clearStandards(); + kit.manufacturer = "LibreCAL ("+coeffSet.name+")"; + kit.serialnumber = device->serial(); + kit.description = "Automatically created from LibreCAL module"; + + // determine the used ports of the LibreCAL + QList usedPorts; + for(auto port : portAssignment) { + if(port > 0) { + usedPorts.append(port); + } + } + std::sort(usedPorts.begin(), usedPorts.end()); + + std::map openStandards; + std::map shortStandards; + std::map loadStandards; + std::map throughStandards; + for(unsigned int idx=0;idxt.points() > 0) { + auto o = new CalStandard::Open(); + o->setName("Port "+QString::number(i)); + o->setMeasurement(coeffSet.getOpen(i)->t); + openStandards[i] = o; + kit.addStandard(o); + } + if(coeffSet.getShort(i)->t.points() > 0) { + auto o = new CalStandard::Short(); + o->setName("Port "+QString::number(i)); + o->setMeasurement(coeffSet.getShort(i)->t); + shortStandards[i] = o; + kit.addStandard(o); + } + if(coeffSet.getLoad(i)->t.points() > 0) { + auto o = new CalStandard::Load(); + o->setName("Port "+QString::number(i)); + o->setMeasurement(coeffSet.getLoad(i)->t); + loadStandards[i] = o; + kit.addStandard(o); + } + for(unsigned int jdx=idx+1;jdxt.points() > 0) { + auto o = new CalStandard::Through(); + o->setName("Port "+QString::number(i)+" to "+QString::number(j)); + o->setMeasurement(c->t); + throughStandards[coeffSet.portsToThroughIndex(i, j)] = o; + kit.addStandard(o); + } + } + } + ui->lCalibrationStatus->setText("Creating calibration measurements..."); + cal->reset(); + auto vnaPorts = DeviceDriver::getInfo(DeviceDriver::getActiveDriver()).Limits.VNA.ports; + set openMeasurements; + set shortMeasurements; + set loadMeasurements; + vector throughMeasurements; + for(unsigned int p=0;psetPort(p+1); + open->setStandard(openStandards[portAssignment[p]]); + openMeasurements.insert(open); + cal->measurements.push_back(open); + + auto _short = new CalibrationMeasurement::Short(cal); + _short->setPort(p+1); + _short->setStandard(shortStandards[portAssignment[p]]); + shortMeasurements.insert(_short); + cal->measurements.push_back(_short); + + auto load = new CalibrationMeasurement::Load(cal); + load->setPort(p+1); + load->setStandard(loadStandards[portAssignment[p]]); + loadMeasurements.insert(load); + cal->measurements.push_back(load); + for(unsigned int p2=p+1;p2setPort1(p+1); + through->setPort2(p2+1); + // find correct through standard + int libreCALp1 = portAssignment[p]; + int libreCALp2 = portAssignment[p2]; + QString forwardName = "Port "+QString::number(libreCALp1)+" to "+QString::number(libreCALp2); + QString reverseName = "Port "+QString::number(libreCALp2)+" to "+QString::number(libreCALp1); + for(auto ts : throughStandards) { + if(ts.second->getName() == forwardName) { + through->setStandard(ts.second); + through->setReverseStandard(false); + } else if(ts.second->getName() == reverseName) { + through->setStandard(ts.second); + through->setReverseStandard(true); + } + } + throughMeasurements.push_back(through); + cal->measurements.push_back(through); + } + } + + ui->lCalibrationStatus->setText("Taking calibration measurements..."); + + measurementsTaken = 0; + + auto setTerminationOnAllUsedPorts = [=](CalDevice::Standard s) { + for(auto p : portAssignment) { + if(p > 0) { + device->setStandard(p, s); + } + } + }; + + auto startNextCalibrationStep = [=]() { + // indicate calibration percentage + auto totalMeasurements = 3 + throughMeasurements.size(); + ui->progressCal->setValue(measurementsTaken * 100 / totalMeasurements); + switch(measurementsTaken) { + case 0: + setTerminationOnAllUsedPorts(CalDevice::Standard(CalDevice::Standard::Type::Open)); + emit cal->startMeasurements(openMeasurements); + break; + case 1: + setTerminationOnAllUsedPorts(CalDevice::Standard(CalDevice::Standard::Type::Short)); + emit cal->startMeasurements(shortMeasurements); + break; + case 2: + setTerminationOnAllUsedPorts(CalDevice::Standard(CalDevice::Standard::Type::Load)); + emit cal->startMeasurements(loadMeasurements); + break; + default: { + // into through measurements now + unsigned int throughIndex = measurementsTaken - 3; + if(throughIndex >= throughMeasurements.size()) { + // this was the last measurement + // Try to apply the calibration + Calibration::CalType type; + type.type = Calibration::Type::SOLT; + for(unsigned int i=0;i 0) { + // this VNA port was used in the calibration + type.usedPorts.push_back(i+1); + } + } + auto res = cal->compute(type); + if(res) { + ui->progressCal->setValue(100); + ui->lCalibrationStatus->setText("Calibration activated."); + } else { + ui->progressCal->setValue(0); + ui->lCalibrationStatus->setText("Failed to activate calibration."); + ui->lCalibrationStatus->setStyleSheet("QLabel { color : red; }"); + } + // sever connection to this function + disconnect(cal, &Calibration::measurementsUpdated, this, nullptr); + setTerminationOnAllUsedPorts(CalDevice::Standard(CalDevice::Standard::Type::None)); + enableUI(); + busy = false; + break; + } + setTerminationOnAllUsedPorts(CalDevice::Standard(CalDevice::Standard::Type::None)); + auto m = throughMeasurements[throughIndex]; + device->setStandard(portAssignment[m->getPort1()-1], CalDevice::Standard(portAssignment[m->getPort2()-1])); + emit cal->startMeasurements({m}); + } + break; + } + measurementsTaken++; + }; + + disconnect(cal, &Calibration::measurementsUpdated, this, nullptr); + connect(cal, &Calibration::measurementsUpdated, this, startNextCalibrationStep, Qt::QueuedConnection); + connect(cal, &Calibration::measurementsAborted, this, [=](){ + setTerminationOnAllUsedPorts(CalDevice::Standard(CalDevice::Standard::Type::None)); + enableUI(); + busy = false; + ui->lCalibrationStatus->setText("Ready to start"); + }); + + startNextCalibrationStep(); +} + +void LibreCALDialog::disableUI() +{ + ui->cbDevice->setEnabled(false); + ui->cbCoefficients->setEnabled(false); + ui->start->setEnabled(false); + for(auto cb : portAssignmentComboBoxes) { + cb->setEnabled(false); + } +} + +void LibreCALDialog::enableUI() +{ + ui->cbDevice->setEnabled(true); + ui->cbCoefficients->setEnabled(true); + ui->start->setEnabled(true); + for(auto cb : portAssignmentComboBoxes) { + cb->setEnabled(true); + } +} + +void LibreCALDialog::createPortAssignmentUI() +{ + auto layout = static_cast(ui->assignmentBox->layout()); + // Clear any possible previous elements + portAssignment.clear(); + portAssignmentComboBoxes.clear(); + while(layout->rowCount() > 1) { + layout->removeRow(1); + } + auto vnaPorts = DeviceDriver::getInfo(DeviceDriver::getActiveDriver()).Limits.VNA.ports; + portAssignment.resize(vnaPorts, 0); + auto calPorts = 0; + if(device) { + calPorts = device->getNumPorts(); + } + QStringList choices = {"Unused", "Auto"}; + for(int i=1;i<=calPorts;i++) { + choices.push_back("Port "+QString::number(i)); + } + for(unsigned int p = 1;p<=vnaPorts;p++) { + auto label = new QLabel("Port "+QString::number(p)+":"); + auto comboBox = new QComboBox(); + comboBox->addItems(choices); + connect(comboBox, qOverload(&QComboBox::currentIndexChanged), [=](){ + if(comboBox->currentText().startsWith("Unused")) { + portAssignment[p-1] = 0; + } else if(comboBox->currentText().startsWith("Auto")) { + portAssignment[p-1] = -1; + } else if(comboBox->currentText().startsWith("Port")) { + portAssignment[p-1] = comboBox->currentText().back().digitValue(); + } + emit portAssignmentChanged(); + }); + comboBox->setCurrentIndex(1); + layout->addRow(label, comboBox); + portAssignmentComboBoxes.push_back(comboBox); + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.h new file mode 100644 index 0000000..ca36b64 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.h @@ -0,0 +1,60 @@ +#ifndef LIBRECALDIALOG_H +#define LIBRECALDIALOG_H + +#include "Calibration/calibration.h" +#include "caldevice.h" +#include "Device/devicedriver.h" + +#include +#include +#include + +namespace Ui { +class LibreCALDialog; +} + +class LibreCALDialog : public QDialog +{ + Q_OBJECT + +public: + explicit LibreCALDialog(Calibration *cal); + ~LibreCALDialog(); + +private: +signals: + void portAssignmentChanged(); + void autoPortComplete(); +private slots: + bool validatePortSelection(bool autoAllowed); + bool validateCoefficients(); + void updateCalibrationStartStatus(); + void updateDeviceStatus(); + void determineAutoPorts(); + void loadCoefficients(); + void startCalibration(); + + // auto port slots + void handleIncomingMeasurement(DeviceDriver::VNAMeasurement m); + void startSweep(); + void stopSweep(); +private: + void disableUI(); + void enableUI(); + void createPortAssignmentUI(); + Ui::LibreCALDialog *ui; + Calibration *cal; + CalDevice *device; + CalDevice::CoefficientSet coeffSet; + QTimer updateTimer; + bool busy; + // 0 for unused port, -1 for auto port, otherwise the port number + std::vector portAssignment; + std::vector portAssignmentComboBoxes; + std::vector autoPortMeasurements; + DeviceDriver *driver; + + int measurementsTaken; +}; + +#endif // LIBRECALDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.ui new file mode 100644 index 0000000..7b3867c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/librecaldialog.ui @@ -0,0 +1,160 @@ + + + LibreCALDialog + + + + 0 + 0 + 399 + 405 + + + + Electronic Calibration Dialog + + + true + + + + + + Device Selection + + + + + + + + Device: + + + + + + + + + + + + DEVICE_STATUS_PLACEHOLDER + + + + + + + + + Coefficients: + + + + + + + + + + + + + + + Port Assignments + + + + + + LibreVNA + + + Qt::AlignCenter + + + + + + + LibreCAL + + + Qt::AlignCenter + + + + + + + + + + Calibration + + + + + + Start + + + + .. + + + + + + + + + Coefficients: + + + + + + + 0 + + + + + + + + + + + Calibration: + + + + + + + 0 + + + + + + + + + CALIBRATION_STATUS_PLACEHOLDER + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/usbdevice.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/usbdevice.cpp new file mode 100644 index 0000000..fe8e1c5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/usbdevice.cpp @@ -0,0 +1,290 @@ +#include "usbdevice.h" + +#include "CustomWidgets/informationbox.h" + +#include +#include +#include +#include +#include +#include + +using namespace std; + +using USBID = struct { + int VID; + int PID; +}; +static constexpr USBID IDs[] = { + {0x0483, 0x4122}, + {0x1209, 0x4122}, +}; + +USBDevice::USBDevice(QString serial) +{ + m_handle = nullptr; + libusb_init(&m_context); +#if LIBUSB_API_VERSION >= 0x01000106 + libusb_set_option(m_context, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); +#endif + + SearchDevices([=](libusb_device_handle *handle, QString found_serial) -> bool { + if(serial.isEmpty() || serial == found_serial) { + // accept connection to this device + m_serial = found_serial; + m_handle = handle; + // abort device search + return false; + } else { + // not the requested device, continue search + return true; + } + }, m_context, false); + + if(!m_handle) { + QString message = "No device found"; + if(!serial.isEmpty()) { + // only show error message if specific device was requested + InformationBox::ShowError("Error opening device", message); + } + libusb_exit(m_context); + throw std::runtime_error(message.toStdString()); + return; + } + + // Found the correct device, now connect + /* claim the interface */ + int ret = libusb_claim_interface(m_handle, 2); + if (ret < 0) { + libusb_close(m_handle); + /* Failed to open */ + QString message = "Failed to claim interface: \""; + message.append(libusb_strerror((libusb_error) ret)); + message.append("\" Maybe you are already connected to this device?"); + qWarning() << message; + InformationBox::ShowError("Error opening device", message); + libusb_exit(m_context); + throw std::runtime_error(message.toStdString()); + } + qInfo() << "USB connection established" << Qt::flush; + + connected = true; + m_receiveThread = new std::thread(&USBDevice::USBHandleThread, this); + usbBuffer = new USBInBuffer(m_handle, LIBUSB_ENDPOINT_IN | 0x03, 65536); + connect(usbBuffer, &USBInBuffer::DataReceived, this, &USBDevice::ReceivedData, Qt::DirectConnection); + + // clear any possible queued data in USB device + QString dummy; + while(receive(&dummy, 10)); +} + +USBDevice::~USBDevice() +{ + delete usbBuffer; + connected = false; + libusb_release_interface(m_handle, 2); + libusb_close(m_handle); + m_receiveThread->join(); + libusb_exit(m_context); + delete m_receiveThread; +} + +bool USBDevice::Cmd(QString cmd, unsigned int timeout) +{ + QString rcv; + flushReceived(); + bool success = send(cmd) && receive(&rcv, timeout); + if(success && rcv == "") { + // empty response expected by commad + return true; + } else { + // failed to send/receive + emit communicationFailure(); + return false; + } +} + +QString USBDevice::Query(QString query, unsigned int timeout) +{ + flushReceived(); + if(send(query)) { + QString rcv; + if(receive(&rcv, timeout)) { + return rcv; + } else { + emit communicationFailure(); + } + } else { + emit communicationFailure(); + } + return QString(); +} + + +std::set USBDevice::GetDevices() +{ + std::set serials; + + libusb_context *ctx; + libusb_init(&ctx); +#if LIBUSB_API_VERSION >= 0x01000106 + libusb_set_option(ctx, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); +#endif + + SearchDevices([&serials](libusb_device_handle *, QString serial) -> bool { + serials.insert(serial); + return true; + }, ctx, true); + + libusb_exit(ctx); + + return serials; +} + +void USBDevice::SearchDevices(std::function foundCallback, libusb_context *context, bool ignoreOpenError) +{ + libusb_device **devList; + auto ndevices = libusb_get_device_list(context, &devList); + + for (ssize_t idx = 0; idx < ndevices; idx++) { + int ret; + libusb_device *device = devList[idx]; + libusb_device_descriptor desc = {}; + + ret = libusb_get_device_descriptor(device, &desc); + if (ret) { + /* some error occured */ + qCritical() << "Failed to get device descriptor: " + << libusb_strerror((libusb_error) ret); + continue; + } + + bool correctID = false; + int numIDs = sizeof(IDs)/sizeof(IDs[0]); + for(int i=0;i 0) { + /* managed to read the product string */ + QString product(c_product); + if (product == "LibreCAL") { + // this is a match + if(!foundCallback(handle, QString(c_serial))) { + // abort search + break; + } + } + } else { + qWarning() << "Failed to get product descriptor: " + << libusb_strerror((libusb_error) ret); + } + libusb_close(handle); + } + libusb_free_device_list(devList, 1); +} + +bool USBDevice::send(const QString &s) +{ + lineBuffer.clear(); + qDebug() << "USB send:" << s; + unsigned char data[s.size()+2]; + memcpy(data, s.toLatin1().data(), s.size()); + memcpy(&data[s.size()], "\r\n", 2); + int actual; + auto r = libusb_bulk_transfer(m_handle, LIBUSB_ENDPOINT_OUT | 0x03, data, s.size() + 2, &actual, 0); + if(r == 0 && actual == s.size() + 2) { + return true; + } else { + return false; + } +} + +bool USBDevice::receive(QString *s, unsigned int timeout) +{ + // check if we already have a line queued + unique_lock lck(mtx); + while(lineBuffer.size() == 0) { + // needs to wait for an incoming line + using namespace std::chrono_literals; + if(cv.wait_for(lck, std::chrono::milliseconds(timeout)) == cv_status::timeout) { + qWarning() << "Timed out while waiting for received line"; + return false; + } + } + *s = lineBuffer.takeFirst(); + qDebug() << "USB recv:" << *s; + return true; +} + +void USBDevice::ReceivedData() +{ + uint16_t handled_len; + unique_lock lck(mtx); + do { + handled_len = 0; + auto firstLinebreak = (uint8_t*) memchr(usbBuffer->getBuffer(), '\n', usbBuffer->getReceived()); + if(firstLinebreak) { + handled_len = firstLinebreak - usbBuffer->getBuffer(); + auto line = QString::fromLatin1((const char*) usbBuffer->getBuffer(), handled_len - 1); + + // add received line to buffer + lineBuffer.append(line); + + usbBuffer->removeBytes(handled_len + 1); + } + } while(handled_len > 0); + if(lineBuffer.size() > 0) { + cv.notify_one(); + } +} + +void USBDevice::flushReceived() +{ + unique_lock lck(mtx); + lineBuffer.clear(); +} + +void USBDevice::USBHandleThread() +{ + qDebug() << "Receive thread started"; + while (connected) { + libusb_handle_events(m_context); + } + qDebug() << "Disconnected, receive thread exiting"; +} + +QString USBDevice::serial() const +{ + return m_serial; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/usbdevice.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/usbdevice.h new file mode 100644 index 0000000..2df5458 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/LibreCAL/usbdevice.h @@ -0,0 +1,61 @@ +#ifndef USBDEVICE_H +#define USBDEVICE_H + +#include "Util/usbinbuffer.h" + +#include +#ifdef Q_OS_MACOS +#include +#else +#include +#endif + +#include +#include +#include +#include +#include + +#include + +class USBDevice : public QObject +{ + Q_OBJECT +public: + // connect to a CAL device. If serial is specified only connecting to this device, otherwise to the first one found + USBDevice(QString serial = QString()); + ~USBDevice(); + + bool Cmd(QString cmd, unsigned int timeout = 2000); + QString Query(QString query, unsigned int timeout = 2000); + QString serial() const; + + // Returns serial numbers of all connected devices + static std::set GetDevices(); + + bool send(const QString &s); + bool receive(QString *s, unsigned int timeout = 2000); + void flushReceived(); +signals: + void communicationFailure(); + +private slots: + void ReceivedData(); +private: + void USBHandleThread(); + bool connected; + std::thread *m_receiveThread; + + static void SearchDevices(std::function foundCallback, libusb_context *context, bool ignoreOpenError); + libusb_device_handle *m_handle; + libusb_context *m_context; + + USBInBuffer *usbBuffer; + std::mutex mtx; + std::condition_variable cv; + QStringList lineBuffer; + + QString m_serial; +}; + +#endif // DEVICE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp new file mode 100644 index 0000000..8f63534 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibration.cpp @@ -0,0 +1,2229 @@ +#include "calibration.h" +#include "ui_calibrationdialogui.h" +#include "CustomWidgets/informationbox.h" +#include "Util/app_common.h" +#include "unit.h" +#include "Util/util.h" +#include "LibreCAL/librecaldialog.h" +#include "preferences.h" +#include "Traces/sparamtraceselectordialog.h" + +#include "Tools/Eigen/Dense" + +#include +#include + +#include +#include +#include +#include +#include + +using namespace std; +using Eigen::MatrixXcd; + +bool operator==(const Calibration::CalType &lhs, const Calibration::CalType &rhs) { + if(lhs.type != rhs.type) { + return false; + } + if(lhs.usedPorts.size() != rhs.usedPorts.size()) { + return false; + } + for(unsigned int i=0;i QString { + if(params.size() != 1) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + auto availableCals = getAvailableCalibrations(); + for(auto caltype : availableCals) { + if(caltype.getShortString().compare(params[0], Qt::CaseInsensitive) == 0) { + // found a match + // check if calibration can be activated + if(canCompute(caltype)) { + compute(caltype); + return SCPI::getResultName(SCPI::Result::Empty); + } else { + return SCPI::getResultName(SCPI::Result::Error); + } + } + } + // if we get here, the supplied parameter did not match any of the available calibrations + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto availableCals = getAvailableCalibrations(); + if(availableCals.size() == 0) { + return SCPI::getResultName(SCPI::Result::Empty); + } + auto ret = availableCals[0].getShortString(); + for(unsigned int i=1;i QString { + return caltype.getShortString(); + })); + add(new SCPICommand("NUMber", nullptr, [=](QStringList) -> QString { + return QString::number(measurements.size()); + })); + add(new SCPICommand("RESET", [=](QStringList) -> QString { + reset(); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + add(new SCPICommand("ADD", [=](QStringList params) -> QString { + if(params.size() < 1) { + // no measurement type specified + return SCPI::getResultName(SCPI::Result::Error); + } else { + // parse measurement type + auto type = CalibrationMeasurement::Base::TypeFromString(params[0]); + auto newMeas = newMeasurement(type); + if(!newMeas) { + // failed to create this type of measurement + return SCPI::getResultName(SCPI::Result::Error); + } + if(params.size() == 2) { + // standard name given + CalStandard::Virtual *standard = nullptr; + for(auto s : newMeas->supportedStandards()) { + if(s->getName().compare(params[1], Qt::CaseInsensitive) == 0) { + // use this standard + standard = s; + } + } + if(!standard) { + // specified standard not available + return SCPI::getResultName(SCPI::Result::Error); + } + newMeas->setStandard(standard); + } + measurements.push_back(newMeas); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, nullptr)); + add(new SCPICommand("TYPE", nullptr, [=](QStringList params) -> QString { + if(params.size() < 1) { + // no measurement number specified + return SCPI::getResultName(SCPI::Result::Error); + } else { + bool okay; + unsigned int number = params[0].toUInt(&okay); + if(!okay || number >= measurements.size()) { + // invalid measurement specified + return SCPI::getResultName(SCPI::Result::Error); + } + return CalibrationMeasurement::Base::TypeToString(measurements[number]->getType()); + } + })); + add(new SCPICommand("PORT", [=](QStringList params) -> QString { + if(params.size() < 1) { + // invalid number of parameters + return SCPI::getResultName(SCPI::Result::Error); + } else { + bool okay; + unsigned int number = params[0].toUInt(&okay); + if(!okay || number >= measurements.size()) { + // invalid measurement specified + return SCPI::getResultName(SCPI::Result::Error); + } + auto meas = measurements[number]; + auto onePort = dynamic_cast(meas); + if(onePort) { + if(params.size() != 2) { + // invalid number of parameters + return SCPI::getResultName(SCPI::Result::Error); + } + bool okay; + unsigned int number = params[1].toInt(&okay); + if(!okay || number < 1 || number > DeviceDriver::getInfo(DeviceDriver::getActiveDriver()).Limits.VNA.ports) { + // invalid port specified + return SCPI::getResultName(SCPI::Result::Error); + } + onePort->setPort(number); + return SCPI::getResultName(SCPI::Result::Empty); + } + auto twoPort = dynamic_cast(meas); + if(twoPort) { + if(params.size() != 3) { + // invalid number of parameters + return SCPI::getResultName(SCPI::Result::Error); + } + bool okay1; + unsigned int port1 = params[1].toInt(&okay1); + bool okay2; + unsigned int port2 = params[2].toInt(&okay2); + if(!okay1 || !okay2 || port1 < 1 || port2 > DeviceDriver::getInfo(DeviceDriver::getActiveDriver()).Limits.VNA.ports + || port2 < 1 || port2 > DeviceDriver::getInfo(DeviceDriver::getActiveDriver()).Limits.VNA.ports) { + // invalid port specified + return SCPI::getResultName(SCPI::Result::Error); + } + twoPort->setPort1(port1); + twoPort->setPort2(port2); + return SCPI::getResultName(SCPI::Result::Empty); + } + return SCPI::getResultName(SCPI::Result::Error); + } + }, [=](QStringList params) -> QString { + if(params.size() != 1) { + // invalid number of parameters + return SCPI::getResultName(SCPI::Result::Error); + } else { + bool okay; + unsigned int number = params[0].toUInt(&okay); + if(!okay || number >= measurements.size()) { + // invalid measurement specified + return SCPI::getResultName(SCPI::Result::Error); + } + auto meas = measurements[number]; + auto onePort = dynamic_cast(meas); + if(onePort) { + return QString::number(onePort->getPort()); + } + auto twoPort = dynamic_cast(meas); + if(twoPort) { + return QString::number(twoPort->getPort1()) + " " + QString::number(twoPort->getPort2()); + } + return SCPI::getResultName(SCPI::Result::Error); + } + })); + add(new SCPICommand("STANDARD", [=](QStringList params) -> QString { + if(params.size() != 2) { + // invalid number of parameters + return SCPI::getResultName(SCPI::Result::Error); + } else { + bool okay; + unsigned int number = params[0].toUInt(&okay); + if(!okay || number >= measurements.size()) { + // invalid measurement specified + return SCPI::getResultName(SCPI::Result::Error); + } + auto meas = measurements[number]; + for(auto s : meas->supportedStandards()) { + if(s->getName().compare(params[1], Qt::CaseInsensitive) == 0) { + // use this standard + meas->setStandard(s); + return SCPI::getResultName(SCPI::Result::Empty); + } + } + // specified standard not available + return SCPI::getResultName(SCPI::Result::Error); + } + }, [=](QStringList params) -> QString { + if(params.size() != 1) { + // invalid number of parameters + return SCPI::getResultName(SCPI::Result::Error); + } else { + bool okay; + unsigned int number = params[0].toUInt(&okay); + if(!okay || number >= measurements.size()) { + // invalid measurement specified + return SCPI::getResultName(SCPI::Result::Error); + } + auto s = measurements[number]->getStandard(); + if(s) { + return s->getName(); + } else { + // no standard set + return "None"; + } + } + })); + add(new SCPICommand("MEASure", [=](QStringList params) -> QString { + if(params.size() < 1 ) { + // no measurement specified + // TODO check if measurement is already running + return SCPI::getResultName(SCPI::Result::Error); + } else { + // assemble list of measurements to take + std::set m; + for(QString p : params) { + bool okay = false; + unsigned int number = p.toUInt(&okay); + if(!okay || number >= measurements.size()) { + // invalid measurement specified + return SCPI::getResultName(SCPI::Result::Error); + } else { + m.insert(measurements[number]); + } + } + if(CalibrationMeasurement::Base::canMeasureSimultaneously(m)) { + emit startMeasurements(m); + return SCPI::getResultName(SCPI::Result::Empty); + } else { + // can't start these measurements simultaneously + return SCPI::getResultName(SCPI::Result::Error); + } + } + }, nullptr)); + add(new SCPICommand("SAVE", [=](QStringList params) -> QString { + if(params.size() != 1 || getCaltype().type == Calibration::Type::None) { + // no filename given or no calibration active + return SCPI::getResultName(SCPI::Result::Error); + } + if(!toFile(params[0])) { + // some error when writing the calibration file + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr, false)); + add(new SCPICommand("LOAD", nullptr, [=](QStringList params) -> QString { + if(params.size() != 1) { + // no filename given or no calibration active + return SCPI::getResultName(SCPI::Result::False); + } + if(!fromFile(params[0])) { + // some error when loading the calibration file + return SCPI::getResultName(SCPI::Result::False); + } + return SCPI::getResultName(SCPI::Result::True); + }, false)); + add(&kit); +} + +QString Calibration::TypeToString(Calibration::Type type) +{ + switch(type) { + case Type::None: return "None"; + case Type::OSL: return "OSL"; + case Type::SOLT: return "SOLT"; + case Type::SOLTwithoutRxMatch: return "SOLTwithoutRxMatch"; + case Type::ThroughNormalization: return "ThroughNormalization"; + case Type::TRL: return "TRL"; + case Type::Last: return "Invalid"; + } + return ""; +} + +Calibration::Type Calibration::TypeFromString(QString s) +{ + for(int i=0;i<(int) Type::Last;i++) { + if(TypeToString((Type) i) == s) { + return (Type) i; + } + } + return Type::None; +} + +void Calibration::correctMeasurement(DeviceDriver::VNAMeasurement &d) +{ + lock_guard guard(access); + if(caltype.type == Type::None) { + // no calibration active, nothing to do + return; + } + // formulas from "Multi-Port Calibration Techniques for Differential Parameter Measurements with Network Analyzers", variable names also losely follow this document + MatrixXcd S(caltype.usedPorts.size(), caltype.usedPorts.size()); + MatrixXcd a(caltype.usedPorts.size(), caltype.usedPorts.size()); + MatrixXcd b(caltype.usedPorts.size(), caltype.usedPorts.size()); + + // gab point and interpolate + Point p; + if(d.frequency <= points.front().frequency) { + p = points.front(); + } else if(d.frequency >= points.back().frequency) { + p = points.back(); + } else { + // needs to interpolate + auto lower = lower_bound(points.begin(), points.end(), d.frequency, [](const Point &lhs, double rhs) -> bool { + return lhs.frequency < rhs; + }); + auto highPoint = *lower; + auto lowPoint = *prev(lower); + double alpha = (d.frequency - lowPoint.frequency) / (highPoint.frequency - lowPoint.frequency); + + p = lowPoint.interpolate(highPoint, alpha); + } + + // Grab measurements (easier to access by index later) + for(unsigned int i=0;i traceSet) +{ + auto points = Trace::assembleDatapoints(traceSet); + if(points.size()) { + // succeeded in assembling datapoints + for(auto &p : points) { + correctMeasurement(p); + } + Trace::fillFromDatapoints(traceSet, points); + } +} + +void Calibration::edit(TraceModel *traceModel) +{ + auto d = new QDialog(); + d->setAttribute(Qt::WA_DeleteOnClose); + auto ui = new Ui::CalibrationDialog; + ui->setupUi(d); + + ui->calMinFreq->setUnit("Hz"); + ui->calMinFreq->setPrecision(4); + ui->calMinFreq->setPrefixes(" kMG"); + ui->calMaxFreq->setUnit("Hz"); + ui->calMaxFreq->setPrecision(4); + ui->calMaxFreq->setPrefixes(" kMG"); + + // generate all possible calibration with the connected device + vector availableCals = getAvailableCalibrations(); + + for(auto c : availableCals) { + ui->calibrationList->addItem(c.getReadableDescription()); + } + + auto updateCalStatistics = [=](){ + lock_guard guard(access); + ui->activeCalibration->setText(caltype.getReadableDescription()); + ui->calPoints->setValue(points.size()); + if(points.size() > 0) { + ui->calMinFreq->setValue(points.front().frequency); + ui->calMaxFreq->setValue(points.back().frequency); + } else { + ui->calMinFreq->setValue(0); + ui->calMaxFreq->setValue(0); + } + }; + + auto updateCalButtons = [=](){ + lock_guard guard(access); + auto row = ui->calibrationList->currentRow(); + if(row < 0) { + ui->activate->setEnabled(false); + ui->deactivate->setEnabled(false); + } else { + if(caltype == availableCals[row]) { + ui->deactivate->setEnabled(true); + ui->activate->setEnabled(false); + } else { + ui->deactivate->setEnabled(false); + ui->activate->setEnabled(canCompute(availableCals[row])); + } + } + }; + + auto updateCalibrationList = [=](){ + auto style = QApplication::style(); + for(unsigned int i=0;istandardIcon(QStyle::SP_DialogApplyButton); + } else { + icon = style->standardIcon(QStyle::SP_MessageBoxCritical); + } + ui->calibrationList->item(i)->setIcon(icon); + } + updateCalButtons(); + }; + + updateCalibrationList(); + updateCalStatistics(); + updateCalButtons(); + + connect(ui->calibrationList, &QListWidget::doubleClicked, [=](const QModelIndex&) { + ui->activate->clicked(); + }); + + connect(ui->calibrationList, &QListWidget::currentRowChanged, [=](){ + updateCalButtons(); + }); + + connect(this, &Calibration::activated, d, [=](){ + updateCalibrationList(); + updateCalStatistics(); + updateCalButtons(); + }); + + connect(this, &Calibration::deactivated, d, [=](){ + updateCalibrationList(); + updateCalStatistics(); + updateCalButtons(); + }); + + connect(ui->activate, &QPushButton::clicked, [=](){ + auto cal = availableCals[ui->calibrationList->currentRow()]; + compute(cal); + }); + + connect(ui->deactivate, &QPushButton::clicked, this, &Calibration::deactivate); + + ui->table->horizontalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents); + + auto updateTableEditButtons = [=](){ + ui->bDelete->setEnabled(ui->table->currentRow() >= 0); + ui->bMoveUp->setEnabled(ui->table->currentRow() >= 1); + ui->bMoveDown->setEnabled(ui->table->currentRow() >= 0 && ui->table->currentRow() < ui->table->rowCount() - 1); + auto selected = ui->table->selectionModel()->selectedRows(); + ui->measure->setEnabled(selected.size() > 0); + ui->selectMeasurement->setEnabled(traceModel && selected.size() == 1); + ui->clearMeasurement->setEnabled(selected.size() > 0); + }; + + auto updateMeasurementTable = [=](){ + int row = ui->table->currentRow(); + ui->table->clear(); + ui->table->setColumnCount(5); + ui->table->setHorizontalHeaderItem(0, new QTableWidgetItem("Type")); + ui->table->setHorizontalHeaderItem(1, new QTableWidgetItem("Calkit Standard")); + ui->table->setHorizontalHeaderItem(2, new QTableWidgetItem("Settings")); + ui->table->setHorizontalHeaderItem(3, new QTableWidgetItem("Statistics")); + ui->table->setHorizontalHeaderItem(4, new QTableWidgetItem("Timestamp")); + ui->table->setRowCount(measurements.size()); + for(unsigned int i=0;itable->setItem(i, 0, new QTableWidgetItem(CalibrationMeasurement::Base::TypeToString(measurements[i]->getType()))); + ui->table->setCellWidget(i, 1, measurements[i]->createStandardWidget()); + ui->table->setCellWidget(i, 2, measurements[i]->createSettingsWidget()); + ui->table->setItem(i, 3, measurements[i]->getStatisticsItem()); + ui->table->setItem(i, 4, new QTableWidgetItem(measurements[i]->getTimestamp().toLocalTime().toString())); + } + ui->table->setEditTriggers(QAbstractItemView::NoEditTriggers); + ui->table->selectRow(row); + updateTableEditButtons(); + }; + + ui->createDefault->addItem(" "); + for(unsigned int i=0;i<(int) DefaultMeasurements::Last;i++) { + ui->createDefault->addItem(DefaultMeasurementsToString((DefaultMeasurements) i)); + } + + QObject::connect(ui->createDefault, qOverload(&QComboBox::currentIndexChanged), [=](){ + if(measurements.size() > 0) { + if(!InformationBox::AskQuestion("Create default entries?", "Do you want to remove all existing entries and create default calibration measurements instead?", true)) { + // user aborted + ui->createDefault->blockSignals(true); + ui->createDefault->setCurrentIndex(0); + ui->createDefault->blockSignals(false); + return; + } + deleteMeasurements(); + } + createDefaultMeasurements((DefaultMeasurements) (ui->createDefault->currentIndex() - 1)); + updateMeasurementTable(); + updateCalibrationList(); + ui->createDefault->blockSignals(true); + ui->createDefault->setCurrentIndex(0); + ui->createDefault->blockSignals(false); + }); + + QObject::connect(ui->bDelete, &QPushButton::clicked, [=](){ + auto selected = ui->table->selectionModel()->selectedRows(); + set toDelete; + for(auto s : selected) { + toDelete.insert(measurements[s.row()]); + } + while(toDelete.size() > 0) { + for(unsigned int i=0;ibMoveUp, &QPushButton::clicked, [=](){ + auto row = ui->table->currentRow(); + if(row >= 1) { + swap(measurements[row], measurements[row-1]); + ui->table->selectRow(row-1); + updateMeasurementTable(); + } + }); + + QObject::connect(ui->bMoveDown, &QPushButton::clicked, [=](){ + auto row = ui->table->currentRow(); + if(row >= 0) { + swap(measurements[row], measurements[row+1]); + ui->table->selectRow(row+1); + updateMeasurementTable(); + } + }); + + connect(ui->measure, &QPushButton::clicked, [=](){ + std::set m; + auto selected = ui->table->selectionModel()->selectedRows(); + for(auto s : selected) { + auto meas = measurements[s.row()]; + if(!meas->readyForMeasurement()) { + InformationBox::ShowError("Unable to measure", CalibrationMeasurement::Base::TypeToString(meas->getType())+" measurement is not ready, please check that a valid calibration standard is selected"); + return; + } + m.insert(measurements[s.row()]); + } + if(!CalibrationMeasurement::Base::canMeasureSimultaneously(m)) { + InformationBox::ShowError("Unable to measure", "Different selected measurements require the same port, unable to perform measurement"); + return; + } + emit startMeasurements(m); + }); + + // double clicking on a row also starts the measurement + connect(ui->table, &QTableWidget::doubleClicked, this, [=](){ + emit ui->measure->clicked(); + }); + + connect(ui->selectMeasurement, &QPushButton::clicked, [=](){ + auto selected = ui->table->selectionModel()->selectedRows(); + if(selected.size() != 1) { + InformationBox::ShowError("Unable to select measurement", "Exactly one measurement must be selected"); + return; + } + // figure out which S parameters we need + auto meas = measurements[selected[0].row()]; + auto ports = meas->getPorts(); + if(ports.size() == 0) { + InformationBox::ShowError("Unable to select measurement", "Selecting measurements for this type of calibration measurement is not supported"); + return; + } + auto selector = new SParamTraceSelectorDialog(*traceModel, ports); + connect(selector, &SParamTraceSelectorDialog::tracesSelected, d, [=](std::vector traceMeasurements){ + clearMeasurements({meas}); + for(const auto &tm : traceMeasurements) { + addMeasurements({meas}, tm); + } + updateMeasurementTable(); + updateCalibrationList(); + }); + selector->show(); + }); + if(!traceModel) { + // can not select a measurement if no trace model is supplied + ui->selectMeasurement->setEnabled(false); + } + + connect(this, &Calibration::measurementsUpdated, d, [=](){ + updateMeasurementTable(); + updateCalibrationList(); + if(caltype.type != Type::None) { + // update the calibration with the new measurement + if(canCompute(caltype)) { + compute(caltype); + } else { + // can not keep the calibration, disabled + deactivate(); + } + } + }); + + connect(ui->clearMeasurement, &QPushButton::clicked, [=](){ + auto selected = ui->table->selectionModel()->selectedRows(); + for(auto s : selected) { + measurements[s.row()]->clearPoints(); + } + // update calibration (may have changed due to deleted measurement) + if(canCompute(caltype)) { + compute(caltype); + } else { + deactivate(); + } + updateMeasurementTable(); + updateCalibrationList(); + }); + + connect(ui->eCal, &QPushButton::clicked, [=](){ + auto d = new LibreCALDialog(this); + d->show(); + }); + + connect(ui->editCalkit, &QPushButton::clicked, [=](){ + kit.edit([=](){ + updateMeasurementTable(); + // update calibration (may have changed due to edited calibration standard) + if(canCompute(caltype)) { + compute(caltype); + } else { + deactivate(); + } + }); + }); + + QObject::connect(ui->table, &QTableWidget::itemSelectionChanged, updateTableEditButtons); + + auto addMenu = new QMenu(); + for(auto t : CalibrationMeasurement::Base::availableTypes()) { + auto action = new QAction(CalibrationMeasurement::Base::TypeToString(t)); + QObject::connect(action, &QAction::triggered, [=](){ + auto newMeas = newMeasurement(t); + if(newMeas) { + measurements.push_back(newMeas); + updateMeasurementTable(); + } + }); + addMenu->addAction(action); + } + + ui->bAdd->setMenu(addMenu); + + updateMeasurementTable(); + + d->show(); +} + +CalibrationMeasurement::Base *Calibration::newMeasurement(CalibrationMeasurement::Base::Type type) +{ + CalibrationMeasurement::Base *m = nullptr; + switch(type) { + case CalibrationMeasurement::Base::Type::Open: m = new CalibrationMeasurement::Open(this); break; + case CalibrationMeasurement::Base::Type::Short: m = new CalibrationMeasurement::Short(this); break; + case CalibrationMeasurement::Base::Type::Load: m = new CalibrationMeasurement::Load(this); break; + case CalibrationMeasurement::Base::Type::SlidingLoad: m = new CalibrationMeasurement::SlidingLoad(this); break; + case CalibrationMeasurement::Base::Type::Reflect: m = new CalibrationMeasurement::Reflect(this); break; + case CalibrationMeasurement::Base::Type::Through: m = new CalibrationMeasurement::Through(this); break; + case CalibrationMeasurement::Base::Type::Isolation: m = new CalibrationMeasurement::Isolation(this); break; + case CalibrationMeasurement::Base::Type::Line: m = new CalibrationMeasurement::Line(this); break; + case CalibrationMeasurement::Base::Type::Last: break; + } + return m; +} + +Calibration::Point Calibration::createInitializedPoint(double f) { + Point point; + point.frequency = f; + // resize vectors + point.D.resize(caltype.usedPorts.size(), 0.0); + point.R.resize(caltype.usedPorts.size(), 1.0); + point.S.resize(caltype.usedPorts.size(), 0.0); + + point.L.resize(caltype.usedPorts.size()); + point.T.resize(caltype.usedPorts.size()); + point.I.resize(caltype.usedPorts.size()); + fill(point.L.begin(), point.L.end(), vector>(caltype.usedPorts.size(), 0.0)); + fill(point.T.begin(), point.T.end(), vector>(caltype.usedPorts.size(), 1.0)); + fill(point.I.begin(), point.I.end(), vector>(caltype.usedPorts.size(), 0.0)); + return point; +} + +Calibration::Point Calibration::computeOSL(double f) +{ + Point point = createInitializedPoint(f); + + // Calculate SOL coefficients + for(unsigned int i=0;i(findMeasurement(CalibrationMeasurement::Base::Type::Short, p)); + auto open = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Open, p)); + auto s_m = _short->getMeasured(f); + auto o_m = open->getMeasured(f); + auto s_c = _short->getActual(f); + auto o_c = open->getActual(f); + complex l_c, l_m; + auto slidingMeasurements = findMeasurements(CalibrationMeasurement::Base::Type::SlidingLoad, p); + if(slidingMeasurements.size() >= 3) { + // use sliding load + vector> slidingMeasured; + for(auto m : slidingMeasurements) { + auto slidingLoad = static_cast(m); + auto value = slidingLoad->getMeasured(f); + if(isnan(abs(value))) { + throw runtime_error("missing sliding load measurement"); + } + slidingMeasured.push_back(value); + } + // use center of measurement for ideal load measurement + l_m = Util::findCenterOfCircle(slidingMeasured); + // assume perfect sliding load + l_c = 0.0; + } else { + // use normal load standard + auto load = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Load, p)); + l_c = load->getActual(f); + l_m = load->getMeasured(f); + } + auto denom = l_c * o_c * (o_m - l_m) + l_c * s_c * (l_m - s_m) + o_c * s_c * (s_m - o_m); + point.D[i] = (l_c * o_m * (s_m * (o_c - s_c) + l_m * s_c) - l_c * o_c * l_m * s_m + o_c * l_m * s_c * (s_m - o_m)) / denom; + point.S[i] = (l_c * (o_m - s_m) + o_c * (s_m - l_m) + s_c * (l_m - o_m)) / denom; + auto delta = (l_c * l_m * (o_m - s_m) + o_c * o_m * (s_m - l_m) + s_c * s_m * (l_m - o_m)) / denom; + point.R[i] = point.D[i] * point.S[i] - delta; + } + return point; +} + +Calibration::Point Calibration::computeSOLT(double f) +{ + Point point = computeOSL(f); + + // calculate forward match and transmission + for(unsigned int i=0;i(findMeasurement(CalibrationMeasurement::Base::Type::Through, p1, p2)); + auto throughReverse = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Through, p2, p1)); + complex S11, S21; + Sparam Sideal; + if(throughForward) { + S11 = throughForward->getMeasured(f).get(1,1); + S21 = throughForward->getMeasured(f).get(2,1); + Sideal = throughForward->getActual(f); + } else if(throughReverse) { + S11 = throughReverse->getMeasured(f).get(2,2); + S21 = throughReverse->getMeasured(f).get(1,2); + Sideal = throughReverse->getActual(f); + Sideal.swapPorts(1,2); + } + auto isoMeas = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Isolation)); + auto isolation = complex(0.0,0.0); + if(isoMeas) { + isolation = isoMeas->getMeasured(f, p2, p1); + } + auto deltaS = Sideal.get(1,1)*Sideal.get(2,2) - Sideal.get(2,1) * Sideal.get(1,2); + point.L[i][j] = ((S11 - point.D[i])*(1.0 - point.S[i] * Sideal.get(1,1))-Sideal.get(1,1)*point.R[i]) + / ((S11 - point.D[i])*(Sideal.get(2,2)-point.S[i]*deltaS)-deltaS*point.R[i]); + point.T[i][j] = (S21 - isolation)*(1.0 - point.S[i]*Sideal.get(1,1) - point.L[i][j]*Sideal.get(2,2) + point.S[i]*point.L[i][j]*deltaS) / Sideal.get(2,1); + point.I[i][j] = isolation; + } + } + return point; +} + +Calibration::Point Calibration::computeSOLTwithoutRxMatch(double f) { + // This is very similar to SOLT but it assumes that receiver matching at the VNA is perfect. + // It can be used if the through calibration standard is very lossy which would result in + // very noisy values for the receiver match + auto p = computeSOLT(f); + for(auto &l : p.L) { + fill(l.begin(), l.end(), 0.0); + } + return p; +} + +Calibration::Point Calibration::computeThroughNormalization(double f) +{ + Point point = createInitializedPoint(f); + + // Calculate SOL coefficients + for(unsigned int i=0;i(findMeasurement(CalibrationMeasurement::Base::Type::Through, p1, p2)); + auto throughReverse = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Through, p2, p1)); + complex S21 = 0.0; + Sparam Sideal; + if(throughForward) { + S21 = throughForward->getMeasured(f).get(2,1); + Sideal = throughForward->getActual(f); + } else if(throughReverse) { + S21 = throughReverse->getMeasured(f).get(1,2); + Sideal = throughReverse->getActual(f); + Sideal.swapPorts(1,2); + } + point.L[i][j] = 0.0; + point.T[i][j] = S21 / Sideal.get(2,1); + point.I[i][j] = 0.0; + } + } + return point; +} + +Calibration::Point Calibration::computeTRL(double freq) +{ + Point point = createInitializedPoint(freq); + + // calculate forward match and transmission + for(unsigned int i=0;i(findMeasurement(CalibrationMeasurement::Base::Type::Reflect, p1)); + auto S22_reflection = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Reflect, p2)); + bool S11_short, S22_short; + { + auto S11_short_standard = dynamic_cast(S11_reflection->getStandard()); + auto S11_open_standard = dynamic_cast(S11_reflection->getStandard()); + auto S11_reflect_standard = dynamic_cast(S11_reflection->getStandard()); + if(S11_short_standard) { + S11_short = true; + } else if(S11_open_standard) { + S11_short = false; + } else if(S11_reflect_standard) { + S11_short = S11_reflect_standard->getIsShort(); + } else { + // invalid standard + throw runtime_error("Invalid standard defined for reflection measurement"); + } + auto S22_short_standard = dynamic_cast(S22_reflection->getStandard()); + auto S22_open_standard = dynamic_cast(S22_reflection->getStandard()); + auto S22_reflect_standard = dynamic_cast(S22_reflection->getStandard()); + if(S22_short_standard) { + S22_short = true; + } else if(S22_open_standard) { + S22_short = false; + } else if(S22_reflect_standard) { + S22_short = S22_reflect_standard->getIsShort(); + } else { + // invalid standard + throw runtime_error("Invalid standard defined for reflection measurement"); + } + } + bool reflectionIsNegative; + if(S11_short && S22_short) { + reflectionIsNegative = true; + } else if(!S11_short && !S22_short) { + reflectionIsNegative = false; + } else { + throw runtime_error("Reflection measurements must all use the same standard (either open or short)"); + } + // grab through measurement + auto throughForward = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Through, p1, p2)); + auto throughReverse = static_cast(findMeasurement(CalibrationMeasurement::Base::Type::Through, p2, p1)); + Sparam Sthrough; + if(throughForward) { + Sthrough = throughForward->getMeasured(freq); + } else if(throughReverse) { + Sthrough = throughReverse->getMeasured(freq); + Sthrough.swapPorts(1,2); + } + // grab line measurement + auto forwardLines = findMeasurements(CalibrationMeasurement::Base::Type::Line, p1, p2); + auto reverseLines = findMeasurements(CalibrationMeasurement::Base::Type::Line, p2, p1); + // find the closest (geometric) match for the current frequency + double closestIdealFreqRatio = numeric_limits::max(); + bool closestLineIsReversed = false; + CalibrationMeasurement::Line* closestLine = nullptr; + CalStandard::Line* closestStandard = nullptr; + for(int i=0;i<2;i++) { + auto list = i ? reverseLines : forwardLines; + for(auto l : list) { + auto line = static_cast(l); + auto standard = static_cast(line->getStandard()); + double idealFreq = (standard->minFrequency() + standard->maxFrequency()) / 2; + double mismatch = idealFreq / freq; + if(mismatch < 0) { + mismatch = 1.0 / mismatch; + } + if(mismatch < closestIdealFreqRatio) { + closestIdealFreqRatio = mismatch; + closestLineIsReversed = i > 0; + closestLine = line; + closestStandard = standard; + } + } + } + if(!closestLine) { + throw runtime_error("Unable to find required line measurement"); + } + if(freq < closestStandard->minFrequency() || freq > closestStandard->maxFrequency()) { + throw runtime_error("No line standard supports the required frequency ("+QString::number(freq).toStdString()+")"); + } + + Sparam Sline = closestLine->getMeasured(freq); + if(closestLineIsReversed) { + Sline.swapPorts(1,2); + } + + // got all required measurements + // calculate TRL calibration + // variable names and formulas according to http://emlab.uiuc.edu/ece451/notes/new_TRL.pdf + // page 19 + auto R_T = Tparam(Sthrough); + auto R_D = Tparam(Sline); + auto T = R_D*R_T.inverse(); + complex a_over_c, b; + // page 21-22 + Util::solveQuadratic(T.get(2,1), T.get(2,2) - T.get(1,1), -T.get(1,2), b, a_over_c); + // ensure correct root selection + // page 23 + if(abs(b) >= abs(a_over_c)) { + swap(b, a_over_c); + } + // page 24 + auto g = R_T.get(2,2); + auto d = R_T.get(1,1) / g; + auto e = R_T.get(1,2) / g; + auto f = R_T.get(2,1) / g; + + // page 25 + auto r22_rho22 = g * (1.0 - e / a_over_c) / (1.0 - b / a_over_c); + auto gamma = (f - d / a_over_c) / (1.0 - e / a_over_c); + auto beta_over_alpha = (e - b) / (d - b * f); + // page 26 + auto alpha_a = (d - b * f) / (1.0 - e / a_over_c); + auto w1 = S11_reflection->getMeasured(freq); + auto w2 = S22_reflection->getMeasured(freq); + // page 28 + auto a = sqrt((w1 - b) / (w2 + gamma) * (1.0 + w2 * beta_over_alpha) / (1.0 - w1 / a_over_c) * alpha_a); + // page 29, check sign of a + auto reflection = (w1 - b) / (a * (1.0 - w1 / a_over_c)); + if((reflection.real() > 0 && reflectionIsNegative) || (reflection.real() < 0 && !reflectionIsNegative)) { + // wrong sign for a + a = -a; + } + // Revert back from error boxes with T parameters to S paramaters, + // page 17 + formulas for calculating S parameters from T parameters. + // Forward coefficients, normalize for S21 = 1.0 -> r22 = 1.0 + auto r22 = complex(1.0); + auto rho22 = r22_rho22 / r22; + auto alpha = alpha_a / a; + auto beta = beta_over_alpha * alpha; + auto c = a / a_over_c; + auto Box_A = Tparam(r22 * a, r22 * b, r22 * c, r22); + auto Box_B = Tparam(rho22 * alpha, rho22 * beta, rho22 * gamma, rho22); + auto S_A = Sparam(Box_A); + point.D[i] = S_A.get(1,1); + point.R[i] = S_A.get(1,2); + point.S[i] = S_A.get(2,2); + auto S_B = Sparam(Box_B); + point.L[i][j] = S_B.get(1,1); + point.T[i][j] = S_B.get(2,1); + // no isolation measurement available + point.I[i][j] = 0.0; + + // Reverse coefficients, will be handled in loop iteration where i=j and j=i + } + } + return point; +} + +Calibration::CalType Calibration::getCaltype() const +{ + return caltype; +} + +Calibration::InterpolationType Calibration::getInterpolation(double f_start, double f_stop, int npoints) +{ + lock_guard guard(access); + if(!points.size()) { + return InterpolationType::NoCalibration; + } + if(f_start < points.front().frequency || f_stop > points.back().frequency) { + return InterpolationType::Extrapolate; + } + // Either exact or interpolation, check individual frequencies + uint32_t f_step; + if(npoints > 1) { + f_step = (f_stop - f_start) / (npoints - 1); + } else { + f_step = f_stop - f_start; + } + uint64_t f = f_start; + do { + if(find_if(points.begin(), points.end(), [&f](const Point& p){ + return abs(f - p.frequency) < 100; + }) == points.end()) { + return InterpolationType::Interpolate; + } + f += f_step; + } while(f <= f_stop && f_step > std::numeric_limits::epsilon()); + + // if we get here all frequency points were matched + if(points.front().frequency == f_start && points.back().frequency == f_stop) { + return InterpolationType::Unchanged; + } else { + return InterpolationType::Exact; + } +} + +std::vector Calibration::getErrorTermTraces() +{ + lock_guard guard(access); + vector ret; + if(points.size() == 0) { + return ret; + } + for(unsigned int i=0;isetReflection(true); + tDir->setCalibration(); + auto tSM = new Trace("SourceMatch_Port"+QString::number(p)); + tSM->setReflection(true); + tSM->setCalibration(); + auto tRT = new Trace("ReflectionTracking_Port"+QString::number(p)); + tRT->setReflection(false); + tRT->setCalibration(); + for(auto p : points) { + Trace::Data td; + td.x = p.frequency; + td.y = p.D[i]; + tDir->addData(td, Trace::DataType::Frequency); + td.y = p.S[i]; + tSM->addData(td, Trace::DataType::Frequency); + td.y = p.R[i]; + tRT->addData(td, Trace::DataType::Frequency); + } + ret.push_back(tDir); + ret.push_back(tSM); + ret.push_back(tRT); + for(unsigned int j=0;jsetReflection(true); + tRM->setCalibration(); + auto tTT = new Trace("TransmissionTracking_"+QString::number(p)+QString::number(p2)); + tTT->setReflection(false); + tTT->setCalibration(); + auto tTI = new Trace("TransmissionIsolation_"+QString::number(p)+QString::number(p2)); + tTI->setReflection(false); + tTI->setCalibration(); + for(auto p : points) { + Trace::Data td; + td.x = p.frequency; + td.y = p.L[i][j]; + tRM->addData(td, Trace::DataType::Frequency); + td.y = p.T[i][j]; + tTT->addData(td, Trace::DataType::Frequency); + td.y = p.I[i][j]; + tTI->addData(td, Trace::DataType::Frequency); + } + ret.push_back(tRM); + ret.push_back(tTT); + ret.push_back(tTI); + } + } + return ret; +} + +std::vector Calibration::getMeasurementTraces() +{ + lock_guard guard(access); + vector ret; + for(auto m : measurements) { + switch(m->getType()) { + case CalibrationMeasurement::Base::Type::Open: + case CalibrationMeasurement::Base::Type::Short: + case CalibrationMeasurement::Base::Type::Load: + case CalibrationMeasurement::Base::Type::SlidingLoad: + case CalibrationMeasurement::Base::Type::Reflect: { + auto onePort = static_cast(m); + auto t = new Trace(CalibrationMeasurement::Base::TypeToString(onePort->getType())+"_Port"+QString::number(onePort->getPort())); + t->setCalibration(); + t->setReflection(true); + for(auto d : onePort->getPoints()) { + Trace::Data td; + td.x = d.frequency; + td.y = d.S; + t->addData(td, Trace::DataType::Frequency); + } + ret.push_back(t); + } + break; + case CalibrationMeasurement::Base::Type::Through: + case CalibrationMeasurement::Base::Type::Line: { + auto twoPort = static_cast(m); + auto ts11 = new Trace(CalibrationMeasurement::Base::TypeToString(twoPort->getType())+"_Port"+QString::number(twoPort->getPort1())+QString::number(twoPort->getPort2())+"_S11"); + auto ts12 = new Trace(CalibrationMeasurement::Base::TypeToString(twoPort->getType())+"_Port"+QString::number(twoPort->getPort1())+QString::number(twoPort->getPort2())+"_S12"); + auto ts21 = new Trace(CalibrationMeasurement::Base::TypeToString(twoPort->getType())+"_Port"+QString::number(twoPort->getPort1())+QString::number(twoPort->getPort2())+"_S21"); + auto ts22 = new Trace(CalibrationMeasurement::Base::TypeToString(twoPort->getType())+"_Port"+QString::number(twoPort->getPort1())+QString::number(twoPort->getPort2())+"_S22"); + ts11->setCalibration(); + ts11->setReflection(true); + ts12->setCalibration(); + ts12->setReflection(false); + ts21->setCalibration(); + ts21->setReflection(false); + ts22->setCalibration(); + ts22->setReflection(true); + for(auto d : twoPort->getPoints()) { + Trace::Data td; + td.x = d.frequency; + td.y = d.S.get(1,1); + ts11->addData(td, Trace::DataType::Frequency); + td.y = d.S.get(1,2); + ts12->addData(td, Trace::DataType::Frequency); + td.y = d.S.get(2,1); + ts21->addData(td, Trace::DataType::Frequency); + td.y = d.S.get(2,2); + ts22->addData(td, Trace::DataType::Frequency); + } + ret.push_back(ts11); + ret.push_back(ts12); + ret.push_back(ts21); + ret.push_back(ts22); + } + break; + case CalibrationMeasurement::Base::Type::Isolation: { + auto iso = static_cast(m); + int ports = iso->getPoints()[0].S.size(); + // Create the traces + vector> traces; + traces.resize(ports); + for(int i=0;igetType())+"_S"+QString::number(i+1)+QString::number(j+1)); + t->setCalibration(); + t->setReflection(i==j); + traces[i].push_back(t); + // also add to main return vector + ret.push_back(t); + } + } + // Fill the traces + for(auto p : iso->getPoints()) { + Trace::Data td; + td.x = p.frequency; + for(unsigned int i=0;iaddData(td, Trace::DataType::Frequency); + } + } + } + } + break; + case CalibrationMeasurement::Base::Type::Last: + break; + } + } + return ret; +} + +QString Calibration::getCurrentCalibrationFile() +{ + return currentCalFile; +} + +double Calibration::getMinFreq() +{ + if(points.size() > 0) { + return points.front().frequency; + } else { + return numeric_limits::quiet_NaN(); + } +} + +double Calibration::getMaxFreq() +{ + if(points.size() > 0) { + return points.back().frequency; + } else { + return numeric_limits::quiet_NaN(); + } +} + +int Calibration::getNumPoints() +{ + return points.size(); +} + +QString Calibration::descriptiveCalName() +{ + if(points.size() == 0) { + return QString(); + } + int precision = 3; + QString lo = Unit::ToString(points.front().frequency, "", " kMG", precision); + QString hi = Unit::ToString(points.back().frequency, "", " kMG", precision); + // due to rounding up 123.66M and 123.99M -> we get lo="124M" and hi="124M" + // so let's add some precision + if (lo == hi) { + // Only in case of 123.66M and 123.69M we would need 5 digits, but that kind of narrow cal. is very unlikely. + precision = 4; + lo = Unit::ToString(points.front().frequency, "", " kMG", precision); + hi = Unit::ToString(points.back().frequency, "", " kMG", precision); + } + + QString tmp = + caltype.getShortString() + + "_" + + lo + "-" + hi + + "_" + + QString::number(this->points.size()) + "pt"; + tmp = tmp.replace(" ", "_"); + tmp = tmp.replace("[", ""); + tmp = tmp.replace("]", ""); + tmp = tmp.replace(".", "_"); + tmp = tmp.replace(",", "_"); + return tmp; +} + +QString Calibration::getValidDevice() const +{ + return validDevice; +} + +bool Calibration::validForDevice(QString serial) const +{ + if(validDevice.isEmpty()) { + // no device indicated, always assume that the calibration is valid + return true; + } + if(validDevice == serial) { + return true; + } else { + return false; + } +} + +bool Calibration::hasDirectivity(unsigned int port) +{ + unsigned int index = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), port) - caltype.usedPorts.begin(); + if(points.size() == 0 || index >= caltype.usedPorts.size()) { + // no calibration or it does not contain this port + return false; + } + auto def = std::complex(0.0, 0.0); + for(const auto &p : points) { + if(p.D[index] != def) { + // at least one point does not match the default value -> we have a valid calibration for this + return true; + } + } + // all points still at default value + return false; +} + +bool Calibration::hasReflectionTracking(unsigned int port) +{ + unsigned int index = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), port) - caltype.usedPorts.begin(); + if(points.size() == 0 || index >= caltype.usedPorts.size()) { + // no calibration or it does not contain this port + return false; + } + auto def = std::complex(1.0, 0.0); + for(const auto &p : points) { + if(p.R[index] != def) { + // at least one point does not match the default value -> we have a valid calibration for this + return true; + } + } + // all points still at default value + return false; +} + +bool Calibration::hasSourceMatch(unsigned int port) +{ + unsigned int index = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), port) - caltype.usedPorts.begin(); + if(points.size() == 0 || index >= caltype.usedPorts.size()) { + // no calibration or it does not contain this port + return false; + } + auto def = std::complex(0.0, 0.0); + for(const auto &p : points) { + if(p.S[index] != def) { + // at least one point does not match the default value -> we have a valid calibration for this + return true; + } + } + // all points still at default value + return false; +} + +bool Calibration::hasReceiverMatch(unsigned int sourcePort, unsigned int receivePort) +{ + unsigned int indexSrc = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), sourcePort) - caltype.usedPorts.begin(); + unsigned int indexRcv = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), receivePort) - caltype.usedPorts.begin(); + if(points.size() == 0 || indexSrc >= caltype.usedPorts.size() || indexRcv >= caltype.usedPorts.size()) { + // no calibration or it does not contain this port + return false; + } + auto def = std::complex(0.0, 0.0); + for(const auto &p : points) { + if(p.L[indexSrc][indexRcv] != def) { + // at least one point does not match the default value -> we have a valid calibration for this + return true; + } + } + // all points still at default value + return false; +} + +bool Calibration::hasTransmissionTracking(unsigned int sourcePort, unsigned int receivePort) +{ + unsigned int indexSrc = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), sourcePort) - caltype.usedPorts.begin(); + unsigned int indexRcv = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), receivePort) - caltype.usedPorts.begin(); + if(points.size() == 0 || indexSrc >= caltype.usedPorts.size() || indexRcv >= caltype.usedPorts.size()) { + // no calibration or it does not contain this port + return false; + } + auto def = std::complex(1.0, 0.0); + for(const auto &p : points) { + if(p.T[indexSrc][indexRcv] != def) { + // at least one point does not match the default value -> we have a valid calibration for this + return true; + } + } + // all points still at default value + return false; +} + +bool Calibration::hasIsolation(unsigned int sourcePort, unsigned int receivePort) +{ + unsigned int indexSrc = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), sourcePort) - caltype.usedPorts.begin(); + unsigned int indexRcv = std::find(caltype.usedPorts.begin(), caltype.usedPorts.end(), receivePort) - caltype.usedPorts.begin(); + if(points.size() == 0 || indexSrc >= caltype.usedPorts.size() || indexRcv >= caltype.usedPorts.size()) { + // no calibration or it does not contain this port + return false; + } + auto def = std::complex(0.0, 0.0); + for(const auto &p : points) { + if(p.I[indexSrc][indexRcv] != def) { + // at least one point does not match the default value -> we have a valid calibration for this + return true; + } + } + // all points still at default value + return false; +} + +bool Calibration::hasUnsavedChanges() const +{ + return unsavedChanges; +} + +Calkit &Calibration::getKit() +{ + return kit; +} + +nlohmann::json Calibration::toJSON() +{ + lock_guard guard(access); + nlohmann::json j; + j["format"] = 3; + nlohmann::json jmeasurements; + for(auto m : measurements) { + nlohmann::json jmeas; + jmeas["type"] = CalibrationMeasurement::Base::TypeToString(m->getType()).toStdString(); + jmeas["data"] = m->toJSON(); + jmeasurements.push_back(jmeas); + } + j["measurements"] = jmeasurements; + j["calkit"] = kit.toJSON(); + j["type"] = TypeToString(caltype.type).toStdString(); + nlohmann::json jports; + for(auto p : caltype.usedPorts) { + jports.push_back(p); + } + j["ports"] = jports; + j["version"] = qlibrevnaApp->applicationVersion().toStdString(); + j["device"] = validDevice.toStdString(); + return j; +} + +void Calibration::fromJSON(nlohmann::json j) +{ + reset(); + lock_guard guard(access); + if(j.contains("calkit")) { + kit.fromJSON(j["calkit"]); + } + unsigned int format = 0; + if(j.contains("format")) { + format = j["format"]; + } else { + // no clear format indicated, attempt to guess from json content + if(j.contains("port1StandardMale")) { + format = 2; + } else if(j.contains("version")){ + format = 3; + } + } + switch(format) { + case 3: { + if(j.contains("measurements")) { + for(auto jm : j["measurements"]) { + auto type = CalibrationMeasurement::Base::TypeFromString(QString::fromStdString(jm.value("type", ""))); + auto m = newMeasurement(type); + if(m && jm.contains("data")) { + m->fromJSON(jm["data"]); + measurements.push_back(m); + } + } + } + + CalType ct; + ct.type = TypeFromString(QString::fromStdString(j.value("type", ""))); + if(j.contains("ports")) { + for(auto jp : j["ports"]) { + ct.usedPorts.push_back(jp); + } + } + if(ct.type != Type::None) { + compute(ct); + } + validDevice = QString::fromStdString(j.value("device", "")); + } + break; + case 2: { + // associated calkit should already be loaded + if(j.contains("measurements")) { + // grab measurements + for(auto j_m : j["measurements"]) { + if(!j_m.contains("name")) { + throw runtime_error("Measurement without name given"); + } + CalibrationMeasurement::Base *m = nullptr; + auto name = QString::fromStdString(j_m["name"]); + if(name == "Port 1 Open") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Open); + static_cast(m)->setPort(1); + } else if(name == "Port 1 Short") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Short); + static_cast(m)->setPort(1); + } else if(name == "Port 1 Load") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Load); + static_cast(m)->setPort(1); + } else if(name == "Port 2 Open") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Open); + static_cast(m)->setPort(2); + } else if(name == "Port 2 Short") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Short); + static_cast(m)->setPort(2); + } else if(name == "Port 2 Load") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Load); + static_cast(m)->setPort(2); + } else if(name == "Through") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Through); + static_cast(m)->setPort1(1); + static_cast(m)->setPort2(2); + } else if(name == "Isolation") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Isolation); + } else if(name == "Line") { + m = newMeasurement(CalibrationMeasurement::Base::Type::Line); + static_cast(m)->setPort1(1); + static_cast(m)->setPort2(2); + } + if(!m) { + // unknown measurement name + throw runtime_error("Measurement name unknown: "+std::string(j_m["name"])); + } + // attempt to select the correct standard + bool p1male = j.value("port1StandardMale", true); + bool p2male = j.value("port2StandardMale", true); + bool throughZeroLength = j.value("throughZeroLength", true); + + auto onePort = dynamic_cast(m); + if(onePort) { + bool male = onePort->getPort() == 1 ? p1male : p2male; + QString name = male ? "Default male standard" : "Default female standard"; + for(auto s : m->supportedStandards()) { + if(s->getName() == name) { + m->setStandard(s); + break; + } + } + } + auto through = dynamic_cast(m); + if(through) { + if(throughZeroLength) { + // needs to create a zero length through standard in the calkit in addition to the already existing through standard + auto zerolength = new CalStandard::Through(); + zerolength->setName("Zero length"); + kit.addStandard(zerolength); + // use this standard + m->setStandard(zerolength); + } + } + if(!m->getStandard()) { + // failed to find specific standard, use the first available + m->setFirstSupportedStandard(); + } + // extract points + if(!j_m.contains("points")) { + throw runtime_error("Measurement "+name.toStdString()+" does not contain any points"); + } + for(auto j_p : j_m["points"]) { + DeviceDriver::VNAMeasurement p; + p.frequency = j_p.value("frequency", 0.0); + p.Z0 = 50.0; + p.measurements["S11"] = complex(j_p.value("S11_real", 0.0), j_p.value("S11_imag", 0.0)); + p.measurements["S12"] = complex(j_p.value("S12_real", 0.0), j_p.value("S12_imag", 0.0)); + p.measurements["S21"] = complex(j_p.value("S21_real", 0.0), j_p.value("S21_imag", 0.0)); + p.measurements["S22"] = complex(j_p.value("S22_real", 0.0), j_p.value("S22_imag", 0.0)); + m->addPoint(p); + } + measurements.push_back(m); + } + } + // got all measurements, construct calibration according to type + if(j.contains("type")) { + auto type = QString::fromStdString(j["type"]); + CalType ct; + ct.type = Calibration::Type::None; + if(type == "Port 1") { + ct.type = Calibration::Type::SOLT; + ct.usedPorts = {1}; + } else if(type == "Port 2") { + ct.type = Calibration::Type::SOLT; + ct.usedPorts = {2}; + } else if(type == "SOLT") { + ct.type = Calibration::Type::SOLT; + ct.usedPorts = {1,2}; + } else if(type == "Normalize") { + ct.type = Calibration::Type::ThroughNormalization; + ct.usedPorts = {1,2}; + } else if(type == "TRL") { + ct.type = Calibration::Type::TRL; + ct.usedPorts = {1,2}; + } + if(ct.type != Type::None) { + compute(ct); + } + } + InformationBox::ShowMessage("Old calibration format", "The selected calibration file was saved in an old format. Please check the imported result " + "carefully and save the calibration to migrate to the new format"); + } + break; + default: + InformationBox::ShowError("Failed to load calibration", "Unable to load calibration, unknown json format: "+QString::number(format)); + break; + } +} + +bool Calibration::toFile(QString filename) +{ + if(filename.isEmpty()) { + QString fn = descriptiveCalName(); + filename = QFileDialog::getSaveFileName(nullptr, "Save calibration data", Preferences::getInstance().UISettings.Paths.cal + "/" + fn, "Calibration files (*.cal)", nullptr, Preferences::QFileDialogOptions()); + if(filename.isEmpty()) { + // aborted selection + return false; + } + Preferences::getInstance().UISettings.Paths.cal = QFileInfo(filename).path(); + } + + if(filename.toLower().endsWith(".cal")) { + filename.chop(4); + } + auto calibration_file = filename + ".cal"; + ofstream file; + file.open(calibration_file.toStdString()); + file << setw(1) << toJSON(); + + this->currentCalFile = calibration_file; // if all ok, remember this + + unsavedChanges = false; + return true; +} + +bool Calibration::fromFile(QString filename) +{ + if(filename.isEmpty()) { + filename = QFileDialog::getOpenFileName(nullptr, "Load calibration data", Preferences::getInstance().UISettings.Paths.cal, "Calibration files (*.cal)", nullptr, Preferences::QFileDialogOptions()); + if(filename.isEmpty()) { + // aborted selection + return false; + } + Preferences::getInstance().UISettings.Paths.cal = QFileInfo(filename).path(); + } + + // force correct file ending + if(filename.toLower().endsWith(".cal")) { + filename.chop(4); + filename += ".cal"; + } + + qDebug() << "Attempting to open calibration from file" << filename; + + // attempt to load associated calibration kit first. It needs to be available when using the old calibration format. If the + // newer calibration format is used, the calibration kit is overwritten by the calibration file anyway + auto calkit_file = filename; + auto dotPos = calkit_file.lastIndexOf('.'); + if(dotPos >= 0) { + calkit_file.truncate(dotPos); + } + calkit_file.append(".calkit"); + qDebug() << "Associated calibration kit expected in" << calkit_file; + if(!kit.fromFile(calkit_file)) { + qDebug() << "Parsing of calibration kit failed while opening calibration file (ignore for calibration format >= 3)"; + } + + ifstream file; + + file.open(filename.toStdString()); + if(!file.good()) { + QString msg = "Unable to open file: "+filename; + InformationBox::ShowError("Error", msg); + qWarning() << msg; + return false; + } + + try { + nlohmann::json j; + file >> j; + currentCalFile = filename; // if all ok, remember this + fromJSON(j); + } catch(exception &e) { + currentCalFile.clear(); + InformationBox::ShowError("File parsing error", e.what()); + qWarning() << "Calibration file parsing failed: " << e.what(); + return false; + } + + unsavedChanges = false; + return true; +} + +std::vector Calibration::getAvailableCalibrations() +{ + unsigned int ports = DeviceDriver::getInfo(DeviceDriver::getActiveDriver()).Limits.VNA.ports; + vector ret; + for(auto t : getTypes()) { + CalType cal; + cal.type = t; + auto minPorts = minimumPorts(t); + for(unsigned int pnum = minPorts;pnum <= ports;pnum++) { + std::string bitmask(pnum, 1); + bitmask.resize(ports, 0); + // assemble selected ports and permute bitmask + do { + vector usedPorts; + for (unsigned int i = 0; i < ports; ++i) { + if (bitmask[i]) { + usedPorts.push_back(i+1); + } + } + cal.usedPorts = usedPorts; + ret.push_back(cal); + } while (std::prev_permutation(bitmask.begin(), bitmask.end())); + } + } + return ret; +} + +std::vector Calibration::getTypes() +{ + // do not include SOLTwithoutRxMatch for now as it is not fully working + return {Type::OSL, Type::SOLT, Type::ThroughNormalization, Type::TRL}; + // vector types; + // // Start at index 1, skip Type::None + // for(int i=1;i<(int) Type::Last;i++) { + // types.push_back((Type) i); + // } + // return types; +} + +bool Calibration::canCompute(Calibration::CalType type, double *startFreq, double *stopFreq, int *points, bool *isLog) +{ + using RequiredMeasurements = struct { + CalibrationMeasurement::Base::Type type; + unsigned int port1, port2; + }; + vector required; + switch(type.type) { + case Type::None: + return true; // Always possible to reset the calibration + case Type::SOLT: + case Type::SOLTwithoutRxMatch: + // through measurements between all ports + for(unsigned int i=1;i<=type.usedPorts.size();i++) { + for(unsigned int j=i+1;j<=type.usedPorts.size();j++) { + required.push_back({.type = CalibrationMeasurement::Base::Type::Through, .port1 = i, .port2 = j}); + } + } + [[fallthrough]]; + case Type::OSL: + // SOL measurements for every port + for(auto p : type.usedPorts) { + required.push_back({.type = CalibrationMeasurement::Base::Type::Short, .port1 = p, .port2 = 0}); + required.push_back({.type = CalibrationMeasurement::Base::Type::Open, .port1 = p, .port2 = 0}); + if(findMeasurements(CalibrationMeasurement::Base::Type::SlidingLoad, p).size() >= 3) { + // got enough sliding load measurements, use these + required.push_back({.type = CalibrationMeasurement::Base::Type::SlidingLoad, .port1 = p, .port2 = 0}); + } else { + // not enough sliding load measurement, use normal load + required.push_back({.type = CalibrationMeasurement::Base::Type::Load, .port1 = p, .port2 = 0}); + } + } + break; + case Type::ThroughNormalization: + // through measurements between all ports + for(unsigned int i=1;i<=type.usedPorts.size();i++) { + for(unsigned int j=i+1;j<=type.usedPorts.size();j++) { + required.push_back({.type = CalibrationMeasurement::Base::Type::Through, .port1 = i, .port2 = j}); + } + } + break; + case Type::TRL: + // Reflect measurement for every port + for(auto p : type.usedPorts) { + required.push_back({.type = CalibrationMeasurement::Base::Type::Reflect, .port1 = p, .port2 = 0}); + } + // through and line measurements between all ports + for(unsigned int i=1;i<=type.usedPorts.size();i++) { + for(unsigned int j=i+1;j<=type.usedPorts.size();j++) { + required.push_back({.type = CalibrationMeasurement::Base::Type::Through, .port1 = i, .port2 = j}); + required.push_back({.type = CalibrationMeasurement::Base::Type::Line, .port1 = i, .port2 = j}); + } + } + break; + case Type::Last: + // Invalid selection + return false; + + } + if(required.size() > 0) { + vector foundMeasurements; + for(auto m : required) { + auto meas = findMeasurement(m.type, m.port1, m.port2); + if(!meas) { + // missing measurement + return false; + } else if (!meas->readyForCalculation()){ + // measurement not ready (either not calkit standard definded or no measurements) + return false; + } else { + foundMeasurements.push_back(meas); + } + } + return hasFrequencyOverlap(foundMeasurements, startFreq, stopFreq, points, isLog); + } + return false; +} + +bool Calibration::compute(Calibration::CalType type) +{ + lock_guard guard(access); + if(type.type == Type::None) { + deactivate(); + return true; + } + double start, stop; + int numPoints; + bool isLog; + if(!canCompute(type, &start, &stop, &numPoints, &isLog)) { + return false; + } + caltype = type; + try { + points.clear(); + for(int i=0;i m, const DeviceDriver::VNAMeasurement &data) +{ + for(auto meas : m) { + meas->addPoint(data); + } + unsavedChanges = true; + if(DeviceDriver::getActiveDriver()) { + validDevice = DeviceDriver::getActiveDriver()->getSerial(); + } +} + +void Calibration::clearMeasurements(std::set m) +{ + for(auto meas : m) { + meas->clearPoints(); + } + unsavedChanges = true; +} + +void Calibration::measurementsComplete() +{ + emit measurementsUpdated(); +} + +void Calibration::measurementsAbort() +{ + emit measurementsAborted(); +} + +void Calibration::deactivate() +{ + lock_guard guard(access); + points.clear(); + caltype.type = Type::None; + caltype.usedPorts.clear(); + unsavedChanges = true; + emit deactivated(); +} + +QString Calibration::DefaultMeasurementsToString(Calibration::DefaultMeasurements dm) +{ + switch(dm) { + case DefaultMeasurements::SOL1Port: return "1 Port SOL"; + case DefaultMeasurements::SOLT2Port: return "2 Port SOLT"; + case DefaultMeasurements::SOLT3Port: return "3 Port SOLT"; + case DefaultMeasurements::SOLT4Port: return "4 Port SOLT"; + case DefaultMeasurements::Last: return "Invalid"; + } + return ""; +} + +void Calibration::createDefaultMeasurements(Calibration::DefaultMeasurements dm) +{ + lock_guard guard(access); + auto createSOL = [=](int port) { + auto open = new CalibrationMeasurement::Open(this); + open->setPort(port); + measurements.push_back(open); + auto _short = new CalibrationMeasurement::Short(this); + _short->setPort(port); + measurements.push_back(_short); + auto load = new CalibrationMeasurement::Load(this); + load->setPort(port); + measurements.push_back(load); + }; + auto createThrough = [=](int port1, int port2) { + auto through = new CalibrationMeasurement::Through(this); + through->setPort1(port1); + through->setPort2(port2); + measurements.push_back(through); + }; + switch(dm) { + case DefaultMeasurements::SOL1Port: + createSOL(1); + break; + case DefaultMeasurements::SOLT2Port: + createSOL(1); + createSOL(2); + createThrough(1, 2); + break; + case DefaultMeasurements::SOLT3Port: + createSOL(1); + createSOL(2); + createSOL(3); + createThrough(1, 2); + createThrough(1, 3); + createThrough(2, 3); + break; + case DefaultMeasurements::SOLT4Port: + createSOL(1); + createSOL(2); + createSOL(3); + createSOL(4); + createThrough(1, 2); + createThrough(1, 3); + createThrough(1, 4); + createThrough(2, 3); + createThrough(2, 4); + createThrough(3, 4); + break; + case DefaultMeasurements::Last: + break; + } +} + +void Calibration::deleteMeasurements() +{ + lock_guard guard(access); + for(auto m : measurements) { + delete m; + } + measurements.clear(); +} + +bool Calibration::hasFrequencyOverlap(std::vector m, double *startFreq, double *stopFreq, int *points, bool *isLog) +{ + double minResolution = std::numeric_limits::max(); + double minFreq = 0; + double maxFreq = std::numeric_limits::max(); + unsigned int logCount = 0; + unsigned int linCount = 0; + for(auto meas : m) { + if(meas->numPoints() < 2) { + return false; + } + auto resolution = (meas->maxUsableFreq() - meas->minUsableFreq()) / (meas->numPoints() - 1); + if(meas->maxUsableFreq() < maxFreq) { + maxFreq = meas->maxUsableFreq(); + } + if(meas->minUsableFreq() > minFreq) { + minFreq = meas->minUsableFreq(); + } + if(resolution < minResolution) { + minResolution = resolution; + } + // check whether the frequency points are more linear or more logarithmic + double minDiff = std::numeric_limits::max(); + double maxDiff = 0; + double minRatio = std::numeric_limits::max(); + double maxRatio = 0; + for(unsigned int i=1;inumPoints();i++) { + double f_prev = meas->getPointFreq(i-1); + double f_next = meas->getPointFreq(i); + double diff = f_next - f_prev; + double ratio = f_next / f_prev; + if(diff < minDiff) { + minDiff = diff; + } + if(diff > maxDiff) { + maxDiff = diff; + } + if(ratio < minRatio) { + minRatio = ratio; + } + if(ratio > maxRatio) { + maxRatio = ratio; + } + } + double diffVariationNormalized = (maxDiff - minDiff) / maxDiff; + double ratioVariationNormalized = (maxRatio - minRatio) / maxRatio; + if(abs(diffVariationNormalized) < abs(ratioVariationNormalized)) { + // more linear + linCount++; + } else { + // more logarithmic + logCount++; + } + } + if(startFreq) { + *startFreq = minFreq; + } + if(stopFreq) { + *stopFreq = maxFreq; + } + if(points) { + *points = (maxFreq - minFreq) / minResolution + 1; + } + if(isLog) { + *isLog = logCount > linCount; + } + if(maxFreq > minFreq) { + return true; + } else { + return false; + } +} + +std::vector Calibration::findMeasurements(CalibrationMeasurement::Base::Type type, int port1, int port2) +{ + vector ret; + for(auto m : measurements) { + if(m->getType() != type) { + continue; + } + auto onePort = dynamic_cast(m); + if(onePort) { + if(onePort->getPort() != port1) { + continue; + } + } + auto twoPort = dynamic_cast(m); + if(twoPort) { + if(twoPort->getPort1() != port1 || twoPort->getPort2() != port2) { + continue; + } + } + // if we get here, we have a match + ret.push_back(m); + } + return ret; +} + +CalibrationMeasurement::Base *Calibration::findMeasurement(CalibrationMeasurement::Base::Type type, int port1, int port2) +{ + auto meas = findMeasurements(type, port1, port2); + if(meas.size() > 0) { + return meas[0]; + } else { + return nullptr; + } +} + +QString Calibration::CalType::getReadableDescription() +{ + QString ret = TypeToString(this->type); + if(usedPorts.size() == 1) { + ret += ", Port: "+QString::number(usedPorts[0]); + } else if(usedPorts.size() > 0) { + ret += ", Ports: ["; + for(auto p : usedPorts) { + ret += QString::number(p)+","; + } + // remove the last trailing comma + ret.chop(1); + ret += "]"; + } + return ret; +} + +QString Calibration::CalType::getShortString() +{ + QString ret = TypeToString(this->type); + if(usedPorts.size() > 0) { + ret += "_"; + } + for(auto p : usedPorts) { + ret += QString::number(p); + } + return ret; +} + +Calibration::CalType Calibration::CalType::fromShortString(QString s) +{ + CalType ret; + auto list = s.split("_"); + if(list.size() != 2) { + ret.type = Type::None; + } else { + ret.type = TypeFromString(list[0]); + for(auto c : list[1]) { + ret.usedPorts.push_back(QString(c).toInt()); + } + } + return ret; +} + +Calibration::Point Calibration::Point::interpolate(const Calibration::Point &to, double alpha) +{ + Point ret; + ret.frequency = frequency * (1.0-alpha) + to.frequency * alpha; + ret.D.resize(D.size(), 0.0); + for(unsigned int i=0;i + +class Calibration : public QObject, public Savable, public SCPINode +{ + Q_OBJECT + + friend class LibreCALDialog; + friend class CalibrationTests; +public: + Calibration(); + + enum class Type { + None, + OSL, + SOLT, + SOLTwithoutRxMatch, + ThroughNormalization, + TRL, + Last, + }; + class CalType { + public: + Type type; + std::vector usedPorts; // port count starts at 1 + QString getReadableDescription(); + QString getShortString(); + + static CalType fromShortString(QString s); + + friend bool operator==(const CalType &lhs, const CalType &rhs); + }; + + static QString TypeToString(Type type); + static Type TypeFromString(QString s); + + // Applies calculated calibration coefficients to measurement data + void correctMeasurement(DeviceDriver::VNAMeasurement &d); + void correctTraces(std::map traceSet); + + // Starts the calibration edit dialog, allowing the user to make/delete measurements + void edit(TraceModel *traceModel = nullptr); + + Calkit& getKit(); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + bool toFile(QString filename = QString()); + bool fromFile(QString filename = QString()); + + // Returns all possible calibration types/port permutations for the currently connected device. + // If no device is connected, a two-port device is assumed + static std::vector getAvailableCalibrations(); + + // Returns vector of all calibration types (without 'Last') + static std::vector getTypes(); + // Checks whether all measurements for a specific calibration are available. + // If pointer to the frequency/points variables are given, the start/stop frequency and number of points the calibration will have after the calculation is stored there + bool canCompute(CalType type, double *startFreq = nullptr, double *stopFreq = nullptr, int *points = nullptr, bool *isLog = nullptr); + // Resets the calibration (deletes all measurements and calculated coefficients) + void reset(); + // Returns the minimum number of ports for a given calibration type. + // E.g. the SOL(T) calibration can work with only one port, a through normalization requires at least two + static int minimumPorts(Type type); + + // Adds a new measurement point (data) to all calibration measurements (m) + void addMeasurements(std::set m, const DeviceDriver::VNAMeasurement &data); + // Deletes all datapoints in the calibration measurements (m) + void clearMeasurements(std::set m); + CalType getCaltype() const; + + enum class InterpolationType { + Unchanged, // Nothing has changed, settings and calibration points match + Exact, // Every frequency point in settings has an exact calibration point (but there are more calibration points outside of the sweep) + Interpolate, // Every point in the sweep can be interpolated between two calibration points + Extrapolate, // At least one point in sweep is outside of the calibration and has to be extrapolated + NoCalibration, // No calibration available + }; + + InterpolationType getInterpolation(double f_start, double f_stop, int npoints); + + std::vector getErrorTermTraces(); + std::vector getMeasurementTraces(); + + QString getCurrentCalibrationFile(); + double getMinFreq(); + double getMaxFreq(); + + int getNumPoints(); + bool hasUnsavedChanges() const; + + QString getValidDevice() const; + bool validForDevice(QString serial) const; + + // query whether error terms coefficients are available. Port count starts at 1 + bool hasDirectivity(unsigned int port); + bool hasReflectionTracking(unsigned int port); + bool hasSourceMatch(unsigned int port); + bool hasReceiverMatch(unsigned int sourcePort, unsigned int receivePort); + bool hasTransmissionTracking(unsigned int sourcePort, unsigned int receivePort); + bool hasIsolation(unsigned int sourcePort, unsigned int receivePort); + +public slots: + // Call once all datapoints of the current span have been added + void measurementsComplete(); + // Call once when a measurement is aborted before all points have been captured + void measurementsAbort(); + // Attempts to calculate the calibration coefficients. If not enough measurements are available, false is returned and the currently used coefficients are not changed + bool compute(CalType type); + // Deactivates the calibration, resets the calibration coefficients. Calibration measurements are NOT deleted. + void deactivate(); +signals: + // emitted when the measurement of a set of calibration measurements should be started + void startMeasurements(std::set m); + // emitted whenever a measurement is complete (triggered by calling measurementsComplete()) + void measurementsUpdated(); + // emitted when taking a calibration measurement is aborted + void measurementsAborted(); + // emitted when calibration coefficients were calculated/updated successfully + void activated(CalType type); + // emitted when the calibrationo coefficients were reset + void deactivated(); +private: + enum class DefaultMeasurements { + SOL1Port, + SOLT2Port, + SOLT3Port, + SOLT4Port, + Last + }; + static QString DefaultMeasurementsToString(DefaultMeasurements dm); + void createDefaultMeasurements(DefaultMeasurements dm); + void deleteMeasurements(); + + static bool hasFrequencyOverlap(std::vector m, double *startFreq = nullptr, double *stopFreq = nullptr, int *points = nullptr, bool *isLog = nullptr); + // returns all measurements that match the paramaters + std::vector findMeasurements(CalibrationMeasurement::Base::Type type, int port1 = 0, int port2 = 0); + // returns the first measurement in the list that matches the parameters + CalibrationMeasurement::Base* findMeasurement(CalibrationMeasurement::Base::Type type, int port1 = 0, int port2 = 0); + CalibrationMeasurement::Base *newMeasurement(CalibrationMeasurement::Base::Type type); + + class Point { + public: + double frequency; + std::vector> D; // Directivity + std::vector> R; // Reflection tracking + std::vector> S; // Source Match + std::vector>> L; // Receiver Match + std::vector>> T; // Transmission tracking + std::vector>> I; // Transmission isolation + Point interpolate(const Point &to, double alpha); + }; + std::vector points; + + Point createInitializedPoint(double f); + Point computeOSL(double f); + Point computeSOLT(double f); + Point computeSOLTwithoutRxMatch(double f); + Point computeThroughNormalization(double f); + Point computeTRL(double f); + + std::vector measurements; + + Calkit kit; + CalType caltype; + + QString descriptiveCalName(); + QString currentCalFile; + + QString validDevice; + + bool unsavedChanges; + + std::recursive_mutex access; +}; + +#endif // CALIBRATION2_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationdialogui.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationdialogui.ui new file mode 100644 index 0000000..35d4df6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationdialogui.ui @@ -0,0 +1,350 @@ + + + CalibrationDialog + + + + 0 + 0 + 1119 + 650 + + + + Calibration Measurements + + + true + + + + + + Measurements + + + + + + + + + 0 + 0 + + + + Create default measurements for: + + + + + + + + + + + + + + QAbstractItemView::SelectRows + + + true + + + false + + + + + + + + + + 0 + 0 + + + + Add + + + Add + + + + :/icons/add.png:/icons/add.png + + + + + + + false + + + + 0 + 0 + + + + Delete + + + Delete + + + + :/icons/remove.png:/icons/remove.png + + + + + + + false + + + Move up + + + + + + + :/icons/up.png:/icons/up.png + + + + + + + false + + + Move down + + + + + + + :/icons/down.png:/icons/down.png + + + + + + + Measure + + + + :/icons/play.png:/icons/play.png + + + + + + + Select +Measurement + + + + + + + Clear + + + + :/icons/trash.png:/icons/trash.png + + + + + + + Electronic +Calibration + + + + + + + + 0 + 0 + + + + Edit +Calibration +Kit + + + + + + + Qt::Vertical + + + + 18 + 186 + + + + + + + + + + + + + + + Calibration + + + + + + + + Available calibrations: + + + + + + + + + + + + + + + + Active calibration: + + + + + + + false + + + + + + + Minimum frequency: + + + + + + + false + + + + + + + Maximum frequency: + + + + + + + false + + + + + + + Points: + + + + + + + false + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + false + + + Deactivate + + + + + + + false + + + Activate + + + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationmeasurement.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationmeasurement.cpp new file mode 100644 index 0000000..321d955 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationmeasurement.cpp @@ -0,0 +1,729 @@ +#include "calibrationmeasurement.h" +#include "unit.h" +#include "calibration.h" +#include "Util/util.h" + +#include +#include +#include +#include +#include + +using namespace std; + +CalibrationMeasurement::Base::Base(Calibration *cal) + : cal(cal) +{ + standard = nullptr; + timestamp = QDateTime(); +} + +std::vector CalibrationMeasurement::Base::supportedStandards() +{ + vector ret; + for(auto s : cal->getKit().getStandards()) { + if(supportedStandardTypes().count(s->getType())) { + ret.push_back(s); + } + } + return ret; +} + +bool CalibrationMeasurement::Base::setFirstSupportedStandard() +{ + // assign first valid standard + auto supported = supportedStandards(); + if(supported.size() > 0) { + setStandard(supported[0]); + return true; + } + return false; +} + +bool CalibrationMeasurement::Base::setStandard(CalStandard::Virtual *standard) +{ + if(standard) { + if(supportedStandardTypes().count(standard->getType())) { + // can use this standard + this->standard = standard; + connect(standard, &CalStandard::Virtual::deleted, this, [=](){ + setStandard(nullptr); + }); + emit standardChanged(standard); + return true; + } else { + // can't use this standard, leave unchanged + return false; + } + } else { + // nullptr passed, remove currently used standard + if(this->standard) { + disconnect(this->standard, &CalStandard::Virtual::deleted, this, nullptr); + } + this->standard = nullptr; + emit standardChanged(nullptr); + return true; + } +} + +QTableWidgetItem *CalibrationMeasurement::Base::getStatisticsItem() +{ + return new QTableWidgetItem(getStatistics()); +} + +QString CalibrationMeasurement::Base::getStatistics() +{ + if(numPoints() > 0) { + QString data = QString::number(numPoints()); + data.append(" points from "); + data.append(Unit::ToString(minFreq(), "Hz", " kMG")); + data.append(" to "); + data.append(Unit::ToString(maxFreq(), "Hz", " kMG")); + return data; + } else { + return "Not available"; + } +} + +std::vector CalibrationMeasurement::Base::availableTypes() +{ + std::vector ret; + for(int i=0;i<(int) Type::Last;i++) { + ret.push_back((Type) i); + } + return ret; +} + +QString CalibrationMeasurement::Base::TypeToString(CalibrationMeasurement::Base::Type type) +{ + switch(type) { + case Type::Open: return "Open"; + case Type::Short: return "Short"; + case Type::Load: return "Load"; + case Type::SlidingLoad: return "SlidingLoad"; + case Type::Reflect: return "Reflect"; + case Type::Through: return "Through"; + case Type::Isolation: return "Isolation"; + case Type::Line: return "Line"; + case Type::Last: return "Invalid"; + } + return "Invalid"; +} + +CalibrationMeasurement::Base::Type CalibrationMeasurement::Base::TypeFromString(QString s) +{ + for(int i=0;i<(int) Type::Last;i++) { + if(TypeToString((Type) i).compare(s, Qt::CaseInsensitive) == 0) { + return (Type) i; + } + } + return Type::Last; +} + +QWidget *CalibrationMeasurement::Base::createStandardWidget() +{ + auto cbStandard = new QComboBox(); + for(auto s : supportedStandards()) { + cbStandard->addItem(s->getDescription(), QVariant::fromValue((void*) s)); + if(standard == s) { + cbStandard->setCurrentText(s->getDescription()); + } + } + if(standard == 0 && cbStandard->count() > 0) { + // no standard was selected but no there is one available + setStandard((CalStandard::Virtual*) cbStandard->itemData(0, Qt::UserRole).value()); + } + + connect(cbStandard, qOverload(&QComboBox::currentIndexChanged), [=](){ + auto s = (CalStandard::Virtual*) cbStandard->itemData(cbStandard->currentIndex(), Qt::UserRole).value(); + setStandard(s); + }); + connect(this, &CalibrationMeasurement::Base::standardChanged, cbStandard, [=](){ + for(int i=0;icount();i++) { + if((CalStandard::Virtual*) cbStandard->itemData(i, Qt::UserRole).value() == standard) { + cbStandard->setCurrentIndex(i); + } + } + }); + return cbStandard; +} + +nlohmann::json CalibrationMeasurement::Base::toJSON() +{ + nlohmann::json j; + if(standard) { + j["standard"] = standard->getID(); + } + j["timestamp"] = timestamp.toSecsSinceEpoch(); + return j; +} + +void CalibrationMeasurement::Base::fromJSON(nlohmann::json j) +{ + if(j.contains("standard")) { + auto standards = cal->getKit().getStandards(); + standard = nullptr; + unsigned long long id = j.value("standard", 0ULL); + for(auto s : standards) { + if(s->getID() == id) { + setStandard(s); + break; + } + } + } + timestamp = QDateTime::fromSecsSinceEpoch(j.value("timestamp", 0)); +} + +bool CalibrationMeasurement::Base::canMeasureSimultaneously(std::set measurements) +{ + std::set usedPorts; + for(auto m : measurements) { + std::vector ports; + switch(m->getType()) { + case Type::Open: + case Type::Short: + case Type::Load: + case Type::SlidingLoad: + case Type::Reflect: + // Uses one port + ports.push_back(static_cast(m)->getPort()); + break; + case Type::Through: + case Type::Line: + // Uses two ports + ports.push_back(static_cast(m)->getPort1()); + ports.push_back(static_cast(m)->getPort2()); + break; + case Type::Isolation: + // Uses all ports, unable to measure simultaneously + if(measurements.size() > 1) { + return false; + } + break; + case Type::Last: + // invalid + return false; + } + for(auto p : ports) { + if(usedPorts.count(p)) { + // port already used for another measurement + return false; + } else { + usedPorts.insert(p); + } + } + } + // if we get here, no port collisions occurred + return true; +} + +QDateTime CalibrationMeasurement::Base::getTimestamp() const +{ + return timestamp; +} + +CalStandard::Virtual* CalibrationMeasurement::Base::getStandard() const +{ + return standard; +} + +QTableWidgetItem *CalibrationMeasurement::OnePort::getStatisticsItem() +{ + auto ret = Base::getStatisticsItem(); + if(numPoints() > 0) { + if(!standard) { + ret->setBackground(Qt::red); + ret->setToolTip("No calibration standard assigned, unable to use this measurement"); + } else if(standard->minFrequency() > points.front().frequency || standard->maxFrequency() < points.back().frequency) { + ret->setBackground(Qt::yellow); + ret->setToolTip("Usable frequency range constrained by calibration standard to "+Unit::ToString(minUsableFreq(), "Hz", " kMG", 4)+" - "+Unit::ToString(maxUsableFreq(), "Hz", " kMG", 4)); + } + } + return ret; +} + +double CalibrationMeasurement::OnePort::minUsableFreq() +{ + if(points.size() > 0 && standard) { + return max(points.front().frequency, standard->minFrequency()); + } else { + return numeric_limits::max(); + } +} + +double CalibrationMeasurement::OnePort::maxUsableFreq() +{ + if(points.size() > 0 && standard) { + return min(points.back().frequency, standard->maxFrequency()); + } else { + return 0; + } +} + +void CalibrationMeasurement::OnePort::clearPoints() +{ + points.clear(); + timestamp = QDateTime(); +} + +void CalibrationMeasurement::OnePort::addPoint(const DeviceDriver::VNAMeasurement &m) +{ + QString measurementName = "S"+QString::number(port)+QString::number(port); + if(m.measurements.count(measurementName) > 0) { + Point p; + p.frequency = m.frequency; + p.S = m.measurements.at(measurementName); + points.push_back(p); + timestamp = QDateTime::currentDateTimeUtc(); + } +} + +QWidget *CalibrationMeasurement::OnePort::createSettingsWidget() +{ + auto label = new QLabel("Port:"); + auto cbPort = new QComboBox(); + auto dev = DeviceDriver::getActiveDriver(); + if(dev) { + if(port == 0) { + setPort(1); + } + for(unsigned int i=1;i<=dev->getInfo().Limits.VNA.ports;i++) { + cbPort->addItem(QString::number(i)); + if(port == i) { + cbPort->setCurrentText(QString::number(i)); + } + } + } + if(port > 0 && cbPort->findText(QString::number(port)) < 0) { + // set already selected port, even if device is not connected or does not have this port + cbPort->addItem(QString::number(port)); + cbPort->setCurrentText(QString::number(port)); + } + connect(cbPort, qOverload(&QComboBox::currentIndexChanged), [=](){ + setPort(cbPort->currentText().toInt()); + }); + connect(this, &OnePort::portChanged, cbPort, [=](){ + auto string = QString::number(port); + if(cbPort->findText(string) < 0) { + // setting does not exist yet, create (should not happen) + cbPort->addItem(string); + } + cbPort->setCurrentText(string); + }); + auto ret = new QWidget(); + auto layout = new QHBoxLayout; + layout->setContentsMargins(0,0,0,0); + layout->addWidget(label); + layout->addWidget(cbPort); + layout->setStretch(1, 1); + ret->setLayout(layout); + return ret; +} + +nlohmann::json CalibrationMeasurement::OnePort::toJSON() +{ + auto j = Base::toJSON(); + j["port"] = port; + nlohmann::json jpoints; + for(auto &p : points) { + nlohmann::json jpoint; + jpoint["frequency"] = p.frequency; + jpoint["real"] = p.S.real(); + jpoint["imag"] = p.S.imag(); + jpoints.push_back(jpoint); + } + j["points"] = jpoints; + return j; +} + +void CalibrationMeasurement::OnePort::fromJSON(nlohmann::json j) +{ + clearPoints(); + Base::fromJSON(j); + port = j.value("port", 0); + if(j.contains("points")) { + for(auto jpoint : j["points"]) { + Point p; + p.frequency = jpoint.value("frequency", 0.0); + p.S = complex(jpoint.value("real", 0.0), jpoint.value("imag", 0.0)); + points.push_back(p); + } + } +} + +std::complex CalibrationMeasurement::OnePort::getMeasured(double frequency) +{ + if(points.size() == 0 || frequency < points.front().frequency || frequency > points.back().frequency) { + return numeric_limits>::quiet_NaN(); + } + // frequency within points, interpolate + Point interp = Util::interpolate(points, frequency, [](const Point &p)->double{ + return p.frequency; + }); + return interp.S; +} + +std::complex CalibrationMeasurement::OnePort::getActual(double frequency) +{ + return static_cast(standard)->toS11(frequency); +} + +int CalibrationMeasurement::OnePort::getPort() const +{ + return port; +} + +void CalibrationMeasurement::OnePort::setPort(unsigned int p) +{ + if(port != p) { + port = p; + emit portChanged(p); + } +} + +std::vector CalibrationMeasurement::OnePort::getPoints() const +{ + return points; +} + +QTableWidgetItem *CalibrationMeasurement::TwoPort::getStatisticsItem() +{ + auto ret = Base::getStatisticsItem(); + if(numPoints() > 0) { + if(!standard) { + ret->setBackground(Qt::red); + ret->setToolTip("No calibration standard assigned, unable to use this measurement"); + } else if(standard->minFrequency() > points.front().frequency || standard->maxFrequency() < points.back().frequency) { + ret->setBackground(Qt::yellow); + ret->setToolTip("Usable frequency range constrained by calibration standard to "+Unit::ToString(minUsableFreq(), "Hz", " kMG", 4)+" - "+Unit::ToString(maxUsableFreq(), "Hz", " kMG", 4)); + } + } + return ret; +} + +double CalibrationMeasurement::TwoPort::minUsableFreq() +{ + if(points.size() > 0 && standard) { + return max(points.front().frequency, standard->minFrequency()); + } else { + return numeric_limits::max(); + } +} + +double CalibrationMeasurement::TwoPort::maxUsableFreq() +{ + if(points.size() > 0 && standard) { + return min(points.back().frequency, standard->maxFrequency()); + } else { + return 0; + } +} + +void CalibrationMeasurement::TwoPort::clearPoints() +{ + points.clear(); + timestamp = QDateTime(); +} + +void CalibrationMeasurement::TwoPort::addPoint(const DeviceDriver::VNAMeasurement &m) +{ + Point p; + p.frequency = m.frequency; + p.S = m.toSparam().reduceTo({port1, port2}); + points.push_back(p); + timestamp = QDateTime::currentDateTimeUtc(); +} + +QWidget *CalibrationMeasurement::TwoPort::createSettingsWidget() +{ + auto label1 = new QLabel("From "); + auto cbPort1 = new QComboBox(); + auto label2 = new QLabel(" to "); + auto cbPort2 = new QComboBox(); + auto cbReverse = new QCheckBox("Reversed"); + cbReverse->setToolTip("Enable this option if the calibration standard is defined with the port order swapped"); + auto dev = DeviceDriver::getActiveDriver(); + if(dev) { + if(port1 == 0) { + setPort1(1); + } + if(port2 == 0) { + setPort2(2); + } + for(unsigned int i=1;i<=dev->getInfo().Limits.VNA.ports;i++) { + cbPort1->addItem(QString::number(i)); + cbPort2->addItem(QString::number(i)); + if(port1 == i) { + cbPort1->setCurrentText(QString::number(i)); + } + if(port2 == i) { + cbPort2->setCurrentText(QString::number(i)); + } + } + } + if(port1 > 0 && cbPort1->findText(QString::number(port1)) < 0) { + // set already selected port, even if device is not connected or does not have this port + cbPort1->addItem(QString::number(port1)); + cbPort1->setCurrentText(QString::number(port1)); + } + if(port2 > 0 && cbPort2->findText(QString::number(port2)) < 0) { + // set already selected port, even if device is not connected or does not have this port + cbPort2->addItem(QString::number(port2)); + cbPort2->setCurrentText(QString::number(port2)); + } + cbReverse->setChecked(reverseStandard); + connect(cbPort1, qOverload(&QComboBox::currentIndexChanged), [=](){ + setPort1(cbPort1->currentText().toInt()); + }); + connect(cbPort2, qOverload(&QComboBox::currentIndexChanged), [=](){ + setPort2(cbPort2->currentText().toInt()); + }); + connect(cbReverse, &QCheckBox::toggled, [=](){ + setReverseStandard(cbReverse->isChecked()); + }); + connect(this, &TwoPort::port1Changed, cbPort1, [=](){ + auto string = QString::number(port1); + if(cbPort1->findText(string) < 0) { + // setting does not exist yet, create (should not happen) + cbPort1->addItem(string); + } + cbPort1->setCurrentText(string); + }); + connect(this, &TwoPort::port2Changed, cbPort2, [=](){ + auto string = QString::number(port2); + if(cbPort2->findText(string) < 0) { + // setting does not exist yet, create (should not happen) + cbPort2->addItem(string); + } + cbPort2->setCurrentText(string); + }); + connect(this, &TwoPort::reverseStandardChanged, cbReverse, [=](){ + cbReverse->setChecked(reverseStandard); + }); + auto ret = new QWidget(); + auto layout = new QHBoxLayout; + layout->setContentsMargins(0,0,0,0); + layout->addWidget(label1); + layout->addWidget(cbPort1); + layout->addWidget(label2); + layout->addWidget(cbPort2); + layout->addWidget(cbReverse); + layout->setStretch(1, 1); + layout->setStretch(3, 1); + ret->setLayout(layout); + return ret; +} + +nlohmann::json CalibrationMeasurement::TwoPort::toJSON() +{ + auto j = Base::toJSON(); + j["port1"] = port1; + j["port2"] = port2; + j["reverseStandard"] = reverseStandard; + nlohmann::json jpoints; + for(auto &p : points) { + nlohmann::json jpoint; + jpoint["frequency"] = p.frequency; + jpoint["Sparam"] = p.S.toJSON(); + jpoints.push_back(jpoint); + } + j["points"] = jpoints; + return j; +} + +void CalibrationMeasurement::TwoPort::fromJSON(nlohmann::json j) +{ + clearPoints(); + Base::fromJSON(j); + port1 = j.value("port1", 0); + port2 = j.value("port2", 0); + reverseStandard = j.value("reverseStandard", false); + if(j.contains("points")) { + for(auto jpoint : j["points"]) { + Point p; + p.frequency = jpoint.value("frequency", 0.0); + p.S.fromJSON(jpoint["Sparam"]); + points.push_back(p); + } + } +} + +Sparam CalibrationMeasurement::TwoPort::getMeasured(double frequency) +{ + if(points.size() == 0 || frequency < points.front().frequency || frequency > points.back().frequency) { + return Sparam(); + } + // frequency within points, interpolate + Point interp = Util::interpolate(points, frequency, [](const Point &p)->double{ + return p.frequency; + }); + return interp.S; +} + +Sparam CalibrationMeasurement::TwoPort::getActual(double frequency) +{ + auto param = static_cast(standard)->toSparam(frequency); + if(reverseStandard) { + param.swapPorts(1, 2); + } + return param; +} + +int CalibrationMeasurement::TwoPort::getPort2() const +{ + return port2; +} + +void CalibrationMeasurement::TwoPort::setPort1(unsigned int p) +{ + if(port1 != p) { + port1 = p; + emit port1Changed(p); + } +} + +void CalibrationMeasurement::TwoPort::setPort2(unsigned int p) +{ + if(port2 != p) { + port2 = p; + emit port2Changed(p); + } +} + +void CalibrationMeasurement::TwoPort::setReverseStandard(bool reverse) +{ + if(reverseStandard != reverse) { + reverseStandard = reverse; + emit reverseStandardChanged(reverse); + } +} + +std::vector CalibrationMeasurement::TwoPort::getPoints() const +{ + return points; +} + +int CalibrationMeasurement::TwoPort::getPort1() const +{ + return port1; +} + +unsigned int CalibrationMeasurement::Isolation::numPoints() +{ + return points.size(); +} + +void CalibrationMeasurement::Isolation::clearPoints() +{ + points.clear(); + timestamp = QDateTime(); +} + +void CalibrationMeasurement::Isolation::addPoint(const DeviceDriver::VNAMeasurement &m) +{ + Point p; + p.frequency = m.frequency; + for(auto &meas : m.measurements) { + QString name = meas.first; + unsigned int rcv = name.mid(1, 1).toInt() - 1; + unsigned int src = name.mid(2, 1).toInt() - 1; + if(rcv > 8 || src > 8) { + // skip + continue; + } + if(rcv >= p.S.size()) { + p.S.resize(rcv + 1); + } + if(src >= p.S[rcv].size()) { + p.S[rcv].resize(src + 1); + } + p.S[rcv][src] = meas.second; + } + points.push_back(p); + timestamp = QDateTime::currentDateTimeUtc(); +} + +QWidget *CalibrationMeasurement::Isolation::createStandardWidget() +{ + return new QLabel("Terminate all ports"); +} + +QWidget *CalibrationMeasurement::Isolation::createSettingsWidget() +{ + return new QLabel("No settings available"); +} + +nlohmann::json CalibrationMeasurement::Isolation::toJSON() +{ + auto j = Base::toJSON(); + nlohmann::json jpoints; + for(auto &p : points) { + nlohmann::json jpoint; + jpoint["frequency"] = p.frequency; + nlohmann::json jdest; + for(auto dst : p.S) { + nlohmann::json jsrc; + for(auto src : dst) { + nlohmann::json jiso; + jiso["real"] = src.real(); + jiso["imag"] = src.imag(); + jsrc.push_back(jiso); + } + jdest.push_back(jsrc); + } + jpoint["S"] = jdest; + jpoints.push_back(jpoint); + } + j["points"] = jpoints; + return j; +} + +void CalibrationMeasurement::Isolation::fromJSON(nlohmann::json j) +{ + clearPoints(); + Base::fromJSON(j); + if(j.contains("points")) { + for(auto jpoint : j["points"]) { + Point p; + p.frequency = jpoint.value("frequency", 0.0); + if(jpoint.contains("S")) { + for(auto jdest : jpoint["S"]) { + p.S.push_back(vector>()); + for(auto jsrc : jdest) { + auto S = complex(jsrc.value("real", 0.0), jsrc.value("imag", 0.0)); + p.S.back().push_back(S); + } + } + } + points.push_back(p); + } + } +} + +std::complex CalibrationMeasurement::Isolation::getMeasured(double frequency, unsigned int portRcv, unsigned int portSrc) +{ + if(points.size() == 0 || frequency < points.front().frequency || frequency > points.back().frequency) { + return numeric_limits>::quiet_NaN(); + } + portRcv--; + portSrc--; + // find correct point, interpolate + Point interp = Util::interpolate(points, frequency, [](const Point &p)->double{ + return p.frequency; + }); + if(portRcv >= interp.S.size() || portSrc >= interp.S[portRcv].size()) { + return numeric_limits>::quiet_NaN(); + } else { + return interp.S[portRcv][portSrc]; + } +} + +std::vector CalibrationMeasurement::Isolation::getPoints() const +{ + return points; +} + +QWidget *CalibrationMeasurement::SlidingLoad::createStandardWidget() +{ + return new QLabel("Connect sliding load"); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationmeasurement.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationmeasurement.h new file mode 100644 index 0000000..51fbf3d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationmeasurement.h @@ -0,0 +1,367 @@ +#ifndef CALIBRATIONMEASUREMENT_H +#define CALIBRATIONMEASUREMENT_H + +#include "calstandard.h" +#include "Device/devicedriver.h" + +#include +#include +#include + +class Calibration; + +namespace CalibrationMeasurement { + +class Base : public QObject, public Savable +{ + Q_OBJECT +public: + Base(Calibration *cal); + + enum class Type { + Open, + Short, + Load, + SlidingLoad, + Reflect, + Through, + Isolation, + Line, + Last, + }; + + std::vector supportedStandards(); + virtual bool setFirstSupportedStandard(); + virtual bool setStandard(CalStandard::Virtual *standard); + + virtual QTableWidgetItem *getStatisticsItem(); + QString getStatistics(); + + virtual double minUsableFreq() = 0; + virtual double maxUsableFreq() = 0; + virtual double minFreq() = 0; + virtual double maxFreq() = 0; + virtual double getPointFreq(unsigned int p) = 0; + virtual unsigned int numPoints() = 0; + virtual bool readyForMeasurement() {return false;} + virtual bool readyForCalculation() {return false;} + + static std::vector availableTypes(); + static QString TypeToString(Type type); + static Type TypeFromString(QString s); + virtual std::set supportedStandardTypes() = 0; + virtual Type getType() = 0; + + virtual void clearPoints() = 0; + virtual void addPoint(const DeviceDriver::VNAMeasurement &m) = 0; + + virtual QWidget* createStandardWidget(); + virtual QWidget* createSettingsWidget() = 0; + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + virtual std::vector getPorts() = 0; + + static bool canMeasureSimultaneously(std::set measurements); + QDateTime getTimestamp() const; + + CalStandard::Virtual *getStandard() const; + +protected: +signals: + void standardChanged(CalStandard::Virtual* newStandard); +protected: + CalStandard::Virtual *standard; + QDateTime timestamp; + Calibration *cal; +}; + +class OnePort : public Base +{ + Q_OBJECT +public: + OnePort(Calibration *cal) : + Base(cal), + port(0) {} + + virtual QTableWidgetItem *getStatisticsItem() override; + + virtual double minUsableFreq() override; + virtual double maxUsableFreq() override; + virtual double minFreq() override {return points.size() > 0 ? points.front().frequency : std::numeric_limits::max();} + virtual double maxFreq() override {return points.size() > 0 ? points.back().frequency : 0;} + virtual double getPointFreq(unsigned int p) override { return p < points.size() ? points[p].frequency : 0;} + virtual unsigned int numPoints() override {return points.size();} + virtual bool readyForMeasurement() override {return standard != nullptr;} + virtual bool readyForCalculation() override {return standard && points.size() > 0;} + + virtual void clearPoints() override; + virtual void addPoint(const DeviceDriver::VNAMeasurement &m) override; + + virtual QWidget* createSettingsWidget() override; + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + virtual std::vector getPorts() override {return {port};} + + class Point { + public: + double frequency; + std::complex S; + + Point operator*(double scalar) const { + Point ret; + ret.frequency = frequency * scalar; + ret.S = S * scalar; + return ret; + } + Point operator+(const Point &p) const { + Point ret; + ret.frequency = frequency + p.frequency; + ret.S = S + p.S; + return ret; + } + }; + std::vector getPoints() const; + + std::complex getMeasured(double frequency); + std::complex getActual(double frequency); + + int getPort() const; + +public slots: + void setPort(unsigned int p); +protected: +signals: + void portChanged(int p); +protected: + unsigned int port; // starts at 1 + std::vector points; +}; + +class Open : public OnePort +{ + Q_OBJECT +public: + Open(Calibration *cal) : + OnePort(cal){setFirstSupportedStandard();} + + virtual std::set supportedStandardTypes() override {return {CalStandard::Virtual::Type::Open};} + virtual Type getType() override {return Type::Open;} +}; + +class Short : public OnePort +{ + Q_OBJECT +public: + Short(Calibration *cal) : + OnePort(cal){setFirstSupportedStandard();} + virtual std::set supportedStandardTypes() override {return {CalStandard::Virtual::Type::Short};} + virtual Type getType() override {return Type::Short;} +}; + +class Load : public OnePort +{ + Q_OBJECT +public: + Load(Calibration *cal) : + OnePort(cal){setFirstSupportedStandard();} + virtual std::set supportedStandardTypes() override {return {CalStandard::Virtual::Type::Load};} + virtual Type getType() override {return Type::Load;} +}; + +class SlidingLoad : public OnePort +{ + Q_OBJECT +public: + SlidingLoad(Calibration *cal) : + OnePort(cal){setFirstSupportedStandard();} + + virtual QWidget* createStandardWidget() override; + + virtual std::set supportedStandardTypes() override {return {};} + virtual Type getType() override {return Type::SlidingLoad;} +}; + +class Reflect : public OnePort +{ + Q_OBJECT +public: + Reflect(Calibration *cal) : + OnePort(cal){setFirstSupportedStandard();} + + virtual std::set supportedStandardTypes() override {return {CalStandard::Virtual::Type::Open, + CalStandard::Virtual::Type::Short, CalStandard::Virtual::Type::Reflect};} + virtual Type getType() override {return Type::Reflect;} +}; + +class TwoPort : public Base +{ + Q_OBJECT +public: + TwoPort(Calibration *cal) : + Base(cal), + port1(0), + port2(0), + reverseStandard(false){} + + virtual QTableWidgetItem *getStatisticsItem() override; + + virtual double minUsableFreq() override; + virtual double maxUsableFreq() override; + virtual double minFreq() override {return points.size() > 0 ? points.front().frequency : std::numeric_limits::max();} + virtual double maxFreq() override {return points.size() > 0 ? points.back().frequency : 0;} + virtual double getPointFreq(unsigned int p) override { return p < points.size() ? points[p].frequency : 0;} + virtual unsigned int numPoints() override {return points.size();} + virtual bool readyForMeasurement() override {return standard != nullptr;} + virtual bool readyForCalculation() override {return standard && points.size() > 0;} + + virtual void clearPoints() override; + virtual void addPoint(const DeviceDriver::VNAMeasurement &m) override; + + virtual QWidget* createSettingsWidget() override; + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + virtual std::vector getPorts() override {return {port1, port2};} + + class Point { + public: + double frequency; + Sparam S; + + Point operator*(double scalar) const { + Point ret; + ret.frequency = frequency * scalar; + ret.S = S * scalar; + return ret; + } + Point operator+(const Point &p) const { + Point ret; + ret.frequency = frequency + p.frequency; + ret.S = S + p.S; + return ret; + } + }; + std::vector getPoints() const; + + Sparam getMeasured(double frequency); + Sparam getActual(double frequency); + + int getPort1() const; + int getPort2() const; + + +public slots: + void setPort1(unsigned int p); + void setPort2(unsigned int p); + void setReverseStandard(bool reverse); +protected: +signals: + void port1Changed(int p); + void port2Changed(int p); + void reverseStandardChanged(bool r); +protected: + unsigned int port1, port2; // starts at 1 + bool reverseStandard; // Set to true if standard is defined with ports swapped + std::vector points; +}; + +class Through : public TwoPort +{ + Q_OBJECT +public: + Through(Calibration *cal) : + TwoPort(cal){setFirstSupportedStandard();} + virtual std::set supportedStandardTypes() override {return {CalStandard::Virtual::Type::Through};} + virtual Type getType() override {return Type::Through;} +}; + +class Isolation : public Base +{ +public: + Isolation(Calibration *cal) : + Base(cal){} + + virtual double minUsableFreq() override {return minFreq();} + virtual double maxUsableFreq() override {return maxFreq();} + virtual double minFreq() override {return points.size() > 0 ? points.front().frequency : std::numeric_limits::max();} + virtual double maxFreq() override {return points.size() > 0 ? points.back().frequency : 0;} + virtual double getPointFreq(unsigned int p) override { return p < points.size() ? points[p].frequency : 0;} + virtual unsigned int numPoints() override; + virtual bool readyForMeasurement() override {return true;} + virtual bool readyForCalculation() override {return points.size() > 0;} + + virtual void clearPoints() override; + virtual void addPoint(const DeviceDriver::VNAMeasurement &m) override; + + virtual QWidget* createStandardWidget() override; + virtual QWidget* createSettingsWidget() override; + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + virtual std::vector getPorts() override {return {};} + + class Point { + public: + double frequency; + std::vector>> S; + + Point operator*(double scalar) const { + Point ret; + ret.frequency = frequency * scalar; + for(const auto &v1 : S) { + std::vector> v; + for(const auto &s : v1) { + v.push_back(s * scalar); + } + ret.S.push_back(v); + } + return ret; + } + Point operator+(const Point &p) const { + Point ret; + ret.frequency = frequency + p.frequency; + if(S.size() != p.S.size()) { + throw std::runtime_error("Points to not have the same number of measurements"); + } + for(unsigned int i=0;i> v; + if(S[i].size() != p.S[i].size()) { + throw std::runtime_error("Points to not have the same number of measurements"); + } + for(unsigned int j=0;j getPoints() const; + + std::complex getMeasured(double frequency, unsigned int portRcv, unsigned int portSrc); + + virtual std::set supportedStandardTypes() override {return {};} + virtual Type getType() override {return Type::Isolation;} + +protected: + std::vector points; +}; + +class Line : public TwoPort +{ + Q_OBJECT +public: + Line(Calibration *cal) : + TwoPort(cal){setFirstSupportedStandard();} + virtual std::set supportedStandardTypes() override {return {CalStandard::Virtual::Type::Line};} + virtual Type getType() override {return Type::Line;} +}; + +} +#endif // CALIBRATIONMEASUREMENT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.cpp new file mode 100644 index 0000000..b79f58f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.cpp @@ -0,0 +1,314 @@ +#include "calibrationviewdialog.h" +#include "ui_calibrationviewdialog.h" + +#include +#include + +const QColor CalibrationViewDialog::colorNoCal = Qt::darkRed; +const QColor CalibrationViewDialog::colorHasCal = Qt::darkGreen; + +CalibrationViewDialog::CalibrationViewDialog(Calibration *cal, unsigned int ports, QWidget *parent) + : QDialog(parent) + , ui(new Ui::CalibrationViewDialog) + , cal(cal) + , ports(ports) +{ + setAttribute(Qt::WA_DeleteOnClose); + ui->setupUi(this); + ui->port->setMaximum(ports); + scene = new QGraphicsScene(); + populateScene(); + ui->view->setScene(scene); + + connect(ui->port, &QSpinBox::valueChanged, this, &CalibrationViewDialog::populateScene); +} + +CalibrationViewDialog::~CalibrationViewDialog() +{ + delete ui; +} + +void CalibrationViewDialog::populateScene() +{ + scene->clear(); + auto colorF = QApplication::palette().text().color(); + auto colorB = QApplication::palette().base().color(); + auto pen = QPen(colorF); + + auto drawDot = [this](float x, float y, float size, QPen pen = QPen(), QBrush brush = QBrush()) { + scene->addEllipse(x - size/2, y - size/2, size, size, pen, brush); + }; + + auto drawText = [this](float x, float y, QString s, QColor color, auto alignH = Qt::AlignCenter, auto alignV = Qt::AlignCenter, float rotation = 0.0f) { + auto text = scene->addText(s); + text->setRotation(rotation); + switch(alignH) { + default: + case Qt::AlignLeft: break; + case Qt::AlignCenter: + case Qt::AlignHCenter: x -= text->boundingRect().bottomRight().x()/2; break; + case Qt::AlignRight: x -= text->boundingRect().bottomRight().x(); break; + } + switch(alignV) { + default: + case Qt::AlignTop: break; + case Qt::AlignCenter: + case Qt::AlignVCenter: y -= text->boundingRect().bottomRight().y()/2; break; + case Qt::AlignBottom: y -= text->boundingRect().bottomRight().y(); break; + } + text->setPos(QPointF(x, y)); + text->setDefaultTextColor(color); + }; + + auto drawPath = [this, drawText](QList vertices, QColor color, QString label = QString(), bool arrow = false) { + // draw lines + for(unsigned int i=1;iaddLine(QLineF(vertices[i-1], vertices[i]), color); + if(i == vertices.size() / 2) { + // this is the middle segment, add label and arrow if required + auto midPoint = (vertices[i-1]+vertices[i])/2; + QVector2D direction = QVector2D(vertices[i] - vertices[i-1]); + direction.normalize(); + auto ortho = QVector2D(-direction.y(), direction.x()); + if(arrow) { + auto poly = QPolygonF({ + QPointF(midPoint + direction.toPointF()*arrowLength/2), + QPointF(midPoint - direction.toPointF()*arrowLength/2 + ortho.toPointF()*arrowWidth/2), + QPointF(midPoint - direction.toPointF()*arrowLength/2 - ortho.toPointF()*arrowWidth/2) + }); + scene->addPolygon(poly, color, color); + } + if(!label.isEmpty()) { + auto pos = midPoint; + if(label.startsWith("_")) { + label.remove(0, 1); + pos -= ortho.toPointF() * labelDistance; + } else { + pos += ortho.toPointF() * labelDistance; + } + auto alignH = abs(direction.x()) > abs(direction.y()) ? Qt::AlignCenter : Qt::AlignLeft; + auto alignV = abs(direction.y()) > abs(direction.x()) ? Qt::AlignCenter : Qt::AlignTop; + drawText(pos.x(), pos.y(), label, color, alignH, alignV); + } + } + } + }; + + auto DUTwidth = 2 * ports * pathSpacing; + auto DUTstartX = ports * pathSpacing + 2*boxSpacing; + + // set the overall scene size + scene->setSceneRect(0, 0, marginLeft + DUTstartX + DUTwidth + marginRight, marginTop + ports * portHeight + marginBottom); + + // create the DUT + // rectangle + scene->addRect(marginLeft + DUTstartX, marginTop, DUTwidth, ports * portHeight, pen); + drawText(marginLeft + DUTstartX + DUTwidth/2, marginTop, "DUT", colorF, Qt::AlignCenter, Qt::AlignTop); + // ports + for(unsigned int i=1;i<=ports;i++) { + // input marker + drawDot(marginLeft + DUTstartX, marginTop + i*portHeight - portHeight/2 + portForwardYOffset, portSize, colorF, colorB); + // output marker + drawDot(marginLeft + DUTstartX, marginTop + i*portHeight - portHeight/2 + portReverseYOffset, portSize, colorF, colorB); + } + // the reflection path + drawPath({ + QPointF(marginLeft + DUTstartX + portSize/2, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(marginLeft + DUTstartX + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(marginLeft + DUTstartX + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(marginLeft + DUTstartX + portSize/2, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, colorF, "_S"+QString::number(ui->port->value())+QString::number(ui->port->value()), true); + // the forward transmission paths + float xstart = marginLeft + DUTstartX + pathSpacing; + for(unsigned int i=1;i<=ports;i++) { + if((int) i == ui->port->value()) { + // skip, this is the reflection path + continue; + } + drawDot(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset, junctionSize, colorF, colorF); + drawPath({ + QPointF(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + QPointF(marginLeft + DUTstartX + portSize/2, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + }, colorF, QString((int) i > ui->port->value() ? "_" : "") + "S"+QString::number(i)+QString::number(ui->port->value()), true); + xstart += pathSpacing; + } + // the reverse transmission paths + bool first = true; + for(unsigned int i=1;i<=ports;i++) { + if((int) i == ui->port->value()) { + // skip, this is the reflection path + continue; + } + if(first) { + first = false; + drawDot(marginLeft + DUTstartX + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset, junctionSize, colorF, colorF); + drawPath({ + QPointF(marginLeft + DUTstartX + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, colorF, "", false); + } else { + drawDot(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset, junctionSize, colorF, colorF); + } + drawPath({ + QPointF(marginLeft + DUTstartX + portSize/2, marginTop + i*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + i*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, colorF, QString((int) i > ui->port->value() ? "" : "_") + "S"+QString::number(ui->port->value())+QString::number(i), true); + xstart += pathSpacing; + } + + // isolation, transmission and receiver match paths + xstart = marginLeft; + for(unsigned int i=1;i<=ports;i++) { + if((int) i == ui->port->value()) { + // skip, this is the reflection path + continue; + } + // isolation + drawDot(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset, junctionSize, colorF, colorF); + drawPath({ + QPointF(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + }, colorF); + drawPath({ + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + }, cal->hasIsolation(ui->port->value(), i) ? colorHasCal : colorNoCal, QString((int) i > ui->port->value() ? "_" : "") + "I"+QString::number(i)+QString::number(ui->port->value()), true); + drawPath({ + QPointF(xstart + pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + QPointF(marginLeft, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + }, colorF); + xstart += pathSpacing; + // transmission + drawDot(xstart, marginTop + i*portHeight - portHeight/2 + portReverseYOffset, junctionSize, colorF, colorF); + drawPath({ + QPointF(marginLeft + DUTstartX - portSize / 2, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + QPointF(marginLeft + DUTstartX - pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + }, colorF); + drawPath({ + QPointF(marginLeft + DUTstartX - pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + }, cal->hasTransmissionTracking(ui->port->value(), i) ? colorHasCal : colorNoCal, "_T"+QString::number(i)+QString::number(ui->port->value()), true); + // Reveicer match + drawDot(marginLeft + DUTstartX - pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset, junctionSize, colorF, colorF); + drawPath({ + QPointF(marginLeft + DUTstartX - pathSpacing, marginTop + i*portHeight - portHeight/2 + portReverseYOffset), + QPointF(marginLeft + DUTstartX - pathSpacing, marginTop + i*portHeight - portHeight/2 + portForwardYOffset), + QPointF(marginLeft + DUTstartX - portSize/2, marginTop + i*portHeight - portHeight/2 + portForwardYOffset), + }, cal->hasReceiverMatch(ui->port->value(), i) ? colorHasCal : colorNoCal, "L"+QString::number(i)+QString::number(ui->port->value()), true); + } + + // reflection error box + drawDot(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset, junctionSize, colorF, colorF); + drawDot(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset, junctionSize, colorF, colorF); + drawDot(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset, junctionSize, colorF, colorF); + drawDot(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset, junctionSize, colorF, colorF); + drawDot(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset, junctionSize, colorF, colorF); + // unity paths + drawPath({ + QPointF(xstart, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(marginLeft + DUTstartX - portSize/2, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + }, colorF, "", true); + drawPath({ + QPointF(marginLeft + DUTstartX - portSize/2, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, colorF); + drawPath({ + QPointF(marginLeft + portSize/2, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, colorF); + + // directivity + drawPath({ + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, cal->hasDirectivity(ui->port->value()) ? colorHasCal : colorNoCal, "_D"+QString::number(ui->port->value()), true); + + // reflection tracking + drawPath({ + QPointF(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart + pathSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + }, cal->hasReflectionTracking(ui->port->value()) ? colorHasCal : colorNoCal, "_R"+QString::number(ui->port->value()), true); + + // source match + drawPath({ + QPointF(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portReverseYOffset), + QPointF(xstart + pathSpacing + boxSpacing, marginTop + ui->port->value()*portHeight - portHeight/2 + portForwardYOffset), + }, cal->hasSourceMatch(ui->port->value()) ? colorHasCal : colorNoCal, "S"+QString::number(ui->port->value()), true); + + // create the VNA ports + for(unsigned int i=1;i<=ports;i++) { + // stimulus port + if(i == (unsigned int) ui->port->value()) { + drawDot(marginLeft, marginTop + i*portHeight - portHeight/2 + portForwardYOffset, portSize, colorF, colorB); + drawText(marginLeft - portSize/2, marginTop + i*portHeight - portHeight/2 + portForwardYOffset, "a"+QString::number(i), colorF, Qt::AlignRight, Qt::AlignCenter); + } + // output marker + drawDot(marginLeft, marginTop + i*portHeight - portHeight/2 + portReverseYOffset, portSize, colorF, colorB); + drawText(marginLeft - portSize/2, marginTop + i*portHeight - portHeight/2 + portReverseYOffset, "b"+QString::number(i), colorF, Qt::AlignRight, Qt::AlignCenter); + } + + // Fill the measurement correction table + ui->table->clear(); + ui->table->setRowCount(ports*ports); + ui->table->setColumnCount(2); + ui->table->setHorizontalHeaderLabels({"Parameter", "Calibration Status"}); + for(unsigned int i=1;i<=ports;i++) { + for(unsigned int j=1;j<=ports;j++) { + auto row = (i-1)*ports+j-1; + // add parameter + ui->table->setItem(row, 0, new QTableWidgetItem("S"+QString::number(j)+QString::number(i))); + // check the calibration status + QString status = "Uncalibrated"; + if(i == j) { + // check reflection parameters + if(cal->hasSourceMatch(i) && cal->hasDirectivity(i) && cal->hasReflectionTracking(i)) { + // we are calibrated + status = "Calibrated"; + // check if we have enhanced responses + QList enhanced; + for(unsigned int k=1;k<=ports;k++) { + if(k==i) { + continue; + } + if(cal->hasReceiverMatch(i, k)) { + enhanced.append(k); + } + } + if(enhanced.size() == 1) { + status += " with enhanced response from port "+QString::number(enhanced[0]); + } else if(enhanced.size() > 1) { + status += " with enhanced response from ports "; + for(unsigned int k=0;k 0) { + status += ", "; + } + status += QString::number(enhanced[k]); + } + } + } + } else { + // check transmission calibration + if(cal->hasTransmissionTracking(i, j)) { + // we are calibrated + status = "Calibrated"; + // check if we have isolation terms + if(cal->hasIsolation(i, j)) { + status += " with isolation measurement"; + } + } + } + // add calibration status + ui->table->setItem(row, 1, new QTableWidgetItem(status)); + } + } + ui->table->resizeColumnsToContents(); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.h new file mode 100644 index 0000000..1e4b734 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.h @@ -0,0 +1,51 @@ +#ifndef CALIBRATIONVIEWDIALOG_H +#define CALIBRATIONVIEWDIALOG_H + +#include + +#include "calibration.h" +#include + +namespace Ui { +class CalibrationViewDialog; +} + +class CalibrationViewDialog : public QDialog +{ + Q_OBJECT + +public: + explicit CalibrationViewDialog(Calibration *cal, unsigned int ports, QWidget *parent = nullptr); + ~CalibrationViewDialog(); + +private slots: + void populateScene(); +private: + static constexpr int marginTop = 10; + static constexpr int marginBottom = 10; + static constexpr int marginLeft = 30; + static constexpr int marginRight = 10; + + static constexpr int portHeight = 170; + static constexpr int portForwardYOffset = -50; + static constexpr int portReverseYOffset = 50; + static constexpr int boxSpacing = portReverseYOffset - portForwardYOffset; + + static constexpr int portSize = 10; + static constexpr int arrowLength = 15; + static constexpr int arrowWidth = 10; + static constexpr int junctionSize = 6; + static constexpr int labelDistance = 6; + + static constexpr int pathSpacing = 40; + + static const QColor colorNoCal; + static const QColor colorHasCal; + + Ui::CalibrationViewDialog *ui; + Calibration *cal; + unsigned int ports; + QGraphicsScene *scene; +}; + +#endif // CALIBRATIONVIEWDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.ui new file mode 100644 index 0000000..89a2e78 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calibrationviewdialog.ui @@ -0,0 +1,144 @@ + + + CalibrationViewDialog + + + + 0 + 0 + 1106 + 665 + + + + Calibration Error Term Model + + + + + + Qt::Orientation::Horizontal + + + + + + + + + View error term model when stimulus is at port + + + + + + + 1 + + + 8 + + + + + + + Qt::Orientation::Horizontal + + + + 40 + 20 + + + + + + + + + + <html><head/><body><p><span style='color: darkgreen;'>Green</span> error terms have been calculated from calibration measurements.</p><p><span style='color: darkred;'>Red</span> error terms are at their default values (either 1 or 0).</p></body></html> + + + + + + + QGraphicsView::DragMode::ScrollHandDrag + + + + + + + <html><head/><body><p>D: Directivity, R: Reflection tracking, S: Source match, L: Receiver match, T: Transmission tracking, I: Isolation</p></body></html> + + + true + + + + + + + + + + + Which measurements are being corrected? + + + true + + + + + + + QAbstractItemView::EditTrigger::NoEditTriggers + + + QAbstractItemView::SelectionMode::NoSelection + + + true + + + false + + + + + + + + + + + QDialogButtonBox::StandardButton::Ok + + + + + + + + + buttonBox + accepted() + CalibrationViewDialog + accept() + + + 374 + 509 + + + 374 + 265 + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkit.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkit.cpp new file mode 100644 index 0000000..652fa5c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkit.cpp @@ -0,0 +1,550 @@ +#include "calkit.h" + +#include "calkitdialog.h" +#include "json.hpp" +#include "CustomWidgets/informationbox.h" +#include "appwindow.h" +#include "Util/app_common.h" + +#include +#include +#include +#include +#include + +using json = nlohmann::json; +using namespace std; + +Calkit::Calkit() + : SCPINode("KIT"), scpi_std("STAndard") +{ + // set default values + filename = ""; + for(auto e : descr) { + e.var.setValue(e.def); + } + + add(new SCPICommand("MANufacturer", [=](QStringList params) -> QString { + if(params.size() != 1 ) { + // no new value given + return SCPI::getResultName(SCPI::Result::Error); + } + manufacturer = params[0]; + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return manufacturer; + }, false)); + add(new SCPICommand("SERial", [=](QStringList params) -> QString { + if(params.size() != 1 ) { + // no new value given + return SCPI::getResultName(SCPI::Result::Error); + } + serialnumber = params[0]; + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return serialnumber; + }, false)); + add(new SCPICommand("DESCription", [=](QStringList params) -> QString { + if(params.size() != 1 ) { + // no new value given + return SCPI::getResultName(SCPI::Result::Error); + } + description = params[0]; + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return description; + }, false)); + add(new SCPICommand("FILEname", nullptr, [=](QStringList) -> QString { + return filename; + })); + add(new SCPICommand("SAVE", [=](QStringList params) -> QString { + if(params.size() != 1 ) { + // no filename given or no calibration active + return SCPI::getResultName(SCPI::Result::Error); + } + toFile(params[0]); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr, false)); + add(new SCPICommand("LOAD", nullptr, [=](QStringList params) -> QString { + if(params.size() != 1) { + // no filename given or no calibration active + return SCPI::getResultName(SCPI::Result::False); + } + if(this->fromFile(params[0])) { + return SCPI::getResultName(SCPI::Result::True); + } else { + return SCPI::getResultName(SCPI::Result::False); + } + }, false)); + scpi_std.add(new SCPICommand("CLEAR", [=](QStringList params) -> QString { + Q_UNUSED(params); + setIdealDefault(); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + scpi_std.add(new SCPICommand("NUMber", nullptr, [=](QStringList params) -> QString { + Q_UNUSED(params); + return QString::number(standards.size()); + })); + scpi_std.add(new SCPICommand("NEW", [=](QStringList params) -> QString { + if(params.size() != 2) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto type = CalStandard::Virtual::TypeFromString(params[0]); + if(type == CalStandard::Virtual::Type::Last) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto s = CalStandard::Virtual::create(type); + if(!s) { + return SCPI::getResultName(SCPI::Result::Error); + } + s->setName(params[1]); + addStandard(s); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr, false)); + scpi_std.add(new SCPICommand("DELete", [=](QStringList params) -> QString { + unsigned long long index; + if(!SCPI::paramToULongLong(params, 0, index)) { + return SCPI::getResultName(SCPI::Result::Error); + } + if(index < 1 || index > standards.size()) { + return SCPI::getResultName(SCPI::Result::Error); + } + removeStandard(standards[index-1]); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + scpi_std.add(new SCPICommand("TYPE", nullptr, [=](QStringList params) -> QString { + unsigned long long index = 0; + if(!SCPI::paramToULongLong(params, 0, index)) { + return SCPI::getResultName(SCPI::Result::Error); + } + if(index < 1 || index > standards.size()) { + return SCPI::getResultName(SCPI::Result::Error); + } + return CalStandard::Virtual::TypeToString(standards[index-1]->getType()).replace(" ", "_"); + })); + add(&scpi_std); +} + +void Calkit::toFile(QString filename) +{ + if(!filename.endsWith(".calkit")) { + filename.append(".calkit"); + } + + qDebug() << "Saving calkit to file" << filename; + + ofstream file; + file.open(filename.toStdString()); + file << setw(4) << toJSON() << endl; + file.close(); + this->filename = filename; +} + +static QString readLine(ifstream &file) { + string line; + getline(file, line); + return QString::fromStdString(line).simplified(); +} + +bool Calkit::fromFile(QString filename) +{ + qDebug() << "Opening calkit from file" << filename; + + ifstream file; + file.open(filename.toStdString()); + if(!file.is_open()) { + qWarning() << "Unable to open file: " << filename; + return false; + } + + json j; + try { + file >> j; + } catch (exception &e) { + qWarning() << "JSON parsing error: " << QString(e.what()); + return false; + } + clearStandards(); + this->filename = ""; + if(j.contains("standards")) { + qDebug() << "new JSON format detected"; + fromJSON(j); + } else { + // older format is used + struct { + using Open = struct { + double Z0, delay, loss, C0, C1, C2, C3; + QString file; + bool useMeasurements; + int Sparam; + }; + Open open_m, open_f; + using Short = struct { + double Z0, delay, loss, L0, L1, L2, L3; + QString file; + bool useMeasurements; + int Sparam; + }; + Short short_m, short_f; + using Load = struct { + double resistance, Z0, delay, Cparallel, Lseries; + QString file; + bool useMeasurements; + int Sparam; + }; + Load load_m, load_f; + bool loadModelCFirst; + struct { + double Z0, delay, loss; + QString file; + bool useMeasurements; + int Sparam1, Sparam2; + } Through; + bool separate_male_female; + } SOLT; + struct { + struct { + double Z0; + } Through; + struct { + bool isShort; + } Reflection; + struct { + double delay, minFreq, maxFreq; + } Line; + } TRL; + if(j.contains("SOLT")) { + qDebug() << "old JSON format detected"; + // calkit file uses json format, parse + Savable::parseJSON(j, descr); + const std::vector descr_deprecated = {{ + {&SOLT.open_m.Z0, "SOLT.Open.Param.Z0", 50.0}, + {&SOLT.open_m.delay, "SOLT.Open.Param.Delay", 0.0}, + {&SOLT.open_m.loss, "SOLT.Open.Param.Loss", 0.0}, + {&SOLT.open_m.C0, "SOLT.Open.Param.C0", 0.0}, + {&SOLT.open_m.C1, "SOLT.Open.Param.C1", 0.0}, + {&SOLT.open_m.C2, "SOLT.Open.Param.C2", 0.0}, + {&SOLT.open_m.C3, "SOLT.Open.Param.C3", 0.0}, + {&SOLT.open_m.useMeasurements, "SOLT.Open.Measurements.Use", false}, + {&SOLT.open_m.file, "SOLT.Open.Measurements.File", ""}, + {&SOLT.open_m.Sparam, "SOLT.Open.Measurements.Port", 0}, + {&SOLT.open_f.Z0, "SOLT.Open.Param.Z0_Female", 50.0}, + {&SOLT.open_f.delay, "SOLT.Open.Param.Delay_Female", 0.0}, + {&SOLT.open_f.loss, "SOLT.Open.Param.Loss_Female", 0.0}, + {&SOLT.open_f.C0, "SOLT.Open.Param.C0_Female", 0.0}, + {&SOLT.open_f.C1, "SOLT.Open.Param.C1_Female", 0.0}, + {&SOLT.open_f.C2, "SOLT.Open.Param.C2_Female", 0.0}, + {&SOLT.open_f.C3, "SOLT.Open.Param.C3_Female", 0.0}, + {&SOLT.open_f.useMeasurements, "SOLT.Open.Measurements.Use_Female", false}, + {&SOLT.open_f.file, "SOLT.Open.Measurements.File_Female", ""}, + {&SOLT.open_f.Sparam, "SOLT.Open.Measurements.Port_Female", 0}, + + {&SOLT.short_m.Z0, "SOLT.Short.Param.Z0", 50.0}, + {&SOLT.short_m.delay, "SOLT.Short.Param.Delay", 0.0}, + {&SOLT.short_m.loss, "SOLT.Short.Param.Loss", 0.0}, + {&SOLT.short_m.L0, "SOLT.Short.Param.L0", 0.0}, + {&SOLT.short_m.L1, "SOLT.Short.Param.L1", 0.0}, + {&SOLT.short_m.L2, "SOLT.Short.Param.L2", 0.0}, + {&SOLT.short_m.L3, "SOLT.Short.Param.L3", 0.0}, + {&SOLT.short_m.useMeasurements, "SOLT.Short.Measurements.Use", false}, + {&SOLT.short_m.file, "SOLT.Short.Measurements.File", ""}, + {&SOLT.short_m.Sparam, "SOLT.Short.Measurements.Port", 0}, + {&SOLT.short_f.Z0, "SOLT.Short.Param.Z0_Female", 50.0}, + {&SOLT.short_f.delay, "SOLT.Short.Param.Delay_Female", 0.0}, + {&SOLT.short_f.loss, "SOLT.Short.Param.Loss_Female", 0.0}, + {&SOLT.short_f.L0, "SOLT.Short.Param.L0_Female", 0.0}, + {&SOLT.short_f.L1, "SOLT.Short.Param.L1_Female", 0.0}, + {&SOLT.short_f.L2, "SOLT.Short.Param.L2_Female", 0.0}, + {&SOLT.short_f.L3, "SOLT.Short.Param.L3_Female", 0.0}, + {&SOLT.short_f.useMeasurements, "SOLT.Short.Measurements.Use_Female", false}, + {&SOLT.short_f.file, "SOLT.Short.Measurements.File_Female", ""}, + {&SOLT.short_f.Sparam, "SOLT.Short.Measurements.Port_Female", 0}, + + {&SOLT.loadModelCFirst, "SOLT.loadModelCFirst", true}, + {&SOLT.load_m.resistance, "SOLT.Load.Param.Resistance", 50.0}, + {&SOLT.load_m.Z0, "SOLT.Load.Param.Z0", 50.0}, + {&SOLT.load_m.delay, "SOLT.Load.Param.Delay", 0.0}, + {&SOLT.load_m.Cparallel, "SOLT.Load.Param.C", 0.0}, + {&SOLT.load_m.Lseries, "SOLT.Load.Param.L", 0.0}, + {&SOLT.load_m.useMeasurements, "SOLT.Load.Measurements.Use", false}, + {&SOLT.load_m.file, "SOLT.Load.Measurements.File", ""}, + {&SOLT.load_m.Sparam, "SOLT.Load.Measurements.Port", 0}, + {&SOLT.load_f.resistance, "SOLT.Load.Param.Resistance_Female", 50.0}, + {&SOLT.load_f.Z0, "SOLT.Load.Param.Z0_Female", 50.0}, + {&SOLT.load_f.delay, "SOLT.Load.Param.Delay_Female", 0.0}, + {&SOLT.load_f.Cparallel, "SOLT.Load.Param.C_Female", 0.0}, + {&SOLT.load_f.Lseries, "SOLT.Load.Param.L_Female", 0.0}, + {&SOLT.load_f.useMeasurements, "SOLT.Load.Measurements.Use_Female", false}, + {&SOLT.load_f.file, "SOLT.Load.Measurements.File_Female", ""}, + {&SOLT.load_f.Sparam, "SOLT.Load.Measurements.Port_Female", 0}, + + {&SOLT.Through.Z0, "SOLT.Through.Param.Z0", 50.0}, + {&SOLT.Through.delay, "SOLT.Through.Param.Delay", 0.0}, + {&SOLT.Through.loss, "SOLT.Through.Param.Loss", 0.0}, + {&SOLT.Through.useMeasurements, "SOLT.Through.Measurements.Use", false}, + {&SOLT.Through.file, "SOLT.Through.Measurements.File", ""}, + {&SOLT.Through.Sparam1, "SOLT.Through.Measurements.Port1", 0}, + {&SOLT.Through.Sparam2, "SOLT.Through.Measurements.Port2", 1}, + + {&SOLT.separate_male_female, "SOLT.SeparateMaleFemale", false}, + + {&TRL.Through.Z0, "TRL.Through.Z0", 50.0}, + {&TRL.Reflection.isShort, "TRL.Reflect.isShort", false}, + {&TRL.Line.delay, "TRL.Line.Delay", 74.0}, + {&TRL.Line.minFreq, "TRL.Line.minFreq", 751000000.0}, + {&TRL.Line.maxFreq, "TRL.Line.maxFreq", 6000000000.0}, + }}; + Savable::parseJSON(j, descr_deprecated); + } else { + qDebug() << "Legacy format detected"; + // legacy file format, return to beginning of file + file.clear(); + file.seekg(0); + SOLT.open_m.useMeasurements = readLine(file).toInt(); + SOLT.short_m.useMeasurements = readLine(file).toInt(); + SOLT.load_m.useMeasurements = readLine(file).toInt(); + SOLT.Through.useMeasurements = readLine(file).toInt(); + SOLT.open_m.Z0 = readLine(file).toDouble(); + SOLT.open_m.delay = readLine(file).toDouble(); + SOLT.open_m.loss = readLine(file).toDouble(); + SOLT.open_m.C0 = readLine(file).toDouble(); + SOLT.open_m.C1 = readLine(file).toDouble(); + SOLT.open_m.C2 = readLine(file).toDouble(); + SOLT.open_m.C3 = readLine(file).toDouble(); + SOLT.short_m.Z0 = readLine(file).toDouble(); + SOLT.short_m.delay = readLine(file).toDouble(); + SOLT.short_m.loss = readLine(file).toDouble(); + SOLT.short_m.L0 = readLine(file).toDouble(); + SOLT.short_m.L1 = readLine(file).toDouble(); + SOLT.short_m.L2 = readLine(file).toDouble(); + SOLT.short_m.L3 = readLine(file).toDouble(); + SOLT.load_m.resistance = readLine(file).toDouble(); + SOLT.Through.Z0 = readLine(file).toDouble(); + SOLT.Through.delay = readLine(file).toDouble(); + SOLT.Through.loss = readLine(file).toDouble(); + if(SOLT.open_m.useMeasurements) { + SOLT.open_m.file = readLine(file); + SOLT.open_m.Sparam = readLine(file).toInt(); + } + if(SOLT.short_m.useMeasurements) { + SOLT.short_m.file = readLine(file); + SOLT.short_m.Sparam = readLine(file).toInt(); + } + if(SOLT.load_m.useMeasurements) { + SOLT.load_m.file = readLine(file); + SOLT.load_m.Sparam = readLine(file).toInt(); + } + if(SOLT.Through.useMeasurements) { + SOLT.Through.file = readLine(file); + SOLT.Through.Sparam1 = readLine(file).toInt(); + SOLT.Through.Sparam2 = readLine(file).toInt(); + } + TRL.Through.Z0 = readLine(file).toDouble(); + TRL.Reflection.isShort = readLine(file).toDouble(); + TRL.Line.delay = readLine(file).toDouble(); + TRL.Line.minFreq = readLine(file).toDouble(); + TRL.Line.maxFreq = readLine(file).toDouble(); + + SOLT.separate_male_female = false; + SOLT.loadModelCFirst = false; + } + + vector filenames = {&SOLT.short_m.file, &SOLT.open_m.file, &SOLT.load_m.file, &SOLT.short_f.file, &SOLT.open_f.file, &SOLT.load_f.file, &SOLT.Through.file}; + QFileInfo d(filename); + for(auto f : filenames) { + if(f->isEmpty()) { + continue; + } + if(QFileInfo(*f).isRelative()) { + auto absDir = QDir(d.dir().path() + "/" + *f); + QString buf = *f; + *f = absDir.absolutePath(); + } + } + + // create standards from old calkit forma + auto open_m = new CalStandard::Open(SOLT.separate_male_female ? "Default male standard" : "Default standard", SOLT.open_m.Z0, SOLT.open_m.delay, SOLT.open_m.loss, SOLT.open_m.C0, SOLT.open_m.C1, SOLT.open_m.C2, SOLT.open_m.C3); + if(SOLT.open_m.useMeasurements) { + auto ts = Touchstone(1); + ts.fromFile(SOLT.open_m.file.toStdString()); + open_m->setMeasurement(ts, SOLT.open_m.Sparam); + } + addStandard(open_m); + if(SOLT.separate_male_female) { + auto open_f = new CalStandard::Open("Default female standard", SOLT.open_f.Z0, SOLT.open_f.delay, SOLT.open_f.loss, SOLT.open_f.C0, SOLT.open_f.C1, SOLT.open_f.C2, SOLT.open_f.C3); + if(SOLT.open_f.useMeasurements) { + auto ts = Touchstone(1); + ts.fromFile(SOLT.open_f.file.toStdString()); + open_m->setMeasurement(ts, SOLT.open_f.Sparam); + } + addStandard(open_f); + } + + auto short_m = new CalStandard::Short(SOLT.separate_male_female ? "Default male standard" : "Default standard", SOLT.short_m.Z0, SOLT.short_m.delay, SOLT.short_m.loss, SOLT.short_m.L0, SOLT.short_m.L1, SOLT.short_m.L2, SOLT.short_m.L3); + if(SOLT.short_m.useMeasurements) { + auto ts = Touchstone(1); + ts.fromFile(SOLT.short_m.file.toStdString()); + short_m->setMeasurement(ts, SOLT.short_m.Sparam); + } + addStandard(short_m); + if(SOLT.separate_male_female) { + auto short_f = new CalStandard::Short("Default female standard", SOLT.short_f.Z0, SOLT.short_f.delay, SOLT.short_f.loss, SOLT.short_f.L0, SOLT.short_f.L1, SOLT.short_f.L2, SOLT.short_f.L3); + if(SOLT.short_f.useMeasurements) { + auto ts = Touchstone(1); + ts.fromFile(SOLT.short_f.file.toStdString()); + short_m->setMeasurement(ts, SOLT.short_f.Sparam); + } + addStandard(short_f); + } + + auto load_m = new CalStandard::Load(SOLT.separate_male_female ? "Default male standard" : "Default standard", SOLT.load_m.Z0, SOLT.load_m.delay, 0.0, SOLT.load_m.resistance, SOLT.load_m.Cparallel, SOLT.load_m.Lseries, SOLT.loadModelCFirst); + if(SOLT.load_m.useMeasurements) { + auto ts = Touchstone(1); + ts.fromFile(SOLT.load_m.file.toStdString()); + load_m->setMeasurement(ts, SOLT.load_m.Sparam); + } + addStandard(load_m); + if(SOLT.separate_male_female) { + auto load_f = new CalStandard::Load("Default female standard", SOLT.load_m.Z0, SOLT.load_f.delay, 0.0, SOLT.load_f.resistance, SOLT.load_f.Cparallel, SOLT.load_f.Lseries, SOLT.loadModelCFirst); + if(SOLT.load_f.useMeasurements) { + auto ts = Touchstone(1); + ts.fromFile(SOLT.load_f.file.toStdString()); + load_m->setMeasurement(ts, SOLT.load_f.Sparam); + } + addStandard(load_f); + } + + auto through = new CalStandard::Through("Default standard", SOLT.Through.Z0, SOLT.Through.delay, SOLT.Through.loss); + if(SOLT.Through.useMeasurements) { + auto ts = Touchstone(2); + ts.fromFile(SOLT.Through.file.toStdString()); + through->setMeasurement(ts, SOLT.Through.Sparam1, SOLT.Through.Sparam2); + } + addStandard(through); + + InformationBox::ShowMessage("Loading calkit file", "The file \"" + filename + "\" is stored in a deprecated" + " calibration kit format. Future versions of this application might not support" + " it anymore. Please save the calibration kit to update to the new format"); + } + + file.close(); + this->filename = filename; + updateSCPINames(); + + return true; +} + +void Calkit::edit(std::function updateCal) +{ + auto dialog = new CalkitDialog(*this); + if(updateCal) { + QObject::connect(dialog, &CalkitDialog::settingsChanged, [=](){ + updateCal(); + }); + } + if(AppWindow::showGUI()) { + dialog->show(); + } +} + +void Calkit::clearStandards() +{ + while(standards.size() > 0) { + removeStandard(standards[0]); + } +} + +void Calkit::updateSCPINames() +{ + // Need to remove all standards from the subnode list first, otherwise + // name changes wouldn't work due to temporarily name collisions + for(auto &s : standards) { + scpi_std.remove(s); + } + unsigned int i=1; + for(auto s : standards) { + s->changeName(QString::number(i)); + scpi_std.add(s); + i++; + } +} + +std::vector Calkit::getStandards() const +{ + return standards; +} + +void Calkit::addStandard(CalStandard::Virtual *s) +{ + // check for ID collisions. This should never happen but would mess up further + // usage of the standards. Better to catch this now and throw an error + for(auto comp : standards) { + if(comp->getID() == s->getID()) { + // collision, do not add + InformationBox::ShowError("Calibration standard ID collision", "New standard \"" + +s->getName()+"\" of type \""+CalStandard::Virtual::TypeToString(s->getType()) + +"\" has the same ID as already existing standard \"" + +comp->getName()+"\" of type \""+CalStandard::Virtual::TypeToString(comp->getType()) + +"\" (ID="+QString::number(s->getID())+"). It will be removed from the calibration kit"); + return; + } + } + standards.push_back(s); + updateSCPINames(); +} + +void Calkit::removeStandard(CalStandard::Virtual *s) +{ + standards.erase(std::remove(standards.begin(), standards.end(), s), standards.end()); + delete s; + updateSCPINames(); +} + +nlohmann::json Calkit::toJSON() +{ + json j = Savable::createJSON(descr); + nlohmann::json jstandards; + for(auto s : standards) { + nlohmann::json jstandard; + jstandard["type"] = CalStandard::Virtual::TypeToString(s->getType()).toStdString(); + jstandard["params"] = s->toJSON(); + jstandards.push_back(jstandard); + } + j["standards"] = jstandards; + j["version"] = qlibrevnaApp->applicationVersion().toStdString(); + return j; +} + +void Calkit::fromJSON(nlohmann::json j) +{ + clearStandards(); + filename = ""; + Savable::parseJSON(j, descr); + for(auto js : j["standards"]) { + if(!js.contains("type") || !js.contains("params")) { + // missing fields + continue; + } + auto type = CalStandard::Virtual::TypeFromString(QString::fromStdString(js.value("type", ""))); + if(type == CalStandard::Virtual::Type::Last) { + // failed to parse type + continue; + } + auto s = CalStandard::Virtual::create(type); + s->fromJSON(js["params"]); + addStandard(s); + } + updateSCPINames(); +} + +void Calkit::setIdealDefault() +{ + manufacturer = "LibreVNA"; + description = "Default calibration kit with ideal standards"; + clearStandards(); + addStandard(new CalStandard::Open("Ideal Open Standard", 50.0, 0, 0, 0, 0, 0, 0)); + addStandard(new CalStandard::Short("Ideal Short Standard", 50.0, 0, 0, 0, 0, 0, 0)); + addStandard(new CalStandard::Load("Ideal Load Standard", 50.0, 0, 0, 50.0, 0, 0)); + addStandard(new CalStandard::Through("Ideal Through Standard", 50.0, 0, 0)); + updateSCPINames(); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkit.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkit.h new file mode 100644 index 0000000..ed76c7f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkit.h @@ -0,0 +1,67 @@ +#ifndef CALKIT_H +#define CALKIT_H + +#include "touchstone.h" +#include "Util/qpointervariant.h" +#include "calstandard.h" +#include "savable.h" +#include "scpi.h" + +#include "LibreCAL/caldevice.h" + +#include +#include +#include + +class Calkit : public Savable, public SCPINode +{ + friend class CalkitDialog; + friend class LibreCALDialog; +public: + Calkit(); + Calkit(const Calkit&) = delete; + Calkit& operator= (const Calkit&) = delete; + + class SOLT { + public: + std::complex Open; + std::complex Short; + std::complex Load; + std::complex ThroughS11, ThroughS12, ThroughS21, ThroughS22; + }; + + class TRL { + public: + bool reflectionIsNegative; + std::complex ThroughS11, ThroughS12, ThroughS21, ThroughS22; + }; + + void toFile(QString filename); + bool fromFile(QString filename); + void edit(std::function updateCal = nullptr); + + std::vector getStandards() const; + void addStandard(CalStandard::Virtual* s); + void removeStandard(CalStandard::Virtual* s); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + void setIdealDefault(); + +private: + void clearStandards(); + void updateSCPINames(); + QString manufacturer, serialnumber, description; + QString filename; + SCPINode scpi_std; + std::vector standards; + + const std::vector descr = {{ + {&manufacturer, "Manufacturer", ""}, + {&serialnumber, "Serialnumber", ""}, + {&description, "Description", ""}, + }}; +}; + +#endif // CALKIT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.cpp new file mode 100644 index 0000000..54c9a21 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.cpp @@ -0,0 +1,158 @@ +#include "calkitdialog.h" + +#include "ui_calkitdialog.h" +#include "CustomWidgets/informationbox.h" +#include "preferences.h" + +#include +#include +#include +#include +#include +#include +#include +#include + +using namespace std; + +CalkitDialog::CalkitDialog(Calkit &c, QWidget *parent) : + QDialog(parent), + ui(new Ui::CalkitDialog), + kit(c) +{ + ui->setupUi(this); + + updateEntries(); + + connect(ui->bDelete, &QPushButton::clicked, [=](){ + auto row = ui->list->currentRow(); + if(row >= 0) { + kit.removeStandard(kit.standards[row]); + updateStandardList(); + } + }); + + connect(ui->bMoveUp, &QPushButton::clicked, [=](){ + auto row = ui->list->currentRow(); + if(row >= 1) { + swap(kit.standards[row], kit.standards[row-1]); + ui->list->setCurrentRow(row-1); + updateStandardList(); + kit.updateSCPINames(); + } + }); + + connect(ui->bMoveDown, &QPushButton::clicked, [=](){ + auto row = ui->list->currentRow(); + if(row < ui->list->count() - 1) { + swap(kit.standards[row], kit.standards[row+1]); + ui->list->setCurrentRow(row+1); + updateStandardList(); + kit.updateSCPINames(); + } + }); + + connect(ui->list, &QListWidget::currentRowChanged, this, &CalkitDialog::updateListEditButtons); + + auto addMenu = new QMenu(); + for(auto t : CalStandard::Virtual::availableTypes()) { + auto action = new QAction(CalStandard::Virtual::TypeToString(t)); + connect(action, &QAction::triggered, [=](){ + auto newStandard = CalStandard::Virtual::create(t); + if(newStandard) { + kit.addStandard(newStandard); + updateStandardList(); + // start the edit dialog of the newly created standard + kit.standards.back()->edit(bind(&CalkitDialog::updateStandardList, this)); + } + }); + addMenu->addAction(action); + } + + ui->bAdd->setMenu(addMenu); + + updateStandardList(); + + connect(ui->list, &QListWidget::doubleClicked, [=](const QModelIndex &index){ + if(!index.isValid()) { + return; + } + kit.standards[index.row()]->edit(bind(&CalkitDialog::updateStandardList, this)); + }); + + connect(ui->buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked, [this]() { + parseEntries(); + emit settingsChanged(); + }); + connect(ui->buttonBox->button(QDialogButtonBox::Ok), &QPushButton::clicked, [this]() { + parseEntries(); + emit settingsChanged(); + accept(); + }); + connect(ui->buttonBox->button(QDialogButtonBox::Open), &QPushButton::clicked, [=](){ + auto filename = QFileDialog::getOpenFileName(this, "Open calibration kit coefficients", Preferences::getInstance().UISettings.Paths.calkit, "Calibration kit files (*.calkit)", nullptr, Preferences::QFileDialogOptions()); + if(filename.length() > 0) { + Preferences::getInstance().UISettings.Paths.calkit = QFileInfo(filename).path(); + try { + kit.fromFile(filename); + } catch (runtime_error &e) { + InformationBox::ShowError("Error", "The calibration kit file could not be parsed (" + QString(e.what()) + ")"); + qWarning() << "Parsing of calibration kit failed while opening calibration file: " << e.what(); + } + updateEntries(); + updateStandardList(); + } + }); + + connect(ui->buttonBox->button(QDialogButtonBox::Save), &QPushButton::clicked, [=](){ + auto filename = QFileDialog::getSaveFileName(this, "Save calibration kit coefficients", Preferences::getInstance().UISettings.Paths.calkit, "Calibration kit files (*.calkit)", nullptr, Preferences::QFileDialogOptions()); + if(filename.length() > 0) { + Preferences::getInstance().UISettings.Paths.calkit = QFileInfo(filename).path(); + parseEntries(); + kit.toFile(filename); + } + }); +} + +CalkitDialog::~CalkitDialog() +{ + delete ui; +} + +void CalkitDialog::updateListEditButtons() +{ + ui->bDelete->setEnabled(ui->list->currentRow() >= 0); + ui->bMoveUp->setEnabled(ui->list->currentRow() >= 1); + ui->bMoveDown->setEnabled(ui->list->currentRow() >= 0 && ui->list->currentRow() < ui->list->count() - 1); +} + +void CalkitDialog::parseEntries() +{ + kit.manufacturer = ui->manufacturer->text(); + kit.serialnumber = ui->serialnumber->text(); + kit.description = ui->description->toPlainText(); +} + +void CalkitDialog::updateEntries() +{ + ui->manufacturer->setText(kit.manufacturer); + ui->serialnumber->setText(kit.serialnumber); + ui->description->setPlainText(kit.description); +} + +void CalkitDialog::updateStandardList() +{ + auto row = ui->list->currentRow(); + ui->list->clear(); + for(auto s : kit.standards) { + ui->list->addItem(s->getDescription()); + } + if(row >= 0) { + if(row < ui->list->count()) { + ui->list->setCurrentRow(row); + } else if(ui->list->count() > 0) { + ui->list->setCurrentRow(ui->list->count() - 1); + } + } + updateListEditButtons(); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.h new file mode 100644 index 0000000..4e3208a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.h @@ -0,0 +1,36 @@ +#ifndef CALKITDIALOG_H +#define CALKITDIALOG_H + +#include "calkit.h" + +#include +#include +#include +#include + +namespace Ui { +class CalkitDialog; +} + +class CalkitDialog : public QDialog +{ + Q_OBJECT + +public: + explicit CalkitDialog(Calkit &c, QWidget *parent = nullptr); + ~CalkitDialog(); + +signals: + void settingsChanged(); +private slots: + void updateListEditButtons(); +private: + void parseEntries(); + void updateEntries(); + void updateStandardList(); + Ui::CalkitDialog *ui; + + Calkit &kit; +}; + +#endif // CALKITDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.ui new file mode 100644 index 0000000..6a3bf58 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calkitdialog.ui @@ -0,0 +1,212 @@ + + + CalkitDialog + + + Qt::ApplicationModal + + + + 0 + 0 + 648 + 530 + + + + + 0 + 0 + + + + Calibration Kit Coefficients + + + false + + + false + + + + + + + + Manufacturer: + + + + + + + + + + Serial number: + + + + + + + + + + + + + + + + Description: + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + Standards + + + + + + + + + + + + 0 + 0 + + + + Add + + + + + + + :/icons/add.png:/icons/add.png + + + + + + + false + + + + 0 + 0 + + + + Delete + + + + + + + :/icons/remove.png:/icons/remove.png + + + + + + + false + + + Move up + + + + + + + :/icons/up.png:/icons/up.png + + + + + + + false + + + Move down + + + + + + + :/icons/down.png:/icons/down.png + + + + + + + Qt::Vertical + + + + 18 + 186 + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Apply|QDialogButtonBox::Ok|QDialogButtonBox::Open|QDialogButtonBox::Save + + + false + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calstandard.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calstandard.cpp new file mode 100644 index 0000000..ffcaf8e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calstandard.cpp @@ -0,0 +1,920 @@ +#include "calstandard.h" +#include "ui_CalStandardOpenEditDialog.h" +#include "ui_CalStandardShortEditDialog.h" +#include "ui_CalStandardLoadEditDialog.h" +#include "ui_CalStandardReflectEditDialog.h" +#include "ui_CalStandardThroughEditDialog.h" +#include "ui_CalStandardLineEditDialog.h" +#include "unit.h" +#include "Util/util.h" + +using namespace std; +using namespace CalStandard; + +Virtual::Virtual(QString name) : + SCPINode(name), + name(name), + minFreq(std::numeric_limits::lowest()), + maxFreq(std::numeric_limits::max()) +{ + id = Util::random(numeric_limits::max()); +} + +Virtual *Virtual::create(Virtual::Type type) +{ + switch(type) { + case Type::Open: return new Open; + case Type::Short: return new Short; + case Type::Load: return new Load; + case Type::Reflect: return new Reflect; + case Type::Through: return new Through; + case Type::Line: return new Line; + case Type::Last: + break; + } + return nullptr; +} + +std::vector Virtual::availableTypes() +{ + std::vector ret; + for(int i=0;i<(int) Type::Last;i++) { + ret.push_back((Type) i); + } + return ret; +} + +QString Virtual::TypeToString(Virtual::Type type) +{ + switch(type) { + case Type::Open: return "Open"; + case Type::Short: return "Short"; + case Type::Load: return "Load"; + case Type::Reflect: return "Reflect"; + case Type::Through: return "Through"; + case Type::Line: return "Line"; + case Type::Last: return "Invalid"; + } + return "Invalid"; +} + +Virtual::Type Virtual::TypeFromString(QString s) +{ + for(int i=0;i<(int) Type::Last;i++) { + if(TypeToString((Type) i).compare(s, Qt::CaseInsensitive) == 0) { + return (Type) i; + } + } + return Type::Last; +} + +QString Virtual::getDescription() +{ + return TypeToString(getType())+", "+name; +} + +nlohmann::json Virtual::toJSON() +{ + nlohmann::json j; + j["name"] = name.toStdString(); + j["id"] = id; + return j; +} + +void Virtual::fromJSON(nlohmann::json j) +{ + name = QString::fromStdString(j.value("name", "")); + id = j.value("id", id); +} + +unsigned long long Virtual::getID() +{ + return id; +} + +QString Virtual::getName() const +{ + return name; +} + +void Virtual::setName(const QString &value) +{ + name = value; +} + +void Virtual::setupSCPI() +{ + addStringParameter("NAME", name); +} + +void OnePort::setMeasurement(const Touchstone &ts, int port) +{ + if(!touchstone) { + touchstone = new Touchstone(ts); + } else { + *touchstone = ts; + } + if(touchstone->ports() > 1) { + touchstone->reduceTo1Port(port); + } + minFreq = touchstone->minFreq(); + maxFreq = touchstone->maxFreq(); +} + +void OnePort::clearMeasurement() +{ + delete touchstone; + touchstone = nullptr; + minFreq = std::numeric_limits::lowest(); + maxFreq = std::numeric_limits::max(); +} + +nlohmann::json OnePort::toJSON() +{ + auto j = Virtual::toJSON(); + if(touchstone) { + j["touchstone"] = touchstone->toJSON(); + } + return j; +} + +void OnePort::fromJSON(nlohmann::json j) +{ + Virtual::fromJSON(j); + if(j.contains("touchstone")) { + Touchstone ts(1); + ts.fromJSON(j["touchstone"]); + setMeasurement(ts); + } +} + +void OnePort::setupSCPI() +{ + add(new SCPICommand("FILE", [=](QStringList params) -> QString { + if(params.size() < 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + try { + auto ts = Touchstone::fromFile(params[0].toStdString()); + unsigned long long index = 0; + if(params.size() == 2) { + if(!SCPI::paramToULongLong(params, 1, index)) { + return SCPI::getResultName(SCPI::Result::Error); + } + } + setMeasurement(ts, index-1); + return SCPI::getResultName(SCPI::Result::Empty); + } catch(const std::exception& e) { + // failed to load file + return SCPI::getResultName(SCPI::Result::Error); + } + }, nullptr, false)); + Virtual::setupSCPI(); +} + +Open::Open() +{ + Z0 = 50.0; + delay = loss = C0 = C1 = C2 = C3 = 0.0; + setupSCPI(); +} + +std::complex Open::toS11(double freq) +{ + if(touchstone) { + return touchstone->interpolate(freq).S[0]; + } else { + // calculate fringing capacitance for open + double Cfringing = C0 * 1e-15 + C1 * 1e-27 * freq + C2 * 1e-36 * pow(freq, 2) + C3 * 1e-45 * pow(freq, 3); + // convert to impedance + complex open; + if (Cfringing == 0) { + // special case to avoid issues with infinity + open = complex(1.0, 0); + } else { + auto imp_open = complex(0, -1.0 / (freq * 2 * M_PI * Cfringing)); + open = (imp_open - complex(50.0)) / (imp_open + complex(50.0)); + } + return Util::addTransmissionLine(open, Z0, delay*1e-12, loss*1e9, freq); + } +} + +void Open::edit(std::function finishedCallback) +{ + auto d = new QDialog; + auto ui = new Ui::CalStandardOpenEditDialog; + ui->setupUi(d); + + ui->name->setText(name); + ui->Z0->setUnit("Ω"); + ui->Z0->setPrecision(4); + ui->Z0->setValue(Z0); + ui->delay->setValue(delay); + ui->loss->setValue(loss); + ui->C0->setValue(C0); + ui->C1->setValue(C1); + ui->C2->setValue(C2); + ui->C3->setValue(C3); + + auto updateMeasurementLabel = [=](){ + QString label; + if(touchstone) { + label = QString::number(touchstone->points())+" points from "+Unit::ToString(touchstone->minFreq(), "Hz", " kMG")+" to "+Unit::ToString(touchstone->maxFreq(), "Hz", " kMG"); + } else { + label = "No measurements stored yet"; + } + ui->measurementLabel->setText(label); + }; + + QObject::connect(ui->coefficients, &QRadioButton::toggled, [=](bool checked) { + if(checked) { + clearMeasurement(); + } + ui->stackedWidget->setCurrentIndex(checked ? 0 : 1); + }); + QObject::connect(ui->measurement, &QRadioButton::toggled, [=](bool checked) { + updateMeasurementLabel(); + ui->stackedWidget->setCurrentIndex(checked ? 1 : 0); + }); + + QObject::connect(ui->touchstoneImport, &TouchstoneImport::statusChanged, ui->updateFile, &QPushButton::setEnabled); + + ui->touchstoneImport->setPorts(1); + if(touchstone) { + ui->measurement->setChecked(true); + ui->touchstoneImport->setFile(touchstone->getFilename()); + } else { + ui->coefficients->setChecked(true); + } + + QObject::connect(ui->updateFile, &QPushButton::clicked, [=](){ + setMeasurement(ui->touchstoneImport->getTouchstone(), ui->touchstoneImport->getPorts()[0]); + updateMeasurementLabel(); + }); + + QObject::connect(d, &QDialog::accepted, [=](){ + name = ui->name->text(); + Z0 = ui->Z0->value(); + delay = ui->delay->value(); + loss = ui->loss->value(); + C0 = ui->C0->value(); + C1 = ui->C1->value(); + C2 = ui->C2->value(); + C3 = ui->C3->value(); + if(finishedCallback) { + finishedCallback(); + } + }); + + d->show(); +} + +nlohmann::json Open::toJSON() +{ + auto j = OnePort::toJSON(); + j["Z0"] = Z0; + j["delay"] = delay; + j["loss"] = loss; + j["C0"] = C0; + j["C1"] = C1; + j["C2"] = C2; + j["C3"] = C3; + return j; +} + +void Open::fromJSON(nlohmann::json j) +{ + OnePort::fromJSON(j); + Z0 = j.value("Z0", 50.0); + delay = j.value("delay", 0.0); + loss = j.value("loss", 0.0); + C0 = j.value("C0", 0.0); + C1 = j.value("C1", 0.0); + C2 = j.value("C2", 0.0); + C3 = j.value("C3", 0.0); +} + +void Open::setupSCPI() +{ + addDoubleParameter("Z0", Z0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("DELAY", delay, true, true, [=](){clearMeasurement();}); + addDoubleParameter("LOSS", loss, true, true, [=](){clearMeasurement();}); + addDoubleParameter("C0", C0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("C1", C1, true, true, [=](){clearMeasurement();}); + addDoubleParameter("C2", C2, true, true, [=](){clearMeasurement();}); + addDoubleParameter("C3", C3, true, true, [=](){clearMeasurement();}); + OnePort::setupSCPI(); +} + +Short::Short() +{ + Z0 = 50.0; + delay = loss = L0 = L1 = L2 = L3 = 0.0; + setupSCPI(); +} + +std::complex Short::toS11(double freq) +{ + if(touchstone) { + return touchstone->interpolate(freq).S[0]; + } else { + // calculate inductance for short + double Lseries = L0 * 1e-12 + L1 * 1e-24 * freq + L2 * 1e-33 * pow(freq, 2) + L3 * 1e-42 * pow(freq, 3); + // convert to impedance + auto imp_short = complex(0, freq * 2 * M_PI * Lseries); + complex _short = (imp_short - complex(50.0)) / (imp_short + complex(50.0)); + return Util::addTransmissionLine(_short, Z0, delay*1e-12, loss*1e9, freq); + } +} + +void Short::edit(std::function finishedCallback) +{ + auto d = new QDialog; + auto ui = new Ui::CalStandardShortEditDialog; + ui->setupUi(d); + + ui->name->setText(name); + ui->Z0->setUnit("Ω"); + ui->Z0->setPrecision(4); + ui->Z0->setValue(Z0); + ui->delay->setValue(delay); + ui->loss->setValue(loss); + ui->L0->setValue(L0); + ui->L1->setValue(L1); + ui->L2->setValue(L2); + ui->L3->setValue(L3); + + auto updateMeasurementLabel = [=](){ + QString label; + if(touchstone) { + label = QString::number(touchstone->points())+" points from "+Unit::ToString(touchstone->minFreq(), "Hz", " kMG")+" to "+Unit::ToString(touchstone->maxFreq(), "Hz", " kMG"); + } else { + label = "No measurements stored yet"; + } + ui->measurementLabel->setText(label); + }; + + QObject::connect(ui->coefficients, &QRadioButton::toggled, [=](bool checked) { + if(checked) { + clearMeasurement(); + } + ui->stackedWidget->setCurrentIndex(checked ? 0 : 1); + }); + QObject::connect(ui->measurement, &QRadioButton::toggled, [=](bool checked) { + updateMeasurementLabel(); + ui->stackedWidget->setCurrentIndex(checked ? 1 : 0); + }); + + QObject::connect(ui->touchstoneImport, &TouchstoneImport::statusChanged, ui->updateFile, &QPushButton::setEnabled); + + ui->touchstoneImport->setPorts(1); + if(touchstone) { + ui->measurement->setChecked(true); + ui->touchstoneImport->setFile(touchstone->getFilename()); + } else { + ui->coefficients->setChecked(true); + } + + QObject::connect(ui->updateFile, &QPushButton::clicked, [=](){ + setMeasurement(ui->touchstoneImport->getTouchstone(), ui->touchstoneImport->getPorts()[0]); + updateMeasurementLabel(); + }); + + QObject::connect(d, &QDialog::accepted, [=](){ + name = ui->name->text(); + Z0 = ui->Z0->value(); + delay = ui->delay->value(); + loss = ui->loss->value(); + L0 = ui->L0->value(); + L1 = ui->L1->value(); + L2 = ui->L2->value(); + L3 = ui->L3->value(); + if(finishedCallback) { + finishedCallback(); + } + }); + + d->show(); +} + +nlohmann::json Short::toJSON() +{ + auto j = OnePort::toJSON(); + j["Z0"] = Z0; + j["delay"] = delay; + j["loss"] = loss; + j["L0"] = L0; + j["L1"] = L1; + j["L2"] = L2; + j["L3"] = L3; + return j; +} + +void Short::fromJSON(nlohmann::json j) +{ + OnePort::fromJSON(j); + Z0 = j.value("Z0", 50.0); + delay = j.value("delay", 0.0); + loss = j.value("loss", 0.0); + L0 = j.value("L0", 0.0); + L1 = j.value("L1", 0.0); + L2 = j.value("L2", 0.0); + L3 = j.value("L3", 0.0); +} + +void Short::setupSCPI() +{ + addDoubleParameter("Z0", Z0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("DELAY", delay, true, true, [=](){clearMeasurement();}); + addDoubleParameter("LOSS", loss, true, true, [=](){clearMeasurement();}); + addDoubleParameter("L0", L0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("L1", L1, true, true, [=](){clearMeasurement();}); + addDoubleParameter("L2", L2, true, true, [=](){clearMeasurement();}); + addDoubleParameter("L3", L3, true, true, [=](){clearMeasurement();}); + OnePort::setupSCPI(); +} + +Load::Load() +{ + Z0 = 50.0; + resistance = 50.0; + delay = Cparallel = Lseries = 0; + Cfirst = true; + setupSCPI(); +} + +std::complex Load::toS11(double freq) +{ + if(touchstone) { + return touchstone->interpolate(freq).S[0]; + } else { + auto imp_load = complex(resistance, 0); + if (Cfirst) { + // C is the first parameter starting from the VNA port. But the load is modeled here starting from + // the other end, so we need to start with the inductor + imp_load += complex(0, freq * 2 * M_PI * Lseries); + } + // Add parallel capacitor to impedance + if(Cparallel > 0) { + auto imp_C = complex(0, -1.0 / (freq * 2 * M_PI * Cparallel)); + imp_load = (imp_load * imp_C) / (imp_load + imp_C); + } + if (!Cfirst) { + // inductor not added yet, do so now + imp_load += complex(0, freq * 2 * M_PI * Lseries); + } + complex load = (imp_load - complex(50.0)) / (imp_load + complex(50.0)); + return Util::addTransmissionLine(load, Z0, delay*1e-12, loss*1e9, freq); + } +} + +void Load::edit(std::function finishedCallback) +{ + auto d = new QDialog; + auto ui = new Ui::CalStandardLoadEditDialog; + ui->setupUi(d); + + ui->name->setText(name); + ui->resistance->setUnit("Ω"); + ui->resistance->setPrecision(4); + ui->resistance->setValue(resistance); + ui->Z0->setUnit("Ω"); + ui->Z0->setPrecision(4); + ui->Z0->setValue(Z0); + ui->delay->setValue(delay); + ui->loss->setValue(loss); + ui->parC->setUnit("F"); + ui->parC->setPrefixes("pnum "); + ui->parC->setPrecision(4); + ui->parC->setValue(Cparallel); + ui->serL->setUnit("H"); + ui->serL->setPrefixes("num "); + ui->serL->setPrecision(4); + ui->serL->setValue(Lseries); + + if(Cfirst) { + ui->C_first->setChecked(true); + } else { + ui->L_first->setChecked(true); + } + + auto updateMeasurementLabel = [=](){ + QString label; + if(touchstone) { + label = QString::number(touchstone->points())+" points from "+Unit::ToString(touchstone->minFreq(), "Hz", " kMG")+" to "+Unit::ToString(touchstone->maxFreq(), "Hz", " kMG"); + } else { + label = "No measurements stored yet"; + } + ui->measurementLabel->setText(label); + }; + + QObject::connect(ui->coefficients, &QRadioButton::toggled, [=](bool checked) { + if(checked) { + clearMeasurement(); + } + ui->stackedWidget->setCurrentIndex(checked ? 0 : 1); + }); + QObject::connect(ui->measurement, &QRadioButton::toggled, [=](bool checked) { + updateMeasurementLabel(); + ui->stackedWidget->setCurrentIndex(checked ? 1 : 0); + }); + + QObject::connect(ui->touchstoneImport, &TouchstoneImport::statusChanged, ui->updateFile, &QPushButton::setEnabled); + + ui->touchstoneImport->setPorts(1); + if(touchstone) { + ui->measurement->setChecked(true); + ui->touchstoneImport->setFile(touchstone->getFilename()); + } else { + ui->coefficients->setChecked(true); + } + + QObject::connect(ui->updateFile, &QPushButton::clicked, [=](){ + setMeasurement(ui->touchstoneImport->getTouchstone(), ui->touchstoneImport->getPorts()[0]); + updateMeasurementLabel(); + }); + + QObject::connect(d, &QDialog::accepted, [=](){ + name = ui->name->text(); + resistance = ui->resistance->value(); + Z0 = ui->Z0->value(); + delay = ui->delay->value(); + loss = ui->loss->value(); + Cparallel = ui->parC->value(); + Lseries = ui->serL->value(); + Cfirst = ui->C_first->isChecked(); + if(finishedCallback) { + finishedCallback(); + } + }); + + d->show(); +} + +nlohmann::json Load::toJSON() +{ + auto j = OnePort::toJSON(); + j["Z0"] = Z0; + j["delay"] = delay; + j["loss"] = loss; + j["resistance"] = resistance; + j["Cparallel"] = Cparallel; + j["Lseries"] = Lseries; + j["Cfirst"] = Cfirst; + return j; +} + +void Load::fromJSON(nlohmann::json j) +{ + OnePort::fromJSON(j); + Z0 = j.value("Z0", 50.0); + delay = j.value("delay", 0.0); + loss = j.value("loss", 0.0); + resistance = j.value("resistance", 0.0); + Cparallel = j.value("Cparallel", 0.0); + Lseries = j.value("Lseries", 0.0); + Cfirst = j.value("Cfirst", true); +} + +void Load::setupSCPI() +{ + addDoubleParameter("Z0", Z0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("DELAY", delay, true, true, [=](){clearMeasurement();}); + addDoubleParameter("LOSS", loss, true, true, [=](){clearMeasurement();}); + addDoubleParameter("RESistance", resistance, true, true, [=](){clearMeasurement();}); + addDoubleParameter("CPARallel", Cparallel, true, true, [=](){clearMeasurement();}); + addDoubleParameter("LSERies", Lseries, true, true, [=](){clearMeasurement();}); + addBoolParameter("CFIRST", Cfirst, true, true, [=](){clearMeasurement();}); + OnePort::setupSCPI(); +} + +void TwoPort::setMeasurement(const Touchstone &ts, int port1, int port2) +{ + if(!touchstone) { + touchstone = new Touchstone(ts); + } else { + *touchstone = ts; + } + if(touchstone->ports() > 2) { + touchstone->reduceTo2Port(port1, port2); + } + minFreq = touchstone->minFreq(); + maxFreq = touchstone->maxFreq(); +} + +void TwoPort::clearMeasurement() +{ + delete touchstone; + touchstone = nullptr; + minFreq = std::numeric_limits::lowest(); + maxFreq = std::numeric_limits::max(); +} + +nlohmann::json TwoPort::toJSON() +{ + auto j = Virtual::toJSON(); + if(touchstone) { + j["touchstone"] = touchstone->toJSON(); + } + return j; +} + +void TwoPort::fromJSON(nlohmann::json j) +{ + Virtual::fromJSON(j); + if(j.contains("touchstone")) { + Touchstone ts(1); + ts.fromJSON(j["touchstone"]); + setMeasurement(ts); + } +} + +void TwoPort::setupSCPI() +{ + add(new SCPICommand("FILE", [=](QStringList params) -> QString { + if(params.size() != 3) { + return SCPI::getResultName(SCPI::Result::Error); + } + try { + auto ts = Touchstone::fromFile(params[0].toStdString()); + unsigned long long index1, index2 = 0; + if(!SCPI::paramToULongLong(params, 1, index1)) { + return SCPI::getResultName(SCPI::Result::Error); + } + if(!SCPI::paramToULongLong(params, 2, index1)) { + return SCPI::getResultName(SCPI::Result::Error); + } + setMeasurement(ts, index1-1, index2-1); + return SCPI::getResultName(SCPI::Result::Empty); + } catch(const std::exception& e) { + // failed to load file + return SCPI::getResultName(SCPI::Result::Error); + } + }, nullptr, false)); + Virtual::setupSCPI(); +} + +Through::Through() +{ + Z0 = 50.0; + delay = 0.0; + loss = 0.0; + setupSCPI(); +} + +Sparam Through::toSparam(double freq) +{ + if(touchstone) { + auto interp = touchstone->interpolate(freq).S; + return Sparam(interp[0], interp[1], interp[2], interp[3]); + } else { + // calculate effect of through + // nomenclature and formulas from https://loco.lab.asu.edu/loco-memos/edges_reports/report_20130807.pdf + auto w = 2.0 * M_PI * freq; + auto f_sqrt = sqrt(freq / 1e9); + auto offset_impedance = Z0; // lossless characteristic impedance + auto offset_loss = loss * 1e9; + auto offset_delay = delay * 1e-12; + + auto Z_c = std::complex(offset_impedance + (offset_loss / (2*w)) * f_sqrt, -(offset_loss / (2*w)) * f_sqrt); + auto gamma_l = std::complex(offset_loss*offset_delay/(2*offset_impedance)*f_sqrt, w*offset_delay+offset_loss*offset_delay/(2*offset_impedance)*f_sqrt); + auto p = exp(-gamma_l); // propagation factor + + auto Z_r = std::complex(50.0); + auto Gamma = (Z_c - Z_r) / (Z_c + Z_r); + + // S-parameter of a transmission line, see e.g. "Specifying Calibration Standards and Kits for Keysight Vector Network Analyzers" + // Keysight application note equations (6) and (7) + auto Sxx = Gamma * (1.0 - p*p) / (1.0 - p*p*Gamma*Gamma); + auto Sxy = p * (1.0 - Gamma*Gamma) / (1.0 - p*p*Gamma*Gamma); + return Sparam(Sxx, Sxy, Sxy, Sxx); + } +} + +void Through::edit(std::function finishedCallback) +{ + auto d = new QDialog; + auto ui = new Ui::CalStandardThroughEditDialog; + ui->setupUi(d); + + ui->name->setText(name); + ui->Z0->setUnit("Ω"); + ui->Z0->setPrecision(4); + ui->Z0->setValue(Z0); + ui->delay->setValue(delay); + ui->loss->setValue(loss); + + auto updateMeasurementLabel = [=](){ + QString label; + if(touchstone) { + label = QString::number(touchstone->points())+" points from "+Unit::ToString(touchstone->minFreq(), "Hz", " kMG")+" to "+Unit::ToString(touchstone->maxFreq(), "Hz", " kMG"); + } else { + label = "No measurements stored yet"; + } + ui->measurementLabel->setText(label); + }; + + QObject::connect(ui->coefficients, &QRadioButton::toggled, [=](bool checked) { + if(checked) { + clearMeasurement(); + } + ui->stackedWidget->setCurrentIndex(checked ? 0 : 1); + }); + QObject::connect(ui->measurement, &QRadioButton::toggled, [=](bool checked) { + updateMeasurementLabel(); + ui->stackedWidget->setCurrentIndex(checked ? 1 : 0); + }); + + QObject::connect(ui->touchstoneImport, &TouchstoneImport::statusChanged, ui->updateFile, &QPushButton::setEnabled); + + ui->touchstoneImport->setPorts(2); + if(touchstone) { + ui->measurement->setChecked(true); + ui->touchstoneImport->setFile(touchstone->getFilename()); + } else { + ui->coefficients->setChecked(true); + } + + QObject::connect(ui->updateFile, &QPushButton::clicked, [=](){ + setMeasurement(ui->touchstoneImport->getTouchstone(), ui->touchstoneImport->getPorts()[0], ui->touchstoneImport->getPorts()[1]); + updateMeasurementLabel(); + }); + + QObject::connect(d, &QDialog::accepted, [=](){ + name = ui->name->text(); + Z0 = ui->Z0->value(); + delay = ui->delay->value(); + loss = ui->loss->value(); + if(finishedCallback) { + finishedCallback(); + } + }); + + d->show(); +} + +nlohmann::json Through::toJSON() +{ + auto j = TwoPort::toJSON(); + j["Z0"] = Z0; + j["delay"] = delay; + j["loss"] = loss; + return j; +} + +void Through::fromJSON(nlohmann::json j) +{ + TwoPort::fromJSON(j); + Z0 = j.value("Z0", 50.0); + delay = j.value("delay", 0.0); + loss = j.value("loss", 0.0); +} + +void Through::setupSCPI() +{ + addDoubleParameter("Z0", Z0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("DELAY", delay, true, true, [=](){clearMeasurement();}); + addDoubleParameter("LOSS", loss, true, true, [=](){clearMeasurement();}); + TwoPort::setupSCPI(); +} + +Reflect::Reflect() +{ + isShort = true; + setupSCPI(); +} + +std::complex Reflect::toS11(double freq) +{ + Q_UNUSED(freq) + return std::numeric_limits>::quiet_NaN(); +} + +void Reflect::edit(std::function finishedCallback) +{ + auto d = new QDialog; + auto ui = new Ui::CalStandardReflectEditDialog; + ui->setupUi(d); + + ui->name->setText(name); + ui->type->setCurrentIndex(isShort ? 1 : 0); + + QObject::connect(d, &QDialog::accepted, [=](){ + name = ui->name->text(); + isShort = ui->type->currentIndex() == 1; + if(finishedCallback) { + finishedCallback(); + } + }); + + d->show(); +} + +nlohmann::json Reflect::toJSON() +{ + auto j = OnePort::toJSON(); + j["isShort"] = isShort; + return j; +} + +void Reflect::fromJSON(nlohmann::json j) +{ + OnePort::fromJSON(j); + isShort = j.value("isShort", true); +} + +bool Reflect::getIsShort() const +{ + return isShort; +} + +void Reflect::setupSCPI() +{ + addBoolParameter("SHORT", isShort, true, true, [=](){clearMeasurement();}); + OnePort::setupSCPI(); +} + +Line::Line() +{ + Z0 = 50.0; + setDelay(0.0); + setupSCPI(); +} + +Sparam Line::toSparam(double freq) +{ + Q_UNUSED(freq) + Sparam ret; + ret.set(1,1,numeric_limits>::quiet_NaN()); + ret.set(1,2,numeric_limits>::quiet_NaN()); + ret.set(2,1,numeric_limits>::quiet_NaN()); + ret.set(2,2,numeric_limits>::quiet_NaN()); + return ret; +} + +void Line::edit(std::function finishedCallback) +{ + auto d = new QDialog; + auto ui = new Ui::CalStandardLineEditDialog; + ui->setupUi(d); + + ui->name->setText(name); + ui->Z0->setUnit("Ω"); + ui->Z0->setPrecision(4); + ui->Z0->setValue(Z0); + ui->delay->setValue(delay); + ui->delay->setUnit("s"); + ui->delay->setPrefixes("pnum "); + ui->delay->setPrecision(4); + ui->minFreq->setUnit("Hz"); + ui->minFreq->setPrecision(4); + ui->minFreq->setPrefixes(" kMG"); + ui->minFreq->setValue(minFreq); + ui->maxFreq->setUnit("Hz"); + ui->maxFreq->setPrecision(4); + ui->maxFreq->setPrefixes(" kMG"); + ui->maxFreq->setValue(maxFreq); + + QObject::connect(ui->delay, &SIUnitEdit::valueChanged, [=](double val){ + ui->minFreq->setValue(1.0 / val * 20 / 360); + ui->maxFreq->setValue(1.0 / val * 160 / 360); + }); + + QObject::connect(d, &QDialog::accepted, [=](){ + name = ui->name->text(); + Z0 = ui->Z0->value(); + setDelay(ui->delay->value()); + if(finishedCallback) { + finishedCallback(); + } + }); + + d->show(); +} + +nlohmann::json Line::toJSON() +{ + auto j = TwoPort::toJSON(); + j["delay"] = delay; + return j; +} + +void Line::fromJSON(nlohmann::json j) +{ + TwoPort::fromJSON(j); + setDelay(j.value("delay", 0.0)); +} + +void Line::setDelay(double delay) +{ + this->delay = delay; + minFreq = 1.0 / delay * 20 / 360; + maxFreq = 1.0 / delay * 160 / 360; +} + +void Line::setupSCPI() +{ + addDoubleParameter("Z0", Z0, true, true, [=](){clearMeasurement();}); + addDoubleParameter("DELAY", delay, true, true, [=](){clearMeasurement();}); + TwoPort::setupSCPI(); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calstandard.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calstandard.h new file mode 100644 index 0000000..2ae3e86 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/calstandard.h @@ -0,0 +1,215 @@ +#ifndef CALSTANDARD_H +#define CALSTANDARD_H + +#include "savable.h" +#include "touchstone.h" +#include "Tools/parameters.h" +#include "scpi.h" + +#include +#include + +namespace CalStandard +{ + +class Virtual : public QObject, public Savable, public SCPINode +{ + Q_OBJECT +public: + Virtual(QString name = ""); + virtual ~Virtual(){emit deleted();} + + enum class Type { + Open, + Short, + Load, + Reflect, + Through, + Line, + Last + }; + + static Virtual* create(Type type); + + static std::vector availableTypes(); + static QString TypeToString(Type type); + static Type TypeFromString(QString s); + + virtual Type getType() = 0; + double minFrequency() {return minFreq;} + double maxFrequency() {return maxFreq;} + + virtual void edit(std::function finishedCallback) = 0; + virtual QString getDescription(); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + unsigned long long getID(); + + QString getName() const; + void setName(const QString &value); + +signals: + void deleted(); + +protected: + void setupSCPI(); + QString name; + double minFreq; + double maxFreq; + unsigned long long id; +}; + +class OnePort : public Virtual +{ +public: + OnePort(QString name = "") : + Virtual(name), + touchstone(nullptr){} + + virtual std::complex toS11(double freq) = 0; + + void setMeasurement(const Touchstone &ts, int port = 0); + void clearMeasurement(); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + +protected: + void setupSCPI(); + Touchstone *touchstone; +}; + +class Calkit; + +class Open : public OnePort +{ +public: + Open(); + Open(QString name, double Z0, double delay, double loss, double C0, double C1, double C2, double C3) + : OnePort(name), Z0(Z0), delay(delay), loss(loss), C0(C0), C1(C1), C2(C2), C3(C3){setupSCPI();} + + virtual std::complex toS11(double freq) override; + virtual void edit(std::function finishedCallback = nullptr) override; + virtual Type getType() override {return Type::Open;} + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; +private: + void setupSCPI(); + double Z0, delay, loss, C0, C1, C2, C3; +}; + +class Short : public OnePort +{ +public: + Short(); + Short(QString name, double Z0, double delay, double loss, double L0, double L1, double L2, double L3) + : OnePort(name), Z0(Z0), delay(delay), loss(loss), L0(L0), L1(L1), L2(L2), L3(L3){setupSCPI();} + + virtual std::complex toS11(double freq) override; + virtual void edit(std::function finishedCallback = nullptr) override; + virtual Type getType() override {return Type::Short;} + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; +private: + void setupSCPI(); + double Z0, delay, loss, L0, L1, L2, L3; +}; + +class Load : public OnePort +{ +public: + Load(); + Load(QString name, double Z0, double delay, double loss, double resistance, double Cparallel, double Lseries, bool Cfirst = true) + : OnePort(name), Z0(Z0), delay(delay), loss(loss), resistance(resistance), Cparallel(Cparallel), Lseries(Lseries), Cfirst(Cfirst){setupSCPI();} + + virtual std::complex toS11(double freq) override; + virtual void edit(std::function finishedCallback = nullptr) override; + virtual Type getType() override {return Type::Load;} + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; +private: + void setupSCPI(); + double Z0, delay, loss, resistance, Cparallel, Lseries; + bool Cfirst; +}; + +class Reflect : public OnePort +{ +public: + Reflect(); + Reflect(QString name, bool isShort) + : OnePort(name), isShort(isShort){} + + virtual std::complex toS11(double freq) override; + virtual void edit(std::function finishedCallback = nullptr) override; + virtual Type getType() override {return Type::Reflect;} + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + bool getIsShort() const; + +private: + void setupSCPI(); + bool isShort; +}; + + +class TwoPort : public Virtual +{ +public: + TwoPort(QString name = "") : + Virtual(name), + touchstone(nullptr){} + + virtual Sparam toSparam(double freq) = 0; + + void setMeasurement(const Touchstone &ts, int port1 = 0, int port2 = 1); + void clearMeasurement(); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + +protected: + void setupSCPI(); + Touchstone *touchstone; +}; + +class Through : public TwoPort +{ +public: + Through(); + Through(QString name, double Z0, double delay, double loss) + : TwoPort(name), Z0(Z0), delay(delay), loss(loss){setupSCPI();} + + virtual Sparam toSparam(double freq) override; + virtual void edit(std::function finishedCallback = nullptr) override; + virtual Type getType() override {return Type::Through;} + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; +private: + void setupSCPI(); + double Z0, delay, loss; +}; + +class Line : public TwoPort +{ +public: + Line(); + Line(QString name, double Z0, double delay) + : TwoPort(name), Z0(Z0), delay(delay){setupSCPI();} + + virtual Sparam toSparam(double freq) override; + virtual void edit(std::function finishedCallback = nullptr) override; + virtual Type getType() override {return Type::Line;} + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; +private: + void setDelay(double delay); + void setupSCPI(); + double Z0, delay; +}; + +} + +#endif // CALSTANDARD_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.cpp new file mode 100644 index 0000000..fbdf887 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.cpp @@ -0,0 +1,23 @@ +#include "manualcalibrationdialog.h" + +#include "ui_manualcalibrationdialog.h" +#include "Traces/sparamtraceselector.h" + +ManualCalibrationDialog::ManualCalibrationDialog(const TraceModel &model, Calibration *cal) : + ui(new Ui::ManualCalibrationDialog) +{ + ui->setupUi(this); + auto traceSelector = new SparamTraceSelector(model, cal->getCaltype().usedPorts, true); + ui->verticalLayout->insertWidget(1, traceSelector, 1.0); + ui->buttonBox->setEnabled(false); + connect(traceSelector, &SparamTraceSelector::selectionValid, ui->buttonBox, &QDialogButtonBox::setEnabled); + connect(ui->buttonBox, &QDialogButtonBox::accepted, [=]() { + cal->correctTraces(traceSelector->getTraces()); + accept(); + }); +} + +ManualCalibrationDialog::~ManualCalibrationDialog() +{ + delete ui; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.h new file mode 100644 index 0000000..ccf0f93 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.h @@ -0,0 +1,24 @@ +#ifndef MANUALCALIBRATIONDIALOG_H +#define MANUALCALIBRATIONDIALOG_H + +#include "calibration.h" + +#include + +namespace Ui { +class ManualCalibrationDialog; +} + +class ManualCalibrationDialog : public QDialog +{ + Q_OBJECT + +public: + explicit ManualCalibrationDialog(const TraceModel &model, Calibration *cal); + ~ManualCalibrationDialog(); + +private: + Ui::ManualCalibrationDialog *ui; +}; + +#endif // MANUALCALIBRATIONDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.ui new file mode 100644 index 0000000..644eb66 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Calibration/manualcalibrationdialog.ui @@ -0,0 +1,41 @@ + + + ManualCalibrationDialog + + + + 0 + 0 + 597 + 331 + + + + Manual Calibration + + + true + + + + + + Select the traces which contain the S parameters you want to apply the calibration to: + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Ok + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/colorpickerbutton.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/colorpickerbutton.cpp new file mode 100644 index 0000000..d646bb8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/colorpickerbutton.cpp @@ -0,0 +1,36 @@ +#include "colorpickerbutton.h" + +#include + +ColorPickerButton::ColorPickerButton(QWidget *parent) + : QPushButton(parent) +{ + color = Qt::white; + connect(this, &ColorPickerButton::clicked, this, &ColorPickerButton::changeColor); + updateBackground(); +} + +void ColorPickerButton::setColor(const QColor &color) +{ + this->color = color; + updateBackground(); +} + +const QColor &ColorPickerButton::getColor() +{ + return color; +} + +void ColorPickerButton::changeColor() +{ + auto newColor = QColorDialog::getColor(color, parentWidget(), "Select color", QColorDialog::DontUseNativeDialog); + if(newColor.isValid() && newColor != color) { + setColor(newColor); + emit colorChanged(newColor); + } +} + +void ColorPickerButton::updateBackground() +{ + setStyleSheet("background-color:"+color.name()); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/colorpickerbutton.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/colorpickerbutton.h new file mode 100644 index 0000000..a410325 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/colorpickerbutton.h @@ -0,0 +1,23 @@ +#ifndef COLORPICKERBUTTON_H +#define COLORPICKERBUTTON_H + +#include + +class ColorPickerButton : public QPushButton +{ + Q_OBJECT +public: + ColorPickerButton(QWidget *parent = nullptr); + + void setColor(const QColor& color); + const QColor& getColor(); +signals: + void colorChanged(const QColor& color); +private slots: + void changeColor(); +private: + void updateBackground(); + QColor color; +}; + +#endif // COLORPICKERBUTTON_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.cpp new file mode 100644 index 0000000..686d301 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.cpp @@ -0,0 +1,149 @@ +#include "csvimport.h" +#include "ui_csvimport.h" +#include "Traces/trace.h" +#include "preferences.h" + +#include +#include + +CSVImport::CSVImport(QWidget *parent) : + QWidget(parent), + ui(new Ui::csvimport), + status(false) +{ + ui->setupUi(this); + ui->from->setPrecision(5); + ui->to->setPrecision(5); + ui->traces->setPrecision(0); + ui->points->setPrecision(0); + connect(ui->file, &QLineEdit::textChanged, this, &CSVImport::setFile); +} + +CSVImport::~CSVImport() +{ + delete ui; +} + +bool CSVImport::getStatus() +{ + return status; +} + +CSV CSVImport::getCSV() +{ + return csv; +} + +QString CSVImport::getFilename() +{ + return ui->file->text(); +} + +bool CSVImport::fillTrace(Trace &t) +{ + try { + t.fillFromCSV(csv, ui->traceSelector->currentIndex()); + return true; + } catch (const std::exception &e) { + qWarning() << QString("CSV import failed to fill trace: ") + e.what(); + return false; + } +} + +void CSVImport::setFile(QString filename) +{ + ui->file->setText(filename); + evaluateFile(); + emit filenameChanged(filename); +} + +void CSVImport::selectTrace(unsigned int index) +{ + ui->traceSelector->setCurrentIndex(index); +} + +void CSVImport::on_browse_clicked() +{ + auto filename = QFileDialog::getOpenFileName(nullptr, "Open measurement file", Preferences::getInstance().UISettings.Paths.data, "CSV files (*.csv)", nullptr, Preferences::QFileDialogOptions()); + if (filename.length() > 0) { + Preferences::getInstance().UISettings.Paths.data = QFileInfo(filename).path(); + ui->file->setText(filename); + evaluateFile(); + } +} + +void CSVImport::evaluateFile() +{ + // store currently selected trace + auto selectedTrace = ui->traceSelector->currentText(); + + bool new_status = false; + ui->traces->setText(""); + ui->points->setText(""); + ui->from->setText(""); + ui->to->setText(""); + ui->status->clear(); + ui->traceSelector->clear(); + try { + csv = CSV::fromFile(ui->file->text()); + auto domain = Trace::dataTypeFromString(csv.getHeader(0)); + if (domain == Trace::DataType::Invalid) { + // just assume frequency domain + domain = Trace::DataType::Frequency; + } + ui->domain->setCurrentText(Trace::dataTypeToString(domain)); + switch(domain) { + case Trace::DataType::Frequency: + ui->from->setUnit("Hz"); + ui->to->setUnit("Hz"); + break; + case Trace::DataType::Time: + case Trace::DataType::TimeZeroSpan: + ui->from->setUnit("s"); + ui->to->setUnit("s"); + break; + case Trace::DataType::Power: + ui->from->setUnit("dBm"); + ui->to->setUnit("dBm"); + break; + default: + break; + } + + auto xvalues = csv.getColumn(0); + ui->from->setValue(xvalues.front()); + ui->to->setValue(xvalues.back()); + ui->points->setValue(xvalues.size()); + + bool okay = true; + int numTraces = 0; + while(okay) { + try { + Trace t; + auto name = t.fillFromCSV(csv, numTraces); + ui->traceSelector->addItem(name); + numTraces++; + } catch (const std::exception &e) { + // no more traces + okay = false; + } + } + ui->traces->setValue(numTraces); + + // check if previously selected trace is still available + if(ui->traceSelector->findText(selectedTrace) >= 0) { + ui->traceSelector->setCurrentText(selectedTrace); + } else { + ui->traceSelector->setCurrentIndex(0); + } + + new_status = true; + } catch (const std::exception &e) { + ui->status->setText(e.what()); + } + if (new_status != status) { + status = new_status; + emit statusChanged(status); + } + emit filenameChanged(ui->file->text()); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.h new file mode 100644 index 0000000..51f8f3d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.h @@ -0,0 +1,45 @@ +#ifndef CSVIMPORT_H +#define CSVIMPORT_H + +#include "csv.h" +#include "Traces/trace.h" + +#include + +namespace Ui { +class csvimport; +} + +class CSVImport : public QWidget +{ + Q_OBJECT + +public: + explicit CSVImport(QWidget *parent = nullptr); + ~CSVImport(); + + bool getStatus(); + CSV getCSV(); + QString getFilename(); + + bool fillTrace(Trace &t); + +signals: + void statusChanged(bool status); + void filenameChanged(QString name); + +public slots: + void setFile(QString filename); + void selectTrace(unsigned int index); + +private slots: + void on_browse_clicked(); + +private: + void evaluateFile(); + Ui::csvimport *ui; + CSV csv; + bool status; +}; + +#endif // CSVIMPORT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.ui new file mode 100644 index 0000000..83e61f8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/csvimport.ui @@ -0,0 +1,192 @@ + + + csvimport + + + + 0 + 0 + 232 + 256 + + + + Form + + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + + 20 + 16777215 + + + + ... + + + + + + + + + + + + + + 239 + 41 + 41 + + + + + + + + + 239 + 41 + 41 + + + + + + + + + 190 + 190 + 190 + + + + + + + + + + + + + + + + + Domain: + + + + + + + false + + + true + + + + + + + Traces: + + + + + + + false + + + + + + + Points: + + + + + + + false + + + + + + + From: + + + + + + + false + + + + + + + To: + + + + + + + false + + + + + + + Trace: + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/informationbox.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/informationbox.cpp new file mode 100644 index 0000000..9da2629 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/informationbox.cpp @@ -0,0 +1,121 @@ +#include "informationbox.h" + +#include +#include +#include + +bool InformationBox::has_gui = true; + +void InformationBox::ShowMessage(QString title, QString message, QString messageID, bool block, QWidget *parent) +{ + if(!has_gui) { + // no gui option active, do not show any messages + return; + } + + // check if the user still wants to see this message + unsigned int hash; + if(messageID.isEmpty()) { + hash = qHash(message); + } else { + hash = qHash(messageID); + } + + QSettings s; + if(!s.contains(hashToSettingsKey(hash))) { + auto box = new InformationBox(title, message, QMessageBox::Information, hash, parent); + if(block) { + box->exec(); + } else { + box->show(); + } + } +} + +void InformationBox::ShowMessageBlocking(QString title, QString message, QString messageID, QWidget *parent) +{ + ShowMessage(title, message, messageID, true, parent); +} + +void InformationBox::ShowError(QString title, QString message, QWidget *parent) +{ + if(!has_gui) { + // no gui option active, do not show any messages + return; + } + auto box = new InformationBox(title, message, QMessageBox::Information, 0, parent); + box->show(); +} + +bool InformationBox::AskQuestion(QString title, QString question, bool defaultAnswer, QString messageID, QWidget *parent) +{ + if(!has_gui) { + // no gui option active, do not show any messages + return defaultAnswer; + } + + // check if the user still wants to see this message + unsigned int hash; + if(messageID.isEmpty()) { + hash = qHash(question); + } else { + hash = qHash(messageID); + } + + QSettings s; + if(!s.contains(hashToSettingsKey(hash))) { + auto box = new InformationBox(title, question, QMessageBox::Question, hash, parent); + box->setStandardButtons(QMessageBox::Yes | QMessageBox::No); + int ret = box->exec(); + if(ret == QMessageBox::Yes) { + return true; + } else { + return false; + } + } else { + // don't show this question anymore + return s.value(hashToSettingsKey(hash)).toBool(); + } +} + +void InformationBox::setGUI(bool enable) +{ + has_gui = enable; +} + +InformationBox::InformationBox(QString title, QString message, Icon icon, unsigned int hash, QWidget *parent) + : QMessageBox(parent), + hash(hash) +{ + setWindowTitle(title); + setText(message); + setAttribute(Qt::WA_DeleteOnClose, true); + setModal(true); + setIcon(icon); + + auto cb = new QCheckBox("Do not show this message again"); + setCheckBox(cb); + + if(hash == 0) { + cb->setVisible(false); + } +} + +InformationBox::~InformationBox() +{ + auto cb = checkBox(); + if(cb->isChecked()) { + auto value = true; + auto clicked = clickedButton(); + if(clicked && QMessageBox::standardButton(clicked) == StandardButton::No) { + value = false; + } + QSettings s; + s.setValue(hashToSettingsKey(hash), value); + } +} + +QString InformationBox::hashToSettingsKey(unsigned int hash) +{ + return QString("DoNotShowDialog/") + QString::number(hash); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/informationbox.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/informationbox.h new file mode 100644 index 0000000..38bc982 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/informationbox.h @@ -0,0 +1,25 @@ +#ifndef INFORMATIONBOX_H +#define INFORMATIONBOX_H + +#include + +class InformationBox : public QMessageBox +{ + Q_OBJECT +public: + static void ShowMessage(QString title, QString message, QString messageID = QString(), bool block = false, QWidget *parent = nullptr); + static void ShowMessageBlocking(QString title, QString message, QString messageID = QString(), QWidget *parent = nullptr); + static void ShowError(QString title, QString message, QWidget *parent = nullptr); + // Display a dialog with yes/no buttons. Returns true if yes is clicked, false otherwise. If the user has selected to never see this message again, defaultAnswer is returned instead + static bool AskQuestion(QString title, QString question, bool defaultAnswer, QString messageID = QString(), QWidget *parent = nullptr); + + static void setGUI(bool enable); +private: + InformationBox(QString title, QString message, QMessageBox::Icon icon, unsigned int hash, QWidget *parent); + ~InformationBox(); + static QString hashToSettingsKey(unsigned int hash); + unsigned int hash; + static bool has_gui; +}; + +#endif // INFORMATIONBOX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.cpp new file mode 100644 index 0000000..82fe8ff --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.cpp @@ -0,0 +1,186 @@ +#include "jsonpickerdialog.h" + +#include "ui_jsonpickerdialog.h" + +JSONPickerDialog::JSONPickerDialog(const nlohmann::json &json, QWidget *parent) : + QDialog(parent), + ui(new Ui::JSONPickerDialog), + model(new JSONModel(json)) +{ + ui->setupUi(this); + ui->treeView->setModel(model); +} + +JSONPickerDialog::~JSONPickerDialog() +{ + delete ui; + delete model; +} + +JSONModel::JSONModel(const nlohmann::json &json, QObject *parent) : + json(json) +{ + Q_UNUSED(parent) + setupJsonInfo(json); +} + +JSONModel::~JSONModel() +{ + +} + +QModelIndex JSONModel::index(int row, int column, const QModelIndex &parent) const +{ + if (!hasIndex(row, column, parent)) + return QModelIndex(); + + nlohmann::json const *parentItem; + + if (!parent.isValid()) + parentItem = &json; + else + parentItem = static_cast(parent.internalPointer()); + + auto it = parentItem->begin(); + int rb = row; + while(rb) { + it++; + rb--; + } + nlohmann::json *childItem = const_cast(&*it); + if (childItem) + return createIndex(row, column, childItem); + return QModelIndex(); +} + +QModelIndex JSONModel::parent(const QModelIndex &index) const +{ + if (!index.isValid()) + return QModelIndex(); + + nlohmann::json *childItem = static_cast(index.internalPointer()); + if (childItem == &json) { + return QModelIndex(); + } + + // find the parent of this entry and its position in the list + nlohmann::json *parentItem = const_cast(jsonInfo.at(childItem).parent); + auto it = parentItem->begin(); + int row = 0; + while(&*it != childItem) { + it++; + row++; + } + return createIndex(row, 0, parentItem); +} + +int JSONModel::rowCount(const QModelIndex &parent) const +{ + const nlohmann::json *parentItem; + if (parent.column() > 0) { + return 0; + } + + if (!parent.isValid()) { + parentItem = &json; + } else { + parentItem = static_cast(parent.internalPointer()); + } + + if (parentItem->is_object() || parentItem->is_array()) { + return parentItem->size(); + } else { + return 0; + } +} + +int JSONModel::columnCount(const QModelIndex &parent) const +{ + Q_UNUSED(parent) + return 2; +} + +QVariant JSONModel::data(const QModelIndex &index, int role) const +{ + if (!index.isValid()) + return QVariant(); + + nlohmann::json *item = static_cast(index.internalPointer()); + auto info = jsonInfo.at(item); + switch(role) { + case Qt::DisplayRole: + switch(index.column()) { + case 0: + return info.name; + case 1: + if(!item->is_object() && !item->is_array()) { + return info.data; + } + } + return QVariant(); + case Qt::CheckStateRole: { + if(index.column() == 0) { + return info.enabled ? Qt::Checked : Qt::Unchecked; + } else { + return QVariant(); + } + } + default: + return QVariant(); + } +} + +QVariant JSONModel::headerData(int section, Qt::Orientation orientation, int role) const +{ + Q_UNUSED(section) + Q_UNUSED(orientation) + Q_UNUSED(role) + return QVariant(); +} + +bool JSONModel::setData(const QModelIndex &index, const QVariant &value, int role) +{ + Q_UNUSED(value) + nlohmann::json *item = static_cast(index.internalPointer()); + auto info = jsonInfo.at(item); + if(role == Qt::CheckStateRole) + { + info.enabled = !info.enabled; + jsonInfo[item] = info; + emit dataChanged(index, index); + return true; + } + + if (role != Qt::EditRole) + return false; + return true; +} + +Qt::ItemFlags JSONModel::flags(const QModelIndex &index) const +{ + if (!index.isValid()) { + return Qt::NoItemFlags; + } + + return Qt::ItemIsEditable | QAbstractItemModel::flags(index)|Qt::ItemIsUserCheckable; +} + +void JSONModel::setupJsonInfo(const nlohmann::json &j) +{ + for(auto it = j.begin();it != j.end(); it++) { + JSONInfo i; + i.parent = &j; + i.enabled = true; + if(j.is_object()) { + i.name = it.key().c_str(); + } else if(j.is_array()) { + i.name = QString::number(it - j.begin() + 1); + } + if(it->is_object() || it->is_array()) { + setupJsonInfo(*it); + } else { + i.data = QString::fromStdString(it->dump()); + } + jsonInfo[&*it] = i; + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.h new file mode 100644 index 0000000..a78f4c4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.h @@ -0,0 +1,56 @@ +#ifndef JSONPICKERDIALOG_H +#define JSONPICKERDIALOG_H + +#include "json.hpp" + +#include +#include + +namespace Ui { +class JSONPickerDialog; +} + +class JSONModel : public QAbstractItemModel +{ + Q_OBJECT +public: + JSONModel(const nlohmann::json &json, QObject *parent = 0); + ~JSONModel(); + + QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const override; + QModelIndex parent(const QModelIndex &index) const override; + int rowCount(const QModelIndex &parent = QModelIndex()) const override; + int columnCount(const QModelIndex &parent = QModelIndex()) const override; + QVariant data(const QModelIndex &index, int role) const override; + QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; + bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override; + Qt::ItemFlags flags(const QModelIndex &index) const override; + +private: + void setupJsonInfo(const nlohmann::json &j); + const nlohmann::json &json; + class JSONInfo { + public: + const nlohmann::json *parent; + QString name; + QString data; + bool enabled; + }; + + std::map jsonInfo; +}; + +class JSONPickerDialog : public QDialog +{ + Q_OBJECT + +public: + explicit JSONPickerDialog(const nlohmann::json &json, QWidget *parent = nullptr); + ~JSONPickerDialog(); + +private: + Ui::JSONPickerDialog *ui; + JSONModel *model; +}; + +#endif // JSONPICKERDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.ui new file mode 100644 index 0000000..d73f3ba --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/jsonpickerdialog.ui @@ -0,0 +1,67 @@ + + + JSONPickerDialog + + + + 0 + 0 + 400 + 300 + + + + Dialog + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + buttonBox + accepted() + JSONPickerDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + JSONPickerDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp new file mode 100644 index 0000000..f0fa9fd --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.cpp @@ -0,0 +1,187 @@ +#include "siunitedit.h" + +#include +#include +#include +#include +#include +#include +#include + +SIUnitEdit::SIUnitEdit(QString unit, QString prefixes, int precision, QWidget *parent) + : QLineEdit(parent) +{ + this->unit = unit; + this->prefixes = prefixes; + this->precision = precision; + setAlignment(Qt::AlignCenter); + installEventFilter(this); + connect(this, &QLineEdit::editingFinished, [this]() { + parseNewValue(1.0); + }); + setValueQuiet(0); +} + +SIUnitEdit::SIUnitEdit(QWidget *parent) + : SIUnitEdit("", " ", 4, parent) +{ + +} + +void SIUnitEdit::setValue(double value) +{ + if(value != _value) { + setValueQuiet(value); + emit valueChanged(value); + emit valueUpdated(this); + } +} + +static char swapUpperLower(char c) { + if(isupper(c)) { + return tolower(c); + } else if(islower(c)) { + return toupper(c); + } else { + return c; + } +} + +bool SIUnitEdit::eventFilter(QObject *, QEvent *event) +{ + if (event->type() == QEvent::KeyPress) { + int key = static_cast(event)->key(); + if(key == Qt::Key_Escape) { + // abort editing process and set old value + clear(); + setValueQuiet(_value); + emit editingAborted(); + clearFocus(); + return true; + } + if(key == Qt::Key_Return || key == Qt::Key_Enter) { + // use new value without prefix + parseNewValue(1.0); + continueEditing(); + return true; + } + auto mod = static_cast(event)->modifiers(); + if (!(mod & Qt::ShiftModifier)) { + key = tolower(key); + } + if(key <= 255) { + if (prefixes.indexOf(static_cast(key)) >= 0) { + // a valid prefix key was pressed + parseNewValue(Unit::SIPrefixToFactor(key)); + continueEditing(); + return true; + } else if (prefixes.indexOf(swapUpperLower(key)) >= 0) { + // no match on the pressed case but on the upper/lower case instead -> also accept this + parseNewValue(Unit::SIPrefixToFactor(swapUpperLower(key))); + continueEditing(); + return true; + } + } + } else if(event->type() == QEvent::FocusOut) { + parseNewValue(1.0); + emit focusLost(); + } else if(event->type() == QEvent::FocusIn) { + // online found clumsy way to select all text when clicked!?! + // just selectAll() alone does _not_ work! + QTimer::singleShot(0, this, &SIUnitEdit::continueEditing); + } else if(event->type() == QEvent::Wheel) { + if(_value == 0.0) { + // can't figure out step size with zero value + return true; + } + auto wheel = static_cast(event); + // most mousewheel have 15 degree increments, the reported delta is in 1/8th degree -> 120 + auto increment = wheel->angleDelta().y() / 120.0; + // round toward bigger step in case of special higher resolution mousewheel + unsigned int steps = std::abs(increment > 0 ? ceil(increment) : floor(increment)); + int sign = increment > 0 ? 1 : -1; + // figure out step increment + auto newVal = _value; + if(hasFocus()) { + auto cursor = cursorPosition(); + if(cursor == 0) { + // cursor in front of first digit, do nothing (too big of a change, probably over/underflows) + return true; + } + // change the digit at the current cursor + int nthDigit = cursor; + // account for decimal point/leading zero/sign + if(_value < 0) { + nthDigit--; + } + auto dotPos = text().indexOf('.'); + if(dotPos >= 0 && dotPos < nthDigit) { + nthDigit--; + } + if(text().startsWith("-0.") || text().startsWith("0.")) { + nthDigit--; + } + auto step_size = pow(10, floor(log10(std::abs(newVal))) - nthDigit + 1); + newVal += step_size * steps * sign; + setValue(newVal); + setText(placeholderText()); + setCursorPosition(cursor); + } else { + // default to the third digit + constexpr int nthDigit = 3; + while(steps > 0) { + // do update in multiple steps because the step size could change inbetween + auto step_size = pow(10, floor(log10(std::abs(newVal))) - nthDigit + 1); + newVal += step_size * sign; + steps--; + } + setValue(newVal); + } + return true; + } + return false; +} + +void SIUnitEdit::setValueQuiet(double value) +{ + _value = value; + setPlaceholderText(Unit::ToString(value, unit, prefixes, precision)); + if(!text().isEmpty()) { + // currently editing, update the text as well + continueEditing(); + } +} + +void SIUnitEdit::parseNewValue(double factor) +{ + QString input = text(); + if(input.isEmpty()) { + setValueQuiet(_value); + emit editingAborted(); + } else { + // remove optional unit + if(input.endsWith(unit)) { + input.chop(unit.size()); + } + auto lastChar = input.at(input.size()-1).toLatin1(); + if(prefixes.indexOf(lastChar) >= 0) { + factor = Unit::SIPrefixToFactor(lastChar); + input.chop(1); + } + // remaining input should only contain numbers + bool conversion_ok; + auto v = input.toDouble(&conversion_ok); + clear(); + if(conversion_ok) { + setValue(v * factor); + } else { + qWarning() << "SIUnit conversion failure:" << input; + } + } +} + +void SIUnitEdit::continueEditing() +{ + setText(placeholderText()); + selectAll(); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.h new file mode 100644 index 0000000..7634b7a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/siunitedit.h @@ -0,0 +1,36 @@ +#ifndef SIUNITEDIT_H +#define SIUNITEDIT_H + +#include + +class SIUnitEdit : public QLineEdit +{ + Q_OBJECT +public: + SIUnitEdit(QString unit = QString(), QString prefixes = " ", int precision = 0, QWidget *parent = nullptr); + SIUnitEdit(QWidget *parent); + + void setUnit(QString unit) { this->unit = unit; setValueQuiet(_value); } + void setPrefixes(QString prefixes) { this->prefixes = prefixes; setValueQuiet(_value); } + void setPrecision(int precision) { this->precision = precision; setValueQuiet(_value); } + double value() { return _value; } +public slots: + void setValue(double value); + void setValueQuiet(double value); +signals: + void valueChanged(double newvalue); + void valueUpdated(QWidget *w); + void editingAborted(); + void focusLost(); +protected: + bool eventFilter(QObject *obj, QEvent *event) override; +private slots: + void continueEditing(); +private: + void parseNewValue(double factor); + QString unit, prefixes; + int precision; + double _value; +}; + +#endif // SIUNITEDIT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.cpp new file mode 100644 index 0000000..c391126 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.cpp @@ -0,0 +1,361 @@ +#include "tilewidget.h" + +#include "ui_tilewidget.h" +#include "Traces/tracexyplot.h" +#include "Traces/tracesmithchart.h" +#include "Traces/tracewaterfall.h" +#include "Traces/tracepolarchart.h" +#include "Traces/eyediagramplot.h" + +#include + +TileWidget::TileWidget(TraceModel &model, QWidget *parent) : + QWidget(parent), + fullScreenPlot(nullptr), + ui(new Ui::TileWidget), + splitter(0), + isSplit(false), + parent(0), + child1(0), + child2(0), + hasContent(false), + isFullScreen(false), + content(0), + model(model) +{ + ui->setupUi(this); + auto layout = new QGridLayout; + layout->setContentsMargins(0,0,0,0); + auto fsLayout = new QGridLayout; + fsLayout->setContentsMargins(0,0,0,0); + ui->ContentPage->setLayout(layout); + ui->ContentFullScreenMode->setLayout(fsLayout); + ui->bClose->setVisible(false); +} + +TileWidget::~TileWidget() +{ + delete ui; +} + +void TileWidget::clear() +{ + if(hasContent) { + delete content; + content = nullptr; + hasContent = false; + } + if(isSplit) { + delete child1; + delete child2; + isSplit = false; + delete splitter; + } +} + +nlohmann::json TileWidget::toJSON() +{ + nlohmann::json j; + j["split"] = isSplit; + if(isSplit) { + j["orientation"] = splitter->orientation() == Qt::Horizontal ? "horizontal" : "vertical"; + j["sizes"] = splitter->sizes(); + j["tile1"] = child1->toJSON(); + j["tile2"] = child2->toJSON(); + } + if(hasContent) { + std::string plotname; + switch(content->getType()) { + case TracePlot::Type::SmithChart: + plotname = "smithchart"; + break; + case TracePlot::Type::XYPlot: + plotname = "XY-plot"; + break; + case TracePlot::Type::Waterfall: + plotname = "Waterfall"; + break; + case TracePlot::Type::PolarChart: + plotname = "PolarChart"; + break; + case TracePlot::Type::EyeDiagram: + plotname = "EyeDiagram"; + break; + } + j["plot"] = plotname; + j["plotsettings"] = content->toJSON(); + } + return j; +} + +void TileWidget::fromJSON(nlohmann::json j) +{ + // delete all childs before parsing json + clear(); + bool split = j.value("split", false); + if(split) { + if(j["orientation"] == "horizontal") { + splitHorizontally(); + } else { + splitVertically(); + } + splitter->setSizes(j["sizes"]); + child1->fromJSON(j["tile1"]); + child2->fromJSON(j["tile2"]); + } else if(j.contains("plot")) { + // has a plot enabled + auto plotname = j["plot"]; + if(plotname == "smithchart") { + content = new TraceSmithChart(model); + } else if (plotname == "XY-plot"){ + content = new TraceXYPlot(model); + } else if (plotname == "Waterfall"){ + content = new TraceWaterfall(model); + } else if (plotname == "PolarChart"){ + content = new TracePolarChart(model); + } else if (plotname == "EyeDiagram"){ + content = new EyeDiagramPlot(model); + } + if(content) { + setContent(content); + content->fromJSON(j["plotsettings"]); + } + } +} + +bool TileWidget::allLimitsPassing() +{ + if(isSplit) { + return child1->allLimitsPassing() && child2->allLimitsPassing(); + } else if(hasContent) { + return content->getLimitPassing(); + } else { + // empty tile always passes + return true; + } +} + +void TileWidget::setSplitPercentage(int percentage) +{ + if(!isSplit) { + return; + } + splitter->setStretchFactor(0, percentage); + splitter->setStretchFactor(1, 100 - percentage); +} + +void TileWidget::splitVertically(bool moveContentToSecondChild) +{ + if(isSplit) { + return; + } + isSplit = true; + splitter = new QSplitter(Qt::Vertical); + split(moveContentToSecondChild); + tryMinimize(); +} + +void TileWidget::splitHorizontally(bool moveContentToSecondChild) +{ + if(isSplit) { + return; + } + isSplit = true; + splitter = new QSplitter(Qt::Horizontal); + split(moveContentToSecondChild); + tryMinimize(); +} + +void TileWidget::closeTile() +{ + if(!parent) { + // Unable to close toplevel tile + return; + } + auto pTile = parent; + TileWidget *absorbedTile; + if(this == parent->child1) { + absorbedTile = parent->child2; + } else { + absorbedTile = parent->child1; + } + delete this; + + if(absorbedTile->isSplit) { + pTile->isSplit = true; + pTile->child1 = absorbedTile->child1; + pTile->child2 = absorbedTile->child2; + pTile->child1->parent = pTile; + pTile->child2->parent = pTile; + pTile->ui->ContentPage->layout()->addWidget(absorbedTile->splitter); + auto oldsplitter = pTile->splitter; + pTile->splitter = absorbedTile->splitter; + delete absorbedTile; + delete oldsplitter; + } else if(absorbedTile->hasContent) { + pTile->setContent(absorbedTile->content); + delete absorbedTile; + pTile->isSplit = false; + delete pTile->splitter; + pTile->splitter = nullptr; + } else { + delete absorbedTile; + pTile->isSplit = false; + pTile->hasContent = false; + delete pTile->splitter; + pTile->ui->stack->setCurrentWidget(pTile->ui->TilePage); + } +} + +void TileWidget::setPlot(TracePlot *plot) +{ + if(!isSplit && !hasContent) { + setContent(plot); + } +} + +void TileWidget::removePlot() +{ + if(hasContent) { + content->setParentTile(nullptr); + removeContent(); + } +} + +TileWidget::TileWidget(TraceModel &model, TileWidget &parent) + : TileWidget(model) +{ + this->parent = &parent; + ui->bClose->setVisible(true); +} + +void TileWidget::split(bool moveContentToSecondChild) +{ + splitter->setHandleWidth(0); + child1 = new TileWidget(model, *this); + child2 = new TileWidget(model, *this); + splitter->addWidget(child1); + splitter->addWidget(child2); + ui->ContentPage->layout()->addWidget(splitter); + if(hasContent) { + if(moveContentToSecondChild) { + child2->setContent(content); + } else { + child1->setContent(content); + } + removeContent(); + } + + ui->stack->setCurrentWidget(ui->ContentPage); +} + +void TileWidget::setContent(TracePlot *plot) +{ + content = plot; + content->setParentTile(this); + hasContent = true; + ui->ContentPage->layout()->addWidget(plot); + ui->stack->setCurrentWidget(ui->ContentPage); + connect(content, &TracePlot::deleted, this, &TileWidget::plotDeleted); + connect(content, &TracePlot::doubleClicked, this, &TileWidget::on_plotDoubleClicked); +} + +void TileWidget::removeContent() +{ + if(hasContent) { + disconnect(content, &TracePlot::deleted, this, &TileWidget::plotDeleted); + disconnect(content, &TracePlot::doubleClicked, this, &TileWidget::on_plotDoubleClicked); + hasContent = false; + content = nullptr; + ui->stack->setCurrentWidget(ui->TilePage); + } +} + +void TileWidget::on_plotDoubleClicked() +{ + setFullScreen(); +} + +void TileWidget::setFullScreen(void) +{ + auto clickedTile = this; + + if(!clickedTile->parent) { + // Toplevel tile is already in full screen + return; + } + + auto rootTile = findRootTile(); + + rootTile->fullScreenPlot = clickedTile->content; + + if (isFullScreen == false) + { + ui->ContentPage->layout()->removeWidget(clickedTile->content); + rootTile->ui->ContentFullScreenMode->layout()->addWidget(rootTile->fullScreenPlot); + rootTile->ui->stack->setCurrentWidget(rootTile->ui->ContentFullScreenMode); + isFullScreen = true; + } + else { + rootTile->ui->stack->setCurrentWidget(rootTile->ui->ContentPage); + rootTile->ui->ContentFullScreenMode->layout()->removeWidget(rootTile->fullScreenPlot); + ui->ContentPage->layout()->addWidget(clickedTile->content); + isFullScreen = false; + } +} + +TileWidget* TileWidget::findRootTile(void) +{ + auto node = this; + while (node->parent != nullptr) { // root tile should nullptr + node = node->parent; + } + return node; +} + +void TileWidget::on_bSmithchart_clicked() +{ + setContent(new TraceSmithChart(model)); +} + +void TileWidget::on_bXYplot_clicked() +{ + auto plot = new TraceXYPlot(model); + setContent(plot); + plot->axisSetupDialog(); +} + +void TileWidget::plotDeleted() +{ + tryMinimize(); + + ui->stack->setCurrentWidget(ui->TilePage); + hasContent = false; + content = nullptr; +} + +void TileWidget::tryMinimize() +{ + if (isFullScreen) + { + auto rootTile = findRootTile(); + rootTile->ui->stack->setCurrentWidget(rootTile->ui->ContentPage); + } +} + +void TileWidget::on_bWaterfall_clicked() +{ + setContent(new TraceWaterfall(model)); +} + +void TileWidget::on_bPolarchart_clicked() +{ + setContent(new TracePolarChart(model)); +} + +void TileWidget::on_eyeDiagram_clicked() +{ + auto plot = new EyeDiagramPlot(model); + setContent(plot); + plot->axisSetupDialog(); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.h new file mode 100644 index 0000000..28185f9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.h @@ -0,0 +1,75 @@ +#ifndef TILEWIDGET_H +#define TILEWIDGET_H + +#include +#include "Traces/traceplot.h" +#include "Traces/tracemodel.h" +#include "savable.h" + +#include + +namespace Ui { +class TileWidget; +} + +class TileWidget : public QWidget, public Savable +{ + Q_OBJECT + +public: + explicit TileWidget(TraceModel &model, QWidget *parent = nullptr); + ~TileWidget(); + + TileWidget *Child1() { return child1; } + TileWidget *Child2() { return child2; } + + // closes all plots/childs, leaving only the tilewidget at the top + void clear(); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + // check potential trace limits on graphs, only returns true if all traces in all graphs are within limits + bool allLimitsPassing(); + + void setSplitPercentage(int percentage); + +public slots: + void splitVertically(bool moveContentToSecondChild = false); + void splitHorizontally(bool moveContentToSecondChild = false); + void closeTile(); + void setPlot(TracePlot *plot); + void removePlot(); + +private slots: + void on_bSmithchart_clicked(); + void on_bXYplot_clicked(); + void on_plotDoubleClicked(); + void plotDeleted(); + void on_bWaterfall_clicked(); + void on_bPolarchart_clicked(); + + void on_eyeDiagram_clicked(); + +private: + TileWidget(TraceModel &model, TileWidget &parent); + void split(bool moveContentToSecondChild = false); + void setContent(TracePlot *plot); + void removeContent(); + void setChild(); + TileWidget* findRootTile(); + void setFullScreen(); + void tryMinimize(); + TracePlot *fullScreenPlot; + Ui::TileWidget *ui; + QSplitter *splitter; + bool isSplit; + TileWidget *parent; + TileWidget *child1, *child2; + bool hasContent; + bool isFullScreen; + TracePlot *content; + TraceModel &model; +}; + +#endif // TILEWIDGET_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.ui new file mode 100644 index 0000000..aac22da --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tilewidget.ui @@ -0,0 +1,288 @@ + + + TileWidget + + + + 0 + 0 + 465 + 350 + + + + Form + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + 0 + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Plots + + + + + + Smithchart + + + + + + + XY-plot + + + + + + + Waterfall + + + + + + + Polar Chart + + + + + + + Eye Diagram + + + + + + + + + + Split Tile + + + + + + Vertical + + + + :/icons/vertical.svg:/icons/vertical.svg + + + + + + + Horizontal + + + + :/icons/horizontal.svg:/icons/horizontal.svg + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 0 + 0 + + + + Close Tile + + + + :/icons/close.svg:/icons/close.svg + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + + + + bClose + clicked() + TileWidget + closeTile() + + + 199 + 74 + + + 199 + 149 + + + + + bSplitH + clicked() + TileWidget + splitHorizontally() + + + 199 + 224 + + + 199 + 149 + + + + + bSplitV + clicked() + TileWidget + splitVertically() + + + 199 + 149 + + + 199 + 149 + + + + + + splitVertically() + splitHorizontally() + closeTile() + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/toggleswitch.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/toggleswitch.cpp new file mode 100644 index 0000000..d524c04 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/toggleswitch.cpp @@ -0,0 +1,66 @@ +#include "toggleswitch.h" + +#include +#include + +ToggleSwitch::ToggleSwitch(QWidget *parent, bool state) : QAbstractButton(parent), + _height(24), + _width(128), + state(state) +{ + +} + +QSize ToggleSwitch::sizeHint() const +{ + return QSize(_width, _height); +} + +void ToggleSwitch::toggle() +{ + state = !state; + emit toggled(state); +} + +void ToggleSwitch::setState(bool state) +{ + if(this->state != state) { + this->state = state; + emit toggled(state); + } +} + +void ToggleSwitch::paintEvent(QPaintEvent *) +{ + QPainter p(this); + p.setPen(Qt::NoPen); + p.setBrush(Qt::black); + p.setOpacity(isEnabled() ? 0.38 : 0.12); + p.setRenderHint(QPainter::Antialiasing, true); + p.drawRoundedRect(QRect(0, 0, width(), height()), 8.0, 8.0); + p.setOpacity(1.0); + QRect rect; + QString statename; + if(state) { + p.setBrush(isEnabled() ? Qt::darkGreen : Qt::gray); + rect = QRect(width()/2, 0, width()/2, height()); + statename = "ON"; + } else { + p.setBrush(isEnabled() ? QColor("#AA090E") : Qt::lightGray); + rect = QRect(0, 0, width()/2, height()); + statename = "OFF"; + } + p.drawRoundedRect(rect, 8.0, 8.0); + QFont font = p.font(); + p.setPen(Qt::SolidLine); + p.setPen(isEnabled() ? Qt::black : Qt::gray); + p.drawText(rect, Qt::AlignCenter, statename); +} + +void ToggleSwitch::mouseReleaseEvent(QMouseEvent *e) +{ + if(e->button() & Qt::LeftButton) { + toggle(); + } + QAbstractButton::mouseReleaseEvent(e); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/toggleswitch.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/toggleswitch.h new file mode 100644 index 0000000..685f018 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/toggleswitch.h @@ -0,0 +1,28 @@ +#ifndef TOGGLESWITCH_H +#define TOGGLESWITCH_H + +#include + +class ToggleSwitch : public QAbstractButton +{ + Q_OBJECT +public: + ToggleSwitch(QWidget* parent = nullptr, bool state = false); + + QSize sizeHint() const override; +signals: + void toggled(bool newstate); +public slots: + void toggle(); + void setState(bool state); + +protected: + void paintEvent(QPaintEvent*) override; + void mouseReleaseEvent(QMouseEvent*) override; + +private: + int _height, _width; + bool state; +}; + +#endif // TOGGLESWITCH_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.cpp new file mode 100644 index 0000000..179a786 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.cpp @@ -0,0 +1,194 @@ +#include "touchstoneimport.h" + +#include "ui_touchstoneimport.h" +#include "preferences.h" + +#include +#include +#include + +using namespace std; + +TouchstoneImport::TouchstoneImport(QWidget *parent, int ports) : + QWidget(parent), + ui(new Ui::TouchstoneImport), + touchstone(ports), + status(false) +{ + ui->setupUi(this); + ui->lowerFreq->setUnit("Hz"); + ui->lowerFreq->setPrefixes(" kMG"); + ui->upperFreq->setUnit("Hz"); + ui->upperFreq->setPrefixes(" kMG"); + connect(ui->browse, &QPushButton::clicked, this, &TouchstoneImport::evaluateFile); + ui->port1Group->setId(ui->port1_1, 0); + ui->port1Group->setId(ui->port1_2, 1); + ui->port1Group->setId(ui->port1_3, 2); + ui->port1Group->setId(ui->port1_4, 3); + ui->port2Group->setId(ui->port2_1, 0); + ui->port2Group->setId(ui->port2_2, 1); + ui->port2Group->setId(ui->port2_3, 2); + ui->port2Group->setId(ui->port2_4, 3); + // prevent selection of same port for port1 and 2 + connect(ui->port1Group, qOverload(&QButtonGroup::idClicked), [=](int id) { + preventCollisionWithGroup(ui->port2Group, id); + }); + connect(ui->port2Group, qOverload(&QButtonGroup::idClicked), [=](int id) { + preventCollisionWithGroup(ui->port1Group, id); + }); + connect(ui->file, &QLineEdit::textChanged, this, &TouchstoneImport::setFile); + setPorts(ports); +} + +TouchstoneImport::~TouchstoneImport() +{ + delete ui; +} + +bool TouchstoneImport::getStatus() +{ + return status; +} + +Touchstone TouchstoneImport::getTouchstone() +{ + if(required_ports == 1) { + auto t1 = touchstone; + t1.reduceTo1Port(ui->port1Group->checkedId()); + return t1; + } else if(required_ports == 2) { + auto t2 = touchstone; + t2.reduceTo2Port(ui->port1Group->checkedId(), ui->port2Group->checkedId()); + return t2; + } + + return touchstone; +} + +void TouchstoneImport::setPorts(int ports) +{ + required_ports = ports; + ui->port1Widget->setVisible(ports >= 1); + ui->port2Widget->setVisible(ports >= 2); +} + +QString TouchstoneImport::getFilename() +{ + return ui->file->text(); +} + +void TouchstoneImport::selectPort(int destination, int source) +{ + switch(destination) { + case 0: + ui->port1Group->button(source)->setChecked(true); + preventCollisionWithGroup(ui->port2Group, source); + break; + case 1: + ui->port2Group->button(source)->setChecked(true); + preventCollisionWithGroup(ui->port1Group, source); + break; + } +} + +std::vector TouchstoneImport::getPorts() +{ + vector ret; + if(required_ports >= 1) { + ret.push_back(ui->port1Group->checkedId()); + } + if(required_ports >= 2) { + ret.push_back(ui->port2Group->checkedId()); + } + return ret; +} + +void TouchstoneImport::setFile(QString filename) +{ + ui->file->setText(filename); + evaluateFile(); + emit filenameChanged(filename); +} + +void TouchstoneImport::on_browse_clicked() +{ + auto filename = QFileDialog::getOpenFileName(nullptr, "Open measurement file", Preferences::getInstance().UISettings.Paths.data, "Touchstone files (*.s1p *.s2p *.s3p *.s4p)", nullptr, Preferences::QFileDialogOptions()); + if (filename.length() > 0) { + Preferences::getInstance().UISettings.Paths.data = QFileInfo(filename).path(); + ui->file->setText(filename); + } +} + +void TouchstoneImport::evaluateFile() +{ + bool new_status = false; + ui->port1_1->setEnabled(false); + ui->port1_2->setEnabled(false); + ui->port1_3->setEnabled(false); + ui->port1_4->setEnabled(false); + if (required_ports != 1) { + ui->port2_1->setEnabled(false); + ui->port2_2->setEnabled(false); + ui->port2_3->setEnabled(false); + ui->port2_4->setEnabled(false); + } + ui->points->setText(""); + ui->lowerFreq->setText(""); + ui->upperFreq->setText(""); + ui->status->clear(); + try { + touchstone = Touchstone::fromFile(ui->file->text().toStdString()); + if (required_ports > 0 && touchstone.ports() < (unsigned int) required_ports) { + throw runtime_error("Not enough ports in file"); + } + ui->port1_1->setEnabled(touchstone.ports() >= 1); + ui->port1_2->setEnabled(touchstone.ports() >= 2); + ui->port1_3->setEnabled(touchstone.ports() >= 3); + ui->port1_4->setEnabled(touchstone.ports() >= 4); + if (required_ports != 1) { + ui->port2_1->setEnabled(touchstone.ports() >= 1); + ui->port2_2->setEnabled(touchstone.ports() >= 2); + ui->port2_3->setEnabled(touchstone.ports() >= 3); + ui->port2_4->setEnabled(touchstone.ports() >= 4); + } + ui->points->setText(QString::number(touchstone.points())); + ui->lowerFreq->setValue(touchstone.minFreq()); + ui->upperFreq->setValue(touchstone.maxFreq()); + if(ui->port1Group->checkedId() == -1 || !ui->port1Group->checkedButton()->isEnabled()) { + // no or invalid S parameter selected + ui->port1_1->setChecked(true); + } + if (required_ports != 1) { + preventCollisionWithGroup(ui->port2Group, 0); + } + new_status = true; + } catch (const exception &e) { + ui->status->setText(e.what()); + } + if (new_status != status) { + status = new_status; + emit statusChanged(status); + } + emit filenameChanged(ui->file->text()); +} + +void TouchstoneImport::preventCollisionWithGroup(QButtonGroup *group, int id) +{ + for(unsigned int i=0;ibutton(i)->setEnabled(true); + } + // change selection in second group and mark invalid + group->button(id)->setEnabled(false); + group->button(id)->setChecked(false); + if (group->checkedId() == -1 || group->checkedId() == id) { + for(int i=0;i<4;i++) { + if(i == id) { + continue; + } + if(group->button(i)->isEnabled()) { + group->button(i)->setChecked(true); + break; + } + } + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.h new file mode 100644 index 0000000..cf9b78f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.h @@ -0,0 +1,47 @@ +#ifndef TOUCHSTONEIMPORT_H +#define TOUCHSTONEIMPORT_H + +#include "touchstone.h" + +#include +#include + +namespace Ui { +class TouchstoneImport; +} + +class TouchstoneImport : public QWidget +{ + Q_OBJECT + +public: + explicit TouchstoneImport(QWidget *parent = nullptr, int ports = 0); + ~TouchstoneImport(); + + bool getStatus(); + Touchstone getTouchstone(); + void setPorts(int ports); + QString getFilename(); + void selectPort(int destination, int source); + std::vector getPorts(); + +signals: + void statusChanged(bool status); + void filenameChanged(QString name); + +public slots: + void setFile(QString filename); + +private slots: + void on_browse_clicked(); + +private: + void evaluateFile(); + void preventCollisionWithGroup(QButtonGroup *group, int id); + Ui::TouchstoneImport *ui; + int required_ports; + Touchstone touchstone; + bool status; +}; + +#endif // TOUCHSTONEIMPORT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.ui new file mode 100644 index 0000000..163ada2 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/touchstoneimport.ui @@ -0,0 +1,319 @@ + + + TouchstoneImport + + + + 0 + 0 + 228 + 227 + + + + Form + + + + + + + + + 0 + 0 + + + + + + + + + 0 + 0 + + + + + 20 + 16777215 + + + + ... + + + + + + + + + + + + + + 239 + 41 + 41 + + + + + + + + + 239 + 41 + 41 + + + + + + + + + 190 + 190 + 190 + + + + + + + + + + + + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + Port 1: + + + + + + + false + + + 1 + + + port1Group + + + + + + + false + + + 2 + + + port1Group + + + + + + + false + + + 3 + + + port1Group + + + + + + + false + + + 4 + + + port1Group + + + + + + + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + Port 2: + + + + + + + false + + + 1 + + + port2Group + + + + + + + false + + + 2 + + + port2Group + + + + + + + false + + + 3 + + + port2Group + + + + + + + false + + + 4 + + + port2Group + + + + + + + + + + + + + + Points: + + + + + + + false + + + + + + + Lower Frequency: + + + + + + + false + + + + + + + Upper Frequency: + + + + + + + false + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tracesetselector.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tracesetselector.cpp new file mode 100644 index 0000000..7fce26d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tracesetselector.cpp @@ -0,0 +1,234 @@ +#include "tracesetselector.h" + +#include +#include + +TraceSetSelector::TraceSetSelector(QWidget *parent) : + QWidget(parent), + model(nullptr) +{ + points = 0; + ports = 0; + lowerFreq = upperFreq = 0; + referenceImpedance = 50.0; + freqsSet = false; + partialSelectionAllowed = false; + + setLayout(new QGridLayout); + setPorts(2); +} + +TraceSetSelector::~TraceSetSelector() +{ + blockSignals(true); + // this will free all created widgets + setPorts(0); + blockSignals(false); +} + +unsigned int TraceSetSelector::getPorts() const +{ + return ports; +} + +void TraceSetSelector::setPorts(unsigned int newPorts) +{ + if(!model) { + return; + } + QGridLayout *layout = static_cast(this->layout()); + if(newPorts != ports) { + ports = newPorts; + // remove the previous widgets + QLayoutItem *child; + while ((child = layout->takeAt(0)) != 0) { + delete child->widget(); + delete child; + } + cTraces.clear(); + for(unsigned int i=0;i()); + for(unsigned int j=0;j(&QComboBox::currentIndexChanged), [=](int) { + selectionChanged(c); + }); + layout->addWidget(l, i, j*2); + layout->addWidget(c, i, j*2 + 1); + } + } + } + auto availableTraces = model->getTraces(); + for(unsigned int i=0;iblockSignals(true); + c->clear(); + // create possible trace selections + c->addItem("None"); + for(auto t : availableTraces) { + if(t->outputType() != Trace::DataType::Frequency) { + // can only add frequency traces + continue; + } + if(i == j && !t->isReflection()) { + // can not add through measurement at reflection port + continue; + } else if(i != j && t->isReflection()) { + // can not add reflection measurement at through port + continue; + } + c->addItem(t->name(), QVariant::fromValue(t)); + } + c->blockSignals(false); + } + } + emit selectionChanged(); +} + +void TraceSetSelector::setDefaultTraces() +{ + auto traces = model->getTraces(); + for(unsigned int i=1;i<=ports;i++) { + for(unsigned int j=1;j<=ports;j++) { + QString defaultTraceName = "S"+QString::number(i)+QString::number(j); + for(auto t : traces) { + if(t->name() == defaultTraceName) { + setTrace(i, j, t); + break; + } + } + } + } +} + +bool TraceSetSelector::setTrace(unsigned int destPort, unsigned int srcPort, Trace *t) +{ + if(destPort < 1 || destPort > ports || srcPort < 1 || srcPort > ports) { + // invalid port selection + return false; + } + auto c = cTraces[destPort-1][srcPort-1]; + // find required trace + for(unsigned int i=1;i<(unsigned int) c->count();i++) { + if(qvariant_cast(c->itemData(i)) == t) { + c->setCurrentIndex(i); + return true; + } + } + // requested trace not found, unable to set + return false; +} + +Trace *TraceSetSelector::getTrace(unsigned int destPort, unsigned int srcPort) +{ + if(destPort < 1 || destPort > ports || srcPort < 1 || srcPort > ports) { + // invalid port selection + return nullptr; + } + auto c = cTraces[destPort-1][srcPort-1]; + if(c->currentIndex() == 0) { + // no trace selected + return nullptr; + } else { + return qvariant_cast(c->itemData(c->currentIndex())); + } +} + +bool TraceSetSelector::selectionValid() +{ + for(unsigned int i=1;i<=ports;i++) { + for(unsigned int j=1;j<=ports;j++) { + auto t = getTrace(i, j); + if(!t && !partialSelectionAllowed) { + // at least one trace is missing + return false; + } + if(t && partialSelectionAllowed) { + // at least one trace is present + return true; + } + } + } + // if we get here, either: + // - all traces are valid and partial selection is not allowed -> whole selection valid + // or: + // - all traces are invalid and partial selection is allowed -> whole selection invalid + return !partialSelectionAllowed; +} + +void TraceSetSelector::selectionChanged(QComboBox *c) +{ + if(c->currentIndex() != 0 && !freqsSet) { + // the first trace has been selected, extract frequency info + Trace *t = qvariant_cast(c->itemData(c->currentIndex())); + points = t->size(); + referenceImpedance = t->getReferenceImpedance(); + if(points > 0) { + lowerFreq = t->minX(); + upperFreq = t->maxX(); + } + freqsSet = true; + // remove all trace options with incompatible frequencies + for(auto v1 : cTraces) { + for(auto c : v1) { + for(int i=1;icount();i++) { + Trace *t = qvariant_cast(c->itemData(i)); + if(t->getReferenceImpedance() != referenceImpedance || t->size() != points || (points > 0 && (t->minX() != lowerFreq || t->maxX() != upperFreq))) { + // this trace is not available anymore + c->removeItem(i); + // decrement to check the next index in the next loop iteration + i--; + } + } + } + } + } else if(c->currentIndex() == 0 && freqsSet) { + // Check if all trace selections are set for none + for(auto v1 : cTraces) { + for(auto c : v1) { + if(c->currentIndex() != 0) { + // some trace is still selected, abort + emit selectionChanged(); + return; + } + } + } + // all traces set for none + freqsSet = false; + setPorts(ports); + } + emit selectionChanged(); +} + +double TraceSetSelector::getReferenceImpedance() const +{ + return referenceImpedance; +} + +double TraceSetSelector::getUpperFreq() const +{ + return upperFreq; +} + +double TraceSetSelector::getLowerFreq() const +{ + return lowerFreq; +} + +unsigned int TraceSetSelector::getPoints() const +{ + return points; +} + +void TraceSetSelector::setModel(TraceModel *newModel) +{ + model = newModel; +} + +void TraceSetSelector::setPartialSelectionAllowed(bool newPartialSelectionAllowed) +{ + partialSelectionAllowed = newPartialSelectionAllowed; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tracesetselector.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tracesetselector.h new file mode 100644 index 0000000..1382d1d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/CustomWidgets/tracesetselector.h @@ -0,0 +1,59 @@ +#ifndef TRACESETSELECTOR_H +#define TRACESETSELECTOR_H + +#include "Traces/tracemodel.h" + +#include +#include + +namespace Ui { +class TraceSetSelector; +} + +class TraceSetSelector : public QWidget +{ + Q_OBJECT + +public: + explicit TraceSetSelector(QWidget *parent = nullptr); + ~TraceSetSelector(); + + unsigned int getPorts() const; + void setPorts(unsigned int newPorts); + void setDefaultTraces(); + + bool setTrace(unsigned int destPort, unsigned int srcPort, Trace *t); + Trace *getTrace(unsigned int destPort, unsigned int srcPort); + + bool selectionValid(); + + void setPartialSelectionAllowed(bool newPartialSelectionAllowed); + + void setModel(TraceModel *newModel); + + unsigned int getPoints() const; + double getLowerFreq() const; + double getUpperFreq() const; + double getReferenceImpedance() const; + TraceModel* getModel() const {return model;} + +signals: + void selectionChanged(); + +private: + void selectionChanged(QComboBox *c); + Ui::TraceSetSelector *ui; + TraceModel *model; + unsigned int ports; + + std::vector> cTraces; + + unsigned int points; + double lowerFreq, upperFreq; + double referenceImpedance; + bool freqsSet; + + bool partialSelectionAllowed; +}; + +#endif // TRACESETSELECTOR_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/Harogic/harogicb60.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/Harogic/harogicb60.cpp new file mode 100644 index 0000000..04d5c70 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/Harogic/harogicb60.cpp @@ -0,0 +1,16 @@ +#include "harogicb60.h" + +HarogicB60::HarogicB60() +{ + validUSBIDs.clear(); + validUSBIDs.append({0x367F, 0x0200, "B60"}); + + for(auto &s : specificSettings) { + s.name.replace("LibreVNAUSBDriver", "HarogicB60Driver"); + } +} + +QString HarogicB60::getDriverName() +{ + return "Harogic B60"; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/Harogic/harogicb60.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/Harogic/harogicb60.h new file mode 100644 index 0000000..b727f59 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/Harogic/harogicb60.h @@ -0,0 +1,19 @@ +#ifndef HAROGICB60_H +#define HAROGICB60_H + +#include "../LibreVNA/librevnausbdriver.h" + +class HarogicB60 : public LibreVNAUSBDriver +{ + Q_OBJECT +public: + HarogicB60(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() override; +}; + +#endif // HAROGICB60_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddevice.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddevice.cpp new file mode 100644 index 0000000..379bc55 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddevice.cpp @@ -0,0 +1,87 @@ +#include "compounddevice.h" + +CompoundDevice::CompoundDevice() +{ + name = ""; + sync = LibreVNADriver::Synchronization::GUI; +} + +nlohmann::json CompoundDevice::toJSON() +{ + nlohmann::json j; + j["name"] = name.toStdString(); + j["synchronization"] = SyncToString(sync).toStdString(); + nlohmann::json jserials; + for(auto d : deviceSerials) { + jserials.push_back(d.toStdString()); + } + j["devices"] = jserials; + nlohmann::json jmappings; + for(auto m : portMapping) { + nlohmann::json jmapping; + jmapping["device"] = m.device; + jmapping["port"] = m.port; + jmappings.push_back(jmapping); + } + j["mapping"] = jmappings; + + return j; +} + +void CompoundDevice::fromJSON(nlohmann::json j) +{ + name = QString::fromStdString(j.value("name", "CompoundDevice")); + sync = SyncFromString(QString::fromStdString(j.value("synchronization", "USB"))); + deviceSerials.clear(); + if(j.contains("devices")) { + for(auto js : j["devices"]) { + deviceSerials.push_back(QString::fromStdString(js)); + } + } + portMapping.clear(); + if(j.contains("mapping")) { + for(auto jm : j["mapping"]) { + PortMapping mapping; + mapping.device = jm.value("device", 0); + mapping.port = jm.value("port", 0); + portMapping.push_back(mapping); + } + } +} + +QString CompoundDevice::SyncToString(LibreVNADriver::Synchronization sync) +{ + switch(sync) { + case LibreVNADriver::Synchronization::Disabled: return "Disabled"; + case LibreVNADriver::Synchronization::GUI: return "GUI"; + case LibreVNADriver::Synchronization::ExternalTrigger: return "Trigger"; + default: + return "Invalid"; + } +} + +LibreVNADriver::Synchronization CompoundDevice::SyncFromString(QString s) +{ + for(int i=0;i<(int) LibreVNADriver::Synchronization::Last;i++) { + if(SyncToString((LibreVNADriver::Synchronization)i) == s) { + return (LibreVNADriver::Synchronization) i; + } + } + // default to GUI + return LibreVNADriver::Synchronization::GUI; +} + +QString CompoundDevice::getDesription() +{ + return name + ", "+QString::number(deviceSerials.size())+" devices, "+QString::number(portMapping.size())+" ports in total"; +} + +unsigned int CompoundDevice::PortMapping::findActiveStage(std::vector map, unsigned int device, unsigned int port) +{ + for(unsigned int i=0;i + +#include + +class CompoundDevice : public Savable +{ + friend class CompoundDeviceEditDialog; +public: + CompoundDevice(); + + nlohmann::json toJSON() override; + void fromJSON(nlohmann::json j) override; + + class PortMapping { + public: + unsigned int device; // starts at zero + unsigned int port; // starts at zero + static unsigned int findActiveStage(std::vector map, unsigned int device, unsigned int port); + }; + + static QString SyncToString(LibreVNADriver::Synchronization sync); + static LibreVNADriver::Synchronization SyncFromString(QString s); + + QString getDesription(); + + QString name; + LibreVNADriver::Synchronization sync; + std::vector deviceSerials; + std::vector portMapping; +}; + +#endif // COMPOUNDDEVICE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp new file mode 100644 index 0000000..331a005 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.cpp @@ -0,0 +1,554 @@ +#include "compounddeviceeditdialog.h" +#include "ui_compounddeviceeditdialog.h" + +#include "compounddriver.h" + +#include +#include +#include +#include +#include + +using namespace std; + +CompoundDeviceEditDialog::CompoundDeviceEditDialog(CompoundDevice *cdev, QWidget *parent) : + QDialog(parent), + ui(new Ui::CompoundDeviceEditDialog), + dropPending(false), + dragFrame(nullptr), + dropFrame(nullptr) +{ + ldev = *cdev; + ui->setupUi(this); + + connect(ui->name, &QLineEdit::editingFinished, [=](){ + ldev.name = ui->name->text(); + checkIfOkay(); + }); + for(int i=0;i<(int)LibreVNADriver::Synchronization::Last;i++) { + ui->sync->addItem(CompoundDevice::SyncToString((LibreVNADriver::Synchronization) i)); + switch((LibreVNADriver::Synchronization) i) { + case LibreVNADriver::Synchronization::Disabled: + case LibreVNADriver::Synchronization::Reserved: { + // Disable for now + auto *model = qobject_cast(ui->sync->model()); + Q_ASSERT(model != nullptr); + bool disabled = true; + auto *item = model->item(i); + item->setFlags(disabled ? item->flags() & ~Qt::ItemIsEnabled + : item->flags() | Qt::ItemIsEnabled); + } + break; + default: + break; + } + } + connect(ui->sync, &QComboBox::currentTextChanged, [=](){ + ldev.sync = CompoundDevice::SyncFromString(ui->sync->currentText()); + updateDeviceFrames(); + }); + + connect(ui->buttonBox->button(QDialogButtonBox::Ok), &QPushButton::clicked, [=](){ + *cdev = ldev; + accept(); + }); + connect(ui->buttonBox->button(QDialogButtonBox::Cancel), &QPushButton::clicked, this, &QDialog::reject); + + connect(ui->buttonBox->button(QDialogButtonBox::Save), &QPushButton::clicked, [=](){ + ldev.saveToFileDialog("Save compound device", "Compound device file (*.cdev)", ".cdev"); + }); + connect(ui->buttonBox->button(QDialogButtonBox::Open), &QPushButton::clicked, [=](){ + if(ldev.openFromFileDialog("Load compound device", "Compound device file (*.cdev)")) { + setInitialGUI(); + } + }); + + ui->status->setStyleSheet("QLabel { color : red; }"); + + graph = new QWidget(); + ui->scrollArea->setWidget(graph); + auto layout = new QHBoxLayout(); + graph->setLayout(layout); + graph->setAcceptDrops(true); + graph->setObjectName("Graph"); + graph->installEventFilter(this); + ui->lLibreVNA1->installEventFilter(this); + layout->setContentsMargins(0,0,0,0); + layout->setSpacing(0); + + setInitialGUI(); +} + +CompoundDeviceEditDialog::~CompoundDeviceEditDialog() +{ + delete ui; +} + +void CompoundDeviceEditDialog::checkIfOkay() +{ + ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false); + ui->buttonBox->button(QDialogButtonBox::Save)->setEnabled(false); + + if(deviceFrames.size() != ldev.deviceSerials.size()) { + // probably still populating the GUI, skip check + return; + } + + if(ldev.name.isEmpty()) { + ui->status->setText("Name must not be empty"); + return; + } + if(ldev.deviceSerials.size() < 2) { + ui->status->setText("At least two devices are required"); + return; + } + if(ldev.deviceSerials.size() > 4) { + ui->status->setText("Only up to four devices supported"); + return; + } + // Check serials + for(unsigned int i=0;igetSerial(); + if(ldev.deviceSerials[i].isEmpty()) { + ui->status->setText("Device "+QString::number(i+1)+" has no serial number"); + return; + } + } + // Check serials for duplicates + for(unsigned int i=0;istatus->setText("Duplicate serial number ("+ldev.deviceSerials[i]+") in devices "+QString::number(i+1)+" and "+QString::number(j+1)); + return; + } + } + } + // Check port mapping + // Looking for duplicate and missing ports + bool highestPortFound = false; + unsigned int highestPort = 0; + for(unsigned int port=0;port<2*ldev.deviceSerials.size();port++) { + int num = 0; + for(unsigned int i=0;igetPort1() == (int) port) { + num++; + } + if(deviceFrames[i]->getPort2() == (int) port) { + num++; + } + } + if(num > 1) { + ui->status->setText("Duplicate port "+QString::number(port+1)); + return; + } else if(num == 0) { + if(port == 0) { + ui->status->setText("Port 1 must be present"); + return; + } + if(!highestPortFound) { + highestPort = port; + } + highestPortFound = true; + } else if(highestPortFound) { + // port is present, but earlier port was missing + ui->status->setText("Missing port: "+QString::number(port+1)+" is selected, but port "+QString::number(port)+" is not present."); + return; + } + } + if(!highestPortFound) { + highestPort = 2*ldev.deviceSerials.size(); + } + + // All good, actually create the port mapping + ldev.portMapping.clear(); + for(unsigned int port=0;portgetPort1() == (int) port) { + found = true; + map.device = i; + map.port = 0; + break; + } + if(deviceFrames[i]->getPort2() == (int) port) { + found = true; + map.device = i; + map.port = 1; + break; + } + } + if(!found) { + ui->status->setText("Failed to find port "+QString::number(port+1)+" (likely a bug)"); + return; + } + ldev.portMapping.push_back(map); + } + + ui->status->clear(); + + ui->buttonBox->button(QDialogButtonBox::Save)->setEnabled(true); + ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(true); +} + +void CompoundDeviceEditDialog::setInitialGUI() +{ + ui->name->setText(ldev.name); + ui->sync->setCurrentText(CompoundDevice::SyncToString(ldev.sync)); + + // Removing the old frames actually modifies the state of ldev as well. Block signals to prevent this from happening + for(auto f : deviceFrames) { + f->blockSignals(true); + } + + QHBoxLayout* layout = (QHBoxLayout*) graph->layout(); + // remove all widgets from the layout + if (layout != NULL ) { + QLayoutItem* item; + while ((item = layout->takeAt(0)) != NULL ) { + delete item->widget(); + delete item; + } + } + deviceFrames.clear(); + layout->addStretch(1); + for(unsigned int i=0;iaddStretch(1); + + checkIfOkay(); +} + +DeviceFrame *CompoundDeviceEditDialog::frameAtPosition(int pos) +{ + pos -= graph->layout()->itemAt(0)->geometry().width(); + if(pos > 0 && pos <= (int) deviceFrames.size() * frameSize) { + return deviceFrames[pos / frameSize]; + } + return nullptr; +} + +unsigned int CompoundDeviceEditDialog::findInsertPosition(int xcoord) +{ + xcoord -= graph->layout()->itemAt(0)->geometry().width(); + // added in port 1 network + int index = (xcoord + frameSize / 2) / frameSize; + if(index < 0) { + index = 0; + } else if(index > (int) deviceFrames.size()) { + index = deviceFrames.size(); + } + // add 1 (first widget is always the stretch) + return index + 1; +} + +void CompoundDeviceEditDialog::addFrameAtPosition(int pos, DeviceFrame *c) +{ + auto index = findInsertPosition(pos); + + // add component to the deviceFrame vector + index -= 1; // first widget is fixed + if(index <= deviceFrames.size()) { + addFrame(index, c); + } +} + +void CompoundDeviceEditDialog::addFrame(int index, DeviceFrame *c) +{ + if(deviceFrames.size() == ldev.deviceSerials.size()) { + ldev.deviceSerials.insert(ldev.deviceSerials.begin() + index, ""); + } + deviceFrames.insert(deviceFrames.begin() + index, c); + deviceFrames[index]->setPosition(index); + // remove from list when the component deletes itself + connect(c, &DeviceFrame::deleted, [=](){ + removeDeviceFrame(c); + }); + QHBoxLayout *l = static_cast(graph->layout()); + l->insertWidget(index + 1, c); + c->show(); + updateDeviceFrames(); +} + +void CompoundDeviceEditDialog::createDragFrame(DeviceFrame *c) +{ + QDrag *drag = new QDrag(this); + QMimeData *mimeData = new QMimeData; + + QByteArray encodedPointer; + QDataStream stream(&encodedPointer, QIODevice::WriteOnly); + stream << quintptr(c); + + mimeData->setData("compoundDeviceFrame/pointer", encodedPointer); + drag->setMimeData(mimeData); + + drag->exec(Qt::MoveAction); + dragFrame = nullptr; +} + +void CompoundDeviceEditDialog::updateInsertIndicator(int xcoord) +{ + auto index = findInsertPosition(xcoord); + QHBoxLayout *l = static_cast(graph->layout()); + l->removeWidget(insertIndicator); + l->insertWidget(index, insertIndicator); +} + +bool CompoundDeviceEditDialog::eventFilter(QObject *object, QEvent *event) +{ + if(object->objectName() == "Graph") { + if(event->type() == QEvent::MouseButtonPress) { + auto mouseEvent = static_cast(event); + if (mouseEvent->button() == Qt::LeftButton) { + dragFrame = frameAtPosition(mouseEvent->pos().x()); + if(dragFrame) { + dragStartPosition = mouseEvent->pos(); + return true; + } + } + return false; + } else if(event->type() == QEvent::MouseMove) { + auto mouseEvent = static_cast(event); + if (!(mouseEvent->buttons() & Qt::LeftButton)) { + return false; + } + if (!dragFrame) { + return false; + } + if ((mouseEvent->pos() - dragStartPosition).manhattanLength() + < QApplication::startDragDistance()) { + return false; + } + + // remove and hide component while it is being dragged + graph->layout()->removeWidget(dragFrame); + dragFrame->hide(); + removeDeviceFrame(dragFrame); + graph->update(); + + createDragFrame(dragFrame); + return true; + } else if(event->type() == QEvent::DragEnter) { + auto dragEvent = static_cast(event); + if(dragEvent->mimeData()->hasFormat("compoundDeviceFrame/pointer")) { + dropPending = true; + auto data = dragEvent->mimeData()->data("compoundDeviceFrame/pointer"); + QDataStream stream(&data, QIODevice::ReadOnly); + quintptr dropPtr; + stream >> dropPtr; + dropFrame = (DeviceFrame*) dropPtr; + dragEvent->acceptProposedAction(); + insertIndicator = new QWidget(); + insertIndicator->setMinimumSize(2, frameSize); + insertIndicator->setMaximumSize(2, frameSize); + insertIndicator->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); + insertIndicator->setStyleSheet("background-color:red;"); + updateInsertIndicator(dragEvent->position().toPoint().x()); + return true; + } + } else if(event->type() == QEvent::DragMove) { + auto dragEvent = static_cast(event); + updateInsertIndicator(dragEvent->position().toPoint().x()); + return true; + } else if(event->type() == QEvent::Drop) { + auto dragEvent = static_cast(event); + delete insertIndicator; + addFrameAtPosition(dragEvent->position().toPoint().x(), dropFrame); + return true; + } else if(event->type() == QEvent::DragLeave) { + dropPending = false; + dropFrame = nullptr; + delete insertIndicator; + } + } else { + // clicked/dragged one of the components outside of the graph + if(event->type() == QEvent::MouseButtonPress) { + auto mouseEvent = static_cast(event); + if (mouseEvent->button() == Qt::LeftButton) { + dragStartPosition = mouseEvent->pos(); + if(object->objectName() == "lLibreVNA1") { + dragFrame = new DeviceFrame(&ldev, 0); + connect(dragFrame, &DeviceFrame::settingChanged, this, &CompoundDeviceEditDialog::checkIfOkay); + } else { + dragFrame = nullptr; + } + return true; + } + return false; + } else if(event->type() == QEvent::MouseMove) { + auto mouseEvent = static_cast(event); + if (!(mouseEvent->buttons() & Qt::LeftButton)) { + return false; + } + if (!dragFrame) { + return false; + } + if ((mouseEvent->pos() - dragStartPosition).manhattanLength() + < QApplication::startDragDistance()) { + return false; + } + + createDragFrame(dragFrame); + return true; + } + } + return false; +} + +void CompoundDeviceEditDialog::removeDeviceFrame(DeviceFrame *dev) +{ + auto it = std::find(deviceFrames.begin(), deviceFrames.end(), dev); + if(it == deviceFrames.end()) { + // not found, shouldn't happen + return; + } + auto pos = it - deviceFrames.begin(); + deviceFrames.erase(it); + ldev.deviceSerials.erase(ldev.deviceSerials.begin() + pos); + // remove all port mappings from the removed device + bool mappingFound; + do { + mappingFound = false; + for(unsigned int i=0;isetPosition(i++); + } +} + +DeviceFrame::DeviceFrame(CompoundDevice *dev, unsigned int position) : + position(position), + dev(dev) +{ + setMinimumSize(frameSize, frameSize); + setMaximumSize(frameSize, frameSize); + setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); + setFocusPolicy(Qt::FocusPolicy::ClickFocus); + + serial = new QComboBox(); + serial->setEditable(true); + port1 = new QComboBox(); + port2 = new QComboBox(); + + connect(serial, &QComboBox::currentTextChanged, this, &DeviceFrame::settingChanged); + connect(port1, &QComboBox::currentTextChanged, this, &DeviceFrame::settingChanged); + connect(port2, &QComboBox::currentTextChanged, this, &DeviceFrame::settingChanged); + + auto layout = new QVBoxLayout; + layout->addStretch(1); + auto l1 = new QHBoxLayout; + l1->addStretch(1); + l1->addWidget(serial); + l1->addStretch(1); + layout->addLayout(l1); + layout->addStretch(1); + auto l2 = new QHBoxLayout; + l2->addWidget(port1); + l2->addStretch(1); + l2->addWidget(port2); + layout->addLayout(l2); + setLayout(layout); + + update(); + + // Set initial state + if(position < dev->deviceSerials.size()) { + serial->setCurrentText(dev->deviceSerials[position]); + for(unsigned int i=0;iportMapping.size();i++) { + if(dev->portMapping[i].device == position) { + if(dev->portMapping[i].port == 0) { + port1->setCurrentIndex(i + 1); + } else if(dev->portMapping[i].port == 1) { + port2->setCurrentIndex(i + 1); + } + } + } + } +} + +DeviceFrame::~DeviceFrame() +{ + emit deleted(); +} + +void DeviceFrame::setPosition(int pos) +{ + position = pos; + update(); +} + +void DeviceFrame::update() +{ + auto p1 = port1->currentText(); + auto p2 = port2->currentText(); + auto s = serial->currentText(); + port1->clear(); + port2->clear(); + serial->clear(); + + port1->addItem("Unused"); + port2->addItem("Unused"); + for(unsigned int i=0;ideviceSerials.size();i++) { + port1->addItem("Port "+QString::number(i*2+1)); + port2->addItem("Port "+QString::number(i*2+1)); + port1->addItem("Port "+QString::number(i*2+2)); + port2->addItem("Port "+QString::number(i*2+2)); + } + if(port1->findText(p1) >= 0) { + port1->setCurrentText(p1); + } else { + port1->setCurrentIndex(0); + } + if(port2->findText(p2) >= 0) { + port2->setCurrentText(p2); + } else { + port2->setCurrentIndex(0); + } + + for(auto d : CompoundDriver::getIndividualDeviceSerials()) { + serial->addItem(d); + } + serial->setCurrentText(s); + + if(dev->sync == LibreVNADriver::Synchronization::GUI) { + setStyleSheet("image: url(:/icons/compound_V1_USB.png);"); + } else if(dev->sync == LibreVNADriver::Synchronization::Reserved) { + if(position == 0) { + setStyleSheet("image: url(:/icons/compound_V1_Ref_Left.png);"); + } else if(position == dev->deviceSerials.size() - 1) { + setStyleSheet("image: url(:/icons/compound_V1_Ref_Right.png);"); + } else { + setStyleSheet("image: url(:/icons/compound_V1_Ref_Middle.png);"); + } + } +} + +QString DeviceFrame::getSerial() +{ + return serial->currentText(); +} + +int DeviceFrame::getPort1() +{ + return port1->currentIndex() - 1; +} + +int DeviceFrame::getPort2() +{ + return port2->currentIndex() - 1; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.h new file mode 100644 index 0000000..92daa1f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.h @@ -0,0 +1,73 @@ +#ifndef COMPOUNDDEVICEEDITDIALOG_H +#define COMPOUNDDEVICEEDITDIALOG_H + +#include "compounddevice.h" + +#include +#include +#include + +namespace Ui { +class CompoundDeviceEditDialog; +} + +class DeviceFrame : public QFrame { + Q_OBJECT +public: + DeviceFrame(CompoundDevice *dev, unsigned int position); + ~DeviceFrame(); + void setPosition(int pos); + void update(); + QString getSerial(); + int getPort1(); + int getPort2(); +signals: + void deleted(); + void settingChanged(); +private: + static constexpr int frameSize = 350; + QComboBox *serial; + QComboBox *port1, *port2; + + unsigned int position; + CompoundDevice *dev; +}; + +class CompoundDeviceEditDialog : public QDialog +{ + Q_OBJECT + +public: + explicit CompoundDeviceEditDialog(CompoundDevice *cdev, QWidget *parent = nullptr); + ~CompoundDeviceEditDialog(); + +private slots: + void checkIfOkay(); +private: + static constexpr int frameSize = 350; + void setInitialGUI(); + DeviceFrame *frameAtPosition(int pos); + unsigned int findInsertPosition(int xcoord); + void addFrameAtPosition(int pos, DeviceFrame *c); + void addFrame(int index, DeviceFrame *c); + void createDragFrame(DeviceFrame *c); + void updateInsertIndicator(int xcoord); + bool eventFilter(QObject *object, QEvent *event) override; + + void removeDeviceFrame(DeviceFrame *dev); + + void updateDeviceFrames(); + + Ui::CompoundDeviceEditDialog *ui; + CompoundDevice ldev; + + QWidget *graph, *insertIndicator; + QPoint dragStartPosition; + bool dropPending; + DeviceFrame *dragFrame; + DeviceFrame *dropFrame; + + std::vector deviceFrames; +}; + +#endif // COMPOUNDDEVICEEDITDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.ui new file mode 100644 index 0000000..99bd756 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddeviceeditdialog.ui @@ -0,0 +1,183 @@ + + + CompoundDeviceEditDialog + + + + 0 + 0 + 1097 + 598 + + + + Compound Device Edit + + + true + + + + + + + + + + Name: + + + + + + + + + + Synchronization: + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Standalone Devices + + + + + + + 8 + + + + Drag/drop into compound device + + + Qt::AlignCenter + + + + + + + + 0 + 0 + + + + + 80 + 80 + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 9 + + + + border-image: url(:/icons/LibreVNAV1.svg); + + + QFrame::NoFrame + + + QFrame::Plain + + + LibreVNA V1 + + + Qt::AlignCenter + + + + + + + + + + + + + + + true + + + + + 0 + 0 + 1077 + 372 + + + + + + + + + + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Open|QDialogButtonBox::Save + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriver.cpp new file mode 100644 index 0000000..6185974 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriver.cpp @@ -0,0 +1,819 @@ +#include "compounddriver.h" + +#include "../librevnatcpdriver.h" +#include "../librevnausbdriver.h" + +#include "ui_compounddriversettingswidget.h" +#include "compounddeviceeditdialog.h" +#include "preferences.h" +#include "Device/LibreVNA/devicepacketlogview.h" + +#include + +CompoundDriver::CompoundDriver() +{ + connected = false; + isIdle = true; + triggerForwarding = false; + SApoints = 0; + + drivers.push_back(new LibreVNAUSBDriver); + drivers.push_back(new LibreVNATCPDriver); + + auto log = new QAction("View Packet Log"); + connect(log, &QAction::triggered, this, [=](){ + auto d = new DevicePacketLogView(); + d->show(); + }); + specificActions.push_back(log); + + auto &p = Preferences::getInstance(); + for(auto d : drivers) { + p.load(d->driverSpecificSettings()); + } + + specificSettings.push_back(Savable::SettingDescription(&compoundJSONString, "compoundDriver.compoundDeviceJSON", "{}")); + specificSettings.push_back(Savable::SettingDescription(&captureRawReceiverValues, "compoundDriver.captureRawReceiverValues", false)); + specificSettings.push_back(Savable::SettingDescription(&preservePhase, "compoundDriver.preservePhase", false)); +} + +CompoundDriver::~CompoundDriver() +{ + disconnect(); + for(auto d : drivers) { + delete d; + } +} + +std::set CompoundDriver::GetAvailableDevices() +{ + parseCompoundJSON(); + + std::set availableSerials; + for(auto d : drivers) { + availableSerials.merge(d->GetAvailableDevices()); + } + + std::set ret; + + for(auto cd : configuredDevices) { + bool allAvailable = true; + for(auto s : cd->deviceSerials) { + if(availableSerials.count(s) == 0) { + allAvailable = false; + break; + } + } + if(allAvailable) { + ret.insert(cd->name); + } + } + + return ret; +} + +bool CompoundDriver::connectTo(QString getSerial) +{ + if(connected) { + disconnect(); + } + bool found = false; + for(auto cd : configuredDevices) { + if(cd->name == getSerial) { + activeDevice = *cd; + found = true; + break; + } + } + if(!found) { + qWarning() << "Attempted to connect to an unknown compound device"; + return false; + } + std::vector> availableSerials; + for(auto d : drivers) { + availableSerials.push_back(d->GetAvailableDevices()); + } + // attempt to connect to all individual devices + for(auto s : activeDevice.deviceSerials) { + LibreVNADriver *device = nullptr; + for(unsigned int i=0;i 0) { + // this driver can connect to the requested device + if (i == 0) { + device = new LibreVNAUSBDriver(); + break; + } else if(i == 1) { + auto tcp = new LibreVNATCPDriver(); + tcp->copyDetectedDevices(*static_cast(drivers[i])); + device = tcp; + break; + } + } + } + if(!device) { + qWarning() << "Unable to find required serial for compound device:" <driverSpecificSettings()); + if(!device->connectDevice(s, true)) { + qWarning() << "Unable to connect to required serial for compound device:" <getSerial()+": ")); + }); + connect(dev, &LibreVNADriver::InfoUpdated, this, [=]() { + updatedInfo(dev); + }); + connect(dev, &LibreVNADriver::passOnReceivedPacket, this, [=](const Protocol::PacketInfo& packet) { + incomingPacket(dev, packet); + }); + } + + connected = true; + + return true; +} + +void CompoundDriver::disconnect() +{ + for(auto d : devices) { + QObject::disconnect(d, nullptr, this, nullptr); + d->disconnect(); + delete d; + } + devices.clear(); + deviceInfos.clear(); + deviceStatus.clear(); + compoundSABuffer.clear(); + compoundVNABuffer.clear(); + connected = false; +} + +QString CompoundDriver::getSerial() +{ + if(connected) { + return activeDevice.name; + } else { + return ""; + } +} + +std::set CompoundDriver::getFlags() +{ + std::set ret; + if(lastStatus.V1.extRefInUse) { + ret.insert(Flag::ExtRef); + } + if(!lastStatus.V1.source_locked || !lastStatus.V1.LO1_locked) { + ret.insert(Flag::Unlocked); + } + if(lastStatus.V1.unlevel) { + ret.insert(Flag::Unlevel); + } + if(lastStatus.V1.ADC_overload) { + ret.insert(Flag::Overload); + } + return ret; +} + +QString CompoundDriver::getStatus() +{ + QString ret; + ret.append("HW Rev."); + ret.append(info.hardware_version); + ret.append(" FW "+info.firmware_version); + ret.append(" Temps: Source PLL: "+QString::number(lastStatus.V1.temp_source)+"°C LO PLL: "+QString::number(lastStatus.V1.temp_LO1)+"°C MCU: "+QString::number(lastStatus.V1.temp_MCU)+"°C"); + ret.append(" Reference:"); + if(lastStatus.V1.extRefInUse) { + ret.append("External"); + } else { + ret.append("Internal"); + if(lastStatus.V1.extRefAvailable) { + ret.append(" (External available)"); + } + } + return ret; +} + +QWidget *CompoundDriver::createSettingsWidget() +{ + auto w = new QWidget(); + auto ui = new Ui::CompoundDriverSettingsWidget; + ui->setupUi(w); + + // Set initial values + ui->CaptureRawReceiverValues->setChecked(captureRawReceiverValues); + ui->PreservePhase->setChecked(preservePhase); + + // make connections + connect(ui->CaptureRawReceiverValues, &QCheckBox::toggled, this, [=](){ + captureRawReceiverValues = ui->CaptureRawReceiverValues->isChecked(); + }); + connect(ui->PreservePhase, &QCheckBox::toggled, this, [=](){ + preservePhase = ui->PreservePhase->isChecked(); + }); + + connect(ui->compoundList, &QListWidget::doubleClicked, [=](){ + auto index = ui->compoundList->currentRow(); + if(index >= 0 && index < (int) configuredDevices.size()) { + auto d = new CompoundDeviceEditDialog(configuredDevices[index]); + connect(d, &QDialog::accepted, [=](){ + ui->compoundList->item(index)->setText(configuredDevices[index]->getDesription()); + createCompoundJSON(); + }); + d->show(); + } + }); + connect(ui->compoundAdd, &QPushButton::clicked, [=](){ + auto cd = new CompoundDevice; + auto d = new CompoundDeviceEditDialog(cd); + connect(d, &QDialog::accepted, [=](){ + configuredDevices.push_back(cd); + ui->compoundList->addItem(cd->getDesription()); + createCompoundJSON(); + }); + connect(d, &QDialog::rejected, [=](){ + delete cd; + }); + d->show(); + }); + connect(ui->compoundDelete, &QPushButton::clicked, [=](){ + auto index = ui->compoundList->currentRow(); + if(index >= 0 && index < (int) configuredDevices.size()) { + // delete the actual compound device + delete configuredDevices[index]; + // delete the line in the GUI list + delete ui->compoundList->takeItem(index); + // remove compound device from list + configuredDevices.erase(configuredDevices.begin() + index); + createCompoundJSON(); + } + }); + + for(auto cd : configuredDevices) { + ui->compoundList->addItem(cd->getDesription()); + } + + return w; +} + +QStringList CompoundDriver::availableVNAMeasurements() +{ + QStringList ret; + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + for(unsigned int j=1;j<=info.Limits.VNA.ports;j++) { + ret.push_back("S"+QString::number(i)+QString::number(j)); + } + } + if(captureRawReceiverValues) { + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + for(unsigned int j=0;j cb) +{ + if(!supports(Feature::VNA)) { + return false; + } + if(s.excitedPorts.size() == 0) { + return setIdle(cb); + } + + setIdle([this](bool){ + enableTriggerForwarding(); + qDebug() << "Start trigger forwarding"; + }); + + // create port->stage mapping + portStageMapping.clear(); + for(unsigned int i=0;i activeMapping; + for(auto p : s.excitedPorts) { + activeMapping.push_back(activeDevice.portMapping[p-1]); + } + // Configure the devices + results.clear(); + bool success = true; + for(unsigned int i=0;isetSynchronization(activeDevice.sync, i == 0); + auto devSetting = s; + // indicate the number of stages + devSetting.excitedPorts = std::vector(s.excitedPorts.size(), 0); + // activate the ports of this specific device at the correct stage + auto p1Stage = CompoundDevice::PortMapping::findActiveStage(activeMapping, i, 0); + if(p1Stage < s.excitedPorts.size()) { + devSetting.excitedPorts[p1Stage] = 1; + } + auto p2Stage = CompoundDevice::PortMapping::findActiveStage(activeMapping, i, 1); + if(p2Stage < s.excitedPorts.size()) { + devSetting.excitedPorts[p2Stage] = 2; + } + success &= devices[i]->setVNA(devSetting, [=](bool success){ + if(cb) { + results[devices[i]] = success; + checkIfAllTransmissionsComplete(cb); + } + }); + } + + lastNonIdleSettings.type = Types::VNA; + lastNonIdleSettings.vna = s; + isIdle = false; + + return success; +} + +QStringList CompoundDriver::availableSAMeasurements() +{ + QStringList ret; + for(unsigned int i=1;i<=info.Limits.SA.ports;i++) { + ret.push_back("PORT"+QString::number(i)); + } + return ret; +} + +bool CompoundDriver::setSA(const DeviceDriver::SASettings &s, std::function cb) +{ + if(!supports(Feature::SA)) { + return false; + } + zerospan = s.freqStart == s.freqStop; + + setIdle([this](bool){ + enableTriggerForwarding(); + qDebug() << "Start trigger forwarding"; + }); + + // Configure the devices + results.clear(); + bool success = true; + for(unsigned int i=0;isetSynchronization(activeDevice.sync, i == 0); + auto devSettings = s; + devSettings.trackingGenerator = false; + devSettings.trackingPort = 0; + if(s.trackingGenerator) { + if(activeDevice.portMapping[s.trackingPort-1].device == i) { + // tracking generator active on this device + devSettings.trackingGenerator = true; + devSettings.trackingPort = activeDevice.portMapping[s.trackingPort-1].port + 1; + } + } + success &= devices[i]->setSA(devSettings, [=](bool success){ + if(cb) { + results[devices[i]] = success; + checkIfAllTransmissionsComplete(cb); + } + }); + } + SApoints = devices[0]->getSApoints(); + for(unsigned int i=1;igetSApoints() != SApoints) { + qWarning() << "Individual devices report different number of SA points, unable to start compound SA sweep"; + setIdle(); + success = false; + break; + } + } + + lastNonIdleSettings.type = Types::SA; + lastNonIdleSettings.sa = s; + isIdle = false; + + return success; +} + +QStringList CompoundDriver::availableSGPorts() +{ + QStringList ret; + for(unsigned int i=1;i 0) { + if(activeDevice.portMapping[s.port-1].device == i) { + // this device has the active port + devSettings.port = activeDevice.portMapping[s.port-1].port+1; + } + } + success &= devices[i]->setSG(devSettings); + } + + lastNonIdleSettings.type = Types::SG; + lastNonIdleSettings.sg = s; + isIdle = false; + + return success; +} + +bool CompoundDriver::setIdle(std::function cb) +{ + disableTriggerForwarding(); + qDebug() << "Stop trigger forwarding"; + auto success = true; + results.clear(); + for(auto dev : devices) { + dev->sendWithoutPayload(Protocol::PacketType::ClearTrigger); + success &= dev->setIdle([=](bool success){ + if(cb) { + results[dev] = success; + checkIfAllTransmissionsComplete(cb); + } + }); + } + + isIdle = true; + + return success; +} + +QStringList CompoundDriver::availableExtRefInSettings() +{ + if(!connected) { + return QStringList(); + } + auto list = devices[0]->availableExtRefInSettings(); + QSet set(list.begin(), list.end()); + for(unsigned int i=1;iavailableExtRefInSettings(); + set = set.intersect({list.begin(), list.end()}); + } + return QStringList(set.begin(), set.end()); +} + +QStringList CompoundDriver::availableExtRefOutSettings() +{ + if(!connected) { + return QStringList(); + } + auto list = devices[0]->availableExtRefOutSettings(); + QSet set(list.begin(), list.end()); + for(unsigned int i=1;iavailableExtRefOutSettings(); + set = set.intersect({list.begin(), list.end()}); + } + return QStringList(set.begin(), set.end()); +} + +bool CompoundDriver::setExtRef(QString option_in, QString option_out) +{ + auto success = true; + + qDebug() << "Ref change start"; + if(isIdle) { + // can immediately switch reference settings + for(auto dev : devices) { + success &= dev->setExtRef(option_in, option_out); + } + } else { + // can not switch during a sweep + // set to idle first + setIdle(); + // change reference + for(auto dev : devices) { + success &= dev->setExtRef(option_in, option_out); + } + // restore last non idle state + switch(lastNonIdleSettings.type) { + case Types::VNA: + setVNA(lastNonIdleSettings.vna); + break; + case Types::SA: + setSA(lastNonIdleSettings.sa); + break; + case Types::SG: + setSG(lastNonIdleSettings.sg); + break; + } + } + qDebug() << "Ref change stop"; + + return success; +} + +std::set CompoundDriver::getIndividualDeviceSerials() +{ + std::vector drivers; + drivers.push_back(new LibreVNAUSBDriver); + drivers.push_back(new LibreVNATCPDriver); + + auto &p = Preferences::getInstance(); + std::set ret; + for(auto d : drivers) { + p.load(d->driverSpecificSettings()); + ret.merge(d->GetAvailableDevices()); + } + return ret; +} + +void CompoundDriver::triggerReceived(LibreVNADriver *device, bool set) +{ + triggerMutex.lock(); + if(activeDevice.sync == LibreVNADriver::Synchronization::GUI && triggerForwarding) { + for(unsigned int i=0;igetSerial() << "to" << devices[i+1]->getSerial(); + devices[i+1]->sendWithoutPayload(set ? Protocol::PacketType::SetTrigger : Protocol::PacketType::ClearTrigger); + } else { + qDebug() << "Passing on trigger" << set << "from" << device->getSerial() << "to" << devices[0]->getSerial(); + devices[0]->sendWithoutPayload(set ? Protocol::PacketType::SetTrigger : Protocol::PacketType::ClearTrigger); + } + break; + } + } + } + triggerMutex.unlock(); +} + +void CompoundDriver::parseCompoundJSON() +{ + try { + configuredDevices.clear(); + if(compoundJSONString.isEmpty()) { + // empty string will fail JSON parsing. Abort now instead of running into the exception + return; + } + nlohmann::json jc = nlohmann::json::parse(compoundJSONString.toStdString()); + for(auto j : jc) { + auto cd = new CompoundDevice(); + cd->fromJSON(j); + configuredDevices.push_back(cd); + } + } catch(const std::exception& e){ + qDebug() << "Failed to parse compound device string: " << e.what(); + } +} + +void CompoundDriver::createCompoundJSON() +{ + if(configuredDevices.size() > 0) { + nlohmann::json j; + for(auto cd : configuredDevices) { + j.push_back(cd->toJSON()); + } + compoundJSONString = QString::fromStdString(j.dump()); + } else { + compoundJSONString = "[]"; + } +} + +void CompoundDriver::incomingPacket(LibreVNADriver *device, const Protocol::PacketInfo &p) +{ + switch(p.type) { + case Protocol::PacketType::DeviceStatus: + updatedStatus(device, p.status); + break; + case Protocol::PacketType::VNADatapoint: + datapointReceivecd(device, p.VNAdatapoint); + break; + case Protocol::PacketType::SpectrumAnalyzerResult: + spectrumResultReceived(device, p.spectrumResult); + break; + default: + // nothing to do for other packet types + break; + } +} + +void CompoundDriver::updatedInfo(LibreVNADriver *device) +{ + deviceInfos[device] = device->getInfo(); + if(deviceInfos.size() == devices.size()) { + // got infos from all devices + info = devices[0]->getInfo(); + for(unsigned int i=1;igetInfo()); + } + // overwrite number of ports (not all physical ports may be configured for this compound device) + info.Limits.VNA.ports = activeDevice.portMapping.size(); + info.Limits.Generator.ports = activeDevice.portMapping.size(); + info.Limits.SA.ports = activeDevice.portMapping.size(); + emit InfoUpdated(); + } +} + +void CompoundDriver::updatedStatus(LibreVNADriver *device, const Protocol::DeviceStatus &status) +{ + deviceStatus[device] = status; + if(deviceStatus.size() == devices.size()) { + // got status from all devices + for(unsigned int i=0;i(); + } + auto &buf = compoundSABuffer[res.pointNum]; + buf[dev] = res; + if(buf.size() == devices.size()) { + // Got datapoints from all devices, can create merged VNA result + SAMeasurement m; + m.pointNum = res.pointNum; + if(zerospan) { + m.us = res.us; + } else { + m.frequency = res.frequency; + } + // assemble data + for(unsigned int port=0;portfirst <= res.pointNum) { + it = compoundSABuffer.erase(it); + } else { + it++; + } + } + } +} + +void CompoundDriver::enableTriggerForwarding() +{ + triggerMutex.lock(); + for(auto d : devices) { + connect(d, &LibreVNADriver::receivedTrigger, this, &CompoundDriver::triggerReceived, Qt::UniqueConnection); + } + triggerForwarding = true; + triggerMutex.unlock(); +} + +void CompoundDriver::disableTriggerForwarding() +{ + triggerMutex.lock(); + triggerForwarding = false; + for(auto d : devices) { + QObject::disconnect(d, &LibreVNADriver::receivedTrigger, this, &CompoundDriver::triggerReceived); + } + triggerMutex.unlock(); +} + +void CompoundDriver::datapointReceivecd(LibreVNADriver *dev, Protocol::VNADatapoint<32> *data) +{ + if(!compoundVNABuffer.count(data->pointNum)) { + compoundVNABuffer[data->pointNum] = std::map*>(); + } + auto &buf = compoundVNABuffer[data->pointNum]; + // create copy of datapoint as it will be deleted by the device driver + buf[dev] = new Protocol::VNADatapoint<32>(*data); + if(buf.size() == devices.size()) { + // Got datapoints from all devices, can create merged VNA result + VNAMeasurement m; + m.pointNum = data->pointNum; + m.Z0 = 50.0; + if(zerospan) { + m.us = data->us; + } else { + m.frequency = data->frequency; + m.dBm = (double) data->cdBm / 100; + } + // assemble data + for(auto map : portStageMapping) { + // map.first is the port (starts at one) + // map.second is the stage at which this port had the stimulus (starts at zero) + + // figure out which device had the stimulus for the port... + auto stimulusDev = devices[activeDevice.portMapping[map.first-1].device]; + // ...and which device port was used for the stimulus... + auto stimulusDevPort = activeDevice.portMapping[map.first-1].port; + // ...grab the reference receiver data + std::complex ref = buf[stimulusDev]->getValue(map.second, stimulusDevPort, true); + + // for all ports of the compound device... + for(unsigned int i=0;i input = buf[inputDevice]->getValue(map.second, inputPort, false); + if(!std::isnan(ref.real()) && !std::isnan(input.real())) { + // got both required measurements + QString name = "S"+QString::number(i+1)+QString::number(map.first); + auto S = input / ref; + if(!preservePhase && (inputDevice != stimulusDev)) { + // can't use phase information when measuring across devices + S = abs(S); + } + m.measurements[name] = S; + } + + if(captureRawReceiverValues) { + QString name = "RawPort"+QString::number(inputPort+1)+"Stage"+QString::number(map.second); + m.measurements[name] = input; + name = "RawPort"+QString::number(inputPort+1)+"Stage"+QString::number(map.second)+"Ref"; + m.measurements[name] = buf[inputDevice]->getValue(map.second, inputPort, true); + } + } + } + + emit VNAmeasurementReceived(m); + + // Clear this and all (incomplete) older datapoint buffers + int pointNum = data->pointNum; + while(compoundVNABuffer.count(pointNum)) { + auto &buf = compoundVNABuffer[pointNum]; + for(auto d : buf) { + delete d.second; + } + compoundVNABuffer.erase(pointNum); + // move on to previous point + if(pointNum > 0) { + pointNum--; + } else { + pointNum = VNApoints - 1; + } + } + } +} + +void CompoundDriver::checkIfAllTransmissionsComplete(std::function cb) +{ + if(results.size() == devices.size()) { + // got all responses + bool success = true; + for(auto res : results) { + if(res.second != true) { + success = false; + break; + } + } + if(cb) { + cb(success); + } + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriver.h new file mode 100644 index 0000000..09d4faf --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriver.h @@ -0,0 +1,230 @@ +#ifndef COMPOUNDDRIVER_H +#define COMPOUNDDRIVER_H + +#include "../../devicedriver.h" +#include "compounddevice.h" + +#include + +class CompoundDriver : public DeviceDriver +{ +public: + CompoundDriver(); + ~CompoundDriver(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() override {return "LibreVNA/Compound";} + /** + * @brief Lists all available devices by their serial numbers + * @return Serial numbers of detected devices + */ + virtual std::set GetAvailableDevices() override; + +protected: + /** + * @brief Connects to a device, given by its serial number + * + * @param serial Serial number of device that should be connected to + * @return true if connection successful, otherwise false + */ + virtual bool connectTo(QString getSerial) override; + /** + * @brief Disconnects from device. Has no effect if no device was connected + */ + virtual void disconnect() override; + +public: + /** + * @brief Returns the serial number of the connected device + * @return Serial number of connected device (empty string if no device is connected) + */ + virtual QString getSerial() override; + + /** + * @brief Returns the device information. This function will be called when a device has been connected. Its return value must be valid + * directly after returning from DeviceDriver::connectTo() + * + * Emit the InfoUpdate() signal whenever the return value of this function changes. + * + * @return Device information + */ + virtual Info getInfo() override {return info;} + + /** + * @brief Returns a set of all active flags + * + * There is also a convenience function to check a specific flag, see DeviceDriver::asserted() + * + * @return Set of active flags + */ + virtual std::set getFlags() override; + + /** + * @brief Returns the device status string. It will be displayed in the status bar of the application + * + * Emit the StatusUpdated() signal whenever the return value of this function changes + * + * @return Status string + */ + virtual QString getStatus() override; + + /** + * @brief Returns a widget to edit the driver specific settings. + * + * The widget is displayed in the global settings dialog and allows the user to edit the settings + * specific to this driver. The application takes ownership of the widget after returning, + * create a new widget for every call to this function. If the driver has no specific settings + * or the settings do not need to be editable by the user, return a nullptr. In this case, no + * page for this driver is created in the settings dialog + * @return newly constructed settings widget or nullptr + */ + virtual QWidget* createSettingsWidget() override; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned VNAMeasurement. + * Typically the S parameters, e.g. this function may return {"S11","S12","S21","S22"} but any other names are also allowed. + * + * @return List of available VNA measurement parameters + */ + virtual QStringList availableVNAMeasurements() override; + + /** + * @brief Configures the VNA and starts a sweep + * @param s VNA settings + * @param cb Callback, must be called after the VNA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setVNA(const VNASettings &s, std::function cb = nullptr) override; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned SAMeasurement. + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSAMeasurements() override; + /** + * @brief Configures the SA and starts a sweep + * @param s SA settings + * @param cb Callback, must be called after the SA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setSA(const SASettings &s, std::function cb = nullptr) override; + + /** + * @brief Returns the number of points in one spectrum analyzer sweep (as configured by the last setSA() call) + * @return Number of points in the sweep + */ + virtual unsigned int getSApoints() override {return SApoints;} + + /** + * @brief Names of available generator ports. + * + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSGPorts() override; + /** + * @brief Configures the generator + * @param s Generator settings + * @return true if configuration successful, false otherwise + */ + virtual bool setSG(const SGSettings &s) override; + + /** + * @brief Sets the device to idle + * + * Stops all sweeps and signal generation + * + * @param cb Callback, must be called after the device has stopped all operations + * @return true if configuration successful, false otherwise + */ + virtual bool setIdle(std::function cb = nullptr) override; + + /** + * @brief Returns the available options for the external reference input + * @return External reference input options + */ + virtual QStringList availableExtRefInSettings() override; + + /** + * @brief Returns the available options for the external reference output + * @return External reference output options + */ + virtual QStringList availableExtRefOutSettings() override; + + /** + * @brief Configures the external reference input/output + * @param option_in Reference input option (one of the options returned by availableExtRefInSettings()) + * @param option_out Reference output option (one of the options returned by availableExtRefOutSettings()) + * @return true if configuration successful, false otherwise + */ + virtual bool setExtRef(QString option_in, QString option_out) override; + + static std::set getIndividualDeviceSerials(); + +private slots: + void triggerReceived(LibreVNADriver *device, bool set); +private: + void parseCompoundJSON(); + void createCompoundJSON(); + void incomingPacket(LibreVNADriver *device, const Protocol::PacketInfo &p); + void updatedInfo(LibreVNADriver *device); + void updatedStatus(LibreVNADriver *device, const Protocol::DeviceStatus &status); + void datapointReceivecd(LibreVNADriver *dev, Protocol::VNADatapoint<32> *data); + void spectrumResultReceived(LibreVNADriver *dev, Protocol::SpectrumAnalyzerResult res); + void enableTriggerForwarding(); + void disableTriggerForwarding(); + + Info info; + std::map deviceInfos; + std::map deviceStatus; + std::map*>> compoundVNABuffer; + std::map> compoundSABuffer; + Protocol::DeviceStatus lastStatus; + + // Parsed configuration of compound devices (as extracted from compoundJSONString + std::vector configuredDevices; + + std::map portStageMapping; // maps from excitedPort (count starts at one) to stage (count starts at zero) + + // All possible drivers to interact with a LibreVNA + std::vector drivers; + + // Configuration of the device we are connected to + CompoundDevice activeDevice; + bool connected; + bool triggerForwarding; + QMutex triggerMutex; + std::vector devices; + bool zerospan; + bool isIdle; + enum class Types{VNA, SA, SG}; + struct { + VNASettings vna; + SASettings sa; + SGSettings sg; + Types type; + } lastNonIdleSettings; + unsigned int VNApoints; + unsigned int SApoints; + + // Driver specific settings + bool captureRawReceiverValues; + bool preservePhase; + QString compoundJSONString; + + // Buffers for storing individual device answers + std::map results; + void checkIfAllTransmissionsComplete(std::function cb = nullptr); +}; + +#endif // COMPOUNDDRIVER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriversettingswidget.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriversettingswidget.ui new file mode 100644 index 0000000..7393ff4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/Compound/compounddriversettingswidget.ui @@ -0,0 +1,94 @@ + + + CompoundDriverSettingsWidget + + + + 0 + 0 + 893 + 559 + + + + CompoundDriverSettingsWidget + + + + + + + + + + + + + + + + + :/icons/add.png + :/icons/add.png:/icons/add.png + + + + + + + + + + + :/icons/remove.png + :/icons/remove.png:/icons/remove.png + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + Debug - Acquisition + + + + + + Capture raw receiver values + + + + + + + Preserve phase for measurements between devices + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/addamplitudepointsdialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/addamplitudepointsdialog.ui new file mode 100644 index 0000000..67b6521 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/addamplitudepointsdialog.ui @@ -0,0 +1,138 @@ + + + AddAmplitudePointsDialog + + + + 0 + 0 + 564 + 139 + + + + Add points + + + true + + + + + + + + Single Point at + + + groupType + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + Array of + + + groupType + + + + + + + 1 + + + 64 + + + 10 + + + + + + + points from + + + + + + + + + + to + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Delete already existing points + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.cpp new file mode 100644 index 0000000..1c765dd --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.cpp @@ -0,0 +1,696 @@ +#include "amplitudecaldialog.h" + +#include "ui_amplitudecaldialog.h" +#include "mode.h" +#include "unit.h" +#include "ui_addamplitudepointsdialog.h" +#include "ui_automaticamplitudedialog.h" +#include "json.hpp" +#include "Util/util.h" + +#include +#include +#include +#include +#include +#include + +using namespace std; +using namespace nlohmann; + +AmplitudeCalDialog::AmplitudeCalDialog(LibreVNADriver *dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::AmplitudeCalDialog), + dev(dev), + model(this), + edited(false), + mode(CalibrationMode::BothPorts) +{ + setAttribute(Qt::WA_DeleteOnClose); + emit dev->acquireControl(); + ui->setupUi(this); + ui->view->setModel(&model); + ui->view->setColumnWidth(AmplitudeModel::ColIndexFreq, 100); + ui->view->setColumnWidth(AmplitudeModel::ColIndexCorrectionFactors, 150); + ui->view->setColumnWidth(AmplitudeModel::ColIndexPort1, 150); + ui->view->setColumnWidth(AmplitudeModel::ColIndexPort2, 150); + connect(ui->load, &QPushButton::clicked, [=](){ + if(ConfirmActionIfEdited()) { + LoadFromDevice(); + } + }); + connect(ui->save, &QPushButton::clicked, this, &AmplitudeCalDialog::SaveToDevice); + + connect(ui->saveFile, &QPushButton::clicked, [=](){ + auto fileEnding = pointType() == Protocol::PacketType::SourceCalPoint ? ".srccal" : ".recvcal"; + auto fileFilter = QString("Amplitude calibration files (*")+fileEnding+")"; + auto filename = QFileDialog::getSaveFileName(nullptr, "Save calibration data", Preferences::getInstance().UISettings.Paths.vnacaldata, fileFilter, nullptr, Preferences::QFileDialogOptions()); + if(filename.isEmpty()) { + // aborted selection + return; + } + Preferences::getInstance().UISettings.Paths.vnacaldata = QFileInfo(filename).path(); + if(!filename.endsWith(fileEnding)) { + filename.append(fileEnding); + } + json j; + for(auto p : points) { + json point; + point["Frequency"] = p.frequency; + point["Port1"] = p.correctionPort1; + point["Port2"] = p.correctionPort2; + j.push_back(point); + } + ofstream file; + file.open(filename.toStdString()); + file << setw(4) << j << endl; + file.close(); + edited = false; + }); + + connect(ui->loadFile, &QPushButton::clicked, [=](){ + auto fileEnding = pointType() == Protocol::PacketType::SourceCalPoint ? ".srccal" : ".recvcal"; + auto fileFilter = QString("Amplitude calibration files (*")+fileEnding+")"; + auto filename = QFileDialog::getOpenFileName(nullptr, "Save calibration data", Preferences::getInstance().UISettings.Paths.vnacaldata, fileFilter, nullptr, Preferences::QFileDialogOptions()); + if(filename.isEmpty()) { + // aborted selection + return; + } + Preferences::getInstance().UISettings.Paths.vnacaldata = QFileInfo(filename).path(); + ifstream file; + file.open(filename.toStdString()); + if(!file.is_open()) { + throw runtime_error("Unable to open file"); + } + RemoveAllPoints(); + json j; + file >> j; + for(auto point : j) { + if(!point.contains("Frequency") || !point.contains("Port1") || !point.contains("Port2")) { + InformationBox::ShowError("Error loading file", "Failed to parse calibration point"); + return; + } + CorrectionPoint p; + p.frequency = point["Frequency"]; + p.correctionPort1 = point["Port1"]; + p.correctionPort2 = point["Port2"]; + p.port1set = false; + p.port2set = false; + UpdateAmplitude(p); + if(!AddPoint(p)) { + InformationBox::ShowMessage("Limit reached", "Unable to add all points from file, would not fit into the device"); + break; + } + } + }); + + connect(ui->add, &QPushButton::clicked, this, &AmplitudeCalDialog::AddPointDialog); + connect(ui->remove, &QPushButton::clicked, [=](){ + unsigned int row = ui->view->currentIndex().row(); + if(row < points.size()) { + RemovePoint(row); + } + }); + auto selectionModel = ui->view->selectionModel(); + connect(selectionModel, &QItemSelectionModel::currentChanged, [=](const QModelIndex ¤t, const QModelIndex&) { + if(current.isValid() && (current.column() == model.ColIndexPort1 || current.column() == model.ColIndexPort2)) { + SelectedPoint(points[current.row()].frequency, current.column() == model.ColIndexPort2); + } else { + // Invalid selection + SelectedPoint(0, false); + } + }); + connect(ui->modeBoth, &QPushButton::pressed, [=](){ + mode = CalibrationMode::BothPorts; + model.dataChanged(model.index(0, model.ColIndexPort1), model.index(points.size(), model.ColIndexPort2)); + }); + connect(ui->modePort1, &QPushButton::pressed, [=](){ + mode = CalibrationMode::OnlyPort1; + model.dataChanged(model.index(0, model.ColIndexPort1), model.index(points.size(), model.ColIndexPort2)); + }); + connect(ui->modePort2, &QPushButton::pressed, [=](){ + mode = CalibrationMode::OnlyPort2; + model.dataChanged(model.index(0, model.ColIndexPort1), model.index(points.size(), model.ColIndexPort2)); + }); + connect(ui->automatic, &QPushButton::clicked, this, &AmplitudeCalDialog::AutomaticMeasurementDialog); + + connect(this, &AmplitudeCalDialog::SpectrumResultReceived, this, &AmplitudeCalDialog::ReceivedMeasurement); + + connect(dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::SpectrumAnalyzerResult) { + emit SpectrumResultReceived(p.spectrumResult); + } else if(p.type == Protocol::PacketType::SourceCalPoint || p.type == Protocol::PacketType::ReceiverCalPoint) { + emit AmplitudeCorrectionPointReceived(p.amplitudePoint); + } + }, Qt::QueuedConnection); +} + +AmplitudeCalDialog::~AmplitudeCalDialog() +{ + emit dev->releaseControl(); + delete ui; +} + +void AmplitudeCalDialog::reject() +{ + if(ConfirmActionIfEdited()) { + delete this; + } +} + +std::vector AmplitudeCalDialog::getPoints() const +{ + return points; +} + +void AmplitudeCalDialog::setAmplitude(double amplitude, unsigned int point, bool port2) +{ + if(point >= points.size()) { + return; + } + if(port2) { + points[point].amplitudePort2 = amplitude; + points[point].port2set = true; + } else { + points[point].amplitudePort1 = amplitude; + points[point].port1set = true; + } + edited = true; + AmplitudeChanged(points[point], port2); + if(mode == CalibrationMode::OnlyPort1 && !port2) { + // apply result from port 1 to port 2 as well + points[point].correctionPort2 = points[point].correctionPort1; + points[point].port2set = points[point].port1set; + points[point].amplitudePort2 = points[point].amplitudePort1; + } else if(mode == CalibrationMode::OnlyPort2 && port2) { + // apply result from port 2 to port 1 as well + points[point].correctionPort1 = points[point].correctionPort2; + points[point].port1set = points[point].port2set; + points[point].amplitudePort1 = points[point].amplitudePort2; + } + model.dataChanged(model.index(point, model.ColIndexCorrectionFactors), model.index(point, model.ColIndexPort2)); + UpdateSaveButton(); +} + +void AmplitudeCalDialog::ReceivedPoint(Protocol::AmplitudeCorrectionPoint p) +{ + qDebug() << "Received amplitude calibration point" << p.pointNum << "/" << p.totalPoints; + CorrectionPoint c; + c.frequency = p.freq * 10.0; + c.correctionPort1 = p.port1; + c.correctionPort2 = p.port2; + c.port1set = false; + c.port2set = false; + model.beginInsertRows(QModelIndex(), points.size(), points.size()); + UpdateAmplitude(c); + points.push_back(c); + model.endInsertRows(); + emit pointsUpdated(); + if(p.pointNum == p.totalPoints - 1) { + // this was the last point + disconnect(this, &AmplitudeCalDialog::AmplitudeCorrectionPointReceived, this, nullptr); + ui->load->setEnabled(true); + } +} + +void AmplitudeCalDialog::LoadFromDevice() +{ + ui->load->setEnabled(false); + dev->setIdle(); + RemoveAllPoints(); + qDebug() << "Asking for amplitude calibration"; + connect(this, &AmplitudeCalDialog::AmplitudeCorrectionPointReceived, this, &AmplitudeCalDialog::ReceivedPoint, Qt::QueuedConnection); + dev->sendWithoutPayload(requestCommand()); + edited = false; + UpdateSaveButton(); +} + +void AmplitudeCalDialog::SaveToDevice() +{ + dev->setIdle(); + for(unsigned int i=0;iSendPacket(info); +// qDebug() << "Sent amplitude calibration point" << i << "/" << points.size(); + } + edited = false; + UpdateSaveButton(); +} + +void AmplitudeCalDialog::RemovePoint(unsigned int i) +{ + model.beginRemoveRows(QModelIndex(), i, i); + points.erase(points.begin() + i); + model.endRemoveRows(); + edited = true; + UpdateSaveButton(); +} + +void AmplitudeCalDialog::RemoveAllPoints() +{ + model.beginResetModel(); + points.clear(); + model.endResetModel(); + edited = true; + UpdateSaveButton(); +} + +bool AmplitudeCalDialog::AddPoint(AmplitudeCalDialog::CorrectionPoint &p) +{ + if (points.size() >= dev->getMaxAmplitudePoints()) { + // already at limit + return false; + } + // find position at which this frequency gets inserted + auto index = upper_bound(points.begin(), points.end(), p.frequency, [](double value, const CorrectionPoint& p){ + return value < p.frequency; + }); + model.beginInsertRows(QModelIndex(), index - points.begin(), index - points.begin()); + emit newPointCreated(p); + points.insert(index, p); + model.endInsertRows(); + UpdateSaveButton(); + return true; +} + +bool AmplitudeCalDialog::AddPoint(double frequency) +{ + CorrectionPoint newPoint; + newPoint.frequency = frequency; + newPoint.correctionPort1 = 0; + newPoint.correctionPort2 = 0; + newPoint.port1set = false; + newPoint.port2set = false; + auto success = AddPoint(newPoint); + if (success) { + edited = true; + } + return success; +} + +void AmplitudeCalDialog::AddPointDialog() +{ + auto d = new QDialog(); + auto ui = new Ui::AddAmplitudePointsDialog(); + ui->setupUi(d); + connect(d, &QDialog::finished, [=](){ + delete ui; + }); + ui->frequency->setUnit("Hz"); + ui->frequency->setPrefixes(" kMG"); + ui->startFreq->setUnit("Hz"); + ui->startFreq->setPrefixes(" kMG"); + ui->stopFreq->setUnit("Hz"); + ui->stopFreq->setPrefixes(" kMG"); + ui->frequency->setValue(1000000000.0); + ui->startFreq->setValue(dev->getInfo().Limits.SA.minFreq); + ui->stopFreq->setValue(dev->getInfo().Limits.SA.maxFreq); + connect(ui->singlePoint, &QRadioButton::toggled, [=](bool single) { + ui->stopFreq->setEnabled(!single); + ui->startFreq->setEnabled(!single); + ui->numPoints->setEnabled(!single); + ui->frequency->setEnabled(single); + }); + ui->singlePoint->setChecked(true); + ui->frequency->setFocus(); + + connect(ui->buttonBox, &QDialogButtonBox::accepted, [=](){ + // okay clicked, apply selected action + if(ui->deleteExisting->isChecked()) { + RemoveAllPoints(); + } + if(ui->singlePoint->isChecked()) { + if(!AddPoint(ui->frequency->value())) { + InformationBox::ShowMessage("Limit reached", "Can't add any more points, would not fit into the device"); + } + } else { + double freq_start = ui->startFreq->value(); + double freq_stop = ui->stopFreq->value(); + unsigned int points = ui->numPoints->value(); + double freq_step = (freq_stop - freq_start) / (points - 1); + for(unsigned int i=0;ibuttonBox, &QDialogButtonBox::rejected); + connect(ui->buttonBox, &QDialogButtonBox::rejected, [=](){ + // aborted, nothing to do + delete d; + }); + + dev->sendWithoutPayload(requestCommand()); + + if(AppWindow::showGUI()) { + d->show(); + } +} + +void AmplitudeCalDialog::AutomaticMeasurementDialog() +{ + automatic = {}; + automatic.isSourceCal = pointType() == Protocol::PacketType::SourceCalPoint; + const QString ownCal = automatic.isSourceCal ? "Source" : "Receiver"; + const QString otherCal = automatic.isSourceCal ? "Receiver" : "Source"; + + // compile info text + QString info = "It is possible to determine the " + ownCal + " Calibration if a valid " + otherCal + + " Calibration is already present. To do so, connect a short cable with as little loss as possible" + + " between the ports. For each point in the " + otherCal + " Calibration, the device will take" + + " a measurement and determine the correction factors for the " + ownCal + " Calibration."; + + automatic.dialog = new QDialog(this); + auto ui = new Ui::AutomaticAmplitudeDialog(); + ui->setupUi(automatic.dialog); + connect(automatic.dialog, &QDialog::finished, [=](){ + delete ui; + }); + automatic.progress = ui->progress; + ui->explanation->setText(info); + ui->status->setText("Gathering information about "+otherCal+" Calibration..."); + + automatic.points.clear(); + + connect(automatic.dialog, &QDialog::rejected, ui->abort, &QPushButton::click); + connect(ui->abort, &QPushButton::clicked, [=](){ + // aborted, clean up + disconnect(this, &AmplitudeCalDialog::SpectrumResultReceived, this, &AmplitudeCalDialog::ReceivedAutomaticMeasurementResult); + dev->setIdle(); + delete ui; + delete automatic.dialog; + }); + + dev->setIdle(); + connect(this, &AmplitudeCalDialog::AmplitudeCorrectionPointReceived, this, [this, ui, otherCal](Protocol::AmplitudeCorrectionPoint p) { + CorrectionPoint c; + c.frequency = p.freq * 10.0; + c.correctionPort1 = p.port1; + c.correctionPort2 = p.port2; + c.port1set = true; + c.port2set = true; + automatic.points.push_back(c); + ui->progress->setValue(100 * (p.pointNum+1) / p.totalPoints); + if(p.pointNum == p.totalPoints - 1) { + // this was the last point, indicate ready for measurement + ui->progress->setValue(0); + ui->status->setText(otherCal + " Calibration contains " +QString::number(p.totalPoints)+" points, ready to start measurement"); + ui->start->setEnabled(true); + disconnect(this, &AmplitudeCalDialog::AmplitudeCorrectionPointReceived, this, nullptr); + qDebug() << "Received" << p.totalPoints << "points for automatic calibration"; + } + }, Qt::QueuedConnection); + // request points of otherCal + // switch between source/receiver calibration + auto request = automatic.isSourceCal ? Protocol::PacketType::RequestReceiverCal : Protocol::PacketType::RequestSourceCal; + dev->sendWithoutPayload(request); + + connect(ui->start, &QPushButton::clicked, [=](){ + // remove any exising points in own calibration and copy points from other calibration + RemoveAllPoints(); + for(auto p : automatic.points) { + AddPoint(p.frequency); + } + // intialize measurement state machine + connect(this, &AmplitudeCalDialog::SpectrumResultReceived, this, &AmplitudeCalDialog::ReceivedAutomaticMeasurementResult, Qt::QueuedConnection); + automatic.measuringPort2 = false; + automatic.measuringCount = 0; + ui->status->setText("Taking measurements..."); + SetupNextAutomaticPoint(automatic.isSourceCal); + }); + + if(AppWindow::showGUI()) { + automatic.dialog->show(); + } +} + +void AmplitudeCalDialog::ReceivedMeasurement(Protocol::SpectrumAnalyzerResult res) +{ + MeasurementResult m = {.port1 = Util::SparamTodB(res.port1), .port2 = Util::SparamTodB(res.port2)}; + sweepMeasurements.push_back(m); + if(res.pointNum == automaticSweepPoints - 1) { + // sweep finished, find maximum for each port + double maxPort1 = std::numeric_limits::lowest(); + double maxPort2 = std::numeric_limits::lowest(); + for(auto s : sweepMeasurements) { + if(s.port1 > maxPort1) { + maxPort1 = s.port1; + } + if(s.port2 > maxPort2) { + maxPort2 = s.port2; + } + } + MeasurementResult max = {.port1 = maxPort1, .port2 = maxPort2}; + if(measured.size() >= averages) { + measured.pop_front(); + } + measured.push_back(max); + sweepMeasurements.clear(); + } +} + +bool AmplitudeCalDialog::ConfirmActionIfEdited() +{ + if(edited) { + return InformationBox::AskQuestion("Confirm action", "Some points have been edited but not saved in the device yet. If you continue, all changes will be lost (unless they are already saved to a file). Do you want to continue?", true); + } else { + // not edited yet, nothing to confirm + return true; + } +} + +void AmplitudeCalDialog::UpdateSaveButton() +{ + bool enable = true; + if(points.size() == 0) { + // needs at least one point + enable = false; + } + for(auto p : points) { + if(!p.port1set || !p.port2set) { + // some points are not set yet + enable = false; + break; + } + } + if(!edited) { + // already saved in device, disable button + enable = false; + } + ui->save->setEnabled(enable); +} + +void AmplitudeCalDialog::SetupNextAutomaticPoint(bool isSourceCal) +{ + qDebug() << "Starting automatic calibration measurement for point" << automatic.measuringCount <<", measuring port2:" << automatic.measuringPort2; + auto point = automatic.points[automatic.measuringCount]; + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::SpectrumAnalyzerSettings; + p.spectrumSettings.RBW = 10000; + p.spectrumSettings.UseDFT = 0; + // setup points centered around the measurement frequency: + // use a span proportional to the center frequency (this makes sure to catch the peak of the excitation signal which + // might be slightly off due to PLL divider limtis). Also make sure to use at least a span of 2 Hz (zero span not supported yet) + p.spectrumSettings.f_stop = point.frequency * 1.00001 + 1.0; + p.spectrumSettings.f_start = point.frequency / 1.00001 - 1.0; + p.spectrumSettings.pointNum = automaticSweepPoints; + p.spectrumSettings.Detector = 0; + p.spectrumSettings.SignalID = 1; + p.spectrumSettings.WindowType = 3; + p.spectrumSettings.trackingGenerator = 1; + p.spectrumSettings.trackingPower = excitationAmplitude * 100.0; + p.spectrumSettings.trackingGeneratorOffset = 0; + // For a source cal, the tracking generator has to be enabled at the measurement port (calibrating the output power) + // For a receiver cal, the tracking generator has to be enabled at the other port (calibrating received power) + if(isSourceCal) { + if(automatic.measuringPort2) { + p.spectrumSettings.trackingGeneratorPort = 1; + } else { + p.spectrumSettings.trackingGeneratorPort = 0; + } + } else { + if(automatic.measuringPort2) { + p.spectrumSettings.trackingGeneratorPort = 0; + } else { + p.spectrumSettings.trackingGeneratorPort = 1; + } + } + if(isSourceCal) { + // Calibrating the source which means the receiver is already calibrated -> use receiver corrections but no source corrections + p.spectrumSettings.applyReceiverCorrection = 1; + p.spectrumSettings.applySourceCorrection = 0; + } else { + // the other way around + p.spectrumSettings.applyReceiverCorrection = 0; + p.spectrumSettings.applySourceCorrection = 1; + } + automatic.settlingCount = averages + automaticSettling; + dev->SendPacket(p); + sweepMeasurements.clear(); + sweepMeasurements.reserve(automaticSweepPoints); +} + +void AmplitudeCalDialog::ReceivedAutomaticMeasurementResult(Protocol::SpectrumAnalyzerResult res) +{ + if(res.pointNum != automaticSweepPoints - 1) { + // ignore everything except end of sweep + return; + } + if(automatic.settlingCount > 0) { + automatic.settlingCount--; + return; + } + if(automatic.isSourceCal) { + // grab correct measurement and convert to dbm + auto m = averageMeasurement(); + double measurement = automatic.measuringPort2 ? m.port1 : m.port2; + // receiver cal already done, the measurement result is accurate and can be used to determine actual output power + setAmplitude(measurement, automatic.measuringCount, automatic.measuringPort2); + } else { + // source cal already done, the output power is accurate while the measurement might be off. + // The measurement result is already extracted by the ReceiverCalDialog + setAmplitude(excitationAmplitude, automatic.measuringCount, automatic.measuringPort2); + } + // update progress bar + automatic.progress->setValue(100 * (automatic.measuringCount * 2 + automatic.measuringPort2 + 1) / (points.size() * 2)); + // advance state machine + // switch ports + automatic.measuringPort2 = !automatic.measuringPort2; + if(!automatic.measuringPort2) { + // now measuring port1, this means we have to advance to the next point + automatic.measuringCount++; + if(automatic.measuringCount >= points.size()) { + // all done, close dialog + // Closing the dialog will disconnect the connection to this function and return the device into the idle state + automatic.dialog->reject(); + automatic.dialog = nullptr; + qDebug() << "Automatic source/receiver calibration complete"; + return; + } + } + // Start next measurement + SetupNextAutomaticPoint(automatic.isSourceCal); +} + +AmplitudeCalDialog::MeasurementResult AmplitudeCalDialog::averageMeasurement() +{ + MeasurementResult ret = {}; + for(auto m : measured) { + ret.port1 += m.port1; + ret.port2 += m.port2; + } + ret.port1 /= measured.size(); + ret.port2 /= measured.size(); + return ret; +} + +AmplitudeCalDialog::CalibrationMode AmplitudeCalDialog::getMode() const +{ + return mode; +} + +AmplitudeModel::AmplitudeModel(AmplitudeCalDialog *c) : + QAbstractTableModel(), + c(c) +{ +} + +int AmplitudeModel::rowCount(const QModelIndex &) const +{ + return c->getPoints().size(); +} + +int AmplitudeModel::columnCount(const QModelIndex &) const +{ + return ColIndexLast; +} + +QVariant AmplitudeModel::data(const QModelIndex &index, int role) const +{ + if(role == Qt::DisplayRole && static_cast(index.row()) < c->getPoints().size()) { + auto p = c->getPoints()[index.row()]; + switch(index.column()) { + case ColIndexFreq: + return Unit::ToString(p.frequency, "Hz", " kMG", 6); + break; + case ColIndexCorrectionFactors: + return QString::number(p.correctionPort1) + ", " + QString::number(p.correctionPort2); + break; + case ColIndexPort1: + if (p.port1set) { + return Unit::ToString(p.amplitudePort1, "dbm", " ", 4); + } else { + return "No data"; + } + break; + case ColIndexPort2: + if (p.port2set) { + return Unit::ToString(p.amplitudePort2, "dbm", " ", 4); + } else { + return "No data"; + } + break; + } + } + return QVariant(); +} + +bool AmplitudeModel::setData(const QModelIndex &index, const QVariant &value, int) +{ + if((unsigned int) index.row() >= c->getPoints().size()) { + return false; + } + switch(index.column()) { + case ColIndexPort1: + c->setAmplitude(value.toDouble(), index.row(), false); + return true; + case ColIndexPort2: + c->setAmplitude(value.toDouble(), index.row(), true); + return true; + } + + return false; +} + +QVariant AmplitudeModel::headerData(int section, Qt::Orientation orientation, int role) const +{ + if(orientation == Qt::Horizontal && role == Qt::DisplayRole) { + switch(section) { + case ColIndexFreq: return "Frequency"; break; + case ColIndexCorrectionFactors: return "Correction Factors"; break; + case ColIndexPort1: return "Amplitude Port 1"; break; + case ColIndexPort2: return "Amplitude Port 2"; break; + default: return QVariant(); break; + } + } else { + return QVariant(); + } +} + +Qt::ItemFlags AmplitudeModel::flags(const QModelIndex &index) const +{ + int flags = Qt::NoItemFlags; + switch(index.column()) { + case ColIndexPort1: + if(c->getMode() != AmplitudeCalDialog::CalibrationMode::OnlyPort2) { + flags |= Qt::ItemIsEnabled | Qt::ItemIsEditable; + } + break; + case ColIndexPort2: + if(c->getMode() != AmplitudeCalDialog::CalibrationMode::OnlyPort1) { + flags |= Qt::ItemIsEnabled | Qt::ItemIsEditable; + } + break; + } + return (Qt::ItemFlags) flags; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.h new file mode 100644 index 0000000..d2adebe --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.h @@ -0,0 +1,133 @@ +#ifndef AMPLITUDECALDIALOG_H +#define AMPLITUDECALDIALOG_H + +#include "librevnadriver.h" + +#include +#include +#include +#include + +namespace Ui { +class AmplitudeCalDialog; +} + +class AmplitudeCalDialog; + +class AmplitudeModel : public QAbstractTableModel +{ + friend class AmplitudeCalDialog; + Q_OBJECT +public: + AmplitudeModel(AmplitudeCalDialog *c); + + int rowCount(const QModelIndex &parent = QModelIndex()) const override; + int columnCount(const QModelIndex &parent = QModelIndex()) const override; + QVariant data(const QModelIndex &index, int role) const override; + bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override; + QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; + Qt::ItemFlags flags(const QModelIndex &index) const override; + +private: + enum { + ColIndexFreq, + ColIndexCorrectionFactors, + ColIndexPort1, + ColIndexPort2, + ColIndexLast + }; + AmplitudeCalDialog *c; +}; + +class AmplitudeCalDialog : public QDialog +{ + Q_OBJECT + +public: + explicit AmplitudeCalDialog(LibreVNADriver *dev, QWidget *parent = nullptr); + ~AmplitudeCalDialog(); + void reject() override; + + class CorrectionPoint { + public: + double frequency; + int16_t correctionPort1; + int16_t correctionPort2; + double amplitudePort1; + double amplitudePort2; + bool port1set; + bool port2set; + }; + std::vector getPoints() const; + void setAmplitude(double amplitude, unsigned int point, bool port2); + + enum class CalibrationMode { + BothPorts, + OnlyPort1, + OnlyPort2, + }; + + CalibrationMode getMode() const; + +protected slots: + void ReceivedPoint(Protocol::AmplitudeCorrectionPoint p); + void LoadFromDevice(); + void SaveToDevice(); + void RemovePoint(unsigned int i); + void RemoveAllPoints(); + bool AddPoint(CorrectionPoint& p); + bool AddPoint(double frequency); + void AddPointDialog(); + void AutomaticMeasurementDialog(); +signals: + void pointsUpdated(); + void newPointCreated(CorrectionPoint& p); + void AmplitudeCorrectionPointReceived(Protocol::AmplitudeCorrectionPoint p); + void SpectrumResultReceived(Protocol::SpectrumAnalyzerResult res); +protected: + static constexpr double excitationAmplitude = -20.0; + static constexpr int automaticSweepPoints = 31; + static constexpr int averages = 3; + static constexpr int automaticSettling = 1; + + void ReceivedMeasurement(Protocol::SpectrumAnalyzerResult res); + bool ConfirmActionIfEdited(); + void UpdateSaveButton(); + virtual Protocol::PacketType requestCommand() = 0; + virtual Protocol::PacketType pointType() = 0; + // will get called whenever a new cell is selected (frequency=0 means invalid selection) + virtual void SelectedPoint(double frequency, bool port2) = 0; + // will get called whenever the amplitude is changed. Derived class is responsible for updating correction factor + virtual void AmplitudeChanged(CorrectionPoint& point, bool port2) = 0; + // called whenver the correction factor have been retrieved from the device and the amplitudes need to be updated + virtual void UpdateAmplitude(CorrectionPoint& point) = 0; + std::vector points; + Ui::AmplitudeCalDialog *ui; + LibreVNADriver *dev; + AmplitudeModel model; + bool edited; + CalibrationMode mode; + + void SetupNextAutomaticPoint(bool isSourceCal); + void ReceivedAutomaticMeasurementResult(Protocol::SpectrumAnalyzerResult res); + struct { + QDialog *dialog; + std::vector points; + bool measuringPort2; // true if port2 is being calibrated + unsigned int measuringCount; // number of calibration point + unsigned int settlingCount; // number of measurements still to ignore before taking measurement + bool isSourceCal; + QProgressBar *progress; + } automatic; + + // raw (uncorrected) measurements from device. + // Used in reveicer calibration as well as in automatic calibrations + struct MeasurementResult { + double port1, port2; + }; + std::vector sweepMeasurements; + std::deque measured; + MeasurementResult averageMeasurement(); +}; + +#endif // SOURCECALDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.ui new file mode 100644 index 0000000..80f4f8f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/amplitudecaldialog.ui @@ -0,0 +1,230 @@ + + + AmplitudeCalDialog + + + + 0 + 0 + 766 + 599 + + + + Dialog + + + + + + QAbstractItemView::SelectItems + + + true + + + false + + + + + + + + + Add Point(s) + + + + :/icons/add.png:/icons/add.png + + + + + + + Delete Point + + + + :/icons/remove.png:/icons/remove.png + + + + + + + Load from Device + + + + :/icons/open.png:/icons/open.png + + + + + + + false + + + Save to Device + + + + :/icons/save.png:/icons/save.png + + + + + + + Load from File + + + + :/icons/open.png:/icons/open.png + + + + + + + true + + + Save to File + + + + :/icons/save.png:/icons/save.png + + + + + + + Calibration Mode + + + + + + Both Ports + + + true + + + groupMode + + + + + + + + 8 + + + + Best accuracy + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + Qt::Horizontal + + + + + + + Only Port 1 + + + groupMode + + + + + + + + 8 + + + + Use same correction for port 2 + + + + + + + Qt::Horizontal + + + + + + + Only Port 2 + + + groupMode + + + + + + + + 8 + + + + Use same correction for port 1 + + + + + + + + + + Automatic measurement + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/automaticamplitudedialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/automaticamplitudedialog.ui new file mode 100644 index 0000000..62ac921 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/automaticamplitudedialog.ui @@ -0,0 +1,117 @@ + + + AutomaticAmplitudeDialog + + + true + + + + 0 + 0 + 575 + 215 + + + + + 0 + 0 + + + + Automatic Measurement + + + true + + + + + + + 0 + 0 + + + + + + + true + + + + + + + 0 + + + + + + + + + Status: + + + + + + + true + + + true + + + + + + + + + + + Abort + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + Start Measurement + + + + :/icons/play.png:/icons/play.png + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.cpp new file mode 100644 index 0000000..88e8b36 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.cpp @@ -0,0 +1,102 @@ +#include "deviceconfigurationdialogv1.h" +#include "ui_deviceconfigurationdialogv1.h" + +#include +#include "CustomWidgets/informationbox.h" + +DeviceConfigurationDialogV1::DeviceConfigurationDialogV1(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::DeviceConfigurationDialogV1), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + + auto updateADCRate = [=]() { + // update ADC rate, see FPGA protocol for calculation + ui->ADCRate->setValue(102400000.0 / ui->ADCpresc->value()); + }; + auto updateIF2 = [=]() { + auto ADCrate = ui->ADCRate->value(); + ui->IF2->setValue(ADCrate * ui->ADCphaseInc->value() / 4096); + }; + + connect(ui->ADCpresc, qOverload(&QSpinBox::valueChanged), updateADCRate); + connect(ui->ADCpresc, qOverload(&QSpinBox::valueChanged), updateIF2); + connect(ui->ADCphaseInc, qOverload(&QSpinBox::valueChanged), updateIF2); + + ui->IF1->setUnit("Hz"); + ui->IF1->setPrefixes(" kM"); + ui->IF1->setPrecision(5); + ui->ADCRate->setUnit("Hz"); + ui->ADCRate->setPrefixes(" kM"); + ui->ADCRate->setPrecision(5); + ui->IF2->setUnit("Hz"); + ui->IF2->setPrefixes(" kM"); + ui->IF2->setPrecision(5); + ui->IF1->setValue(62000000); + ui->ADCpresc->setValue(128); + ui->ADCphaseInc->setValue(1280); + + updateADCRate(); + updateIF2(); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p) { + if(p.type == Protocol::PacketType::DeviceConfiguration) { + updateGUI(p.deviceConfig); + } + }); + + dev.sendWithoutPayload(Protocol::PacketType::RequestDeviceConfiguration); + + connect(ui->buttonBox, &QDialogButtonBox::accepted, this, [=](){ + updateDevice(); + accept(); + }); + connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [=](){ + reject(); + }); + connect(ui->buttonBox->button(QDialogButtonBox::RestoreDefaults), &QPushButton::clicked, this, [=](){ + resetDevice(); + this->dev.sendWithoutPayload(Protocol::PacketType::RequestDeviceConfiguration); + }); +} + +DeviceConfigurationDialogV1::~DeviceConfigurationDialogV1() +{ + dev.releaseControl(); + delete ui; +} + +void DeviceConfigurationDialogV1::updateGUI(const Protocol::DeviceConfig &c) +{ + ui->IF1->setEnabled(false); + ui->IF1->setValue(c.V1.IF1); + ui->IF1->setEnabled(true); + ui->ADCpresc->setValue(c.V1.ADCprescaler); + ui->ADCphaseInc->setValue(c.V1.DFTphaseInc); + ui->PLLSettlingDelay->setValue(c.V1.PLLSettlingDelay); +} + +void DeviceConfigurationDialogV1::updateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::DeviceConfiguration; + p.deviceConfig.V1.IF1 = ui->IF1->value(); + p.deviceConfig.V1.ADCprescaler = ui->ADCpresc->value(); + p.deviceConfig.V1.DFTphaseInc = ui->ADCphaseInc->value(); + p.deviceConfig.V1.PLLSettlingDelay = ui->PLLSettlingDelay->value(); + dev.SendPacket(p); +} + +void DeviceConfigurationDialogV1::resetDevice() +{ + dev.sendWithoutPayload(Protocol::PacketType::ResetDeviceConfiguration, [=](LibreVNADriver::TransmissionResult res){ + if(res != LibreVNADriver::TransmissionResult::Ack) { + InformationBox::ShowError("Error", "Failed to reset device configuration"); + } + }); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.h new file mode 100644 index 0000000..6c75856 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.h @@ -0,0 +1,29 @@ +#ifndef DEVICECONFIGURATIONDIALOGV1_H +#define DEVICECONFIGURATIONDIALOGV1_H + +#include + +#include "librevnadriver.h" + +namespace Ui { +class DeviceConfigurationDialogV1; +} + +class DeviceConfigurationDialogV1 : public QDialog +{ + Q_OBJECT + +public: + explicit DeviceConfigurationDialogV1(LibreVNADriver &dev, QWidget *parent = nullptr); + ~DeviceConfigurationDialogV1(); + +private: + void updateGUI(const Protocol::DeviceConfig &c); + void updateDevice(); + void resetDevice(); + + Ui::DeviceConfigurationDialogV1 *ui; + LibreVNADriver &dev; +}; + +#endif // DEVICECONFIGURATIONDIALOGV1_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.ui new file mode 100644 index 0000000..c717637 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogv1.ui @@ -0,0 +1,182 @@ + + + DeviceConfigurationDialogV1 + + + + 0 + 0 + 454 + 464 + + + + Device Configuration + + + + + + This dialog contains advanced system settings. It is recommended to leave them at default values unless you know what you are doing. + + + true + + + + + + + IF frequencies + + + + + + Slight changes of the IF frequencies can be used to shift possible spikes to less problematic frequencies. Large changes of these frequencies may severely impact device performance. + + + true + + + + + + + + + IF 1: + + + + + + + <html><head/><body><p>Frequency of the first IF</p></body></html> + + + + + + + ADC prescaler: + + + + + + + <html><head/><body><p>ADC prescaler in FPGA. The ADC sample rate is determined by 102.4MHz/prescaler</p></body></html> + + + 112 + + + 255 + + + 128 + + + + + + + ADC sample rate: + + + + + + + false + + + + + + + Phase increment: + + + + + + + <html><head/><body><p>Phase increment per ADC sample. Together with the ADC sample rate this determines the frequency of the second IF</p></body></html> + + + 1 + + + 4095 + + + 1280 + + + + + + + IF 2: + + + + + + + false + + + + + + + + + + + + Other settings + + + + + + PLL settling delay [us]: + + + + + + + 10 + + + 255 + + + + + + + + + + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok|QDialogButtonBox::StandardButton::RestoreDefaults + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.cpp new file mode 100644 index 0000000..36a29d8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.cpp @@ -0,0 +1,72 @@ +#include "deviceconfigurationdialogvd0.h" +#include "ui_deviceconfigurationdialogvd0.h" + +DeviceConfigurationDialogVD0::DeviceConfigurationDialogVD0(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::DeviceConfigurationDialogVD0), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + auto updateIF = [=]() { + auto ADCrate = ui->ADCRate->value(); + ui->IF->setValue(ADCrate * ui->ADCphaseInc->value() / 65536); + }; + + connect(ui->ADCRate, &SIUnitEdit::valueChanged, this, updateIF); + connect(ui->ADCphaseInc, qOverload(&QSpinBox::valueChanged), this, updateIF); + + ui->ADCRate->setUnit("Hz"); + ui->ADCRate->setPrefixes(" kM"); + ui->ADCRate->setPrecision(5); + ui->IF->setUnit("Hz"); + ui->IF->setPrefixes(" kM"); + ui->IF->setPrecision(5); + + ui->ADCRate->setValue(1496000); + ui->ADCphaseInc->setValue(10240); + + updateIF(); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p) { + if(p.type == Protocol::PacketType::DeviceConfiguration) { + updateGUI(p.deviceConfig); + } + }); + + dev.sendWithoutPayload(Protocol::PacketType::RequestDeviceConfiguration); + + connect(ui->buttonBox, &QDialogButtonBox::accepted, this, [=](){ + updateDevice(); + accept(); + }); + connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [=](){ + reject(); + }); +} + +DeviceConfigurationDialogVD0::~DeviceConfigurationDialogVD0() +{ + dev.releaseControl(); + delete ui; +} + +void DeviceConfigurationDialogVD0::updateGUI(const Protocol::DeviceConfig &c) +{ + ui->ADCRate->setValue(c.VD0.ADCrate); + ui->ADCphaseInc->setValue(c.VD0.DFTphaseInc); + ui->PLLSettlingDelay->setValue(c.VD0.PLLSettlingDelay); +} + +void DeviceConfigurationDialogVD0::updateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::DeviceConfiguration; + p.deviceConfig.VD0.ADCrate = ui->ADCRate->value(); + p.deviceConfig.VD0.DFTphaseInc = ui->ADCphaseInc->value(); + p.deviceConfig.VD0.PLLSettlingDelay = ui->PLLSettlingDelay->value(); + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.h new file mode 100644 index 0000000..641b420 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.h @@ -0,0 +1,28 @@ +#ifndef DEVICECONFIGURATIONDIALOGVD0_H +#define DEVICECONFIGURATIONDIALOGVD0_H + +#include + +#include "librevnadriver.h" + +namespace Ui { +class DeviceConfigurationDialogVD0; +} + +class DeviceConfigurationDialogVD0 : public QDialog +{ + Q_OBJECT + +public: + explicit DeviceConfigurationDialogVD0(LibreVNADriver &dev, QWidget *parent = nullptr); + ~DeviceConfigurationDialogVD0(); + +private: + void updateGUI(const Protocol::DeviceConfig &c); + void updateDevice(); + + Ui::DeviceConfigurationDialogVD0 *ui; + LibreVNADriver &dev; +}; + +#endif // DEVICECONFIGURATIONDIALOGVD0_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.ui new file mode 100644 index 0000000..f4abffd --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvd0.ui @@ -0,0 +1,138 @@ + + + DeviceConfigurationDialogVD0 + + + + 0 + 0 + 421 + 314 + + + + Device Configuration + + + + + + This dialog contains advanced system settings. It is recommended to leave them at default values unless you know what you are doing. + + + true + + + + + + + IF and ADC frequencies + + + + + + + + ADC sample rate: + + + + + + + true + + + + + + + DFT Phase increment: + + + + + + + <html><head/><body><p>Phase increment per ADC sample. Together with the ADC sample rate this determines the frequency of the second IF</p></body></html> + + + 1 + + + 65535 + + + 10240 + + + + + + + IF: + + + + + + + false + + + + + + + + + + + + Other settings + + + + + + PLL settling delay [us]: + + + + + + + 10 + + + 255 + + + 60 + + + + + + + + + + QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.cpp new file mode 100644 index 0000000..f5ff3c9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.cpp @@ -0,0 +1,60 @@ +#include "deviceconfigurationdialogvfe.h" +#include "ui_deviceconfigurationdialogvfe.h" + +#include + +DeviceConfigurationDialogVFE::DeviceConfigurationDialogVFE(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::DeviceConfigurationDialogVFE), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p) { + if(p.type == Protocol::PacketType::DeviceConfiguration) { + updateGUI(p.deviceConfig); + } + }); + + connect(ui->autogain, &QCheckBox::toggled, this, [=](){ + ui->portgain->setEnabled(!ui->autogain->isChecked()); + ui->refgain->setEnabled(!ui->autogain->isChecked()); + }); + + dev.sendWithoutPayload(Protocol::PacketType::RequestDeviceConfiguration); + + connect(ui->buttonBox, &QDialogButtonBox::accepted, this, [=](){ + updateDevice(); + accept(); + }); + connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [=](){ + reject(); + }); +} + +DeviceConfigurationDialogVFE::~DeviceConfigurationDialogVFE() +{ + dev.releaseControl(); + delete ui; +} + +void DeviceConfigurationDialogVFE::updateGUI(const Protocol::DeviceConfig &c) +{ + ui->autogain->setChecked(c.VFE.autogain); + ui->portgain->setCurrentIndex(c.VFE.portGain); + ui->refgain->setCurrentIndex(c.VFE.refGain); +} + +void DeviceConfigurationDialogVFE::updateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::DeviceConfiguration; + + p.deviceConfig.VFE.autogain = ui->autogain->isChecked() ? 1 : 0; + p.deviceConfig.VFE.portGain = ui->portgain->currentIndex(); + p.deviceConfig.VFE.refGain = ui->refgain->currentIndex(); + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.h new file mode 100644 index 0000000..38673a9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.h @@ -0,0 +1,31 @@ +#ifndef DEVICECONFIGURATIONDIALOGVFE_H +#define DEVICECONFIGURATIONDIALOGVFE_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class DeviceConfigurationDialogVFE; +} + +class DeviceConfigurationDialogVFE : public QDialog +{ + Q_OBJECT + +public: + explicit DeviceConfigurationDialogVFE(LibreVNADriver &dev, QWidget *parent = nullptr); + ~DeviceConfigurationDialogVFE(); + +private: + void updateGUI(const Protocol::DeviceConfig &c); + void updateDevice(); + + Ui::DeviceConfigurationDialogVFE *ui; + LibreVNADriver &dev; + + QHostAddress ip, mask, gateway; +}; + +#endif // DEVICECONFIGURATIONDIALOGVFE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.ui new file mode 100644 index 0000000..ec0e1a8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvfe.ui @@ -0,0 +1,170 @@ + + + DeviceConfigurationDialogVFE + + + + 0 + 0 + 307 + 180 + + + + Form + + + + + + PGA configuration (reset after reboot) + + + + + + Autogain + + + + + + + + + Port gain: + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + Reference gain: + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.cpp new file mode 100644 index 0000000..fd6e174 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.cpp @@ -0,0 +1,93 @@ +#include "deviceconfigurationdialogvff.h" +#include "ui_deviceconfigurationdialogvff.h" + +#include + +DeviceConfigurationDialogVFF::DeviceConfigurationDialogVFF(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::DeviceConfigurationDialogVFF), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + auto updateAddress = [](QLineEdit* line, QHostAddress &address) { + auto newAddress = QHostAddress(line->text()); + if(newAddress.isNull()) { + // address is invalid, set edit to old address + line->setText(address.toString()); + } else { + // input is valid, store new address + address = newAddress; + } + }; + + connect(ui->ip, &QLineEdit::editingFinished, this, [=](){ + updateAddress(ui->ip, ip); + }); + connect(ui->mask, &QLineEdit::editingFinished, this, [=](){ + updateAddress(ui->mask, mask); + }); + connect(ui->gateway, &QLineEdit::editingFinished, this, [=](){ + updateAddress(ui->gateway, gateway); + }); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p) { + if(p.type == Protocol::PacketType::DeviceConfiguration) { + updateGUI(p.deviceConfig); + } + }); + + connect(ui->autogain, &QCheckBox::toggled, this, [=](){ + ui->portgain->setEnabled(!ui->autogain->isChecked()); + ui->refgain->setEnabled(!ui->autogain->isChecked()); + }); + + dev.sendWithoutPayload(Protocol::PacketType::RequestDeviceConfiguration); + + connect(ui->buttonBox, &QDialogButtonBox::accepted, this, [=](){ + updateDevice(); + accept(); + }); + connect(ui->buttonBox, &QDialogButtonBox::rejected, this, [=](){ + reject(); + }); +} + +DeviceConfigurationDialogVFF::~DeviceConfigurationDialogVFF() +{ + dev.releaseControl(); + delete ui; +} + +void DeviceConfigurationDialogVFF::updateGUI(const Protocol::DeviceConfig &c) +{ + ui->dhcp->setChecked(c.VFF.dhcp); + ip = QHostAddress(qFromBigEndian(c.VFF.ip)); + ui->ip->setText(ip.toString()); + mask = QHostAddress(qFromBigEndian(c.VFF.mask)); + ui->mask->setText(mask.toString()); + gateway = QHostAddress(qFromBigEndian(c.VFF.gw)); + ui->gateway->setText(gateway.toString()); + + ui->autogain->setChecked(c.VFF.autogain); + ui->portgain->setCurrentIndex(c.VFF.portGain); + ui->refgain->setCurrentIndex(c.VFF.refGain); +} + +void DeviceConfigurationDialogVFF::updateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::DeviceConfiguration; + p.deviceConfig.VFF.dhcp = ui->dhcp->isChecked() ? 1 : 0; + p.deviceConfig.VFF.ip = qToBigEndian(ip.toIPv4Address()); + p.deviceConfig.VFF.mask = qToBigEndian(mask.toIPv4Address()); + p.deviceConfig.VFF.gw = qToBigEndian(gateway.toIPv4Address()); + + p.deviceConfig.VFF.autogain = ui->autogain->isChecked() ? 1 : 0; + p.deviceConfig.VFF.portGain = ui->portgain->currentIndex(); + p.deviceConfig.VFF.refGain = ui->refgain->currentIndex(); + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.h new file mode 100644 index 0000000..d676f7f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.h @@ -0,0 +1,31 @@ +#ifndef DEVICECONFIGURATIONDIALOGVFF_H +#define DEVICECONFIGURATIONDIALOGVFF_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class DeviceConfigurationDialogVFF; +} + +class DeviceConfigurationDialogVFF : public QDialog +{ + Q_OBJECT + +public: + explicit DeviceConfigurationDialogVFF(LibreVNADriver &dev, QWidget *parent = nullptr); + ~DeviceConfigurationDialogVFF(); + +private: + void updateGUI(const Protocol::DeviceConfig &c); + void updateDevice(); + + Ui::DeviceConfigurationDialogVFF *ui; + LibreVNADriver &dev; + + QHostAddress ip, mask, gateway; +}; + +#endif // DEVICECONFIGURATIONDIALOGVFF_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.ui new file mode 100644 index 0000000..f2bc51f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/deviceconfigurationdialogvff.ui @@ -0,0 +1,225 @@ + + + DeviceConfigurationDialogVFF + + + + 0 + 0 + 318 + 344 + + + + Device Configuration + + + + + + Address configuration (permanently stored in device) + + + + + + DHCP + + + + + + + Static/DHCP fallback + + + + + + IP: + + + + + + + + + + Mask: + + + + + + + + + + Gateway: + + + + + + + + + + + + + + + + PGA configuration (reset after reboot) + + + + + + Autogain + + + + + + + + + Port gain: + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + Reference gain: + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlog.cpp new file mode 100644 index 0000000..8ed6307 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlog.cpp @@ -0,0 +1,181 @@ +#include "devicepacketlog.h" + +#include "preferences.h" + +#include + +#include + +using namespace std; + +DevicePacketLog::DevicePacketLog() + : usedStorageSize(0) +{ + auto &pref = Preferences::getInstance(); + maxStorageSize = pref.Debug.USBlogSizeLimit; +} + +DevicePacketLog::~DevicePacketLog() +{ + +} + +void DevicePacketLog::reset() +{ + std::lock_guard guard(access); + entries.clear(); + usedStorageSize = 0; +} + +void DevicePacketLog::addPacket(Protocol::PacketInfo &p, QString serial) +{ + LogEntry e; + e.timestamp = QDateTime::currentDateTimeUtc(); + e.serial = serial; + e.type = LogEntry::Type::Packet; + e.p = new Protocol::PacketInfo; + *e.p = p; + if(p.type == Protocol::PacketType::VNADatapoint) { + e.datapoint = new Protocol::VNADatapoint<32>(*p.VNAdatapoint); + } else { + e.datapoint = nullptr; + } + addEntry(e); +} + +void DevicePacketLog::addInvalidBytes(const uint8_t *bytes, uint16_t len, QString serial) +{ + LogEntry e; + e.timestamp = QDateTime::currentDateTimeUtc(); + e.serial = serial; + e.type = LogEntry::Type::InvalidBytes; + while(len--) { + e.bytes.push_back(*bytes++); + } + addEntry(e); +} + +nlohmann::json DevicePacketLog::toJSON() +{ + nlohmann::json j; + for(auto &e : entries) { + j.push_back(e.toJSON()); + } + return j; +} + +void DevicePacketLog::fromJSON(nlohmann::json j) +{ + reset(); + for(auto jd : j) { + LogEntry e; + e.fromJSON(jd); + addEntry(e); + } +} + +DevicePacketLog::LogEntry DevicePacketLog::getEntry(unsigned int index) +{ + std::lock_guard guard(access); + if(index < entries.size()) { + return entries[index]; + } else { + throw std::runtime_error("Index too high"); + } +} + +void DevicePacketLog::addEntry(const DevicePacketLog::LogEntry &e) +{ + std::lock_guard guard(access); + usedStorageSize += e.storageSize(); + while(usedStorageSize > maxStorageSize) { + usedStorageSize -= entries.front().storageSize(); + entries.pop_front(); + } + entries.push_back(e); + emit entryAdded(e); +} + +unsigned long DevicePacketLog::getMaxStorageSize() const +{ + return maxStorageSize; +} + +unsigned long DevicePacketLog::getUsedStorageSize() const +{ + return usedStorageSize; +} + +DevicePacketLog::LogEntry::LogEntry(const DevicePacketLog::LogEntry &e) +{ + timestamp = e.timestamp; + type = e.type; + serial = e.serial; + bytes = e.bytes; + if(e.p) { + p = new Protocol::PacketInfo; + *p = *e.p; + if(p->type == Protocol::PacketType::VNADatapoint) { + datapoint = new Protocol::VNADatapoint<32>(*e.datapoint); + } else { + datapoint = nullptr; + } + } else { + datapoint = nullptr; + p = nullptr; + } +} + +nlohmann::json DevicePacketLog::LogEntry::toJSON() +{ + nlohmann::json j; + j["type"] = type == Type::Packet ? "Packet" : "InvalidBytes"; + j["timestamp"] = timestamp.toMSecsSinceEpoch(); + j["serial"] = serial.toStdString(); + nlohmann::json jdata; + if(type == Type::Packet) { + for(unsigned int i=0;i(); + auto jdatapoint = j["datapoint"]; + for(unsigned int i=0;i +#include +#include +#include +#include + +class DevicePacketLog : public QObject, public Savable +{ + Q_OBJECT +public: + static DevicePacketLog& getInstance() { + static DevicePacketLog instance; + return instance; + } + DevicePacketLog(const DevicePacketLog&) = delete; + virtual ~DevicePacketLog(); + + void reset(); + + void addPacket(Protocol::PacketInfo &p, QString serial = ""); + void addInvalidBytes(const uint8_t *bytes, uint16_t len, QString serial = ""); + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + + class LogEntry : public Savable { + public: + LogEntry() + : type(Type::InvalidBytes), timestamp(QDateTime()), serial(""), p(nullptr), datapoint(nullptr) {} + ~LogEntry() { + delete p; + delete datapoint; + } + + LogEntry(const LogEntry &e); + + enum class Type { + Packet, + InvalidBytes, + }; + Type type; + QDateTime timestamp; + QString serial; + std::vector bytes; + Protocol::PacketInfo *p; + Protocol::VNADatapoint<32> *datapoint; + unsigned int storageSize() const { + unsigned long size = sizeof(type) + sizeof(timestamp) + serial.size(); + switch(type) { + case Type::InvalidBytes: size += bytes.size(); break; + case Type::Packet: + size += sizeof(Protocol::PacketInfo); + if(p && p->type == Protocol::PacketType::VNADatapoint) { + size += sizeof(Protocol::VNADatapoint<32>); + } + break; + } + return size; + } + + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + }; + + LogEntry getEntry(unsigned int index); + + unsigned long getUsedStorageSize() const; + unsigned long getMaxStorageSize() const; + +signals: + void entryAdded(const LogEntry &e); + +private: + DevicePacketLog(); + + void addEntry(const LogEntry &e); + + unsigned long maxStorageSize; + unsigned long usedStorageSize; + std::deque entries; + + std::mutex access; +}; + +#endif // DEVICEUSBLOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp new file mode 100644 index 0000000..10a3c1b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.cpp @@ -0,0 +1,568 @@ +#include "devicepacketlogview.h" +#include "ui_devicepacketlogview.h" + +#include "CustomWidgets/informationbox.h" +#include "unit.h" +#include "preferences.h" + +#include +#include + +#include +#include +#include +#include +#include + +using namespace std; + +DevicePacketLogView::DevicePacketLogView(QWidget *parent) : + QDialog(parent), + ui(new Ui::DevicePacketLogView) +{ + setAttribute(Qt::WA_DeleteOnClose); + ui->setupUi(this); + +// connect(&log, &DeviceUSBLog::entryAdded, this, &DeviceUSBLogView::addEntry); + connect(ui->buttonBox->button(QDialogButtonBox::Reset), &QPushButton::clicked, [=](){ + DevicePacketLog::getInstance().reset(); + updateTree(); + }); + connect(ui->buttonBox->button(QDialogButtonBox::Save), &QPushButton::clicked, [=](){ + QString filename = QFileDialog::getSaveFileName(nullptr, "Save LibreVNA log data", Preferences::getInstance().UISettings.Paths.packetlog, "LibreVNA log files (*.vnalog)", nullptr, Preferences::QFileDialogOptions()); + if(filename.isEmpty()) { + // aborted selection + return; + } + Preferences::getInstance().UISettings.Paths.packetlog = QFileInfo(filename).path(); + if(!filename.endsWith(".vnalog")) { + filename.append(".vnalog"); + } + ofstream file; + file.open(filename.toStdString()); + file << setw(1) << DevicePacketLog::getInstance().toJSON() << endl; + file.close(); + }); + connect(ui->buttonBox->button(QDialogButtonBox::Open), &QPushButton::clicked, [=](){ + QString filename = QFileDialog::getOpenFileName(nullptr, "Load LibreVNA log data", Preferences::getInstance().UISettings.Paths.packetlog, "LibreVNA log files (*.vnalog)", nullptr, Preferences::QFileDialogOptions()); + if(filename.isEmpty()) { + // aborted selection + return; + } + Preferences::getInstance().UISettings.Paths.packetlog = QFileInfo(filename).path(); + ifstream file; + file.open(filename.toStdString()); + if(!file.is_open()) { + qWarning() << "Unable to open file:" << filename; + return; + } + nlohmann::json j; + try { + // TODO this can take a long time, move to thread + file >> j; + } catch (exception &e) { + InformationBox::ShowError("Error", "Failed to parse the USB log file (" + QString(e.what()) + ")"); + qWarning() << "Parsing of USB log file failed: " << e.what(); + file.close(); + return; + } + file.close(); + DevicePacketLog::getInstance().fromJSON(j); + updateTree(); + }); + + updateTree(); +} + +DevicePacketLogView::~DevicePacketLogView() +{ + delete ui; +} + +void DevicePacketLogView::updateTree() +{ + auto &log = DevicePacketLog::getInstance(); + + ui->tree->clear(); + ui->tree->setColumnCount(4); + ui->tree->setHeaderLabels({"Timestamp","Source","Type","Content"}); + + unsigned int i=0; + try { + // will throw once all entries have been added (number of entries may change while the loop is running) + for(i=0;;i++) { + addEntry(log.getEntry(i)); + } + } catch (...) { + } + + QString status = "Log contains "+QString::number(i) + " entries, using "; + status += Unit::ToString(log.getUsedStorageSize(), "B", " kMG") + " (maximum: "+Unit::ToString(log.getMaxStorageSize(), "B", " kMG")+")"; + ui->status->setText(status); +} + +void DevicePacketLogView::addEntry(const DevicePacketLog::LogEntry &e) +{ + auto item = new QTreeWidgetItem; + item->setData(0, Qt::DisplayRole, e.timestamp.toString(Qt::DateFormat::ISODateWithMs)); + item->setData(1, Qt::DisplayRole, e.serial.size() > 0 ? e.serial : "LibreVNA-GUI"); + item->setData(2, Qt::DisplayRole, e.type == DevicePacketLog::LogEntry::Type::Packet ? "Packet" : "Invalid bytes"); + if(e.type == DevicePacketLog::LogEntry::Type::Packet) { + item->setData(2, Qt::DisplayRole, "Packet"); + + static const QStringList packetNames = {"None", "Datapoint", "SweepSettings", "ManualStatus", "ManualControl", "DeviceInfo", "FirmwarePacket", "Ack", + "ClearFlash", "PerformFirmwareUpdate", "Nack", "Reference", "Generator", "SpectrumAnalyzerSettings", + "SpectrumAnalyzerResult", "RequestDeviceInfo", "RequestSourceCal", "RequestReceiverCal", "SourceCalPoint", + "ReceiverCalPoint", "SetIdle", "RequestFrequencyCorrection", "FrequencyCorrection", "RequestDeviceConfiguration", + "DeviceConfiguration", "DeviceStatus", "RequestDeviceStatus", "VNADatapoint", "SetTrigger", "ClearTrigger", + "StopStatusUpdates", "StartStatusUpdates", "InitiateSweep", "PerformAction", "ResetDeviceConfiguration"}; + + if(int(e.p->type) < packetNames.size()) { + item->setData(3, Qt::DisplayRole, "Type "+QString::number((int)e.p->type)+"("+packetNames[(int)e.p->type]+")"); + } else { + item->setData(3, Qt::DisplayRole, "Type "+QString::number((int)e.p->type)+"(Unknown)"); + } + auto addDouble = [=](QTreeWidgetItem *parent, QString name, double value, QString unit = "", int precision = 8) { + auto subitem = new QTreeWidgetItem; + subitem->setData(2, Qt::DisplayRole, name); + subitem->setData(3, Qt::DisplayRole, Unit::ToString(value, unit, "pnum kMG", precision)); + parent->addChild(subitem); + }; + auto addInteger = [=](QTreeWidgetItem *parent, QString name, int value) { + auto subitem = new QTreeWidgetItem; + subitem->setData(2, Qt::DisplayRole, name); + subitem->setData(3, Qt::DisplayRole, value); + parent->addChild(subitem); + }; + auto addBool = [=](QTreeWidgetItem *parent, QString name, bool value) { + auto subitem = new QTreeWidgetItem; + subitem->setData(2, Qt::DisplayRole, name); + subitem->setData(3, Qt::DisplayRole, value ? "true" : "false"); + parent->addChild(subitem); + }; + auto addEnum = [=](QTreeWidgetItem *parent, QString name, int value, QStringList names) { + auto subitem = new QTreeWidgetItem; + subitem->setData(2, Qt::DisplayRole, name); + if(value < names.size()) { + subitem->setData(3, Qt::DisplayRole, names[value]); + } else { + subitem->setData(3, Qt::DisplayRole, "Invalid setting (value="+QString::number(value)+")"); + } + parent->addChild(subitem); + }; + auto addString = [=](QTreeWidgetItem *parent, QString name, QString value) { + auto subitem = new QTreeWidgetItem; + subitem->setData(2, Qt::DisplayRole, name); + subitem->setData(3, Qt::DisplayRole, value); + parent->addChild(subitem); + }; + + switch(e.p->type) { + case Protocol::PacketType::SweepSettings: { + Protocol::SweepSettings s = e.p->settings; + addDouble(item, "Start frequency", s.f_start, "Hz"); + addDouble(item, "Stop frequency", s.f_stop, "Hz"); + addInteger(item, "Points", s.points); + addDouble(item, "IF bandwidth", s.if_bandwidth, "Hz"); + addDouble(item, "Start power", (double) s.cdbm_excitation_start / 100.0, "dBm"); + addDouble(item, "Stop power", (double) s.cdbm_excitation_stop / 100.0, "dBm"); + addEnum(item, "Sync mode", s.syncMode, {"no synchronization", "USB", "Ext. reference", "Ext. trigger"}); + addBool(item, "Sync Master", s.syncMaster); + addBool(item, "Suppress peaks", s.suppressPeaks); + addBool(item, "Fixed power setting", s.fixedPowerSetting); + addBool(item, "Logarithmic sweep", s.logSweep); + addInteger(item, "Stages", s.stages); + addInteger(item, "Port 1 stage", s.port1Stage); + addInteger(item, "Port 2 stage", s.port2Stage); + } + break; + case Protocol::PacketType::Reference: { + Protocol::ReferenceSettings s = e.p->reference; + addDouble(item, "Output frequency", s.ExtRefOuputFreq, "Hz"); + addBool(item, "Switch automatically", s.AutomaticSwitch); + addBool(item, "Use external reference", s.UseExternalRef); + } + break; + case Protocol::PacketType::Generator: { + Protocol::GeneratorSettings s = e.p->generator; + addDouble(item, "Frequency", s.frequency, "Hz"); + addDouble(item, "Power", (double) s.cdbm_level / 100.0, "dBm"); + addBool(item, "Use source calibration", s.applyAmplitudeCorrection); + addInteger(item, "Active port", s.activePort); + } + break; + case Protocol::PacketType::DeviceStatus: { + auto s = e.p->status.V1; + auto V1 = new QTreeWidgetItem(); + V1->setData(2, Qt::DisplayRole, "V1"); + item->addChild(V1); + addBool(V1, "External reference available", s.extRefAvailable); + addBool(V1, "External reference in use", s.extRefInUse); + addBool(V1, "FPGA configured", s.FPGA_configured); + addBool(V1, "Source locked", s.source_locked); + addBool(V1, "1.LO locked", s.LO1_locked); + addBool(V1, "ADC overload", s.ADC_overload); + addBool(V1, "Unlevel", s.unlevel); + addInteger(V1, "Source temperature", s.temp_source); + addInteger(V1, "1.LO temperature", s.temp_LO1); + addInteger(V1, "MCU temperature", s.temp_MCU); + + auto sFF = e.p->status.VFF; + auto VFF = new QTreeWidgetItem(); + VFF->setData(2, Qt::DisplayRole, "VFF"); + item->addChild(VFF); + addBool(VFF, "Source locked", sFF.source_locked); + addBool(VFF, "LO locked", sFF.LO_locked); + addBool(VFF, "ADC overload", sFF.ADC_overload); + addBool(VFF, "Unlevel", sFF.unlevel); + addInteger(VFF, "MCU temperature", sFF.temp_MCU); + + auto sFE = e.p->status.VFE; + auto VFE = new QTreeWidgetItem(); + VFE->setData(2, Qt::DisplayRole, "VFE"); + item->addChild(VFE); + addBool(VFE, "Source locked", sFE.source_locked); + addBool(VFE, "LO locked", sFE.LO_locked); + addBool(VFE, "ADC overload", sFE.ADC_overload); + addBool(VFE, "Unlevel", sFE.unlevel); + addInteger(VFE, "MCU temperature", sFE.temp_MCU); + addDouble(VFE, "eCal temperature", (double) sFE.temp_eCal / 100.0); + addDouble(VFE, "eCal heater power", (double) sFE.power_heater / 1000.0); + + auto sD0 = e.p->status.VD0; + auto VD0 = new QTreeWidgetItem(); + VD0->setData(2, Qt::DisplayRole, "VD0"); + item->addChild(VD0); + addBool(VD0, "External reference available", sD0.extRefAvailable); + addBool(VD0, "External reference in use", sD0.extRefInUse); + addBool(VD0, "FPGA configured", sD0.FPGA_configured); + addBool(VD0, "Source locked", sD0.source_locked); + addBool(VD0, "LO locked", sD0.LO_locked); + addBool(VD0, "ADC overload", sD0.ADC_overload); + addBool(VD0, "Unlevel", sD0.unlevel); + addInteger(VD0, "MCU temperature", sD0.temp_MCU); + addInteger(VD0, "Supply voltage", sD0.supply_voltage); + addInteger(VD0, "Supply current", sD0.supply_current); + } + break; + case Protocol::PacketType::DeviceInfo: { + Protocol::DeviceInfo s = e.p->info; + addInteger(item, "Protocol version", s.ProtocolVersion); + addInteger(item, "Firmware major", s.FW_major); + addInteger(item, "Firmware minor", s.FW_minor); + addInteger(item, "Firmware patch", s.FW_patch); + addInteger(item, "Hardware version", s.hardware_version); + addString(item, "Hardware version", QString(s.HW_Revision)); + addDouble(item, "Minimum frequency", s.limits_minFreq, "Hz"); + addDouble(item, "Maximum frequency", s.limits_maxFreq, "Hz"); + addDouble(item, "Minimum IF bandwidth", s.limits_minIFBW, "Hz"); + addDouble(item, "Maximum IF bandwidht", s.limits_maxIFBW, "Hz"); + addInteger(item, "Maximum points", s.limits_maxPoints); + addDouble(item, "Minimum power", (double) s.limits_cdbm_min / 100.0, "dBm"); + addDouble(item, "Maximum power", (double) s.limits_cdbm_max / 100.0, "dBm"); + addDouble(item, "Minimum RBW", s.limits_minRBW, "Hz"); + addDouble(item, "Maximum RBW", s.limits_maxRBW, "Hz"); + addInteger(item, "Maximum amplitude points", s.limits_maxAmplitudePoints); + addDouble(item, "Maximum harmonic frequency", s.limits_maxFreqHarmonic, "Hz"); + } + break; + case Protocol::PacketType::ManualControl: { + Protocol::ManualControl s = e.p->manual; + auto V1 = new QTreeWidgetItem(); + V1->setData(2, Qt::DisplayRole, "V1"); + item->addChild(V1); + addBool(V1, "High Source chip enable", s.V1.SourceHighCE); + addBool(V1, "High Source RF enable", s.V1.SourceHighRFEN); + addEnum(V1, "High Source power", s.V1.SourceHighPower, {"-4 dBm", "-1 dBm", "2 dBm", "5 dBm"}); + addEnum(V1, "High Source lowpass", s.V1.SourceHighLowpass, {"947 MHz", "1880 MHz", "3550 MHz", "None"}); + addDouble(V1, "High Source frequency", s.V1.SourceHighFrequency); + addBool(V1, "Low Source enable", s.V1.SourceLowEN); + addEnum(V1, "Low Source power", s.V1.SourceLowPower, {"2 mA", "4 mA", "6 mA", "8 mA"}); + addDouble(V1, "Low Source frequency", s.V1.SourceLowFrequency); + addDouble(V1, "Attenuator", s.V1.attenuator * 0.25); + addEnum(V1, "Source band selection", s.V1.SourceHighband, {"Low Source", "High Source"}); + addBool(V1, "Amplifier enable", s.V1.AmplifierEN); + addEnum(V1, "Port switch", s.V1.PortSwitch, {"Port 1", "Port 2"}); + addBool(V1, "LO1 chip enable", s.V1.LO1CE); + addBool(V1, "LO1 RF enable", s.V1.LO1RFEN); + addDouble(V1, "LO1 frequency", s.V1.LO1Frequency); + addBool(V1, "LO2 enable", s.V1.LO2EN); + addDouble(V1, "LO2 frequency", s.V1.LO2Frequency); + addBool(V1, "Port 1 receiver enable", s.V1.Port1EN); + addBool(V1, "Port 2 receiver enable", s.V1.Port2EN); + addBool(V1, "Reference receiver enable", s.V1.RefEN); + addInteger(V1, "Samples", s.V1.Samples); + addEnum(V1, "Window type", s.V1.WindowType, {"None", "Kaiser", "Hann", "Flattop"}); + + auto VFF = new QTreeWidgetItem(); + VFF->setData(2, Qt::DisplayRole, "VFF"); + item->addChild(VFF); + addBool(VFF, "Source chip enable", s.VFF.SourceCE); + addBool(VFF, "Source RF enable", s.VFF.SourceRFEN); + addEnum(VFF, "Source power", s.VFF.SourcePower, {"-1 dBm", "1 dBm", "2.5 dBm", "3.5 dBm", "4.5 dBm", "5.5 dBm", "6.5 dBm", "7 dBm"}); + addDouble(VFF, "Source frequency", s.VFF.SourceFrequency); + addDouble(VFF, "Attenuator", s.VFF.attenuator * 0.25); + addBool(VFF, "Source amplifier enable", s.VFF.SourceAmplifierEN); + addBool(VFF, "LO chip enable", s.VFF.LOCE); + addBool(VFF, "LO RF enable", s.VFF.LORFEN); + addBool(VFF, "LO amplifier enable", s.VFF.LOAmplifierEN); + addEnum(VFF, "LO selection", s.VFF.LOexternal, {"Internal", "External"}); + addDouble(VFF, "LO frequency", s.VFF.LOFrequency); + addBool(VFF, "Port receiver enable", s.VFF.PortEN); + addBool(VFF, "Reference receiver enable", s.VFF.RefEN); + addInteger(VFF, "Samples", s.VFF.Samples); + addEnum(VFF, "Window type", s.VFF.WindowType, {"None", "Kaiser", "Hann", "Flattop"}); + addEnum(VFF, "Port gain", s.VFF.PortGain, {"1 V/V", "10 V/V", "20 V/V", "30 V/V", "40 V/V", "60 V/V", "80 V/V", "120 V/V", "157 V/V", "0.25 V/V"}); + addEnum(VFF, "Reference gain", s.VFF.RefGain, {"1 V/V", "10 V/V", "20 V/V", "30 V/V", "40 V/V", "60 V/V", "80 V/V", "120 V/V", "157 V/V", "0.25 V/V"}); + + auto VFE = new QTreeWidgetItem(); + VFE->setData(2, Qt::DisplayRole, "VFE"); + item->addChild(VFE); + addBool(VFE, "Source chip enable", s.VFE.SourceCE); + addBool(VFE, "Source RF enable", s.VFE.SourceRFEN); + addDouble(VFE, "Source frequency", s.VFE.SourceFrequency); + addDouble(VFE, "Attenuator", s.VFE.attenuator * 0.25); + addBool(VFE, "Source amplifier 1 enable", s.VFE.SourceAmplifier1EN); + addBool(VFE, "Source amplifier 2 enable", s.VFE.SourceAmplifier2EN); + addBool(VFE, "LO chip enable", s.VFE.LOCE); + addBool(VFE, "LO RF enable", s.VFE.LORFEN); + addDouble(VFE, "LO frequency", s.VFE.LOFrequency); + addBool(VFE, "Port receiver enable", s.VFE.PortEN); + addBool(VFE, "Reference receiver enable", s.VFE.RefEN); + addInteger(VFE, "Samples", s.VFE.Samples); + addEnum(VFE, "Window type", s.VFE.WindowType, {"None", "Kaiser", "Hann", "Flattop"}); + addEnum(VFE, "Port gain", s.VFE.PortGain, {"1 V/V", "10 V/V", "20 V/V", "30 V/V", "40 V/V", "60 V/V", "80 V/V", "120 V/V", "157 V/V", "0.25 V/V"}); + addEnum(VFE, "Reference gain", s.VFE.RefGain, {"1 V/V", "10 V/V", "20 V/V", "30 V/V", "40 V/V", "60 V/V", "80 V/V", "120 V/V", "157 V/V", "0.25 V/V"}); + addEnum(VFE, "eCal state", s.VFE.eCal_state, {"Port", "Open", "Short", "Load"}); + addDouble(VFE, "eCal target temperature", (double) s.VFE.eCal_target / 100.0); + + auto VD0 = new QTreeWidgetItem(); + VD0->setData(2, Qt::DisplayRole, "VD0"); + item->addChild(VD0); + addBool(VD0, "High Source chip enable", s.VD0.SourceHighCE); + addInteger(VD0, "High Source power", s.VD0.SourceHighPower); + addEnum(VD0, "High Source lowpass", s.VD0.SourceHighLowpass, {"947 MHz", "1880 MHz", "3550 MHz", "None"}); + addDouble(VD0, "High Source frequency", s.VD0.SourceHighFrequency); + addBool(VD0, "Low Source enable", s.VD0.SourceLowEN); + addEnum(VD0, "Low Source power", s.VD0.SourceLowPower, {"2 mA", "4 mA", "6 mA", "8 mA"}); + addDouble(VD0, "Low Source frequency", s.VD0.SourceLowFrequency); + addDouble(VD0, "Attenuator", s.VD0.attenuator * 0.25); + addEnum(VD0, "Source band selection", s.VD0.SourceHighband, {"Low Source", "High Source"}); + addEnum(VD0, "Port switch", s.VD0.PortSwitch, {"Port 1", "Port 2"}); + addBool(VD0, "High LO chip enable", s.VD0.LOHighCE); + addDouble(VD0, "High LO frequency", s.VD0.LOHighFrequency); + addInteger(VD0, "High LO power", s.VD0.LOHighPower); + addBool(VD0, "Low LO enable", s.VD0.LOLowEN); + addEnum(VD0, "Low LO power", s.VD0.LOLowPower, {"2 mA", "4 mA", "6 mA", "8 mA"}); + addDouble(VD0, "Low LO frequency", s.VD0.LOLowFrequency); + addEnum(VD0, "LO band selection", s.VD0.LOHighband, {"Low Source", "High Source"}); + addBool(VD0, "Port 1 receiver enable", s.VD0.Port1EN); + addBool(VD0, "Port 2 receiver enable", s.VD0.Port2EN); + addBool(VD0, "Reference receiver enable", s.VD0.RefEN); + addInteger(VD0, "Samples", s.VD0.Samples); + addEnum(VD0, "Window type", s.VD0.WindowType, {"None", "Kaiser", "Hann", "Flattop"}); + } + break; + case Protocol::PacketType::ManualStatus: { + Protocol::ManualStatus s = e.p->manualStatus; + auto V1 = new QTreeWidgetItem(); + V1->setData(2, Qt::DisplayRole, "V1"); + item->addChild(V1); + addInteger(V1, "ADC port 1 minimum", s.V1.port1min); + addInteger(V1, "ADC port 1 maximum", s.V1.port1max); + addInteger(V1, "ADC port 2 minimum", s.V1.port2min); + addInteger(V1, "ADC port 2 maximum", s.V1.port2max); + addInteger(V1, "ADC reference minimum", s.V1.refmin); + addInteger(V1, "ADC reference maximum", s.V1.refmax); + addDouble(V1, "Port 1 real", s.V1.port1real); + addDouble(V1, "Port 1 imaginary", s.V1.port1imag); + addDouble(V1, "Port 2 real", s.V1.port2real); + addDouble(V1, "Port 2 imaginary", s.V1.port2imag); + addDouble(V1, "Reference real", s.V1.refreal); + addDouble(V1, "Reference imaginary", s.V1.refimag); + addInteger(V1, "Source temperature", s.V1.temp_source); + addInteger(V1, "LO1 temperature", s.V1.temp_LO); + addBool(V1, "Source locked", s.V1.source_locked); + addBool(V1, "LO1 locked", s.V1.LO_locked); + + auto VFF = new QTreeWidgetItem(); + VFF->setData(2, Qt::DisplayRole, "VFF"); + item->addChild(VFF); + addInteger(VFF, "ADC port minimum", s.VFF.portmin); + addInteger(VFF, "ADC port maximum", s.VFF.portmax); + addInteger(VFF, "ADC reference minimum", s.VFF.refmin); + addInteger(VFF, "ADC reference maximum", s.VFF.refmax); + addDouble(VFF, "Port real", s.VFF.portreal); + addDouble(VFF, "Port imaginary", s.VFF.portimag); + addDouble(VFF, "Reference real", s.VFF.refreal); + addDouble(VFF, "Reference imaginary", s.VFF.refimag); + addBool(VFF, "Source locked", s.VFF.source_locked); + addBool(VFF, "LO locked", s.VFF.LO_locked); + + auto VFE = new QTreeWidgetItem(); + VFE->setData(2, Qt::DisplayRole, "VFE"); + item->addChild(VFE); + addInteger(VFE, "ADC port minimum", s.VFE.portmin); + addInteger(VFE, "ADC port maximum", s.VFE.portmax); + addInteger(VFE, "ADC reference minimum", s.VFE.refmin); + addInteger(VFE, "ADC reference maximum", s.VFE.refmax); + addDouble(VFE, "Port real", s.VFE.portreal); + addDouble(VFE, "Port imaginary", s.VFE.portimag); + addDouble(VFE, "Reference real", s.VFE.refreal); + addDouble(VFE, "Reference imaginary", s.VFE.refimag); + addBool(VFE, "Source locked", s.VFE.source_locked); + addBool(VFE, "LO locked", s.VFE.LO_locked); + addDouble(VFE, "eCal temperature", (double) s.VFE.temp_eCal / 100.0); + addDouble(VFE, "eCal heater power", (double) s.VFE.power_heater / 1000.0); + + auto VD0 = new QTreeWidgetItem(); + VD0->setData(2, Qt::DisplayRole, "VD0"); + item->addChild(VD0); + addInteger(VD0, "ADC port 1 minimum", s.VD0.port1min); + addInteger(VD0, "ADC port 1 maximum", s.VD0.port1max); + addInteger(VD0, "ADC port 2 minimum", s.VD0.port2min); + addInteger(VD0, "ADC port 2 maximum", s.VD0.port2max); + addInteger(VD0, "ADC reference minimum", s.VD0.refmin); + addInteger(VD0, "ADC reference maximum", s.VD0.refmax); + addDouble(VD0, "Port 1 real", s.VD0.port1real); + addDouble(VD0, "Port 1 imaginary", s.VD0.port1imag); + addDouble(VD0, "Port 2 real", s.VD0.port2real); + addDouble(VD0, "Port 2 imaginary", s.VD0.port2imag); + addDouble(VD0, "Reference real", s.VD0.refreal); + addDouble(VD0, "Reference imaginary", s.VD0.refimag); + addBool(VD0, "Source locked", s.VD0.source_locked); + addBool(VD0, "LO1 locked", s.VD0.LO_locked); + } + break; + case Protocol::PacketType::SpectrumAnalyzerSettings: { + Protocol::SpectrumAnalyzerSettings s = e.p->spectrumSettings; + addDouble(item, "Start frequency", s.f_start, "Hz"); + addDouble(item, "Stop frequency", s.f_stop, "Hz"); + addInteger(item, "Points", s.pointNum); + addDouble(item, "Resolution bandwidth", s.RBW, "Hz"); + addEnum(item, "Window", s.syncMode, {"None", "Kaiser", "Hann", "Flattop"}); + addBool(item, "Signal ID", s.SignalID); + addBool(item, "Use DFT", s.UseDFT); + addBool(item, "Use receiver calibration", s.applyReceiverCorrection); + addBool(item, "Use source calibration", s.applySourceCorrection); + addEnum(item, "Detector", s.Detector, {"Positive peak", "Negative peak", "Sample", "Normal", "Average"}); + addEnum(item, "Sync mode", s.syncMode, {"no synchronization", "USB", "Ext. reference", "Ext. trigger"}); + addBool(item, "Sync Master", s.syncMaster); + addBool(item, "Enable tracking generator", s.trackingGenerator); + addInteger(item, "Tracking generator port", s.trackingGeneratorPort+1); + addDouble(item, "Tracking generator offset", s.trackingGeneratorOffset, "Hz"); + addDouble(item, "Tracking generator power", (double) s.trackingPower / 100.0, "dBm"); + } + break; + case Protocol::PacketType::VNADatapoint: { + Protocol::VNADatapoint<32>* s = e.datapoint; + addInteger(item, "Point number", s->pointNum); + addDouble(item, "Frequency/time", s->frequency, "Hz"); + addDouble(item, "Power", (double) s->cdBm / 100.0, "dBm"); + for(unsigned int i=0;igetNumValues();i++) { + auto v = s->getValue(i); + vector ports; + if(v.flags & 0x01) { + ports.push_back(1); + } + if(v.flags & 0x02) { + ports.push_back(2); + } + if(v.flags & 0x04) { + ports.push_back(3); + } + if(v.flags & 0x08) { + ports.push_back(4); + } + bool reference = v.flags & 0x10; + int stage = v.flags >> 5; + auto vitem = new QTreeWidgetItem; + vitem->setData(2, Qt::DisplayRole, "Measurement "+QString::number(i+1)); + vitem->setData(3, Qt::DisplayRole, "Real: "+QString::number(v.value.real())+" Imag: "+QString::number(v.value.imag())); + addInteger(vitem, "Stage", stage); + addBool(vitem, "Reference", reference); + QString sports = QString::number(ports.front()); + for(unsigned int j=1;jaddChild(vitem); + } + } + break; + case Protocol::PacketType::SpectrumAnalyzerResult: { + Protocol::SpectrumAnalyzerResult s = e.p->spectrumResult; + addDouble(item, "Port 1 level", s.port1); + addDouble(item, "Port 2 level", s.port2); + addDouble(item, "Frequency/time", s.frequency, "Hz"); + addInteger(item, "Point number", s.pointNum); + } + break; + case Protocol::PacketType::SourceCalPoint: + case Protocol::PacketType::ReceiverCalPoint: { + Protocol::AmplitudeCorrectionPoint s = e.p->amplitudePoint; + addInteger(item, "Total points", s.totalPoints); + addInteger(item, "Point number", s.pointNum); + addDouble(item, "Frequency", s.freq, "Hz"); + addInteger(item, "Port 1 correction", s.port1); + addInteger(item, "Port 2 correction", s.port2); + } + break; + case Protocol::PacketType::FrequencyCorrection: { + Protocol::FrequencyCorrection s = e.p->frequencyCorrection; + addDouble(item, "ppm", s.ppm, ""); + } + break; + case Protocol::PacketType::DeviceConfiguration: { + auto s1 = e.p->deviceConfig.V1; + auto V1 = new QTreeWidgetItem(); + V1->setData(2, Qt::DisplayRole, "V1"); + item->addChild(V1); + addDouble(V1, "1.IF", s1.IF1, "Hz"); + addInteger(V1, "ADC prescaler", s1.ADCprescaler); + addInteger(V1, "DFT phase increment", s1.DFTphaseInc); + addInteger(V1, "PLL settling delay", s1.PLLSettlingDelay); + + auto sFF = e.p->deviceConfig.VFF; + auto VFF = new QTreeWidgetItem(); + VFF->setData(2, Qt::DisplayRole, "VFF"); + item->addChild(VFF); + addBool(VFF, "DHCP enabled", sFF.dhcp); + addString(VFF, "IP", QHostAddress(qFromBigEndian(sFF.ip)).toString()); + addString(VFF, "Mask", QHostAddress(qFromBigEndian(sFF.mask)).toString()); + addString(VFF, "Gateway", QHostAddress(qFromBigEndian(sFF.gw)).toString()); + addBool(VFF, "PGA autogain", sFF.autogain); + addInteger(VFF, "Port gain", sFF.portGain); + addInteger(VFF, "Reference gain", sFF.refGain); + + auto sFE = e.p->deviceConfig.VFE; + auto VFE = new QTreeWidgetItem(); + VFE->setData(2, Qt::DisplayRole, "VFE"); + item->addChild(VFE); + addBool(VFE, "PGA autogain", sFE.autogain); + addInteger(VFE, "Port gain", sFE.portGain); + addInteger(VFE, "Reference gain", sFE.refGain); + + auto sD0 = e.p->deviceConfig.VD0; + auto VD0 = new QTreeWidgetItem(); + VD0->setData(2, Qt::DisplayRole, "VD0"); + item->addChild(VD0); + addInteger(VD0, "ADC rate", sD0.ADCrate); + addInteger(VD0, "DFT phase increment", sD0.DFTphaseInc); + addInteger(VD0, "PLL settling delay", sD0.PLLSettlingDelay); + } + break; + default: + break; + } + } else { + item->setData(2, Qt::DisplayRole, "Invalid bytes"); + item->setData(3, Qt::DisplayRole, QString::number(e.bytes.size())+ " bytes"); + for(auto b : e.bytes) { + auto subitem = new QTreeWidgetItem; + subitem->setData(3, Qt::DisplayRole, "0x"+QString::number(b, 16)); + item->addChild(subitem); + } + } + ui->tree->addTopLevelItem(item); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.h new file mode 100644 index 0000000..1454a93 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.h @@ -0,0 +1,27 @@ +#ifndef DEVICEUSBLOGVIEW_H +#define DEVICEUSBLOGVIEW_H + +#include "devicepacketlog.h" + +#include + +namespace Ui { +class DevicePacketLogView; +} + +class DevicePacketLogView : public QDialog +{ + Q_OBJECT + +public: + explicit DevicePacketLogView(QWidget *parent = nullptr); + ~DevicePacketLogView(); + +private slots: + void updateTree(); + void addEntry(const DevicePacketLog::LogEntry &e); +private: + Ui::DevicePacketLogView *ui; +}; + +#endif // DEVICEUSBLOGVIEW_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.ui new file mode 100644 index 0000000..0b77cc1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/devicepacketlogview.ui @@ -0,0 +1,50 @@ + + + DevicePacketLogView + + + + 0 + 0 + 845 + 553 + + + + Device Log + + + + + + false + + + + 1 + + + + + + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Open|QDialogButtonBox::Reset|QDialogButtonBox::Save + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.cpp new file mode 100644 index 0000000..3672d34 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.cpp @@ -0,0 +1,241 @@ +#include "firmwareupdatedialog.h" + +#include "ui_firmwareupdatedialog.h" +#include "../../VNA_embedded/Application/Communication/PacketConstants.h" +#include "CustomWidgets/informationbox.h" +#include "preferences.h" + +#include +#include + +FirmwareUpdateDialog::FirmwareUpdateDialog(LibreVNADriver *dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::FirmwareUpdateDialog), + dev(dev), + file(), + timer(), + state(State::Idle), + transferredBytes(0), + success(false), + deleteAfterUpdate(true) +{ + dev->acquireControl(); + setAttribute(Qt::WA_DeleteOnClose); + ui->setupUi(this); + ui->bFile->setIcon(this->style()->standardPixmap(QStyle::SP_FileDialogStart)); + ui->bStart->setIcon(this->style()->standardPixmap(QStyle::SP_MediaPlay)); + connect(ui->lFile, &QLineEdit::textChanged, this, &FirmwareUpdateDialog::reloadFile); + connect(&timer, &QTimer::timeout, this, &FirmwareUpdateDialog::timerCallback); +} + +FirmwareUpdateDialog::~FirmwareUpdateDialog() +{ + dev->releaseControl(); + delete ui; +} + +bool FirmwareUpdateDialog::FirmwareUpdate(LibreVNADriver *dev, QString file) +{ + FirmwareUpdateDialog d(dev); + d.deleteAfterUpdate = false; + d.ui->lFile->setText(file); + d.reloadFile(); + d.on_bStart_clicked(); + d.show(); + QEventLoop loop; + while(d.state != State::Idle) { + loop.processEvents(QEventLoop::AllEvents, 100); + } + return d.success; +} + +void FirmwareUpdateDialog::on_bFile_clicked() +{ + ui->bStart->setEnabled(false); + auto filename = QFileDialog::getOpenFileName(nullptr, "Open firmware file", Preferences::getInstance().UISettings.Paths.firmware, "Firmware file (*.vnafw)", nullptr, Preferences::QFileDialogOptions()); + if (filename.length() > 0) { + Preferences::getInstance().UISettings.Paths.firmware = QFileInfo(filename).path(); + ui->lFile->setText(filename); + reloadFile(); + } +} + +void FirmwareUpdateDialog::reloadFile() +{ + delete file; + file = new QFile(ui->lFile->text()); + ui->bStart->setEnabled(true); +} + +void FirmwareUpdateDialog::on_bStart_clicked() +{ + success = false; + ui->status->clear(); + ui->bStart->setEnabled(false); + if(!file->isOpen()) { + if(!file->open(QIODevice::ReadOnly)) { + abortWithError("Unable to open file"); + return; + } + } + file->seek(0); + addStatus("Evaluating file..."); + if(file->size() % PacketConstants::FW_CHUNK_SIZE != 0) { + abortWithError("Invalid file size"); + return; + } + char header[24]; + file->read(header, sizeof(header)); + if(strncmp(header, dev->getFirmwareMagicString().toStdString().c_str(), 4)) { + // might be a firmware file for a wrong LibreVNA + if(dev->getProtocolVersion() == Protocol::Version) { + // we are talking to a LibreVNA with the correct protocol, this is definitely the wrong firmware file + abortWithError("Invalid magic header constant"); + return; + } else { + // we might be talking to the correct hardware but with the wrong protocol version (which might result + // in the magic string check falsely failing. Process after user confirmation + auto confirm = InformationBox::AskQuestion("Continue?", "The firmware magic header constant does not match the expected" + " value for your LibreVNA. Either this is the wrong firmware file" + " or the hardware ID of your LibreVNA was read incorrectly. This" + " can happen if the LibreVNA uses a different protocol version than" + " what it expected by the GUI. Do you want to continue with the firmware update?", true); + if(!confirm) { + abortWithError("Aborted by user"); + return; + } + } + + } + file->seek(0); + state = State::ErasingFLASH; + disconnect(dev, nullptr, this, nullptr); + connect(dev, &LibreVNADriver::receivedAnswer, this, [=](const LibreVNADriver::TransmissionResult &res) { + if(res == LibreVNADriver::TransmissionResult::Ack) { + receivedAck(); + } else if(res == LibreVNADriver::TransmissionResult::Nack) { + receivedNack(); + } + }, Qt::QueuedConnection); + addStatus("Erasing device memory..."); + dev->sendWithoutPayload(Protocol::PacketType::ClearFlash); + timer.setSingleShot(true); + timer.start(20000); +} + +void FirmwareUpdateDialog::addStatus(QString line) +{ + ui->status->appendPlainText(line); +} + +void FirmwareUpdateDialog::abortWithError(QString error) +{ + timer.stop(); + + QTextCharFormat tf; + tf = ui->status->currentCharFormat(); + tf.setForeground(QBrush(Qt::red)); + ui->status->setCurrentCharFormat(tf); + ui->status->appendPlainText(error); + tf.setForeground(QBrush(Qt::black)); + ui->status->setCurrentCharFormat(tf); + ui->bStart->setEnabled(true); + success = false; + state = State::Idle; +} + +void FirmwareUpdateDialog::timerCallback() +{ + switch(state) { + case State::WaitingForReboot: { + // Currently waiting for the reboot, check device list + auto devices = dev->GetAvailableDevices(); + if(devices.find(serialnumber) != devices.end()) { + // the device rebooted and is available again + addStatus("...device enumerated, update complete"); + state = State::WaitBeforeInitializing; + timer.start(3000); + } + } + break; + case State::WaitBeforeInitializing: + // Device had enough time to initialize, indicate that rebooted device is ready + timer.stop(); + if(dev->connectDevice(serialnumber)) { + success = true; + if(deleteAfterUpdate) { + delete this; + } + } else { + abortWithError("Failed to connect to updated device"); + } + state = State::Idle; + break; + default: + abortWithError("Response timed out"); + break; + } +} + +void FirmwareUpdateDialog::receivedAck() +{ + switch(state) { + case State::Idle: + // no firmware update in progress, ignore + break; + case State::ErasingFLASH: + // FLASH erased, begin transferring firmware + state = State::TransferringData; + transferredBytes = 0; + addStatus("Transferring firmware..."); + sendNextFirmwareChunk(); + timer.start(1000); + break; + case State::TransferringData: + transferredBytes += PacketConstants::FW_CHUNK_SIZE; + ui->progress->setValue(100 * transferredBytes / file->size()); + if(transferredBytes >= file->size()) { + // complete file transferred + addStatus("Triggering device update..."); + state = State::TriggeringUpdate; + dev->sendWithoutPayload(Protocol::PacketType::PerformFirmwareUpdate); + timer.start(5000); + } else { + sendNextFirmwareChunk(); + timer.start(1000); + } + break; + case State::TriggeringUpdate: + addStatus("Rebooting device..."); + serialnumber = dev->getSerial(); + dev->disconnectDevice(); + state = State::WaitingForReboot; + timer.setSingleShot(false); + timer.start(2000); + break; + default: + break; + } +} + +void FirmwareUpdateDialog::receivedNack() +{ + switch(state) { + case State::ErasingFLASH: + abortWithError("Nack received, device does not support firmware update"); + break; + default: + abortWithError("Nack received, something went wrong"); + break; + } + +} + +void FirmwareUpdateDialog::sendNextFirmwareChunk() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::FirmwarePacket; + p.firmware.address = transferredBytes; + file->read((char*) &p.firmware.data, PacketConstants::FW_CHUNK_SIZE); + dev->SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.h new file mode 100644 index 0000000..f1577f7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.h @@ -0,0 +1,67 @@ +#ifndef FIRMWAREUPDATEDIALOG_H +#define FIRMWAREUPDATEDIALOG_H + +#include "librevnadriver.h" + +#include +#include +#include + +namespace Ui { +class FirmwareUpdateDialog; +} + +class FirmwareUpdateDialog : public QDialog +{ + Q_OBJECT + +public: + /* + * Depending on the result of the firmware update, the device pointer will be modified: + * - In case of user-aborted firmware update, the device pointer will be unchanged + * - If the update fails during transmission of firmware data, the device pointer will be unchanged + * - If the update fails during device reboot, the device pointer is set to zero and the device deleted + * - If the update succeeds, the device pointer will be set to the new device instance + */ + explicit FirmwareUpdateDialog(LibreVNADriver *dev, QWidget *parent = nullptr); + ~FirmwareUpdateDialog(); + + static bool FirmwareUpdate(LibreVNADriver *dev, QString file); + +signals: + void DeviceRebooting(); // emitted when the update process is triggered, the device should be disconnected + void DeviceRebooted(QString serial); // emitted when an updated device is enumerated after the update + +private slots: + void on_bFile_clicked(); + void reloadFile(); + void on_bStart_clicked(); + void timerCallback(); + void receivedAck(); + void receivedNack(); + +private: + void addStatus(QString line); + void abortWithError(QString error); + void sendNextFirmwareChunk(); + Ui::FirmwareUpdateDialog *ui; + LibreVNADriver *dev; + QFile *file; + QTimer timer; + + enum class State { + Idle, + ErasingFLASH, + TransferringData, + TriggeringUpdate, + WaitingForReboot, + WaitBeforeInitializing, + }; + State state; + unsigned int transferredBytes; + QString serialnumber; + bool success; + bool deleteAfterUpdate; +}; + +#endif // FIRMWAREUPDATEDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.ui new file mode 100644 index 0000000..5ebccf0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/firmwareupdatedialog.ui @@ -0,0 +1,111 @@ + + + FirmwareUpdateDialog + + + + 0 + 0 + 520 + 327 + + + + Firmware Update + + + + + + + + File: + + + + + + + true + + + + + + + + 0 + 0 + + + + + 30 + 16777215 + + + + + + + true + + + + + + + + + true + + + true + + + + + + + 0 + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + false + + + Start + + + + :/icons/play.png:/icons/play.png + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.cpp new file mode 100644 index 0000000..7ac7bbc --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.cpp @@ -0,0 +1,42 @@ +#include "frequencycaldialog.h" + +#include "ui_frequencycaldialog.h" + +FrequencyCalDialog::FrequencyCalDialog(LibreVNADriver *dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::FrequencyCalDialog), + dev(dev) +{ + emit dev->acquireControl(); + setAttribute(Qt::WA_DeleteOnClose); + ui->setupUi(this); + ui->ppm->setUnit("ppm"); + ui->ppm->setPrefixes(" "); + ui->ppm->setPrecision(4); + ui->ppm->setValue(0.0); + + connect(dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::FrequencyCorrection) { + ui->ppm->setValueQuiet(p.frequencyCorrection.ppm); + } + }, Qt::QueuedConnection); + connect(ui->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject); + connect(ui->buttonBox, &QDialogButtonBox::accepted, [=](){ + // get value and transfer to device + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::FrequencyCorrection; + p.frequencyCorrection.ppm = ui->ppm->value(); + dev->SendPacket(p); + accept(); + delete this; + }); + + // request setting from device + dev->sendWithoutPayload(Protocol::PacketType::RequestFrequencyCorrection); +} + +FrequencyCalDialog::~FrequencyCalDialog() +{ + emit dev->releaseControl(); + delete ui; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.h new file mode 100644 index 0000000..24e6077 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.h @@ -0,0 +1,25 @@ +#ifndef FREQUENCYCALDIALOG_H +#define FREQUENCYCALDIALOG_H + +#include "librevnadriver.h" + +#include + +namespace Ui { +class FrequencyCalDialog; +} + +class FrequencyCalDialog : public QDialog +{ + Q_OBJECT + +public: + explicit FrequencyCalDialog(LibreVNADriver *dev, QWidget *parent = nullptr); + ~FrequencyCalDialog(); + +private: + Ui::FrequencyCalDialog *ui; + LibreVNADriver *dev; +}; + +#endif // FREQUENCYCALDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.ui new file mode 100644 index 0000000..6ea7f51 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/frequencycaldialog.ui @@ -0,0 +1,124 @@ + + + FrequencyCalDialog + + + + 0 + 0 + 363 + 178 + + + + Frequency Calibration + + + true + + + + + + Specify the error of the internal TCXO to correct for it during measurements and signal generation. This setting has no effect when an external reference is used. + + + true + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + TCXO offset: + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + buttonBox + accepted() + FrequencyCalDialog + accept() + + + 248 + 254 + + + 157 + 274 + + + + + buttonBox + rejected() + FrequencyCalDialog + reject() + + + 316 + 260 + + + 286 + 274 + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriver.cpp new file mode 100644 index 0000000..edb78ba --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriver.cpp @@ -0,0 +1,900 @@ +#include "librevnadriver.h" + +#include "manualcontroldialogV1.h" +#include "manualcontroldialogvff.h" +#include "manualcontroldialogvfe.h" +#include "manualcontroldialogVE0.h" +#include "manualcontroldialogVD0.h" +#include "deviceconfigurationdialogv1.h" +#include "deviceconfigurationdialogvff.h" +#include "deviceconfigurationdialogvfe.h" +#include "deviceconfigurationdialogvd0.h" +#include "firmwareupdatedialog.h" +#include "frequencycaldialog.h" +#include "sourcecaldialog.h" +#include "receivercaldialog.h" +#include "unit.h" +#include "CustomWidgets/informationbox.h" +#include "devicepacketlogview.h" + +#include "ui_librevnadriversettingswidget.h" + +using namespace std; + +class Reference +{ +public: + enum class TypeIn { + Internal, + External, + Auto, + None + }; + enum class OutFreq { + MHZ10, + MHZ100, + Off, + None + }; + + static QString OutFreqToLabel(Reference::OutFreq t) + { + switch(t) { + case OutFreq::MHZ10: return "10 MHz"; + case OutFreq::MHZ100: return "100 MHz"; + case OutFreq::Off: return "Off"; + default: return "Invalid"; + } + } + + static QString OutFreqToKey(Reference::OutFreq f) + { + switch(f) { + case OutFreq::MHZ10: return "10 MHz"; + case OutFreq::MHZ100: return "100 MHz"; + case OutFreq::Off: return "Off"; + default: return "Invalid"; + } + } + + static Reference::OutFreq KeyToOutFreq(QString key) + { + for (auto r: Reference::getOutFrequencies()) { + if(OutFreqToKey(r) == key|| OutFreqToLabel(r) == key) { + return r; + } + } + // not found + return Reference::OutFreq::None; + } + + + static QString TypeToLabel(TypeIn t) + { + switch(t) { + case TypeIn::Internal: return "Internal"; + case TypeIn::External: return "External"; + case TypeIn::Auto: return "Auto"; + default: return "Invalid"; + } + } + + static const QString TypeToKey(TypeIn t) + { + switch(t) { + case TypeIn::Internal: return "Int"; + case TypeIn::External: return "Ext"; + case TypeIn::Auto: return "Auto"; + default: return "Invalid"; + } + } + + static TypeIn KeyToType(QString key) + { + for (auto r: Reference::getReferencesIn()) { + if(TypeToKey(r) == key || TypeToLabel(r) == key) { + return r; + } + } + // not found + return TypeIn::None; + } + + static std::vector getReferencesIn() + { + return {TypeIn::Internal, TypeIn::External, TypeIn::Auto}; + } + + static std::vector getOutFrequencies() + { + return {OutFreq::Off, OutFreq::MHZ10, OutFreq::MHZ100}; + } +}; + +LibreVNADriver::LibreVNADriver() +{ + connected = false; + skipOwnPacketHandling = false; + isIdle = true; + SApoints = 0; + hardwareVersion = 0; + protocolVersion = 0; + setSynchronization(Synchronization::Disabled, false); + manualControlDialog = nullptr; + + // Add driver specific actions + + auto startManualControl = [=](){ + manualControlDialog = nullptr; + switch(hardwareVersion) { + case 1: + manualControlDialog = new ManualControlDialogV1(*this); + break; + case 0xD0: + manualControlDialog = new ManualControlDialogVD0(*this); + break; + case 0xE0: + manualControlDialog = new ManualControlDialogVE0(*this); + break; + case 0xFE: + manualControlDialog = new ManualControlDialogVFE(*this); + break; + case 0xFF: + manualControlDialog = new ManualControlDialogVFF(*this); + break; + } + if(manualControlDialog) { + manualControlDialog->show(); + connect(manualControlDialog, &QDialog::finished, this, [=](){ + manualControlDialog = nullptr; + }); + } + }; + + auto manual = new QAction("Manual Control"); + connect(manual, &QAction::triggered, this, startManualControl); + specificActions.push_back(manual); + + auto config = new QAction("Configuration"); + connect(config, &QAction::triggered, this, [=](){ + QDialog *d = nullptr; + switch(hardwareVersion) { + case 1: + d = new DeviceConfigurationDialogV1(*this); + break; + case 0xD0: + d = new DeviceConfigurationDialogVD0(*this); + break; + case 0xFE: + d = new DeviceConfigurationDialogVFE(*this); + break; + case 0xFF: + d = new DeviceConfigurationDialogVFF(*this); + break; + } + if(d) { + d->show(); + } + }); + specificActions.push_back(config); + + auto update = new QAction("Firmware Update"); + connect(update, &QAction::triggered, this, [=](){ + auto d = new FirmwareUpdateDialog(this); + d->show(); + }); + specificActions.push_back(update); + + auto sep = new QAction(); + sep->setSeparator(true); + specificActions.push_back(sep); + + auto srccal = new QAction("Source Calibration"); + connect(srccal, &QAction::triggered, this, [=](){ + auto d = new SourceCalDialog(this); + d->show(); + }); + specificActions.push_back(srccal); + + auto recvcal = new QAction("Receiver Calibration"); + connect(recvcal, &QAction::triggered, this, [=](){ + auto d = new ReceiverCalDialog(this); + d->show(); + }); + specificActions.push_back(recvcal); + + auto freqcal = new QAction("Frequency Calibration"); + connect(freqcal, &QAction::triggered, this, [=](){ + auto d = new FrequencyCalDialog(this); + d->show(); + }); + specificActions.push_back(freqcal); + + auto internalAlignment = new QAction("Run Internal Alignment"); + connect(internalAlignment, &QAction::triggered, this, [=](){ + emit acquireControl(); + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::PerformAction; + p.performAction.action = Protocol::Action::InternalAlignment; + SendPacket(p, [=](TransmissionResult res){ + if(res == TransmissionResult::Ack) { + InformationBox::ShowMessage("Success", "Internal alignment completed"); + } else { + InformationBox::ShowError("Error", "Running internal alignment failed"); + } + emit releaseControl(); + }, 5000); + }); + specificActions.push_back(internalAlignment); + + auto sep2 = new QAction(); + sep2->setSeparator(true); + specificActions.push_back(sep2); + + auto log = new QAction("View Packet Log"); + connect(log, &QAction::triggered, this, [=](){ + auto d = new DevicePacketLogView(); + d->show(); + }); + specificActions.push_back(log); + + // set available actions for each hardware version + availableActions[0x01] = {manual, config, update, sep, srccal, recvcal, freqcal, sep2, log}; + availableActions[0xD0] = {manual, config, update, sep, srccal, recvcal, freqcal, sep2, log}; + availableActions[0xE0] = {manual, update, sep, srccal, recvcal, freqcal, internalAlignment, sep2, log}; + availableActions[0xFD] = {manual, update, sep, srccal, recvcal, freqcal, sep2, log}; + availableActions[0xFE] = {manual, config, update, sep, srccal, recvcal, freqcal, sep2, log}; + availableActions[0xFF] = {manual, config, update, sep, srccal, recvcal, freqcal, sep2, log}; + + // Create driver specific commands + specificSCPIcommands.push_back(new SCPICommand("DEVice:INFo:TEMPeratures", nullptr, [=](QStringList) -> QString { + if(!connected) { + return SCPI::getResultName(SCPI::Result::Error); + } + switch(hardwareVersion) { + case 0x01: return QString::number(lastStatus.V1.temp_source)+"/"+QString::number(lastStatus.V1.temp_LO1)+"/"+QString::number(lastStatus.V1.temp_MCU); + case 0xD0: return QString::number(lastStatus.VD0.temp_MCU); + case 0xFE: return QString::number(lastStatus.VFE.temp_MCU)+"/"+QString::number(lastStatus.VFE.temp_eCal); + case 0xFF: return QString::number(lastStatus.VFF.temp_MCU); + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + + specificSCPIcommands.push_back(new SCPICommand("DEVice:UPDATE", [=](QStringList params) -> QString { + if(!connected) { + return SCPI::getResultName(SCPI::Result::Error); + } + if(params.size() != 1) { + // no file given + return SCPI::getResultName(SCPI::Result::Error); + } + auto ret = updateFirmware(params[0]); + if(!ret) { + // update failed + return SCPI::getResultName(SCPI::Result::Error); + } else { + // update succeeded + return SCPI::getResultName(SCPI::Result::Empty); + } + }, nullptr, false)); + + specificSCPIcommands.push_back(new SCPICommand("MANual:STArt", [=](QStringList) -> QString { + if(!manualControlDialog) { + startManualControl(); + if(!manualControlDialog) { + return SCPI::getResultName(SCPI::Result::Error); + } + } + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + + specificSCPIcommands.push_back(new SCPICommand("MANual:STOp", [=](QStringList) -> QString { + if(manualControlDialog) { + delete manualControlDialog; + manualControlDialog = nullptr; + } + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + + specificSCPIcommands.push_back(new SCPICommand("DEVice:PACKETLOG", nullptr, [=](QStringList) -> QString { + auto &log = DevicePacketLog::getInstance(); + return QString::fromStdString(log.toJSON().dump()); + })); +} + +std::set LibreVNADriver::getFlags() +{ + std::set ret; + switch(hardwareVersion) { + case 1: + if(lastStatus.V1.extRefInUse) { + ret.insert(Flag::ExtRef); + } + if(!lastStatus.V1.source_locked || !lastStatus.V1.LO1_locked) { + ret.insert(Flag::Unlocked); + } + if(lastStatus.V1.unlevel) { + ret.insert(Flag::Unlevel); + } + if(lastStatus.V1.ADC_overload) { + ret.insert(Flag::Overload); + } + break; + case 0xD0: + if(!lastStatus.VD0.source_locked || !lastStatus.VD0.LO_locked) { + ret.insert(Flag::Unlocked); + } + if(lastStatus.VD0.unlevel) { + ret.insert(Flag::Unlevel); + } + if(lastStatus.VD0.ADC_overload) { + ret.insert(Flag::Overload); + } + break; + case 0xFE: + if(!lastStatus.VFE.source_locked || !lastStatus.VFE.LO_locked) { + ret.insert(Flag::Unlocked); + } + if(lastStatus.VFE.unlevel) { + ret.insert(Flag::Unlevel); + } + if(lastStatus.VFE.ADC_overload) { + ret.insert(Flag::Overload); + } + break; + case 0xFF: + if(!lastStatus.VFF.source_locked || !lastStatus.VFF.LO_locked) { + ret.insert(Flag::Unlocked); + } + if(lastStatus.VFF.unlevel) { + ret.insert(Flag::Unlevel); + } + if(lastStatus.VFF.ADC_overload) { + ret.insert(Flag::Overload); + } + break; + } + return ret; +} + +QString LibreVNADriver::getStatus() +{ + QString ret; + ret.append("HW "); + ret.append(info.hardware_version); + ret.append(" FW "+info.firmware_version); + switch (hardwareVersion) { + case 1: + ret.append(" Temps: Source PLL: "+QString::number(lastStatus.V1.temp_source)+"°C LO PLL: "+QString::number(lastStatus.V1.temp_LO1)+"°C MCU: "+QString::number(lastStatus.V1.temp_MCU)+"°C"); + ret.append(" Reference:"); + if(lastStatus.V1.extRefInUse) { + ret.append("External"); + } else { + ret.append("Internal"); + if(lastStatus.V1.extRefAvailable) { + ret.append(" (External available)"); + } + } + break; + case 0xD0: + ret.append(" Temps MCU: "+QString::number(lastStatus.VD0.temp_MCU)+"°C"); + ret.append(" Supply: "+Unit::ToString((float) lastStatus.VD0.supply_voltage / 1000.0, "V", "m ", 3) + " " + Unit::ToString((float) lastStatus.VD0.supply_current / 1000.0, "A", "m ", 3)); + ret.append(" Reference:"); + if(lastStatus.VD0.extRefInUse) { + ret.append("External"); + } else { + ret.append("Internal"); + if(lastStatus.VD0.extRefAvailable) { + ret.append(" (External available)"); + } + } + break; + case 0xFE: + ret.append(" MCU Temp: "+QString::number(lastStatus.VFE.temp_MCU)+"°C"); + ret.append(" eCal Temp: "+QString::number(lastStatus.VFE.temp_eCal / 100.0)+"°C"); + ret.append(" eCal Power: "+QString::number(lastStatus.VFE.power_heater / 1000.0)+"W"); + break; + case 0xFF: + ret.append(" MCU Temp: "+QString::number(lastStatus.VFF.temp_MCU)+"°C"); + break; + } + return ret; +} + +QWidget *LibreVNADriver::createSettingsWidget() +{ + auto w = new QWidget; + auto ui = new Ui::LibreVNADriverSettingsWidget; + ui->setupUi(w); + + // Set initial values + ui->CaptureRawReceiverValues->setChecked(captureRawReceiverValues); + ui->UseHarmonicMixing->setChecked(harmonicMixing); + ui->UseSignalID->setChecked(SASignalID); + ui->SuppressPeaks->setChecked(VNASuppressInvalidPeaks); + ui->AdjustPowerLevel->setChecked(VNAAdjustPowerLevel); + ui->DFTlimitRBW->setEnabled(false); + connect(ui->UseDFT, &QCheckBox::toggled, ui->DFTlimitRBW, &SIUnitEdit::setEnabled); + ui->UseDFT->setChecked(SAUseDFT); + ui->DFTlimitRBW->setUnit("Hz"); + ui->DFTlimitRBW->setPrefixes(" kM"); + ui->DFTlimitRBW->setPrecision(3); + ui->DFTlimitRBW->setValue(SARBWLimitForDFT); + + connect(ui->UseHarmonicMixing, &QCheckBox::toggled, [=](bool enabled) { + if(enabled) { + InformationBox::ShowMessage("Harmonic Mixing", "When harmonic mixing is enabled, the frequency range of the VNA is (theoretically) extended up to 18GHz " + "by using higher harmonics of the source signal as well as the 1.LO. The fundamental frequency is still present " + "in the output signal and might disturb the measurement if the DUT is not linear. Performance above 6GHz is not " + "specified and generally not very good. However, this mode might be useful if the signal of interest is just above " + "6GHz (typically useful values up to 7-8GHz). Performance below 6GHz is not affected by this setting"); + } + }); + + // make connections to change the values + connect(ui->CaptureRawReceiverValues, &QCheckBox::toggled, this, [=](){ + captureRawReceiverValues = ui->CaptureRawReceiverValues->isChecked(); + }); + connect(ui->UseHarmonicMixing, &QCheckBox::toggled, this, [=](){ + harmonicMixing = ui->UseHarmonicMixing->isChecked(); + }); + connect(ui->UseSignalID, &QCheckBox::toggled, this, [=](){ + SASignalID = ui->UseSignalID->isChecked(); + }); + connect(ui->SuppressPeaks, &QCheckBox::toggled, this, [=](){ + VNASuppressInvalidPeaks = ui->SuppressPeaks->isChecked(); + }); + connect(ui->AdjustPowerLevel, &QCheckBox::toggled, this, [=](){ + VNAAdjustPowerLevel = ui->AdjustPowerLevel->isChecked(); + }); + connect(ui->UseDFT, &QCheckBox::toggled, this, [=](){ + SAUseDFT = ui->UseDFT->isChecked(); + }); + connect(ui->DFTlimitRBW, &SIUnitEdit::valueChanged, this, [=](){ + SARBWLimitForDFT = ui->DFTlimitRBW->value(); + }); + + return w; +} + +QStringList LibreVNADriver::availableVNAMeasurements() +{ + QStringList ret; + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + for(unsigned int j=1;j<=info.Limits.VNA.ports;j++) { + ret.push_back("S"+QString::number(i)+QString::number(j)); + } + } + + if(captureRawReceiverValues) { + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + for(unsigned int j=0;j cb) +{ + if(!supports(Feature::VNA)) { + qDebug() << "VNA does not support features \"VNA\" (has the DeviceInfo been received?)"; + return false; + } + if(s.excitedPorts.size() == 0) { + return setIdle(cb); + } + + // create port->stage mapping + portStageMapping.clear(); + for(unsigned int i=0;i UINT16_MAX) { + dwell_us = UINT16_MAX; + } + p.settings.dwell_time = dwell_us; + p.settings.suppressPeaks = VNASuppressInvalidPeaks ? 1 : 0; + p.settings.fixedPowerSetting = VNAAdjustPowerLevel || s.dBmStart != s.dBmStop ? 0 : 1; + p.settings.logSweep = s.logSweep ? 1 : 0; + + zerospan = (s.freqStart == s.freqStop) && (s.dBmStart == s.dBmStop); + p.settings.port1Stage = find(s.excitedPorts.begin(), s.excitedPorts.end(), 1) - s.excitedPorts.begin(); + p.settings.port2Stage = find(s.excitedPorts.begin(), s.excitedPorts.end(), 2) - s.excitedPorts.begin(); + p.settings.port3Stage = find(s.excitedPorts.begin(), s.excitedPorts.end(), 3) - s.excitedPorts.begin(); + p.settings.port4Stage = find(s.excitedPorts.begin(), s.excitedPorts.end(), 4) - s.excitedPorts.begin(); + p.settings.syncMode = (int) sync; + p.settings.syncMaster = syncMaster ? 1 : 0; + + isIdle = false; + lastNonIdlePacket = p; + + return SendPacket(p, [=](TransmissionResult r){ + if(cb) { + cb(r == TransmissionResult::Ack); + } + }); +} + +QStringList LibreVNADriver::availableSAMeasurements() +{ + QStringList ret; + for(unsigned int i=1;i<=info.Limits.SA.ports;i++) { + ret.push_back("PORT"+QString::number(i)); + } + return ret; +} + +bool LibreVNADriver::setSA(const DeviceDriver::SASettings &s, std::function cb) +{ + if(!supports(Feature::SA)) { + return false; + } + + zerospan = s.freqStart == s.freqStop; + + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::SpectrumAnalyzerSettings; + p.spectrumSettings.f_start = s.freqStart; + p.spectrumSettings.f_stop = s.freqStop; + + constexpr unsigned int maxSApoints = 1001; + if(s.freqStop - s.freqStart >= maxSApoints || s.freqStop - s.freqStart <= 0) { + SApoints = maxSApoints; + } else { + SApoints = s.freqStop - s.freqStart + 1; + } + + p.spectrumSettings.pointNum = SApoints; + p.spectrumSettings.RBW = s.RBW; + p.spectrumSettings.WindowType = (int) s.window; + p.spectrumSettings.SignalID = SASignalID ? 1 : 0; + p.spectrumSettings.Detector = (int) s.detector; + p.spectrumSettings.UseDFT = 0; + if(!s.trackingGenerator && SAUseDFT && s.RBW <= SARBWLimitForDFT && s.freqStart != s.freqStop) { + p.spectrumSettings.UseDFT = 1; + } + p.spectrumSettings.applyReceiverCorrection = 1; + p.spectrumSettings.trackingGeneratorOffset = s.trackingOffset; + p.spectrumSettings.trackingPower = s.trackingPower * 100; + + p.spectrumSettings.trackingGenerator = s.trackingGenerator ? 1 : 0; + p.spectrumSettings.trackingGeneratorPort = s.trackingPort - 1; + p.spectrumSettings.syncMode = (int) sync; + p.spectrumSettings.syncMaster = syncMaster ? 1 : 0; + + isIdle = false; + lastNonIdlePacket = p; + + return SendPacket(p, [=](TransmissionResult r){ + if(cb) { + cb(r == TransmissionResult::Ack); + } + }); +} + +QStringList LibreVNADriver::availableSGPorts() +{ + QStringList ret; + for(unsigned int i=1;i cb) +{ + isIdle = true; + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::SetIdle; + return SendPacket(p, [=](TransmissionResult res) { + if(cb) { + cb(res == TransmissionResult::Ack); + } + }); +} + +bool LibreVNADriver::setExtRef(QString option_in, QString option_out) +{ + auto refIn = Reference::KeyToType(option_in); + if(refIn == Reference::TypeIn::None) { + refIn = Reference::TypeIn::Internal; + } + auto refOut = Reference::KeyToOutFreq(option_out); + if(refOut == Reference::OutFreq::None) { + refOut = Reference::OutFreq::Off; + } + + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::Reference; + switch(refIn) { + case Reference::TypeIn::Internal: + case Reference::TypeIn::None: + p.reference.UseExternalRef = 0; + p.reference.AutomaticSwitch = 0; + if(hardwareVersion == 0x01) { + lastStatus.V1.extRefInUse = 0; + } + break; + case Reference::TypeIn::Auto: + p.reference.UseExternalRef = 0; + p.reference.AutomaticSwitch = 1; + break; + case Reference::TypeIn::External: + p.reference.UseExternalRef = 1; + p.reference.AutomaticSwitch = 0; + if(hardwareVersion == 0x01) { + lastStatus.V1.extRefInUse = 1; + } + break; + } + switch(refOut) { + case Reference::OutFreq::None: + case Reference::OutFreq::Off: p.reference.ExtRefOuputFreq = 0; break; + case Reference::OutFreq::MHZ10: p.reference.ExtRefOuputFreq = 10000000; break; + case Reference::OutFreq::MHZ100: p.reference.ExtRefOuputFreq = 100000000; break; + } + + bool ret; + if(isIdle) { + // can switch reference directly + ret = SendPacket(p); + } else { + // switching the reference while a sweep (or any frequency generation is active) + // can result in wrong frequencies when a frequency calibration is applied to + // the internal reference. Stop any activity before switching the reference and + // start it again afterwards + ret = sendWithoutPayload(Protocol::PacketType::SetIdle); + ret &= SendPacket(p); + ret &= SendPacket(lastNonIdlePacket); + } + + return ret; +} + +void LibreVNADriver::registerTypes() +{ + qRegisterMetaType(); + qRegisterMetaType(); + qRegisterMetaType(); +} + +void LibreVNADriver::setSynchronization(LibreVNADriver::Synchronization s, bool master) +{ + sync = s; + syncMaster = master; +} + +void LibreVNADriver::handleReceivedPacket(const Protocol::PacketInfo &packet) +{ + emit passOnReceivedPacket(packet); + + if(skipOwnPacketHandling) { + return; + } + + switch(packet.type) { + case Protocol::PacketType::DeviceInfo: { + // Check protocol version + protocolVersion = packet.info.ProtocolVersion; + if(packet.info.ProtocolVersion != Protocol::Version) { + auto ret = InformationBox::AskQuestion("Warning", + "The device reports a different protocol" + "version (" + QString::number(packet.info.ProtocolVersion) + ") than expected (" + QString::number(Protocol::Version) + ").\n" + "A firmware update is strongly recommended. Do you want to update now?", false); + if (ret) { + auto d = new FirmwareUpdateDialog(this); + d->show(); + } + } + + hardwareVersion = packet.info.hardware_version; + info.firmware_version = QString::number(packet.info.FW_major)+"."+QString::number(packet.info.FW_minor)+"."+QString::number(packet.info.FW_patch); + info.hardware_version = hardwareVersionToString(packet.info.hardware_version)+" Rev."+QString(packet.info.HW_Revision); + info.supportedFeatures = { + Feature::VNA, Feature::VNAFrequencySweep, Feature::VNALogSweep, Feature::VNAPowerSweep, Feature::VNAZeroSpan, Feature::VNADwellTime, + Feature::Generator, + Feature::SA, Feature::SATrackingGenerator, Feature::SATrackingOffset, + Feature::ExtRefIn, Feature::ExtRefOut, + }; + info.Limits.VNA.ports = packet.info.num_ports; + info.Limits.VNA.minFreq = packet.info.limits_minFreq; + info.Limits.VNA.maxFreq = harmonicMixing ? packet.info.limits_maxFreqHarmonic : packet.info.limits_maxFreq; + info.Limits.VNA.maxPoints = packet.info.limits_maxPoints; + info.Limits.VNA.minIFBW = packet.info.limits_minIFBW; + info.Limits.VNA.maxIFBW = packet.info.limits_maxIFBW; + info.Limits.VNA.mindBm = (double) packet.info.limits_cdbm_min / 100; + info.Limits.VNA.maxdBm = (double) packet.info.limits_cdbm_max / 100; + info.Limits.VNA.maxDwellTime = (double) packet.info.limits_maxDwellTime * 1e-6; + + info.Limits.Generator.ports = packet.info.num_ports; + info.Limits.Generator.minFreq = packet.info.limits_minFreq; + info.Limits.Generator.maxFreq = packet.info.limits_maxFreq; + info.Limits.Generator.mindBm = (double) packet.info.limits_cdbm_min / 100; + info.Limits.Generator.maxdBm = (double) packet.info.limits_cdbm_max / 100; + + info.Limits.SA.ports = packet.info.num_ports; + info.Limits.SA.minFreq = packet.info.limits_minFreq; + info.Limits.SA.maxFreq = packet.info.limits_maxFreq; + info.Limits.SA.minRBW = packet.info.limits_minRBW; + info.Limits.SA.maxRBW = packet.info.limits_maxRBW; + info.Limits.SA.mindBm = (double) packet.info.limits_cdbm_min / 100; + info.Limits.SA.maxdBm = (double) packet.info.limits_cdbm_max / 100; + + limits_maxAmplitudePoints = packet.info.limits_maxAmplitudePoints; + + updateActionVisibility(hardwareVersion); + updateReferenceFeatures(hardwareVersion); + emit InfoUpdated(); + } + break; + case Protocol::PacketType::DeviceStatus: + lastStatus = packet.status; + emit StatusUpdated(); + emit FlagsUpdated(); + break; + case Protocol::PacketType::VNADatapoint: { + VNAMeasurement m; + Protocol::VNADatapoint<32> *res = packet.VNAdatapoint; + m.pointNum = res->pointNum; + m.Z0 = 50.0; + if(zerospan) { + m.us = res->us; + } else { + m.frequency = res->frequency; + m.dBm = (double) res->cdBm / 100; + } + for(auto map : portStageMapping) { + // map.first is the port (starts at one) + // map.second is the stage at which this port had the stimulus (starts at zero) + complex ref = res->getValue(map.second, map.first-1, true); + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + complex input = res->getValue(map.second, i-1, false); + if(!std::isnan(ref.real()) && !std::isnan(input.real())) { + // got both required measurements + QString name = "S"+QString::number(i)+QString::number(map.first); + m.measurements[name] = input / ref; + } + if(captureRawReceiverValues) { + QString name = "RawPort"+QString::number(i)+"Stage"+QString::number(map.second); + m.measurements[name] = input; + name = "RawPort"+QString::number(i)+"Stage"+QString::number(map.second)+"Ref"; + m.measurements[name] = res->getValue(map.second, i-1, true); + } + } + } + delete res; + emit VNAmeasurementReceived(m); + } + break; + case Protocol::PacketType::SpectrumAnalyzerResult: { + SAMeasurement m; + m.pointNum = packet.spectrumResult.pointNum; + if(zerospan) { + m.us = packet.spectrumResult.us; + } else { + m.frequency = packet.spectrumResult.frequency; + } + m.measurements["PORT1"] = packet.spectrumResult.port1; + m.measurements["PORT2"] = packet.spectrumResult.port2; + emit SAmeasurementReceived(m); + } + break; + default: + break; + } +} + +QString LibreVNADriver::hardwareVersionToString(uint8_t version) +{ + switch(version) { + case 0x01: return "1"; + case 0xD0: return "HAR0"; + case 0xE0: return "SAP1"; + case 0xFE: return "P2"; + case 0xFF: return "PT"; + default: return "Unknown"; + } +} + +void LibreVNADriver::updateActionVisibility(uint8_t hardwareVersion) +{ + // only show actions for the correct hardware version + if(availableActions.contains(hardwareVersion)) { + // hide all actions + for(auto a : specificActions) { + a->setVisible(false); + } + // show the relevant actions + for(auto a : availableActions[hardwareVersion]) { + a->setVisible(true); + } + } else { + // the hardware version is unknown. This should not happen but just in case + // we set all actions to visible + for(auto a : specificActions) { + a->setVisible(true); + } + } +} + +void LibreVNADriver::updateReferenceFeatures(uint8_t hardwareVersion) +{ + refInOptions.clear(); + refOutOptions.clear(); + switch(hardwareVersion) { + case 0x01: + case 0xD0: + for(auto r : Reference::getReferencesIn()) { + refInOptions.push_back(Reference::TypeToLabel(r)); + } + for(auto r : Reference::getOutFrequencies()) { + refOutOptions.push_back(Reference::OutFreqToLabel(r)); + } + break; + default: + break; + } +} + +unsigned int LibreVNADriver::getProtocolVersion() const +{ + return protocolVersion; +} + +unsigned int LibreVNADriver::getMaxAmplitudePoints() const +{ + return limits_maxAmplitudePoints; +} + +QString LibreVNADriver::getFirmwareMagicString() +{ + switch(hardwareVersion) { + case 0x01: return "VNA!"; + case 0xD0: return "VHP1"; + case 0xE0: return "VNS1"; + case 0xFE: return "VNP2"; + case 0xFF: return "VNPT"; + default: return "XXXX"; + } +} + +bool LibreVNADriver::sendWithoutPayload(Protocol::PacketType type, std::function cb) +{ + Protocol::PacketInfo p = {}; + p.type = type; + return SendPacket(p, cb); +} + +bool LibreVNADriver::updateFirmware(QString file) +{ + return FirmwareUpdateDialog::FirmwareUpdate(this, file); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriver.h new file mode 100644 index 0000000..78f5211 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriver.h @@ -0,0 +1,245 @@ +#ifndef LIBREVNADRIVER_H +#define LIBREVNADRIVER_H + +#include "../devicedriver.h" + +#include "../../VNA_embedded/Application/Communication/Protocol.hpp" + +#include + +class LibreVNADriver : public DeviceDriver +{ + friend class CompoundDriver; + Q_OBJECT +public: + enum class TransmissionResult { + Ack, + Nack, + Timeout, + InternalError, + }; + Q_ENUM(TransmissionResult) + + LibreVNADriver(); + + /** + * @brief Returns the serial number of the connected device + * @return Serial number of connected device (empty string if no device is connected) + */ + virtual QString getSerial() override {return serial;} + + /** + * @brief Returns the device information. This function will be called when a device has been connected. Its return value must be valid + * directly after returning from DeviceDriver::connectTo() + * + * Emit the InfoUpdate() signal whenever the return value of this function changes. + * + * @return Device information + */ + virtual Info getInfo() override {return info;} + + /** + * @brief Returns a set of all active flags + * + * There is also a convenience function to check a specific flag, see DeviceDriver::asserted() + * + * @return Set of active flags + */ + virtual std::set getFlags() override; + + /** + * @brief Returns the device status string. It will be displayed in the status bar of the application + * + * Emit the StatusUpdated() signal whenever the return value of this function changes + * + * @return Status string + */ + virtual QString getStatus() override; + + /** + * @brief Returns a widget to edit the driver specific settings. + * + * The widget is displayed in the global settings dialog and allows the user to edit the settings + * specific to this driver. The application takes ownership of the widget after returning, + * create a new widget for every call to this function. If the driver has no specific settings + * or the settings do not need to be editable by the user, return a nullptr. In this case, no + * page for this driver is created in the settings dialog + * @return newly constructed settings widget or nullptr + */ + virtual QWidget* createSettingsWidget() override; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned VNAMeasurement. + * Typically the S parameters, e.g. this function may return {"S11","S12","S21","S22"} but any other names are also allowed. + * + * @return List of available VNA measurement parameters + */ + virtual QStringList availableVNAMeasurements() override; + + /** + * @brief Configures the VNA and starts a sweep + * @param s VNA settings + * @param cb Callback, must be called after the VNA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setVNA(const VNASettings &s, std::function cb = nullptr) override; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned SAMeasurement. + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSAMeasurements() override; + /** + * @brief Configures the SA and starts a sweep + * @param s SA settings + * @param cb Callback, must be called after the SA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setSA(const SASettings &s, std::function cb = nullptr) override; + + /** + * @brief Returns the number of points in one spectrum analyzer sweep (as configured by the last setSA() call) + * @return Number of points in the sweep + */ + virtual unsigned int getSApoints() {return SApoints;} + + /** + * @brief Names of available generator ports. + * + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSGPorts() override; + /** + * @brief Configures the generator + * @param s Generator settings + * @return true if configuration successful, false otherwise + */ + virtual bool setSG(const SGSettings &s) override; + + /** + * @brief Sets the device to idle + * + * Stops all sweeps and signal generation + * + * @param cb Callback, must be called after the device has stopped all operations + * @return true if configuration successful, false otherwise + */ + virtual bool setIdle(std::function cb = nullptr) override; + + /** + * @brief Returns the available options for the external reference input + * @return External reference input options + */ + virtual QStringList availableExtRefInSettings() override {return refInOptions;} + + /** + * @brief Returns the available options for the external reference output + * @return External reference output options + */ + virtual QStringList availableExtRefOutSettings() override {return refOutOptions;} + + /** + * @brief Configures the external reference input/output + * @param option_in Reference input option (one of the options returned by availableExtRefInSettings()) + * @param option_out Reference output option (one of the options returned by availableExtRefOutSettings()) + * @return true if configuration successful, false otherwise + */ + virtual bool setExtRef(QString option_in, QString option_out) override; + + /** + * @brief Registers metatypes within the Qt Framework. + * + * If the device driver uses a queued signal/slot connection with custom data types, these types must be registered before emitting the signal. + * Register them within this function with qRegisterMetaType("Name"); + */ + virtual void registerTypes() override; + + enum class Synchronization { + Disabled = 0, + GUI = 1, + Reserved = 2, + ExternalTrigger = 3, + Last = 4, + }; + + void setSynchronization(Synchronization s, bool master); + +public: +signals: + // Required for the compound device driver + void passOnReceivedPacket(const Protocol::PacketInfo& packet); +public: + virtual bool SendPacket(const Protocol::PacketInfo& packet, std::function cb = nullptr, unsigned int timeout = 500) = 0; + bool sendWithoutPayload(Protocol::PacketType type, std::function cb = nullptr); + virtual bool updateFirmware(QString file) override; + + unsigned int getMaxAmplitudePoints() const; + + QString getFirmwareMagicString(); + + unsigned int getProtocolVersion() const; + +signals: + void receivedAnswer(const LibreVNADriver::TransmissionResult &result); + void receivedPacket(const Protocol::PacketInfo& packet); + + void receivedTrigger(LibreVNADriver *driver, bool set); + +protected slots: + void handleReceivedPacket(const Protocol::PacketInfo& packet); +protected: + QString hardwareVersionToString(uint8_t version); + void updateActionVisibility(uint8_t hardwareVersion); + void updateReferenceFeatures(uint8_t hardwareVersion); + + bool connected; + unsigned int protocolVersion; + QString serial; + Info info; + uint8_t hardwareVersion; + unsigned int limits_maxAmplitudePoints; + QStringList refInOptions, refOutOptions; + + Protocol::DeviceStatus lastStatus; + + bool skipOwnPacketHandling; + bool zerospan; + unsigned int SApoints; + + Synchronization sync; + bool syncMaster; + + bool isIdle; + Protocol::PacketInfo lastNonIdlePacket; + + std::map portStageMapping; // maps from excitedPort (count starts at one) to stage (count starts at zero) + + // Driver specific settings + bool captureRawReceiverValues; + bool harmonicMixing; + bool SASignalID; + bool SAUseDFT; + double SARBWLimitForDFT; + bool VNASuppressInvalidPeaks; + bool VNAAdjustPowerLevel; + + // available actions per hardware version + QMap> availableActions; + + QDialog *manualControlDialog; +}; + +Q_DECLARE_METATYPE(Protocol::PacketInfo) +Q_DECLARE_METATYPE(LibreVNADriver::TransmissionResult) +Q_DECLARE_METATYPE(Protocol::AmplitudeCorrectionPoint); + + +#endif // LIBREVNADRIVER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriversettingswidget.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriversettingswidget.ui new file mode 100644 index 0000000..869b4cb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnadriversettingswidget.ui @@ -0,0 +1,126 @@ + + + LibreVNADriverSettingsWidget + + + + 0 + 0 + 545 + 417 + + + + Form + + + + + + Vector Network Analyzer + + + + + + <html><head/><body><p>Due to limited fractional divider settings, the source and 1.LO PLLs are not able to reach every frequency exactly. At some specific frequencies this causes the final IF to shift. At these frequencies there will be a positive or negative peak in the trace measurement that is not actually there.<br/><br/>Checking this option shifts the 2.LO for points where this could be an issue. This will remove the peaks but slows down the sweep slightly.</p></body></html> + + + Suppress invalid peaks + + + + + + + <html><head/><body><p>If enabled, the step attenuator setting will be changed during the sweep to keep the selected output power across frequency as accurate as possible.</p></body></html> + + + Adjust power level during sweep + + + + + + + Use harmonic mixing + + + + + + + + + + Spectrum Analyzer + + + + + + Enable Signal ID + + + + + + + + + <html><head/><body><p>Normally, the spectrum analyzer mode tunes the LO for each point and measures the final IF only at one frequency. When this option is enabled, a DFT of the final IF is calculated instead which covers multiple frequencies with one measurement.</p><p>This can speed up the measurement at low RBWs significantly.</p></body></html> + + + Use DFT when RBW is below + + + + + + + + + + + + + + + Debug - Acquisition + + + + + + Capture raw receiver values + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnatcpdriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnatcpdriver.cpp new file mode 100644 index 0000000..39ba272 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnatcpdriver.cpp @@ -0,0 +1,377 @@ +#include "librevnatcpdriver.h" + +#include "CustomWidgets/informationbox.h" +#include "devicepacketlog.h" +#include "Util/util.h" + +#include +#include + +using namespace std; + +static const QString service_name = "urn:schemas-upnp-org:device:LibreVNA:1"; +static constexpr int DataPort = 19544; +static constexpr int LogPort = 19545; +static auto SSDPaddress = QHostAddress("239.255.255.250"); +static constexpr int SSDPport = 1900; + +LibreVNATCPDriver::LibreVNATCPDriver() + : LibreVNADriver() +{ + connected = false; + m_receiveThread = nullptr; + + + auto interfaces = QNetworkInterface::allInterfaces(); + for(auto i : interfaces) { + switch(i.type()) { + case QNetworkInterface::Ethernet: + case QNetworkInterface::Wifi: + case QNetworkInterface::Virtual: + case QNetworkInterface::Unknown: + break; + default: + // skip all other interface types + continue; + } + auto socket = new QUdpSocket(); + socket->bind(QHostAddress::AnyIPv4, 0, QUdpSocket::ShareAddress); + socket->setMulticastInterface(i); + socket->joinMulticastGroup(SSDPaddress, i); + connect(socket, &QUdpSocket::readyRead, this, [=](){ + SSDPreceived(socket); + }); + ssdpSockets.push_back(socket); + } + + connect(&ssdpTimer, &QTimer::timeout,this, &LibreVNATCPDriver::SSDRequest); + ssdpTimer.start(1000); + + specificSettings.push_back(Savable::SettingDescription(&captureRawReceiverValues, "LibreVNATCPDriver.captureRawReceiverValues", false)); + specificSettings.push_back(Savable::SettingDescription(&harmonicMixing, "LibreVNATCPDriver.harmonicMixing", false)); + specificSettings.push_back(Savable::SettingDescription(&SASignalID, "LibreVNATCPDriver.signalID", true)); + specificSettings.push_back(Savable::SettingDescription(&VNASuppressInvalidPeaks, "LibreVNATCPDriver.suppressInvalidPeaks", true)); + specificSettings.push_back(Savable::SettingDescription(&VNAAdjustPowerLevel, "LibreVNATCPDriver.adjustPowerLevel", false)); + specificSettings.push_back(Savable::SettingDescription(&SAUseDFT, "LibreVNATCPDriver.useDFT", true)); + specificSettings.push_back(Savable::SettingDescription(&SARBWLimitForDFT, "LibreVNATCPDriver.RBWlimitDFT", 3000)); +} + +QString LibreVNATCPDriver::getDriverName() +{ + return "LibreVNA/TCP"; +} + +std::set LibreVNATCPDriver::GetAvailableDevices() +{ + std::set serials; + for(auto d : detectedDevices) { + serials.insert(d.serial); + } + + return serials; +} + +bool LibreVNATCPDriver::connectTo(QString serial) +{ + if(connected) { + disconnect(); + } + + // check if this device is actually available + DetectedDevice devInfo; + bool available = false; + for(auto d : detectedDevices) { + if(d.serial == serial) { + devInfo = d; + available = true; + break; + } + } + if(!available) { + // no location information about this device available + return false; + } + + // attempt to connect to the device + dataSocket.connectToHost(devInfo.address, DataPort); + logSocket.connectToHost(devInfo.address, LogPort); + + // check if connection succeeds + if(!dataSocket.waitForConnected(1000) || !logSocket.waitForConnected(1000)) { + // at least one socket failed + dataSocket.close(); + logSocket.close(); + InformationBox::ShowError("Error", "TCP connection timed out"); + return false; + } + + // sockets are connected now + dataBuffer.clear(); + logBuffer.clear(); + connect(&dataSocket, qOverload(&QTcpSocket::errorOccurred), this, &LibreVNATCPDriver::ConnectionLost, Qt::QueuedConnection); + connect(&logSocket, qOverload(&QTcpSocket::errorOccurred), this, &LibreVNATCPDriver::ConnectionLost, Qt::QueuedConnection); + + qInfo() << "TCP connection established" << Qt::flush; + this->serial = serial; + connected = true; + + connect(&dataSocket, &QTcpSocket::readyRead, this, &LibreVNATCPDriver::ReceivedData, Qt::UniqueConnection); + connect(&logSocket, &QTcpSocket::readyRead, this, &LibreVNATCPDriver::ReceivedLog, Qt::UniqueConnection); + connect(&transmissionTimer, &QTimer::timeout, this, &LibreVNATCPDriver::transmissionTimeout, Qt::UniqueConnection); + connect(this, &LibreVNATCPDriver::receivedAnswer, this, &LibreVNATCPDriver::transmissionFinished, static_cast(Qt::QueuedConnection | Qt::UniqueConnection)); + connect(this, &LibreVNATCPDriver::receivedPacket, this, &LibreVNATCPDriver::handleReceivedPacket, static_cast(Qt::QueuedConnection | Qt::UniqueConnection)); + transmissionTimer.setSingleShot(true); + transmissionActive = false; + + sendWithoutPayload(Protocol::PacketType::RequestDeviceInfo); + sendWithoutPayload(Protocol::PacketType::RequestDeviceStatus); +// updateIFFrequencies(); + return true; +} + +void LibreVNATCPDriver::disconnect() +{ + if(connected) { + setIdle(); + transmissionTimer.stop(); + transmissionQueue.clear(); + transmissionActive = false; + dataSocket.flush(); + dataSocket.close(); + logSocket.close(); +// delete dataSocket; +// delete logSocket; +// dataSocket = nullptr; +// logSocket = nullptr; + connected = false; + serial = ""; + } +} + +void LibreVNATCPDriver::registerTypes() +{ + qDebug() << "Registering meta type: " << qRegisterMetaType(); + qDebug() << "Registering meta type: " << qRegisterMetaType(); +} + +void LibreVNATCPDriver::SSDRequest() +{ + QByteArray data; + data.append("M-SEARCH * HTTP/1.1\r\n" + "HOST: 239.255.255.250:1900\r\n" + "MAN: \"ssdp:discover\"\r\n" + "MX: 1\r\n" + "ST: "); + data.append(service_name.toUtf8()); + data.append("\r\n" + "\r\n"); + + pruneDetectedDevices(); + + for(auto s : ssdpSockets) { + s->writeDatagram(data.data(), SSDPaddress, SSDPport); + } +} + +void LibreVNATCPDriver::SSDPreceived(QUdpSocket *sock) +{ + while(sock->hasPendingDatagrams()) { + QHostAddress sender; + quint16 senderPort; + QByteArray buf(sock->pendingDatagramSize(), Qt::Uninitialized); + QDataStream str(&buf, QIODevice::ReadOnly); + sock->readDatagram(buf.data(), buf.size(), &sender, &senderPort); + + QString ssdp_string = QString(buf); + auto lines = ssdp_string.split("\r\n"); + + QString location, st, serial, max_age = "2"; + + if(lines[0] != "HTTP/1.1 200 OK") { + continue; + } + for(QString l : lines) { + if(l.startsWith("LOCATION:")) { + location = l.split(" ")[1]; + } else if(l.startsWith("ST:")) { + st = l.split(" ")[1]; + } else if(l.startsWith("LibreVNA-serial:")) { + serial = l.split(" ")[1]; + } else if(l.startsWith("CACHE-CONTROL:")) { + max_age = l.split("=")[1]; + } + } + if(location.isEmpty() || st.isEmpty() || serial.isEmpty() || max_age.isEmpty()) { + // some required field is missing + continue; + } + + // new device + DetectedDevice d; + d.address = QHostAddress(location); + d.maxAgeSeconds = max_age.toUInt(); + d.responseTime = QDateTime::currentDateTime(); + d.serial = serial; + addDetectedDevice(d); + } +} + +void LibreVNATCPDriver::ReceivedData() +{ + dataBuffer.append(dataSocket.readAll()); + Protocol::PacketInfo packet = {}; + uint16_t handled_len; +// qDebug() << "Received data"; + do { +// qDebug() << "Decoding" << dataBuffer->getReceived() << "Bytes"; + handled_len = Protocol::DecodeBuffer((uint8_t*) dataBuffer.data(), dataBuffer.size(), &packet); +// qDebug() << "Handled" << handled_len << "Bytes, type:" << (int) packet.type; + if(handled_len > 0) { + auto &log = DevicePacketLog::getInstance(); + if(packet.type != Protocol::PacketType::None) { + log.addPacket(packet, serial); + } else { + log.addInvalidBytes((uint8_t*) dataBuffer.data(), handled_len, serial); + } + } + dataBuffer.remove(0, handled_len); + switch(packet.type) { + case Protocol::PacketType::Ack: + emit receivedAnswer(TransmissionResult::Ack); + break; + case Protocol::PacketType::Nack: + emit receivedAnswer(TransmissionResult::Nack); + break; + case Protocol::PacketType::SetTrigger: + emit receivedTrigger(this, true); + break; + case Protocol::PacketType::ClearTrigger: + emit receivedTrigger(this, false); + break; + default: + // pass on to LibreVNADriver class + emit receivedPacket(packet); + break; + } + } while (handled_len > 0); +} + +void LibreVNATCPDriver::ReceivedLog() +{ + logBuffer.append(logSocket.readAll()); + uint16_t handled_len; + do { + handled_len = 0; + auto firstLinebreak = (uint8_t*) memchr((uint8_t*) logBuffer.data(), '\n', logBuffer.size()); + if(firstLinebreak) { + handled_len = firstLinebreak - (uint8_t*) logBuffer.data(); + auto line = QString::fromLatin1(logBuffer.data(), handled_len - 1); + emit LogLineReceived(line); + logBuffer.remove(0, handled_len + 1); + } + } while(handled_len > 0); +} + +void LibreVNATCPDriver::transmissionFinished(LibreVNADriver::TransmissionResult result) +{ + lock_guard lock(transmissionMutex); + // remove transmitted packet +// qDebug() << "Transmission finsished (" << result << "), queue at " << transmissionQueue.size() << " Outstanding ACKs:"< cb, unsigned int timeout) +{ + Transmission t; + t.packet = packet; + t.timeout = timeout; + t.callback = cb; + lock_guard lock(transmissionMutex); + transmissionQueue.enqueue(t); +// qDebug() << "Enqueued packet, queue at " << transmissionQueue.size(); + if(!transmissionActive) { + startNextTransmission(); + } + return true; +} + +void LibreVNATCPDriver::addDetectedDevice(const LibreVNATCPDriver::DetectedDevice &d) +{ + for(auto &e : detectedDevices) { + if(e.serial == d.serial) { + // replace entry + e = d; + return; + } + } + // serial not already present, add + detectedDevices.push_back(d); +} + +void LibreVNATCPDriver::pruneDetectedDevices() +{ + for(unsigned int i=0;i d.maxAgeSeconds) { + // too old, remove + detectedDevices.erase(detectedDevices.begin()+i); + i--; + } + } +} + +bool LibreVNATCPDriver::startNextTransmission() +{ + if(transmissionQueue.isEmpty() || !connected) { + // nothing more to transmit + transmissionActive = false; + return false; + } + transmissionActive = true; + auto t = transmissionQueue.head(); + unsigned char buffer[1024]; + unsigned int length = Protocol::EncodePacket(t.packet, buffer, sizeof(buffer)); + if(!length) { + qCritical() << "Failed to encode packet"; + return false; + } + auto &log = DevicePacketLog::getInstance(); + log.addPacket(t.packet); + auto ret = dataSocket.write((char*) buffer, length); + if(ret < 0) { + qCritical() << "Error sending TCP data"; + return false; + } + transmissionTimer.start(t.timeout); +// qDebug() << "Transmission started, queue at " << transmissionQueue.size(); + return true; +} + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnatcpdriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnatcpdriver.h new file mode 100644 index 0000000..599673d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnatcpdriver.h @@ -0,0 +1,113 @@ +#ifndef LIBREVNATCPDRIVER_H +#define LIBREVNATCPDRIVER_H + +#include "librevnadriver.h" + +#include +#include +#include + +#include +#include +#include +#include +#include + +class LibreVNATCPDriver : public LibreVNADriver +{ + Q_OBJECT +public: + LibreVNATCPDriver(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() override; + /** + * @brief Lists all available devices by their serial numbers + * @return Serial numbers of detected devices + */ + virtual std::set GetAvailableDevices() override; + /** + * @brief Connects to a device, given by its serial number + * @param serial Serial number of device that should be connected to + * @return true if connection successful, otherwise false + */ + virtual bool connectTo(QString serial) override; + /** + * @brief Disconnects from device. Has no effect if no device was connected + */ + virtual void disconnect() override; + + /** + * @brief Registers metatypes within the Qt Framework. + * + * If the device driver uses a queued signal/slot connection with custom data types, these types must be registered before emitting the signal. + * Register them within this function with qRegisterMetaType("Name"); + */ + virtual void registerTypes() override; + + void copyDetectedDevices(const LibreVNATCPDriver &other) { + detectedDevices = other.detectedDevices; + } + +private slots: + void SSDRequest(); + void SSDPreceived(QUdpSocket *sock); + void ReceivedData(); + void ReceivedLog(); + void transmissionTimeout() { + transmissionFinished(TransmissionResult::Timeout); + } + void transmissionFinished(TransmissionResult result); +private: + static constexpr int EP_Data_Out_Addr = 0x01; + static constexpr int EP_Data_In_Addr = 0x81; + static constexpr int EP_Log_In_Addr = 0x82; + + virtual bool SendPacket(const Protocol::PacketInfo& packet, std::function cb = nullptr, unsigned int timeout = 500) override; + + // Sockets for SSDP protocol + std::vector ssdpSockets; + class DetectedDevice { + public: + QString serial; + QHostAddress address; + QDateTime responseTime; + int maxAgeSeconds; + }; + + void addDetectedDevice(const DetectedDevice &d); + // removes entries that are too old + void pruneDetectedDevices(); + std::vector detectedDevices; + + // Connection sockets + QTcpSocket dataSocket; + QTcpSocket logSocket; + + QByteArray dataBuffer; + QByteArray logBuffer; + + class Transmission { + public: + Protocol::PacketInfo packet; + unsigned int timeout; + std::function callback; + }; + + + std::mutex transmissionMutex; + QQueue transmissionQueue; + bool startNextTransmission(); + QTimer transmissionTimer; + QTimer ssdpTimer; + bool transmissionActive; + + std::thread *m_receiveThread; + + std::mutex accessMutex; +}; + +#endif // LibreVNATCPDriver_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp new file mode 100644 index 0000000..35f9ba3 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.cpp @@ -0,0 +1,388 @@ +#include "librevnausbdriver.h" + +#include "CustomWidgets/informationbox.h" +#include "devicepacketlog.h" + +#include +#include + +using namespace std; + +LibreVNAUSBDriver::LibreVNAUSBDriver() + : LibreVNADriver() +{ + connected = false; + m_handle = nullptr; + m_context = nullptr; + dataBuffer = nullptr; + logBuffer = nullptr; + m_receiveThread = nullptr; + lastTimestamp = QDateTime::currentDateTime(); + byteCnt = 0; + + validUSBIDs.append({0x0483, 0x564e, "VNA"}); + validUSBIDs.append({0x0483, 0x4121, "VNA"}); + validUSBIDs.append({0x1209, 0x4121, "VNA"}); + + specificSettings.push_back(Savable::SettingDescription(&captureRawReceiverValues, "LibreVNAUSBDriver.captureRawReceiverValues", false)); + specificSettings.push_back(Savable::SettingDescription(&harmonicMixing, "LibreVNAUSBDriver.harmonicMixing", false)); + specificSettings.push_back(Savable::SettingDescription(&SASignalID, "LibreVNAUSBDriver.signalID", true)); + specificSettings.push_back(Savable::SettingDescription(&VNASuppressInvalidPeaks, "LibreVNAUSBDriver.suppressInvalidPeaks", true)); + specificSettings.push_back(Savable::SettingDescription(&VNAAdjustPowerLevel, "LibreVNAUSBDriver.adjustPowerLevel", false)); + specificSettings.push_back(Savable::SettingDescription(&SAUseDFT, "LibreVNAUSBDriver.useDFT", true)); + specificSettings.push_back(Savable::SettingDescription(&SARBWLimitForDFT, "LibreVNAUSBDriver.RBWlimitDFT", 3000)); +} + +QString LibreVNAUSBDriver::getDriverName() +{ + return "LibreVNA/USB"; +} + +std::set LibreVNAUSBDriver::GetAvailableDevices() +{ + std::set serials; + + libusb_context *ctx; + libusb_init(&ctx); +#if LIBUSB_API_VERSION >= 0x01000106 + libusb_set_option(ctx, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); +#endif + + SearchDevices([&serials](libusb_device_handle *, QString serial) -> bool { + serials.insert(serial); + return true; + }, ctx, true); + + libusb_exit(ctx); + + return serials; +} + +bool LibreVNAUSBDriver::connectTo(QString serial) +{ + if(connected) { + disconnect(); + } + +// info = defaultInfo; +// status = {}; + + m_handle = nullptr; +// infoValid = false; + libusb_init(&m_context); +#if LIBUSB_API_VERSION >= 0x01000106 + libusb_set_option(m_context, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO); +#endif + + SearchDevices([=](libusb_device_handle *handle, QString found_serial) -> bool { + if(serial.isEmpty() || serial == found_serial) { + // accept connection to this device + this->serial = found_serial; + m_handle = handle; + // abort device search + return false; + } else { + // not the requested device, continue search + return true; + } + }, m_context, false); + + if(!m_handle) { + QString message = "No device found"; + InformationBox::ShowError("Error opening device", message); + libusb_exit(m_context); + throw std::runtime_error(message.toStdString()); + } + + // Found the correct device, now connect + /* claim the interface */ + int ret = libusb_claim_interface(m_handle, 0); + if (ret < 0) { + libusb_close(m_handle); + /* Failed to open */ + QString message = "Failed to claim interface: \""; + message.append(libusb_strerror((libusb_error) ret)); + message.append("\" Maybe you are already connected to this device?"); + qWarning() << message; + InformationBox::ShowError("Error opening device", message); + libusb_exit(m_context); + throw std::runtime_error(message.toStdString()); + } + qInfo() << "USB connection established" << Qt::flush; + connected = true; + m_receiveThread = new std::thread(&LibreVNAUSBDriver::USBHandleThread, this); + dataBuffer = new USBInBuffer(m_handle, EP_Data_In_Addr, 65536); + logBuffer = new USBInBuffer(m_handle, EP_Log_In_Addr, 65536); + connect(dataBuffer, &USBInBuffer::DataReceived, this, &LibreVNAUSBDriver::ReceivedData, Qt::DirectConnection); + connect(dataBuffer, &USBInBuffer::TransferError, this, &LibreVNAUSBDriver::ConnectionLost); + connect(logBuffer, &USBInBuffer::DataReceived, this, &LibreVNAUSBDriver::ReceivedLog, Qt::DirectConnection); + connect(&transmissionTimer, &QTimer::timeout, this, &LibreVNAUSBDriver::transmissionTimeout, Qt::UniqueConnection); + connect(this, &LibreVNAUSBDriver::receivedAnswer, this, &LibreVNAUSBDriver::transmissionFinished, static_cast(Qt::QueuedConnection | Qt::UniqueConnection)); + connect(this, &LibreVNAUSBDriver::receivedPacket, this, &LibreVNAUSBDriver::handleReceivedPacket, static_cast(Qt::QueuedConnection | Qt::UniqueConnection)); + transmissionTimer.setSingleShot(true); + transmissionActive = false; + + sendWithoutPayload(Protocol::PacketType::RequestDeviceInfo); + sendWithoutPayload(Protocol::PacketType::RequestDeviceStatus); +// updateIFFrequencies(); + return true; +} + +void LibreVNAUSBDriver::disconnect() +{ + if(connected) { + setIdle(); + delete dataBuffer; + delete logBuffer; + connected = false; + serial = ""; + for (int if_num = 0; if_num < 1; if_num++) { + int ret = libusb_release_interface(m_handle, if_num); + if (ret < 0) { + qCritical() << "Error releasing interface" << libusb_error_name(ret); + } + } + libusb_release_interface(m_handle, 0); + libusb_close(m_handle); + m_receiveThread->join(); + libusb_exit(m_context); + delete m_receiveThread; + m_handle = nullptr; + m_context = nullptr; + m_receiveThread = nullptr; + dataBuffer = nullptr; + logBuffer = nullptr; + } +} + +void LibreVNAUSBDriver::ReceivedData() +{ + Protocol::PacketInfo packet = {}; + uint16_t handled_len; +// qDebug() << "Received data"; + do { + // qDebug() << "Decoding" << dataBuffer->getReceived() << "Bytes"; + handled_len = Protocol::DecodeBuffer(dataBuffer->getBuffer(), dataBuffer->getReceived(), &packet); + // qDebug() << "Handled" << handled_len << "Bytes, type:" << (int) packet.type; + if(handled_len > 0) { + auto &log = DevicePacketLog::getInstance(); + if(packet.type != Protocol::PacketType::None) { + log.addPacket(packet, serial); + } else { + log.addInvalidBytes(dataBuffer->getBuffer(), handled_len, serial); + } + } + dataBuffer->removeBytes(handled_len); + if(packet.type == Protocol::PacketType::SetTrigger) { + qDebug() << "Incoming set trigger from " << serial; + } + if(packet.type == Protocol::PacketType::ClearTrigger) { + qDebug() << "Incoming clear trigger from " << serial; + } + switch(packet.type) { + case Protocol::PacketType::Ack: + emit receivedAnswer(TransmissionResult::Ack); + break; + case Protocol::PacketType::Nack: + emit receivedAnswer(TransmissionResult::Nack); + break; + case Protocol::PacketType::SetTrigger: + emit receivedTrigger(this, true); + break; + case Protocol::PacketType::ClearTrigger: + emit receivedTrigger(this, false); + break; + case Protocol::PacketType::None: + break; + default: + // pass on to LibreVNADriver class + emit receivedPacket(packet); + break; + } + // byteCnt += handled_len; + // auto now = QDateTime::currentDateTime(); + // if(lastTimestamp.time().msecsTo(now.time()) > 1000) { + // lastTimestamp = now; + // constexpr unsigned int maxThroughput = 12000000 / 8; + // qDebug() << "USB throughput: " << byteCnt << "(" << (double) byteCnt * 100.0 / maxThroughput << "%)"; + // byteCnt = 0; + // } + } while (handled_len > 0); +} + +void LibreVNAUSBDriver::ReceivedLog() +{ + uint16_t handled_len; + do { + handled_len = 0; + auto firstLinebreak = (uint8_t*) memchr(logBuffer->getBuffer(), '\n', logBuffer->getReceived()); + if(firstLinebreak) { + handled_len = firstLinebreak - logBuffer->getBuffer(); + auto line = QString::fromLatin1((const char*) logBuffer->getBuffer(), handled_len - 1); + emit LogLineReceived(line); + logBuffer->removeBytes(handled_len + 1); + } + } while(handled_len > 0); +} + +void LibreVNAUSBDriver::transmissionFinished(LibreVNADriver::TransmissionResult result) +{ + lock_guard lock(transmissionMutex); + // remove transmitted packet + if(transmissionQueue.empty()) { + qWarning() << "transmissionFinished with empty transmission queue, stray Ack? Result:" << result; + return; + } + auto t = transmissionQueue.dequeue(); + // qDebug() << "Transmission finsished (packet type" << (int) t.packet.type <<",result" << result << "), queue at " << transmissionQueue.size(); + if(result == TransmissionResult::Timeout) { + qWarning() << "transmissionFinished with timeout, packettype:" << (int) t.packet.type << "Device:" << serial; + } + if(result == TransmissionResult::Nack) { + qWarning() << "transmissionFinished with NACK"; + } + if(t.callback) { + t.callback(result); + } + transmissionTimer.stop(); + bool success = false; + while(!transmissionQueue.isEmpty() && !success) { + success = startNextTransmission(); + if(!success) { + // failed to send this packet + auto t = transmissionQueue.dequeue(); + if(t.callback) { + t.callback(TransmissionResult::InternalError); + } + } + } + if(transmissionQueue.isEmpty()) { + transmissionActive = false; + } +} + +bool LibreVNAUSBDriver::SendPacket(const Protocol::PacketInfo &packet, std::function cb, unsigned int timeout) +{ + Transmission t; + t.packet = packet; + t.timeout = timeout; + t.callback = cb; + lock_guard lock(transmissionMutex); + transmissionQueue.enqueue(t); +// qDebug() << "Enqueued packet, queue at " << transmissionQueue.size(); + if(!transmissionActive) { + startNextTransmission(); + } + return true; +} + +void LibreVNAUSBDriver::USBHandleThread() +{ + qDebug() << "Receive thread started"; + while (connected) { + libusb_handle_events(m_context); + } + qDebug() << "Disconnected, receive thread exiting"; +} + +void LibreVNAUSBDriver::SearchDevices(std::function foundCallback, libusb_context *context, bool ignoreOpenError) +{ + libusb_device **devList; + auto ndevices = libusb_get_device_list(context, &devList); + + for (ssize_t idx = 0; idx < ndevices; idx++) { + int ret; + libusb_device *device = devList[idx]; + libusb_device_descriptor desc = {}; + + ret = libusb_get_device_descriptor(device, &desc); + if (ret) { + /* some error occured */ + qCritical() << "Failed to get device descriptor: " + << libusb_strerror((libusb_error) ret); + continue; + } + + int IDindex = -1; + for(int i=0;i 0) { + /* managed to read the product string */ + QString product(c_product); + if (product == validUSBIDs[IDindex].deviceName) { + // this is a match + if(!foundCallback(handle, QString(c_serial))) { + // abort search + break; + } + } + } else { + qWarning() << "Failed to get product descriptor: " + << libusb_strerror((libusb_error) ret); + } + libusb_close(handle); + } + libusb_free_device_list(devList, 1); +} + +bool LibreVNAUSBDriver::startNextTransmission() +{ + if(transmissionQueue.isEmpty() || !connected) { + // nothing more to transmit + transmissionActive = false; + return false; + } + transmissionActive = true; + auto t = transmissionQueue.head(); + unsigned char buffer[1024]; + unsigned int length = Protocol::EncodePacket(t.packet, buffer, sizeof(buffer)); + if(!length) { + qCritical() << "Failed to encode packet"; + return false; + } + int actual_length; + auto &log = DevicePacketLog::getInstance(); + log.addPacket(t.packet); + auto ret = libusb_bulk_transfer(m_handle, EP_Data_Out_Addr, buffer, length, &actual_length, 0); + if(ret < 0) { + qCritical() << "Error sending data: " + << libusb_strerror((libusb_error) ret); + return false; + } + transmissionTimer.start(t.timeout); + // qDebug() << "Transmission started (packet type" << (int) t.packet.type << "), queue at " << transmissionQueue.size(); + return true; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.h new file mode 100644 index 0000000..77c3362 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/librevnausbdriver.h @@ -0,0 +1,94 @@ +#ifndef LIBREVNAUSBDRIVER_H +#define LIBREVNAUSBDRIVER_H + +#include "librevnadriver.h" +#include "Util/usbinbuffer.h" + +#include + +#include +#include +#include + +class LibreVNAUSBDriver : public LibreVNADriver +{ + Q_OBJECT +public: + LibreVNAUSBDriver(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() override; + /** + * @brief Lists all available devices by their serial numbers + * @return Serial numbers of detected devices + */ + virtual std::set GetAvailableDevices() override; + /** + * @brief Connects to a device, given by its serial number + * @param serial Serial number of device that should be connected to + * @return true if connection successful, otherwise false + */ + virtual bool connectTo(QString serial) override; + /** + * @brief Disconnects from device. Has no effect if no device was connected + */ + virtual void disconnect() override; + +private slots: + void ReceivedData(); + void ReceivedLog(); + void transmissionTimeout() { + transmissionFinished(TransmissionResult::Timeout); + } + void transmissionFinished(TransmissionResult result); +private: + static constexpr int EP_Data_Out_Addr = 0x01; + static constexpr int EP_Data_In_Addr = 0x81; + static constexpr int EP_Log_In_Addr = 0x82; + + virtual bool SendPacket(const Protocol::PacketInfo& packet, std::function cb = nullptr, unsigned int timeout = 500) override; + + void USBHandleThread(); + // foundCallback is called for every device that is found. If it returns true the search continues, otherwise it is aborted. + // When the search is aborted the last found device is still opened + void SearchDevices(std::function foundCallback, libusb_context *context, bool ignoreOpenError); + + libusb_device_handle *m_handle; + libusb_context *m_context; + USBInBuffer *dataBuffer; + USBInBuffer *logBuffer; + + class Transmission { + public: + Protocol::PacketInfo packet; + unsigned int timeout; + std::function callback; + }; + + std::mutex transmissionMutex; + QQueue transmissionQueue; + bool startNextTransmission(); + QTimer transmissionTimer; + bool transmissionActive; + + std::thread *m_receiveThread; + + std::mutex accessMutex; + + // USB throughput indicator + QDateTime lastTimestamp; + unsigned long byteCnt; + + using USBID = struct { + int VID; + int PID; + QString deviceName; + }; +protected: + QList validUSBIDs; +}; + +#endif // LIBREVNAUSBDRIVER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.cpp new file mode 100644 index 0000000..4d658a0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.cpp @@ -0,0 +1,855 @@ +#include "manualcontroldialogV1.h" + +#include "ui_manualcontroldialogV1.h" +#include "Util/util.h" + +#include +#include +#include +#include + + +using namespace std; + +ManualControlDialogV1::ManualControlDialogV1(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::ManualControlDialogV1), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + ui->SourceLowFrequency->setUnit("Hz"); + ui->SourceLowFrequency->setPrefixes(" kM"); + ui->SourceLowFrequency->setPrecision(6); + ui->SourceLowFrequency->setValueQuiet(1000000); + + ui->SourceHighFrequency->setUnit("Hz"); + ui->SourceHighFrequency->setPrefixes(" kMG"); + ui->SourceHighFrequency->setPrecision(6); + ui->SourceHighFrequency->setValueQuiet(1000000000); + + ui->IF1->setUnit("Hz"); + ui->IF1->setPrefixes(" kM"); + ui->IF1->setPrecision(6); + + ui->LO1Frequency->setUnit("Hz"); + ui->LO1Frequency->setPrefixes(" kMG"); + ui->LO1Frequency->setPrecision(6); + + ui->IF2->setUnit("Hz"); + ui->IF2->setPrefixes(" kM"); + ui->IF2->setPrecision(6); + + ui->LO2Frequency->setUnit("Hz"); + ui->LO2Frequency->setPrefixes(" kM"); + ui->LO2Frequency->setPrecision(6); + + auto UpdateLO1 = [=]() { + double sourceFreq; + if (ui->SwitchLowband->isChecked()) { + sourceFreq = ui->SourceLowFrequency->value(); + } else { + sourceFreq = ui->SourceHighFrequency->value(); + } + if (ui->LO1FreqType->currentIndex() == 0) { + // fixed IF mode + ui->LO1Frequency->setValueQuiet(sourceFreq + ui->IF1->value()); + } else { + // Manual Frequency mode + ui->IF1->setValueQuiet(ui->LO1Frequency->value() - sourceFreq); + } + }; + auto UpdateLO2 = [=]() { + double IF1 = ui->IF1->value(); + if (ui->LO2FreqType->currentIndex() == 0) { + // fixed IF mode + ui->LO2Frequency->setValueQuiet(IF1 + ui->IF2->value()); + } else { + // Manual Frequency mode + ui->IF2->setValueQuiet(ui->LO2Frequency->value() - IF1); + } + }; + + connect(ui->IF1, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO1(); + UpdateLO2(); + }); + connect(ui->LO1Frequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO1(); + UpdateLO2(); + }); + connect(ui->IF2, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO2(); + }); + connect(ui->LO2Frequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO2(); + }); + connect(ui->SourceSwitchGroup, qOverload(&QButtonGroup::idToggled), [=](int, bool) { + UpdateLO1(); + UpdateLO2(); + }); + connect(ui->SourceLowFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO1(); + UpdateLO2(); + }); + connect(ui->SourceHighFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO1(); + UpdateLO2(); + }); + + ui->IF1->setValue(60000000); + ui->IF2->setValue(250000); + + // LO1/LO2 mode switch connections + connect(ui->LO1FreqType, qOverload(&QComboBox::activated), [=](int index) { + switch(index) { + case 0: + ui->LO1Frequency->setEnabled(false); + ui->IF1->setEnabled(true); + break; + case 1: + ui->LO1Frequency->setEnabled(true); + ui->IF1->setEnabled(false); + break; + } + }); + connect(ui->LO2FreqType, qOverload(&QComboBox::activated), [=](int index) { + switch(index) { + case 0: + ui->LO2Frequency->setEnabled(false); + ui->IF2->setEnabled(true); + break; + case 1: + ui->LO2Frequency->setEnabled(true); + ui->IF2->setEnabled(false); + break; + } + }); + + // Readonly widgets + auto MakeReadOnly = [](QWidget* w) { + w->setAttribute(Qt::WA_TransparentForMouseEvents); + w->setFocusPolicy(Qt::NoFocus); + }; + MakeReadOnly(ui->SourceLocked); + MakeReadOnly(ui->LO1locked); + MakeReadOnly(ui->port1min); + MakeReadOnly(ui->port1max); + MakeReadOnly(ui->port1mag); + MakeReadOnly(ui->port1phase); + MakeReadOnly(ui->port1referenced); + MakeReadOnly(ui->port2min); + MakeReadOnly(ui->port2max); + MakeReadOnly(ui->port2mag); + MakeReadOnly(ui->port2phase); + MakeReadOnly(ui->port2referenced); + MakeReadOnly(ui->refmin); + MakeReadOnly(ui->refmax); + MakeReadOnly(ui->refmag); + MakeReadOnly(ui->refphase); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::ManualStatus) { + NewStatus(p.manualStatus); + } + }, Qt::QueuedConnection); + + connect(ui->SourceCE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceRFEN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LO1CE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LO1RFEN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceLowEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->AmplifierEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LO2EN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->Port1Enable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->Port2Enable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->RefEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + + connect(ui->SourceHighPower, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->SourceLowpass, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->SourceLowPower, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + + connect(ui->SourceHighFrequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->SourceLowFrequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->LO1Frequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->IF1, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->LO2Frequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->IF2, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + + connect(ui->PortSwitchGroup, qOverload(&QButtonGroup::idToggled), [=](int, bool) { UpdateDevice(); }); + connect(ui->SourceSwitchGroup, qOverload(&QButtonGroup::idToggled), [=](int, bool) { UpdateDevice(); }); + + connect(ui->Attenuator, qOverload(&QDoubleSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->Samples, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->cbWindow, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + + // Create the SCPI commands + + auto addBooleanManualSetting = [=](QString cmd, void(ManualControlDialogV1::*set)(bool), bool(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + bool enable; + if(!SCPI::paramToBool(params, 0, enable)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + set_fn(enable); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return get_fn() ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + }; + + auto addDoubleManualSetting = [=](QString cmd, void(ManualControlDialogV1::*set)(double), double(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + double value; + if(!SCPI::paramToDouble(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + set_fn(value); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addIntegerManualSetting = [=](QString cmd, void(ManualControlDialogV1::*set)(int), int(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + double value; + if(!SCPI::paramToDouble(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + set_fn(value); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addIntegerManualSettingWithReturnValue = [=](QString cmd, bool(ManualControlDialogV1::*set)(int), int(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + double value; + if(!SCPI::paramToDouble(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + if(set_fn(value)) { + return SCPI::getResultName(SCPI::Result::Empty); + } else { + return SCPI::getResultName(SCPI::Result::Error); + } + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addIntegerManualQuery = [=](QString cmd, int(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addDoubleManualQuery = [=](QString cmd, double(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addBooleanManualQuery = [=](QString cmd, bool(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return get_fn() ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + }; + auto addComplexManualQuery = [=](QString cmd, std::complex(ManualControlDialogV1::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + auto res = get_fn(); + return QString::number(res.real())+","+QString::number(res.imag()); + })); + }; + + addBooleanManualSetting("MANual:HSRC_CE", &ManualControlDialogV1::setHighSourceChipEnable, &ManualControlDialogV1::getHighSourceChipEnable); + addBooleanManualSetting("MANual:HSRC_RFEN", &ManualControlDialogV1::setHighSourceRFEnable, &ManualControlDialogV1::getHighSourceRFEnable); + addBooleanManualQuery("MANual:HSRC_LOCKed", &ManualControlDialogV1::getHighSourceLocked); + addIntegerManualSettingWithReturnValue("MANual:HSRC_PWR", &ManualControlDialogV1::setHighSourcePower, &ManualControlDialogV1::getHighSourcePower); + addDoubleManualSetting("MANual:HSRC_FREQ", &ManualControlDialogV1::setHighSourceFrequency, &ManualControlDialogV1::getHighSourceFrequency); + commands.push_back(new SCPICommand("MANual:HSRC_LPF", [=](QStringList params) -> QString { + long value; + if(!SCPI::paramToLong(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + switch(value) { + case 947: + setHighSourceLPF(ManualControlDialogV1::LPF::M947); + break; + case 1880: + setHighSourceLPF(ManualControlDialogV1::LPF::M1880); + break; + case 3500: + setHighSourceLPF(ManualControlDialogV1::LPF::M3500); + break; + case 0: + setHighSourceLPF(ManualControlDialogV1::LPF::None); + break; + default: + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto lpf = getHighSourceLPF(); + switch(lpf) { + case ManualControlDialogV1::LPF::M947: return "947"; + case ManualControlDialogV1::LPF::M1880: return "1880"; + case ManualControlDialogV1::LPF::M3500: return "3500"; + case ManualControlDialogV1::LPF::None: return "0"; + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + addBooleanManualSetting("MANual:LSRC_EN", &ManualControlDialogV1::setLowSourceEnable, &ManualControlDialogV1::getLowSourceEnable); + addIntegerManualSettingWithReturnValue("MANual:LSRC_PWR", &ManualControlDialogV1::setLowSourcePower, &ManualControlDialogV1::getLowSourcePower); + addDoubleManualSetting("MANual:LSRC_FREQ", &ManualControlDialogV1::setLowSourceFrequency, &ManualControlDialogV1::getLowSourceFrequency); + addBooleanManualSetting("MANual:BAND_SW", &ManualControlDialogV1::setHighband, &ManualControlDialogV1::getHighband); + addDoubleManualSetting("MANual:ATTenuator", &ManualControlDialogV1::setAttenuator, &ManualControlDialogV1::getAttenuator); + addBooleanManualSetting("MANual:AMP_EN", &ManualControlDialogV1::setAmplifierEnable, &ManualControlDialogV1::getAmplifierEnable); + addIntegerManualSettingWithReturnValue("MANual:PORT_SW", &ManualControlDialogV1::setPortSwitch, &ManualControlDialogV1::getPortSwitch); + addBooleanManualSetting("MANual:LO1_CE", &ManualControlDialogV1::setLO1ChipEnable, &ManualControlDialogV1::getLO1ChipEnable); + addBooleanManualSetting("MANual:LO1_RFEN", &ManualControlDialogV1::setLO1RFEnable, &ManualControlDialogV1::getLO1RFEnable); + addBooleanManualQuery("MANual:LO1_LOCKed", &ManualControlDialogV1::getLO1Locked); + addDoubleManualSetting("MANual:LO1_FREQ", &ManualControlDialogV1::setLO1Frequency, &ManualControlDialogV1::getLO1Frequency); + addDoubleManualSetting("MANual:IF1_FREQ", &ManualControlDialogV1::setIF1Frequency, &ManualControlDialogV1::getIF1Frequency); + addBooleanManualSetting("MANual:LO2_EN", &ManualControlDialogV1::setLO2Enable, &ManualControlDialogV1::getLO2Enable); + addDoubleManualSetting("MANual:LO2_FREQ", &ManualControlDialogV1::setLO2Frequency, &ManualControlDialogV1::getLO2Frequency); + addDoubleManualSetting("MANual:IF2_FREQ", &ManualControlDialogV1::setIF2Frequency, &ManualControlDialogV1::getIF2Frequency); + addBooleanManualSetting("MANual:PORT1_EN", &ManualControlDialogV1::setPort1Enable, &ManualControlDialogV1::getPort1Enable); + addBooleanManualSetting("MANual:PORT2_EN", &ManualControlDialogV1::setPort2Enable, &ManualControlDialogV1::getPort2Enable); + addBooleanManualSetting("MANual:REF_EN", &ManualControlDialogV1::setRefEnable, &ManualControlDialogV1::getRefEnable); + addIntegerManualSetting("MANual:SAMPLES", &ManualControlDialogV1::setNumSamples, &ManualControlDialogV1::getNumSamples); + commands.push_back(new SCPICommand("MANual:WINdow", [=](QStringList params) -> QString { + if(params.size() < 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + if (params[0] == "NONE") { + setWindow(ManualControlDialogV1::Window::None); + } else if(params[0] == "KAISER") { + setWindow(ManualControlDialogV1::Window::Kaiser); + } else if(params[0] == "HANN") { + setWindow(ManualControlDialogV1::Window::Hann); + } else if(params[0] == "FLATTOP") { + setWindow(ManualControlDialogV1::Window::FlatTop); + } else { + return "INVALID WINDOW"; + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + switch((ManualControlDialogV1::Window) getWindow()) { + case ManualControlDialogV1::Window::None: return "NONE"; + case ManualControlDialogV1::Window::Kaiser: return "KAISER"; + case ManualControlDialogV1::Window::Hann: return "HANN"; + case ManualControlDialogV1::Window::FlatTop: return "FLATTOP"; + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + addIntegerManualQuery("MANual:PORT1_MIN", &ManualControlDialogV1::getPort1MinADC); + addIntegerManualQuery("MANual:PORT1_MAX", &ManualControlDialogV1::getPort1MaxADC); + addDoubleManualQuery("MANual:PORT1_MAG", &ManualControlDialogV1::getPort1Magnitude); + addDoubleManualQuery("MANual:PORT1_PHAse", &ManualControlDialogV1::getPort1Phase); + addComplexManualQuery("MANual:PORT1_REFerenced", &ManualControlDialogV1::getPort1Referenced); + + addIntegerManualQuery("MANual:PORT2_MIN", &ManualControlDialogV1::getPort2MinADC); + addIntegerManualQuery("MANual:PORT2_MAX", &ManualControlDialogV1::getPort2MaxADC); + addDoubleManualQuery("MANual:PORT2_MAG", &ManualControlDialogV1::getPort2Magnitude); + addDoubleManualQuery("MANual:PORT2_PHAse", &ManualControlDialogV1::getPort2Phase); + addComplexManualQuery("MANual:PORT2_REFerenced", &ManualControlDialogV1::getPort2Referenced); + + addIntegerManualQuery("MANual:REF_MIN", &ManualControlDialogV1::getRefMinADC); + addIntegerManualQuery("MANual:REF_MAX", &ManualControlDialogV1::getRefMaxADC); + addDoubleManualQuery("MANual:REF_MAG", &ManualControlDialogV1::getRefMagnitude); + addDoubleManualQuery("MANual:REF_PHAse", &ManualControlDialogV1::getRefPhase); + + for(auto c : commands) { + emit dev.addSCPICommand(c); + } + + UpdateDevice(); +} + +ManualControlDialogV1::~ManualControlDialogV1() +{ + for(auto c : commands) { + emit dev.removeSCPICommand(c); + } + emit dev.releaseControl(); + delete ui; +} + +void ManualControlDialogV1::setHighSourceChipEnable(bool enable) +{ + ui->SourceCE->setChecked(enable); +} + +bool ManualControlDialogV1::getHighSourceChipEnable() +{ + return ui->SourceCE->isChecked(); +} + +void ManualControlDialogV1::setHighSourceRFEnable(bool enable) +{ + ui->SourceRFEN->setChecked(enable); +} + +bool ManualControlDialogV1::getHighSourceRFEnable() +{ + return ui->SourceRFEN->isChecked(); +} + +bool ManualControlDialogV1::getHighSourceLocked() +{ + return ui->SourceLocked->isChecked(); +} + +bool ManualControlDialogV1::setHighSourcePower(int dBm) +{ + switch(dBm) { + case -4: + ui->SourceHighPower->setCurrentIndex(0); + break; + case -1: + ui->SourceHighPower->setCurrentIndex(1); + break; + case 2: + ui->SourceHighPower->setCurrentIndex(2); + break; + case 5: + ui->SourceHighPower->setCurrentIndex(3); + break; + default: + // invalid power setting + return false; + } + return true; +} + +int ManualControlDialogV1::getHighSourcePower() +{ + int powers[4] = {-4,-1,2,5}; + return powers[ui->SourceHighPower->currentIndex()]; +} + +void ManualControlDialogV1::setHighSourceFrequency(double f) +{ + ui->SourceHighFrequency->setValue(f); +} + +double ManualControlDialogV1::getHighSourceFrequency() +{ + return ui->SourceHighFrequency->value(); +} + +void ManualControlDialogV1::setHighSourceLPF(ManualControlDialogV1::LPF lpf) +{ + switch(lpf) { + case LPF::M947: + ui->SourceLowpass->setCurrentIndex(0); + break; + case LPF::M1880: + ui->SourceLowpass->setCurrentIndex(1); + break; + case LPF::M3500: + ui->SourceLowpass->setCurrentIndex(2); + break; + case LPF::None: + ui->SourceLowpass->setCurrentIndex(3); + break; + } +} + +ManualControlDialogV1::LPF ManualControlDialogV1::getHighSourceLPF() +{ + LPF lpfs[4] = {LPF::M947, LPF::M1880, LPF::M3500, LPF::None}; + return lpfs[ui->SourceLowpass->currentIndex()]; +} + +void ManualControlDialogV1::setLowSourceEnable(bool enable) +{ + ui->SourceLowEnable->setChecked(enable); +} + +bool ManualControlDialogV1::getLowSourceEnable() +{ + return ui->SourceLowEnable->isChecked(); +} + +bool ManualControlDialogV1::setLowSourcePower(int mA) +{ + switch(mA) { + case 2: + ui->SourceLowPower->setCurrentIndex(0); + break; + case 4: + ui->SourceLowPower->setCurrentIndex(1); + break; + case 6: + ui->SourceLowPower->setCurrentIndex(2); + break; + case 8: + ui->SourceLowPower->setCurrentIndex(3); + break; + default: + // invalid power setting + return false; + } + return true; +} + +int ManualControlDialogV1::getLowSourcePower() +{ + int powers[4] = {2,4,6,8}; + return powers[ui->SourceLowPower->currentIndex()]; +} + +void ManualControlDialogV1::setLowSourceFrequency(double f) +{ + ui->SourceLowFrequency->setValue(f); +} + +double ManualControlDialogV1::getLowSourceFrequency() +{ + return ui->SourceLowFrequency->value(); +} + +void ManualControlDialogV1::setHighband(bool high) +{ + if(high) { + ui->SwitchHighband->setChecked(true); + } else { + ui->SwitchLowband->setChecked(true); + } +} + +bool ManualControlDialogV1::getHighband() +{ + return ui->SwitchHighband->isChecked(); +} + +void ManualControlDialogV1::setAttenuator(double att) +{ + ui->Attenuator->setValue(att); +} + +double ManualControlDialogV1::getAttenuator() +{ + return ui->Attenuator->value(); +} + +void ManualControlDialogV1::setAmplifierEnable(bool enable) +{ + ui->AmplifierEnable->setChecked(enable); +} + +bool ManualControlDialogV1::getAmplifierEnable() +{ + return ui->AmplifierEnable->isChecked(); +} + +bool ManualControlDialogV1::setPortSwitch(int port) +{ + switch(port) { + case 1: + ui->Port1Switch->setChecked(true); + break; + case 2: + ui->Port2Switch->setChecked(true); + break; + default: + // invalid port + return false; + } + return true; +} + +int ManualControlDialogV1::getPortSwitch() +{ + if(ui->Port1Switch->isChecked()) { + return 1; + } else { + return 2; + } +} + +void ManualControlDialogV1::setLO1ChipEnable(bool enable) +{ + ui->LO1CE->setChecked(enable); +} + +bool ManualControlDialogV1::getLO1ChipEnable() +{ + return ui->LO1CE->isChecked(); +} + +void ManualControlDialogV1::setLO1RFEnable(bool enable) +{ + ui->LO1RFEN->setChecked(enable); +} + +bool ManualControlDialogV1::getLO1RFEnable() +{ + return ui->LO1RFEN->isChecked(); +} + +bool ManualControlDialogV1::getLO1Locked() +{ + return ui->LO1locked->isChecked(); +} + +void ManualControlDialogV1::setLO1Frequency(double f) +{ + ui->LO1FreqType->setCurrentIndex(1); + ui->LO1Frequency->setValue(f); +} + +double ManualControlDialogV1::getLO1Frequency() +{ + return ui->LO1Frequency->value(); +} + +void ManualControlDialogV1::setIF1Frequency(double f) +{ + ui->LO1FreqType->setCurrentIndex(0); + ui->IF1->setValue(f); +} + +double ManualControlDialogV1::getIF1Frequency() +{ + return ui->IF1->value(); +} + +void ManualControlDialogV1::setLO2Enable(bool enable) +{ + ui->LO2EN->setChecked(enable); +} + +bool ManualControlDialogV1::getLO2Enable() +{ + return ui->LO2EN->isChecked(); +} + +void ManualControlDialogV1::setLO2Frequency(double f) +{ + ui->LO2FreqType->setCurrentIndex(1); + ui->LO2Frequency->setValue(f); +} + +double ManualControlDialogV1::getLO2Frequency() +{ + return ui->LO2Frequency->value(); +} + +void ManualControlDialogV1::setIF2Frequency(double f) +{ + ui->LO2FreqType->setCurrentIndex(0); + ui->IF2->setValue(f); +} + +double ManualControlDialogV1::getIF2Frequency() +{ + return ui->IF2->value(); +} + +void ManualControlDialogV1::setPort1Enable(bool enable) +{ + ui->Port1Enable->setChecked(enable); +} + +bool ManualControlDialogV1::getPort1Enable() +{ + return ui->Port1Enable->isChecked(); +} + +void ManualControlDialogV1::setPort2Enable(bool enable) +{ + ui->Port2Enable->setChecked(enable); +} + +bool ManualControlDialogV1::getPort2Enable() +{ + return ui->Port2Enable->isChecked(); +} + +void ManualControlDialogV1::setRefEnable(bool enable) +{ + ui->RefEnable->setChecked(enable); +} + +bool ManualControlDialogV1::getRefEnable() +{ + return ui->RefEnable->isChecked(); +} + +void ManualControlDialogV1::setNumSamples(int samples) +{ + ui->Samples->setValue(samples); +} + +int ManualControlDialogV1::getNumSamples() +{ + return ui->Samples->value(); +} + +void ManualControlDialogV1::setWindow(ManualControlDialogV1::Window w) +{ + ui->cbWindow->setCurrentIndex((int) w); +} + +ManualControlDialogV1::Window ManualControlDialogV1::getWindow() +{ + return (Window) ui->cbWindow->currentIndex(); +} + +int ManualControlDialogV1::getPort1MinADC() +{ + return ui->port1min->text().toInt(); +} + +int ManualControlDialogV1::getPort1MaxADC() +{ + return ui->port1max->text().toInt(); +} + +double ManualControlDialogV1::getPort1Magnitude() +{ + return ui->port1mag->text().toDouble(); +} + +double ManualControlDialogV1::getPort1Phase() +{ + return ui->port1phase->text().toDouble(); +} + +std::complex ManualControlDialogV1::getPort1Referenced() +{ + return port1referenced; +} + +int ManualControlDialogV1::getPort2MinADC() +{ + return ui->port2min->text().toInt(); +} + +int ManualControlDialogV1::getPort2MaxADC() +{ + return ui->port2max->text().toInt(); +} + +double ManualControlDialogV1::getPort2Magnitude() +{ + return ui->port2mag->text().toDouble(); +} + +double ManualControlDialogV1::getPort2Phase() +{ + return ui->port2phase->text().toDouble(); +} + +std::complex ManualControlDialogV1::getPort2Referenced() +{ + return port2referenced; +} + +int ManualControlDialogV1::getRefMinADC() +{ + return ui->refmin->text().toInt(); +} + +int ManualControlDialogV1::getRefMaxADC() +{ + return ui->refmax->text().toInt(); +} + +double ManualControlDialogV1::getRefMagnitude() +{ + return ui->refmag->text().toDouble(); +} + +double ManualControlDialogV1::getRefPhase() +{ + return ui->refphase->text().toDouble(); +} + +void ManualControlDialogV1::NewStatus(Protocol::ManualStatus status) +{ + // ADC values + ui->port1min->setText(QString::number(status.V1.port1min)); + ui->port1max->setText(QString::number(status.V1.port1max)); + auto port1 = complex(status.V1.port1real, status.V1.port1imag); + ui->port1mag->setText(QString::number(abs(port1))); + ui->port1phase->setText(QString::number(arg(port1)*180/M_PI)); + + ui->port2min->setText(QString::number(status.V1.port2min)); + ui->port2max->setText(QString::number(status.V1.port2max)); + auto port2 = complex(status.V1.port2real, status.V1.port2imag); + ui->port2mag->setText(QString::number(abs(port2))); + ui->port2phase->setText(QString::number(arg(port2)*180/M_PI)); + + ui->refmin->setText(QString::number(status.V1.refmin)); + ui->refmax->setText(QString::number(status.V1.refmax)); + auto ref = complex(status.V1.refreal, status.V1.refimag); + ui->refmag->setText(QString::number(abs(ref))); + ui->refphase->setText(QString::number(arg(ref)*180/M_PI)); + + port1referenced = port1 / ref; + port2referenced = port2 / ref; + auto port1db = Util::SparamTodB(port1referenced); + auto port2db = Util::SparamTodB(port2referenced); + + ui->port1referenced->setText(QString::number(port1db, 'f', 1) + "db@" + QString::number(arg(port1referenced)*180/M_PI, 'f', 0) + "°"); + ui->port2referenced->setText(QString::number(port2db, 'f', 1) + "db@" + QString::number(arg(port2referenced)*180/M_PI, 'f', 0) + "°"); + + // PLL state + ui->SourceLocked->setChecked(status.V1.source_locked); + ui->LO1locked->setChecked(status.V1.LO_locked); +} + +void ManualControlDialogV1::UpdateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::ManualControl; + auto &m = p.manual.V1; + // Source highband + m.SourceHighCE = ui->SourceCE->isChecked(); + m.SourceHighRFEN = ui->SourceRFEN->isChecked(); + m.SourceHighPower = ui->SourceHighPower->currentIndex(); + m.SourceHighFrequency = ui->SourceHighFrequency->value(); + m.SourceHighLowpass = ui->SourceLowpass->currentIndex(); + // Source lowband + m.SourceLowEN = ui->SourceLowEnable->isChecked(); + m.SourceLowPower = ui->SourceLowPower->currentIndex(); + m.SourceLowFrequency = ui->SourceLowFrequency->value(); + // Source signal path + m.SourceHighband = ui->SwitchHighband->isChecked(); + m.AmplifierEN = ui->AmplifierEnable->isChecked(); + m.PortSwitch = ui->Port2Switch->isChecked(); + m.attenuator = -ui->Attenuator->value() / 0.25; + // LO1 + m.LO1CE = ui->LO1CE->isChecked(); + m.LO1RFEN = ui->LO1RFEN->isChecked(); + m.LO1Frequency = ui->LO1Frequency->value(); + // LO2 + m.LO2EN = ui->LO2EN->isChecked(); + m.LO2Frequency = ui->LO2Frequency->value(); + // Acquisition + m.Port1EN = ui->Port1Enable->isChecked(); + m.Port2EN = ui->Port2Enable->isChecked(); + m.RefEN = ui->RefEnable->isChecked(); + m.Samples = ui->Samples->value(); + m.WindowType = ui->cbWindow->currentIndex(); + + qDebug() << "Updating manual control state"; + + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.h new file mode 100644 index 0000000..42658db --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.h @@ -0,0 +1,118 @@ +#ifndef MANUALCONTROLDIALOGV1_H +#define MANUALCONTROLDIALOGV1_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class ManualControlDialogV1; +} + +class ManualControlDialogV1 : public QDialog +{ + Q_OBJECT + +public: + explicit ManualControlDialogV1(LibreVNADriver &dev, QWidget *parent = nullptr); + ~ManualControlDialogV1(); + + void setHighSourceChipEnable(bool enable); + bool getHighSourceChipEnable(); + void setHighSourceRFEnable(bool enable); + bool getHighSourceRFEnable(); + bool getHighSourceLocked(); + bool setHighSourcePower(int dBm); + int getHighSourcePower(); + void setHighSourceFrequency(double f); + double getHighSourceFrequency(); + + enum class LPF { + M947, + M1880, + M3500, + None, + }; + + void setHighSourceLPF(LPF lpf); + LPF getHighSourceLPF(); + void setLowSourceEnable(bool enable); + bool getLowSourceEnable(); + bool setLowSourcePower(int mA); + int getLowSourcePower(); + void setLowSourceFrequency(double f); + double getLowSourceFrequency(); + void setHighband(bool high); + bool getHighband(); + void setAttenuator(double att); + double getAttenuator(); + void setAmplifierEnable(bool enable); + bool getAmplifierEnable(); + bool setPortSwitch(int port); + int getPortSwitch(); + void setLO1ChipEnable(bool enable); + bool getLO1ChipEnable(); + void setLO1RFEnable(bool enable); + bool getLO1RFEnable(); + bool getLO1Locked(); + void setLO1Frequency(double f); + double getLO1Frequency(); + void setIF1Frequency(double f); + double getIF1Frequency(); + void setLO2Enable(bool enable); + bool getLO2Enable(); + void setLO2Frequency(double f); + double getLO2Frequency(); + void setIF2Frequency(double f); + double getIF2Frequency(); + void setPort1Enable(bool enable); + bool getPort1Enable(); + void setPort2Enable(bool enable); + bool getPort2Enable(); + void setRefEnable(bool enable); + bool getRefEnable(); + void setNumSamples(int samples); + int getNumSamples(); + + enum class Window { + None = 0, + Kaiser = 1, + Hann = 2, + FlatTop = 3 + }; + + void setWindow(Window w); + Window getWindow(); + + int getPort1MinADC(); + int getPort1MaxADC(); + double getPort1Magnitude(); + double getPort1Phase(); + std::complex getPort1Referenced(); + + int getPort2MinADC(); + int getPort2MaxADC(); + double getPort2Magnitude(); + double getPort2Phase(); + std::complex getPort2Referenced(); + + int getRefMinADC(); + int getRefMaxADC(); + double getRefMagnitude(); + double getRefPhase(); + +public slots: + void NewStatus(Protocol::ManualStatus status); + +private: + void UpdateDevice(); + Ui::ManualControlDialogV1 *ui; + LibreVNADriver &dev; + std::complex port1referenced; + std::complex port2referenced; + + std::vector commands; +}; + +#endif // MANUALCONTROLDIALOGV1_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.ui new file mode 100644 index 0000000..2a25745 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogV1.ui @@ -0,0 +1,782 @@ + + + ManualControlDialogV1 + + + Qt::WindowModality::ApplicationModal + + + + 0 + 0 + 1023 + 628 + + + + Manual System Control + + + + + + + + Signal Generation + + + + + + + + + + Highband Source + + + + + + Chip Enable + + + + + + + RF Enable + + + + + + + true + + + Locked + + + + + + + + + Power: + + + + + + + + -4dbm + + + + + -1dbm + + + + + +2dbm + + + + + +5dbm + + + + + + + + Frequency: + + + + + + + + + + Lowpass: + + + + + + + + 947MHz + + + + + 1880MHz + + + + + 3500MHz + + + + + None + + + + + + + + + + + + + + + Lowband Source + + + + + + + + Enable + + + + + + + + + Power: + + + + + + + + 2mA + + + + + 4mA + + + + + 6mA + + + + + 8mA + + + + + + + + Frequency: + + + + + + + + + + + + + + + + + Source Switch + + + + + + Lowband + + + SourceSwitchGroup + + + + + + + Highband + + + true + + + SourceSwitchGroup + + + + + + + + + + + + + + + + Attenuator + + + + + + db + + + -31.750000000000000 + + + 0.000000000000000 + + + 0.250000000000000 + + + + + + + + + + Amplifier + + + + + + Enable + + + false + + + + + + + + + + Port Switch + + + + + + Port 1 + + + true + + + PortSwitchGroup + + + + + + + Port 2 + + + PortSwitchGroup + + + + + + + + + + + + + + + + + Signal Analysis + + + + + + + + LO1 + + + + + + Chip Enable + + + + + + + RF Enable + + + + + + + true + + + Locked + + + + + + + + + Freq. Type: + + + + + + + + IF1 + + + + + Absolute + + + + + + + + Frequency: + + + + + + + false + + + + + + + IF1: + + + + + + + + + + + + + + + LO2 + + + + + + Enable + + + + + + + + + Freq. Type: + + + + + + + + IF2 + + + + + Absolute + + + + + + + + Frequency: + + + + + + + false + + + + + + + IF2: + + + + + + + + + + + + + + + Aquisition + + + + + + Port 1 Enable + + + + + + + Port 2 Enable + + + + + + + Reference Enable + + + + + + + + + Samples: + + + + + + + 16 + + + 131072 + + + 16 + + + 131072 + + + + + + + Window: + + + + + + + + None + + + + + Kaiser + + + + + Hann + + + + + Flat Top + + + + + + + + + + + + + + + + + + + + Measurements + + + + + + Port 1 + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Port 2 + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Reference + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.cpp new file mode 100644 index 0000000..c1fbc9f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.cpp @@ -0,0 +1,812 @@ +#include "manualcontroldialogVD0.h" + +#include "ui_manualcontroldialogVD0.h" +#include "Util/util.h" + +#include +#include +#include +#include + + +using namespace std; + +ManualControlDialogVD0::ManualControlDialogVD0(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::ManualControlDialogVD0), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + ui->SourceLowFrequency->setUnit("Hz"); + ui->SourceLowFrequency->setPrefixes(" kM"); + ui->SourceLowFrequency->setPrecision(6); + ui->SourceLowFrequency->setValueQuiet(1000000); + + ui->SourceHighFrequency->setUnit("Hz"); + ui->SourceHighFrequency->setPrefixes(" kMG"); + ui->SourceHighFrequency->setPrecision(6); + ui->SourceHighFrequency->setValueQuiet(1000000000); + + ui->IFHigh->setUnit("Hz"); + ui->IFHigh->setPrefixes(" kM"); + ui->IFHigh->setPrecision(6); + + ui->IFLow->setUnit("Hz"); + ui->IFLow->setPrefixes(" kM"); + ui->IFLow->setPrecision(6); + + ui->LOHighFrequency->setUnit("Hz"); + ui->LOHighFrequency->setPrefixes(" kMG"); + ui->LOHighFrequency->setPrecision(6); + + ui->LOLowFrequency->setUnit("Hz"); + ui->LOLowFrequency->setPrefixes(" kM"); + ui->LOLowFrequency->setPrecision(6); + + auto UpdateLOHigh = [=]() { + double sourceFreq; + if (ui->SwitchLowband->isChecked()) { + sourceFreq = ui->SourceLowFrequency->value(); + } else { + sourceFreq = ui->SourceHighFrequency->value(); + } + if (ui->LOHighFreqType->currentIndex() == 0) { + // fixed IF mode + ui->LOHighFrequency->setValueQuiet(sourceFreq + ui->IFHigh->value()); + } else { + // Manual Frequency mode + ui->IFHigh->setValueQuiet(ui->LOHighFrequency->value() - sourceFreq); + } + }; + auto UpdateLOLow = [=]() { + double sourceFreq; + if (ui->SwitchLowband->isChecked()) { + sourceFreq = ui->SourceLowFrequency->value(); + } else { + sourceFreq = ui->SourceHighFrequency->value(); + } + if (ui->LOLowFreqType->currentIndex() == 0) { + // fixed IF mode + ui->LOLowFrequency->setValueQuiet(sourceFreq + ui->IFLow->value()); + } else { + // Manual Frequency mode + ui->IFLow->setValueQuiet(ui->LOLowFrequency->value() - sourceFreq); + } + }; + + connect(ui->IFHigh, &SIUnitEdit::valueChanged, [=](double) { + UpdateLOHigh(); + }); + connect(ui->LOHighFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLOHigh(); + }); + connect(ui->IFLow, &SIUnitEdit::valueChanged, [=](double) { + UpdateLOLow(); + }); + connect(ui->LOLowFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLOLow(); + }); + connect(ui->SourceSwitchGroup, qOverload(&QButtonGroup::idToggled), [=](int, bool) { + UpdateLOHigh(); + UpdateLOLow(); + }); + connect(ui->SourceLowFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLOHigh(); + UpdateLOLow(); + }); + connect(ui->SourceHighFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLOHigh(); + UpdateLOLow(); + }); + + ui->IFHigh->setValue(233750); + ui->IFLow->setValue(233750); + + // LO high/low mode switch connections + connect(ui->LOHighFreqType, qOverload(&QComboBox::activated), this, [=](int index) { + switch(index) { + case 0: + ui->LOHighFrequency->setEnabled(false); + ui->IFHigh->setEnabled(true); + break; + case 1: + ui->LOHighFrequency->setEnabled(true); + ui->IFHigh->setEnabled(false); + break; + } + }); + connect(ui->LOLowFreqType, qOverload(&QComboBox::activated), this, [=](int index) { + switch(index) { + case 0: + ui->LOLowFrequency->setEnabled(false); + ui->IFLow->setEnabled(true); + break; + case 1: + ui->LOLowFrequency->setEnabled(true); + ui->IFLow->setEnabled(false); + break; + } + }); + + // Readonly widgets + auto MakeReadOnly = [](QWidget* w) { + w->setAttribute(Qt::WA_TransparentForMouseEvents); + w->setFocusPolicy(Qt::NoFocus); + }; + MakeReadOnly(ui->SourceLocked); + MakeReadOnly(ui->LOLocked); + MakeReadOnly(ui->port1min); + MakeReadOnly(ui->port1max); + MakeReadOnly(ui->port1mag); + MakeReadOnly(ui->port1phase); + MakeReadOnly(ui->port1referenced); + MakeReadOnly(ui->port2min); + MakeReadOnly(ui->port2max); + MakeReadOnly(ui->port2mag); + MakeReadOnly(ui->port2phase); + MakeReadOnly(ui->port2referenced); + MakeReadOnly(ui->refmin); + MakeReadOnly(ui->refmax); + MakeReadOnly(ui->refmag); + MakeReadOnly(ui->refphase); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::ManualStatus) { + NewStatus(p.manualStatus); + } + }, Qt::QueuedConnection); + + connect(ui->SourceCE, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + connect(ui->LOHighCE, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + connect(ui->SourceLowEnable, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + connect(ui->LOLowEnable, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + connect(ui->Port1Enable, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + connect(ui->Port2Enable, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + connect(ui->RefEnable, &QCheckBox::toggled, this, [=](bool) { UpdateDevice(); }); + + connect(ui->SourceLowpass, qOverload(&QComboBox::activated), this, [=](int) { UpdateDevice(); }); + connect(ui->SourceLowPower, qOverload(&QComboBox::activated), this, [=](int) { UpdateDevice(); }); + connect(ui->LOLowPower, qOverload(&QComboBox::activated), this, [=](int) { UpdateDevice(); }); + connect(ui->cbWindow, qOverload(&QComboBox::activated), this, [=](int) { UpdateDevice(); }); + + connect(ui->SourceHighFrequency, &SIUnitEdit::valueChanged, this, [=](double) { UpdateDevice(); }); + connect(ui->SourceLowFrequency, &SIUnitEdit::valueChanged, this, [=](double) { UpdateDevice(); }); + connect(ui->LOHighFrequency, &SIUnitEdit::valueChanged, this, [=](double) { UpdateDevice(); }); + connect(ui->IFHigh, &SIUnitEdit::valueChanged, this, [=](double) { UpdateDevice(); }); + connect(ui->LOLowFrequency, &SIUnitEdit::valueChanged, this, [=](double) { UpdateDevice(); }); + connect(ui->IFLow, &SIUnitEdit::valueChanged, this, [=](double) { UpdateDevice(); }); + + connect(ui->PortSwitchGroup, qOverload(&QButtonGroup::idToggled), this, [=](int, bool) { UpdateDevice(); }); + connect(ui->SourceSwitchGroup, qOverload(&QButtonGroup::idToggled), this, [=](int, bool) { UpdateDevice(); }); + connect(ui->LOSwitchGroup, qOverload(&QButtonGroup::idToggled), this, [=](int, bool) { UpdateDevice(); }); + + connect(ui->Attenuator, qOverload(&QDoubleSpinBox::valueChanged), this, [=](double) { UpdateDevice(); }); + connect(ui->SourceHighPower, qOverload(&QSpinBox::valueChanged), this, [=](int) { UpdateDevice(); }); + connect(ui->Samples, qOverload(&QSpinBox::valueChanged), this, [=](double) { UpdateDevice(); }); + + + // Create the SCPI commands + + auto addBooleanManualSetting = [=](QString cmd, void(ManualControlDialogVD0::*set)(bool), bool(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + bool enable; + if(!SCPI::paramToBool(params, 0, enable)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + set_fn(enable); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return get_fn() ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + }; + + auto addDoubleManualSetting = [=](QString cmd, void(ManualControlDialogVD0::*set)(double), double(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + double value; + if(!SCPI::paramToDouble(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + set_fn(value); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addIntegerManualSetting = [=](QString cmd, void(ManualControlDialogVD0::*set)(int), int(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + double value; + if(!SCPI::paramToDouble(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + set_fn(value); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addIntegerManualSettingWithReturnValue = [=](QString cmd, bool(ManualControlDialogVD0::*set)(int), int(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, [=](QStringList params) -> QString { + double value; + if(!SCPI::paramToDouble(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + auto set_fn = std::bind(set, this, std::placeholders::_1); + if(set_fn(value)) { + return SCPI::getResultName(SCPI::Result::Empty); + } else { + return SCPI::getResultName(SCPI::Result::Error); + } + }, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addIntegerManualQuery = [=](QString cmd, int(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addDoubleManualQuery = [=](QString cmd, double(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return QString::number(get_fn()); + })); + }; + auto addBooleanManualQuery = [=](QString cmd, bool(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + return get_fn() ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + }; + auto addComplexManualQuery = [=](QString cmd, std::complex(ManualControlDialogVD0::*get)(void)) { + commands.push_back(new SCPICommand(cmd, nullptr, [=](QStringList) -> QString { + auto get_fn = std::bind(get, this); + auto res = get_fn(); + return QString::number(res.real())+","+QString::number(res.imag()); + })); + }; + + addBooleanManualSetting("MANual:HSRC_CE", &ManualControlDialogVD0::setHighSourceChipEnable, &ManualControlDialogVD0::getHighSourceChipEnable); + addBooleanManualQuery("MANual:HSRC_LOCKed", &ManualControlDialogVD0::getHighSourceLocked); + addIntegerManualSettingWithReturnValue("MANual:HSRC_PWR", &ManualControlDialogVD0::setHighSourcePower, &ManualControlDialogVD0::getHighSourcePower); + addDoubleManualSetting("MANual:HSRC_FREQ", &ManualControlDialogVD0::setHighSourceFrequency, &ManualControlDialogVD0::getHighSourceFrequency); + commands.push_back(new SCPICommand("MANual:HSRC_LPF", [=](QStringList params) -> QString { + long value; + if(!SCPI::paramToLong(params, 0, value)) { + return SCPI::getResultName(SCPI::Result::Error); + } + switch(value) { + case 947: + setHighSourceLPF(ManualControlDialogVD0::LPF::M947); + break; + case 1880: + setHighSourceLPF(ManualControlDialogVD0::LPF::M1880); + break; + case 3500: + setHighSourceLPF(ManualControlDialogVD0::LPF::M3500); + break; + case 0: + setHighSourceLPF(ManualControlDialogVD0::LPF::None); + break; + default: + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + auto lpf = getHighSourceLPF(); + switch(lpf) { + case ManualControlDialogVD0::LPF::M947: return "947"; + case ManualControlDialogVD0::LPF::M1880: return "1880"; + case ManualControlDialogVD0::LPF::M3500: return "3500"; + case ManualControlDialogVD0::LPF::None: return "0"; + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + addBooleanManualSetting("MANual:LSRC_EN", &ManualControlDialogVD0::setLowSourceEnable, &ManualControlDialogVD0::getLowSourceEnable); + addIntegerManualSettingWithReturnValue("MANual:LSRC_PWR", &ManualControlDialogVD0::setLowSourcePower, &ManualControlDialogVD0::getLowSourcePower); + addDoubleManualSetting("MANual:LSRC_FREQ", &ManualControlDialogVD0::setLowSourceFrequency, &ManualControlDialogVD0::getLowSourceFrequency); + addBooleanManualSetting("MANual:BAND_SW", &ManualControlDialogVD0::setHighband, &ManualControlDialogVD0::getHighband); + addDoubleManualSetting("MANual:ATTenuator", &ManualControlDialogVD0::setAttenuator, &ManualControlDialogVD0::getAttenuator); + addIntegerManualSettingWithReturnValue("MANual:PORT_SW", &ManualControlDialogVD0::setPortSwitch, &ManualControlDialogVD0::getPortSwitch); + addBooleanManualSetting("MANual:LOHigh_CE", &ManualControlDialogVD0::setLOHighChipEnable, &ManualControlDialogVD0::getLOHighChipEnable); + addBooleanManualQuery("MANual:LOHigh_LOCKed", &ManualControlDialogVD0::getLOHighLocked); + addDoubleManualSetting("MANual:LOHigh_FREQ", &ManualControlDialogVD0::setLOHighFrequency, &ManualControlDialogVD0::getLOHighFrequency); + addDoubleManualSetting("MANual:IFHigh_FREQ", &ManualControlDialogVD0::setIFHighFrequency, &ManualControlDialogVD0::getIFHighFrequency); + addBooleanManualSetting("MANual:LOLow_EN", &ManualControlDialogVD0::setLOLowEnable, &ManualControlDialogVD0::getLOLowEnable); + addDoubleManualSetting("MANual:LOLow_FREQ", &ManualControlDialogVD0::setLOLowFrequency, &ManualControlDialogVD0::getLOLowFrequency); + addDoubleManualSetting("MANual:IFLow_FREQ", &ManualControlDialogVD0::setIFLowFrequency, &ManualControlDialogVD0::getIFLowFrequency); + addBooleanManualSetting("MANual:PORT1_EN", &ManualControlDialogVD0::setPort1Enable, &ManualControlDialogVD0::getPort1Enable); + addBooleanManualSetting("MANual:PORT2_EN", &ManualControlDialogVD0::setPort2Enable, &ManualControlDialogVD0::getPort2Enable); + addBooleanManualSetting("MANual:REF_EN", &ManualControlDialogVD0::setRefEnable, &ManualControlDialogVD0::getRefEnable); + addIntegerManualSetting("MANual:SAMPLES", &ManualControlDialogVD0::setNumSamples, &ManualControlDialogVD0::getNumSamples); + commands.push_back(new SCPICommand("MANual:WINdow", [=](QStringList params) -> QString { + if(params.size() < 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + if (params[0] == "NONE") { + setWindow(ManualControlDialogVD0::Window::None); + } else if(params[0] == "KAISER") { + setWindow(ManualControlDialogVD0::Window::Kaiser); + } else if(params[0] == "HANN") { + setWindow(ManualControlDialogVD0::Window::Hann); + } else if(params[0] == "FLATTOP") { + setWindow(ManualControlDialogVD0::Window::FlatTop); + } else { + return "INVALID WINDOW"; + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + switch((ManualControlDialogVD0::Window) getWindow()) { + case ManualControlDialogVD0::Window::None: return "NONE"; + case ManualControlDialogVD0::Window::Kaiser: return "KAISER"; + case ManualControlDialogVD0::Window::Hann: return "HANN"; + case ManualControlDialogVD0::Window::FlatTop: return "FLATTOP"; + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + addIntegerManualQuery("MANual:PORT1_MIN", &ManualControlDialogVD0::getPort1MinADC); + addIntegerManualQuery("MANual:PORT1_MAX", &ManualControlDialogVD0::getPort1MaxADC); + addDoubleManualQuery("MANual:PORT1_MAG", &ManualControlDialogVD0::getPort1Magnitude); + addDoubleManualQuery("MANual:PORT1_PHAse", &ManualControlDialogVD0::getPort1Phase); + addComplexManualQuery("MANual:PORT1_REFerenced", &ManualControlDialogVD0::getPort1Referenced); + + addIntegerManualQuery("MANual:PORT2_MIN", &ManualControlDialogVD0::getPort2MinADC); + addIntegerManualQuery("MANual:PORT2_MAX", &ManualControlDialogVD0::getPort2MaxADC); + addDoubleManualQuery("MANual:PORT2_MAG", &ManualControlDialogVD0::getPort2Magnitude); + addDoubleManualQuery("MANual:PORT2_PHAse", &ManualControlDialogVD0::getPort2Phase); + addComplexManualQuery("MANual:PORT2_REFerenced", &ManualControlDialogVD0::getPort2Referenced); + + addIntegerManualQuery("MANual:REF_MIN", &ManualControlDialogVD0::getRefMinADC); + addIntegerManualQuery("MANual:REF_MAX", &ManualControlDialogVD0::getRefMaxADC); + addDoubleManualQuery("MANual:REF_MAG", &ManualControlDialogVD0::getRefMagnitude); + addDoubleManualQuery("MANual:REF_PHAse", &ManualControlDialogVD0::getRefPhase); + + for(auto c : commands) { + emit dev.addSCPICommand(c); + } + + UpdateDevice(); +} + +ManualControlDialogVD0::~ManualControlDialogVD0() +{ + for(auto c : commands) { + emit dev.removeSCPICommand(c); + } + emit dev.releaseControl(); + delete ui; +} + +void ManualControlDialogVD0::setHighSourceChipEnable(bool enable) +{ + ui->SourceCE->setChecked(enable); +} + +bool ManualControlDialogVD0::getHighSourceChipEnable() +{ + return ui->SourceCE->isChecked(); +} + +bool ManualControlDialogVD0::getHighSourceLocked() +{ + return ui->SourceLocked->isChecked(); +} + +bool ManualControlDialogVD0::setHighSourcePower(int dBm) +{ + if(dBm < 0 || dBm > ui->SourceHighPower->maximum()) { + return false; + } else { + ui->SourceHighPower->setValue(dBm); + return true; + } +} + +int ManualControlDialogVD0::getHighSourcePower() +{ + return ui->SourceHighPower->value(); +} + +void ManualControlDialogVD0::setHighSourceFrequency(double f) +{ + ui->SourceHighFrequency->setValue(f); +} + +double ManualControlDialogVD0::getHighSourceFrequency() +{ + return ui->SourceHighFrequency->value(); +} + +void ManualControlDialogVD0::setHighSourceLPF(ManualControlDialogVD0::LPF lpf) +{ + switch(lpf) { + case LPF::M947: + ui->SourceLowpass->setCurrentIndex(0); + break; + case LPF::M1880: + ui->SourceLowpass->setCurrentIndex(1); + break; + case LPF::M3500: + ui->SourceLowpass->setCurrentIndex(2); + break; + case LPF::None: + ui->SourceLowpass->setCurrentIndex(3); + break; + } +} + +ManualControlDialogVD0::LPF ManualControlDialogVD0::getHighSourceLPF() +{ + LPF lpfs[4] = {LPF::M947, LPF::M1880, LPF::M3500, LPF::None}; + return lpfs[ui->SourceLowpass->currentIndex()]; +} + +void ManualControlDialogVD0::setLowSourceEnable(bool enable) +{ + ui->SourceLowEnable->setChecked(enable); +} + +bool ManualControlDialogVD0::getLowSourceEnable() +{ + return ui->SourceLowEnable->isChecked(); +} + +bool ManualControlDialogVD0::setLowSourcePower(int mA) +{ + switch(mA) { + case 2: + ui->SourceLowPower->setCurrentIndex(0); + break; + case 4: + ui->SourceLowPower->setCurrentIndex(1); + break; + case 6: + ui->SourceLowPower->setCurrentIndex(2); + break; + case 8: + ui->SourceLowPower->setCurrentIndex(3); + break; + default: + // invalid power setting + return false; + } + return true; +} + +int ManualControlDialogVD0::getLowSourcePower() +{ + int powers[4] = {2,4,6,8}; + return powers[ui->SourceLowPower->currentIndex()]; +} + +void ManualControlDialogVD0::setLowSourceFrequency(double f) +{ + ui->SourceLowFrequency->setValue(f); +} + +double ManualControlDialogVD0::getLowSourceFrequency() +{ + return ui->SourceLowFrequency->value(); +} + +void ManualControlDialogVD0::setHighband(bool high) +{ + if(high) { + ui->SwitchHighband->setChecked(true); + } else { + ui->SwitchLowband->setChecked(true); + } +} + +bool ManualControlDialogVD0::getHighband() +{ + return ui->SwitchHighband->isChecked(); +} + +void ManualControlDialogVD0::setAttenuator(double att) +{ + ui->Attenuator->setValue(att); +} + +double ManualControlDialogVD0::getAttenuator() +{ + return ui->Attenuator->value(); +} + +bool ManualControlDialogVD0::setPortSwitch(int port) +{ + switch(port) { + case 1: + ui->Port1Switch->setChecked(true); + break; + case 2: + ui->Port2Switch->setChecked(true); + break; + default: + // invalid port + return false; + } + return true; +} + +int ManualControlDialogVD0::getPortSwitch() +{ + if(ui->Port1Switch->isChecked()) { + return 1; + } else { + return 2; + } +} + +void ManualControlDialogVD0::setLOHighChipEnable(bool enable) +{ + ui->LOHighCE->setChecked(enable); +} + +bool ManualControlDialogVD0::getLOHighChipEnable() +{ + return ui->LOHighCE->isChecked(); +} + +bool ManualControlDialogVD0::getLOHighLocked() +{ + return ui->LOLocked->isChecked(); +} + +void ManualControlDialogVD0::setLOHighFrequency(double f) +{ + ui->LOHighFreqType->setCurrentIndex(1); + ui->LOHighFrequency->setValue(f); +} + +double ManualControlDialogVD0::getLOHighFrequency() +{ + return ui->LOHighFrequency->value(); +} + +void ManualControlDialogVD0::setIFHighFrequency(double f) +{ + ui->LOHighFreqType->setCurrentIndex(0); + ui->IFHigh->setValue(f); +} + +double ManualControlDialogVD0::getIFHighFrequency() +{ + return ui->IFHigh->value(); +} + +void ManualControlDialogVD0::setLOLowEnable(bool enable) +{ + ui->LOLowEnable->setChecked(enable); +} + +bool ManualControlDialogVD0::getLOLowEnable() +{ + return ui->LOLowEnable->isChecked(); +} + +void ManualControlDialogVD0::setLOLowFrequency(double f) +{ + ui->LOLowFreqType->setCurrentIndex(1); + ui->LOLowFrequency->setValue(f); +} + +double ManualControlDialogVD0::getLOLowFrequency() +{ + return ui->LOLowFrequency->value(); +} + +void ManualControlDialogVD0::setIFLowFrequency(double f) +{ + ui->LOLowFreqType->setCurrentIndex(0); + ui->IFLow->setValue(f); +} + +double ManualControlDialogVD0::getIFLowFrequency() +{ + return ui->IFLow->value(); +} + +void ManualControlDialogVD0::setPort1Enable(bool enable) +{ + ui->Port1Enable->setChecked(enable); +} + +bool ManualControlDialogVD0::getPort1Enable() +{ + return ui->Port1Enable->isChecked(); +} + +void ManualControlDialogVD0::setPort2Enable(bool enable) +{ + ui->Port2Enable->setChecked(enable); +} + +bool ManualControlDialogVD0::getPort2Enable() +{ + return ui->Port2Enable->isChecked(); +} + +void ManualControlDialogVD0::setRefEnable(bool enable) +{ + ui->RefEnable->setChecked(enable); +} + +bool ManualControlDialogVD0::getRefEnable() +{ + return ui->RefEnable->isChecked(); +} + +void ManualControlDialogVD0::setNumSamples(int samples) +{ + ui->Samples->setValue(samples); +} + +int ManualControlDialogVD0::getNumSamples() +{ + return ui->Samples->value(); +} + +void ManualControlDialogVD0::setWindow(ManualControlDialogVD0::Window w) +{ + ui->cbWindow->setCurrentIndex((int) w); +} + +ManualControlDialogVD0::Window ManualControlDialogVD0::getWindow() +{ + return (Window) ui->cbWindow->currentIndex(); +} + +int ManualControlDialogVD0::getPort1MinADC() +{ + return ui->port1min->text().toInt(); +} + +int ManualControlDialogVD0::getPort1MaxADC() +{ + return ui->port1max->text().toInt(); +} + +double ManualControlDialogVD0::getPort1Magnitude() +{ + return ui->port1mag->text().toDouble(); +} + +double ManualControlDialogVD0::getPort1Phase() +{ + return ui->port1phase->text().toDouble(); +} + +std::complex ManualControlDialogVD0::getPort1Referenced() +{ + return port1referenced; +} + +int ManualControlDialogVD0::getPort2MinADC() +{ + return ui->port2min->text().toInt(); +} + +int ManualControlDialogVD0::getPort2MaxADC() +{ + return ui->port2max->text().toInt(); +} + +double ManualControlDialogVD0::getPort2Magnitude() +{ + return ui->port2mag->text().toDouble(); +} + +double ManualControlDialogVD0::getPort2Phase() +{ + return ui->port2phase->text().toDouble(); +} + +std::complex ManualControlDialogVD0::getPort2Referenced() +{ + return port2referenced; +} + +int ManualControlDialogVD0::getRefMinADC() +{ + return ui->refmin->text().toInt(); +} + +int ManualControlDialogVD0::getRefMaxADC() +{ + return ui->refmax->text().toInt(); +} + +double ManualControlDialogVD0::getRefMagnitude() +{ + return ui->refmag->text().toDouble(); +} + +double ManualControlDialogVD0::getRefPhase() +{ + return ui->refphase->text().toDouble(); +} + +void ManualControlDialogVD0::NewStatus(Protocol::ManualStatus status) +{ + // ADC values + ui->port1min->setText(QString::number(status.VD0.port1min)); + ui->port1max->setText(QString::number(status.VD0.port1max)); + auto port1 = complex(status.VD0.port1real, status.VD0.port1imag); + ui->port1mag->setText(QString::number(abs(port1))); + ui->port1phase->setText(QString::number(arg(port1)*180/M_PI)); + + ui->port2min->setText(QString::number(status.VD0.port2min)); + ui->port2max->setText(QString::number(status.VD0.port2max)); + auto port2 = complex(status.VD0.port2real, status.VD0.port2imag); + ui->port2mag->setText(QString::number(abs(port2))); + ui->port2phase->setText(QString::number(arg(port2)*180/M_PI)); + + ui->refmin->setText(QString::number(status.VD0.refmin)); + ui->refmax->setText(QString::number(status.VD0.refmax)); + auto ref = complex(status.VD0.refreal, status.VD0.refimag); + ui->refmag->setText(QString::number(abs(ref))); + ui->refphase->setText(QString::number(arg(ref)*180/M_PI)); + + port1referenced = port1 / ref; + port2referenced = port2 / ref; + auto port1db = Util::SparamTodB(port1referenced); + auto port2db = Util::SparamTodB(port2referenced); + + ui->port1referenced->setText(QString::number(port1db, 'f', 1) + "db@" + QString::number(arg(port1referenced)*180/M_PI, 'f', 0) + "°"); + ui->port2referenced->setText(QString::number(port2db, 'f', 1) + "db@" + QString::number(arg(port2referenced)*180/M_PI, 'f', 0) + "°"); + + // PLL state + ui->SourceLocked->setChecked(status.VD0.source_locked); + ui->LOLocked->setChecked(status.VD0.LO_locked); +} + +void ManualControlDialogVD0::UpdateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::ManualControl; + auto &m = p.manual.VD0; + // Source highband + m.SourceHighCE = ui->SourceCE->isChecked(); + m.SourceHighPower = ui->SourceHighPower->value(); + m.SourceHighFrequency = ui->SourceHighFrequency->value(); + m.SourceHighLowpass = ui->SourceLowpass->currentIndex(); + // Source lowband + m.SourceLowEN = ui->SourceLowEnable->isChecked(); + m.SourceLowPower = ui->SourceLowPower->currentIndex(); + m.SourceLowFrequency = ui->SourceLowFrequency->value(); + // Source signal path + m.SourceHighband = ui->SwitchHighband->isChecked(); + m.PortSwitch = ui->Port2Switch->isChecked(); + m.attenuator = -ui->Attenuator->value() / 0.25; + // LO High + m.LOHighCE = ui->LOHighCE->isChecked(); + m.LOHighFrequency = ui->LOHighFrequency->value(); + // LOLow + m.LOLowEN = ui->LOLowEnable->isChecked(); + m.LOLowFrequency = ui->LOLowFrequency->value(); + m.LOLowPower = ui->LOLowPower->currentIndex(); + // LO signal path + m.LOHighband = ui->LOSwitchHighband->isChecked(); + // Acquisition + m.Port1EN = ui->Port1Enable->isChecked(); + m.Port2EN = ui->Port2Enable->isChecked(); + m.RefEN = ui->RefEnable->isChecked(); + m.Samples = ui->Samples->value(); + m.WindowType = ui->cbWindow->currentIndex(); + + qDebug() << "Updating manual control state"; + + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.h new file mode 100644 index 0000000..6a9eb88 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.h @@ -0,0 +1,114 @@ +#ifndef MANUALCONTROLDIALOGVD0_H +#define MANUALCONTROLDIALOGVD0_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class ManualControlDialogVD0; +} + +class ManualControlDialogVD0 : public QDialog +{ + Q_OBJECT + +public: + explicit ManualControlDialogVD0(LibreVNADriver &dev, QWidget *parent = nullptr); + ~ManualControlDialogVD0(); + + void setHighSourceChipEnable(bool enable); + bool getHighSourceChipEnable(); + void setHighSourceRFEnable(bool enable); + bool getHighSourceRFEnable(); + bool getHighSourceLocked(); + bool setHighSourcePower(int dBm); + int getHighSourcePower(); + void setHighSourceFrequency(double f); + double getHighSourceFrequency(); + + enum class LPF { + M947, + M1880, + M3500, + None, + }; + + void setHighSourceLPF(LPF lpf); + LPF getHighSourceLPF(); + void setLowSourceEnable(bool enable); + bool getLowSourceEnable(); + bool setLowSourcePower(int mA); + int getLowSourcePower(); + void setLowSourceFrequency(double f); + double getLowSourceFrequency(); + void setHighband(bool high); + bool getHighband(); + void setAttenuator(double att); + double getAttenuator(); + bool setPortSwitch(int port); + int getPortSwitch(); + void setLOHighChipEnable(bool enable); + bool getLOHighChipEnable(); + bool getLOHighLocked(); + void setLOHighFrequency(double f); + double getLOHighFrequency(); + void setIFHighFrequency(double f); + double getIFHighFrequency(); + void setLOLowEnable(bool enable); + bool getLOLowEnable(); + void setLOLowFrequency(double f); + double getLOLowFrequency(); + void setIFLowFrequency(double f); + double getIFLowFrequency(); + void setPort1Enable(bool enable); + bool getPort1Enable(); + void setPort2Enable(bool enable); + bool getPort2Enable(); + void setRefEnable(bool enable); + bool getRefEnable(); + void setNumSamples(int samples); + int getNumSamples(); + + enum class Window { + None = 0, + Kaiser = 1, + Hann = 2, + FlatTop = 3 + }; + + void setWindow(Window w); + Window getWindow(); + + int getPort1MinADC(); + int getPort1MaxADC(); + double getPort1Magnitude(); + double getPort1Phase(); + std::complex getPort1Referenced(); + + int getPort2MinADC(); + int getPort2MaxADC(); + double getPort2Magnitude(); + double getPort2Phase(); + std::complex getPort2Referenced(); + + int getRefMinADC(); + int getRefMaxADC(); + double getRefMagnitude(); + double getRefPhase(); + +public slots: + void NewStatus(Protocol::ManualStatus status); + +private: + void UpdateDevice(); + Ui::ManualControlDialogVD0 *ui; + LibreVNADriver &dev; + std::complex port1referenced; + std::complex port2referenced; + + std::vector commands; +}; + +#endif // MANUALCONTROLDIALOGVD0_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.ui new file mode 100644 index 0000000..55f3a5b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVD0.ui @@ -0,0 +1,812 @@ + + + ManualControlDialogVD0 + + + Qt::WindowModality::ApplicationModal + + + + 0 + 0 + 857 + 747 + + + + Manual System Control + + + + + + + + Signal Generation + + + + + + + + + + Highband Source + + + + + + Chip Enable + + + + + + + true + + + Locked + + + + + + + + + Power: + + + + + + + Frequency: + + + + + + + + + + Lowpass: + + + + + + + + 947MHz + + + + + 1880MHz + + + + + 3500MHz + + + + + None + + + + + + + + 63 + + + 63 + + + + + + + + + + + + + + Lowband Source + + + + + + + + Enable + + + + + + + + + Power: + + + + + + + + 2mA + + + + + 4mA + + + + + 6mA + + + + + 8mA + + + + + + + + Frequency: + + + + + + + + + + + + + + + + + Source Switch + + + + + + Lowband + + + SourceSwitchGroup + + + + + + + Highband + + + true + + + SourceSwitchGroup + + + + + + + + + + + + + + + + Attenuator + + + + + + db + + + -31.750000000000000 + + + 0.000000000000000 + + + 0.250000000000000 + + + + + + + + + + Port Switch + + + + + + Port 1 + + + true + + + PortSwitchGroup + + + + + + + Port 2 + + + PortSwitchGroup + + + + + + + + + + + + + + + + + Signal Analysis + + + + + + + + Highband LO + + + + + + Chip Enable + + + + + + + true + + + Locked + + + + + + + + + Frequency: + + + + + + + false + + + + + + + IF: + + + + + + + + + + + IF + + + + + Absolute + + + + + + + + Freq. Type: + + + + + + + + + + + + Lowband LO + + + + + + Enable + + + + + + + + + Power: + + + + + + + + 2mA + + + + + 4mA + + + + + 6mA + + + + + 8mA + + + + + + + + Freq. Type: + + + + + + + + IF + + + + + Absolute + + + + + + + + Frequency: + + + + + + + + + + IF: + + + + + + + + + + + + + + + + + + + Aquisition + + + + + + Port 1 Enable + + + + + + + Port 2 Enable + + + + + + + Reference Enable + + + + + + + + + Samples: + + + + + + + 16 + + + 131072 + + + 16 + + + 131072 + + + + + + + Window: + + + + + + + + None + + + + + Kaiser + + + + + Hann + + + + + Flat Top + + + + + + + + + + + + + LO Switch + + + + + + Lowband + + + LOSwitchGroup + + + + + + + Highband + + + true + + + LOSwitchGroup + + + + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + Measurements + + + + + + Port 1 + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Port 2 + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Reference + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.cpp new file mode 100644 index 0000000..0f613a3 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.cpp @@ -0,0 +1,179 @@ +#include "manualcontroldialogVE0.h" + +#include "ui_manualcontroldialogVE0.h" +#include "Util/util.h" + +#include +#include +#include +#include + + +using namespace std; + +ManualControlDialogVE0::ManualControlDialogVE0(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::ManualControlDialogVE0), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + ui->src1Freq->setUnit("Hz"); + ui->src1Freq->setPrefixes(" kMG"); + ui->src1Freq->setPrecision(6); + ui->src1Freq->setValueQuiet(100000000); + + ui->src2Freq->setUnit("Hz"); + ui->src2Freq->setPrefixes(" kMG"); + ui->src2Freq->setPrecision(6); + ui->src2Freq->setValueQuiet(100000000); + + ui->LO1Freq->setUnit("Hz"); + ui->LO1Freq->setPrefixes(" kMG"); + ui->LO1Freq->setPrecision(6); + ui->LO1Freq->setValueQuiet(100000000); + + ui->LO2Freq->setUnit("Hz"); + ui->LO2Freq->setPrefixes(" kMG"); + ui->LO2Freq->setPrecision(6); + ui->LO2Freq->setValueQuiet(100000000); + + // Readonly widgets + auto MakeReadOnly = [](QWidget* w) { + w->setAttribute(Qt::WA_TransparentForMouseEvents); + w->setFocusPolicy(Qt::NoFocus); + }; + MakeReadOnly(ui->port1min); + MakeReadOnly(ui->port1max); + MakeReadOnly(ui->port1mag); + MakeReadOnly(ui->port1phase); + MakeReadOnly(ui->port1referenced); + MakeReadOnly(ui->port2min); + MakeReadOnly(ui->port2max); + MakeReadOnly(ui->port2mag); + MakeReadOnly(ui->port2phase); + MakeReadOnly(ui->port2referenced); + MakeReadOnly(ui->refmin); + MakeReadOnly(ui->refmax); + MakeReadOnly(ui->refmag); + MakeReadOnly(ui->refphase); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::ManualStatus) { + NewStatus(p.manualStatus); + } + }, Qt::QueuedConnection); + + connect(ui->src1CE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->src2CE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LO1CE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LO2CE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->srcAmp, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LO1CE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + + connect(ui->srcSel, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->portSel, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->LOSel, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->P1Path, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->P1Amp, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->P2Path, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->P2Amp, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->RefAmp, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + connect(ui->Window, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + + connect(ui->src1Freq, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->src2Freq, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->LO1Freq, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->LO2Freq, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + + connect(ui->src1Pwr, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->src2Pwr, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->LO1Pwr, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->LO2Pwr, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->Samples, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + + UpdateDevice(); +} + +ManualControlDialogVE0::~ManualControlDialogVE0() +{ + emit dev.releaseControl(); + delete ui; +} + +void ManualControlDialogVE0::NewStatus(Protocol::ManualStatus status) +{ + // ADC values + auto &s = status.VE0; + ui->port1min->setText(QString::number(s.port1min)); + ui->port1max->setText(QString::number(s.port1max)); + auto port1 = complex(s.port1real, s.port1imag); + ui->port1mag->setText(QString::number(abs(port1))); + ui->port1phase->setText(QString::number(arg(port1)*180/M_PI)); + + ui->port2min->setText(QString::number(s.port2min)); + ui->port2max->setText(QString::number(s.port2max)); + auto port2 = complex(s.port2real, s.port2imag); + ui->port2mag->setText(QString::number(abs(port2))); + ui->port2phase->setText(QString::number(arg(port2)*180/M_PI)); + + ui->refmin->setText(QString::number(s.refmin)); + ui->refmax->setText(QString::number(s.refmax)); + auto ref = complex(s.refreal, s.refimag); + ui->refmag->setText(QString::number(abs(ref))); + ui->refphase->setText(QString::number(arg(ref)*180/M_PI)); + + port1referenced = port1 / ref; + port2referenced = port2 / ref; + auto port1db = Util::SparamTodB(port1referenced); + auto port2db = Util::SparamTodB(port2referenced); + + ui->port1referenced->setText(QString::number(port1db, 'f', 2) + "db@" + QString::number(arg(port1referenced)*180/M_PI, 'f', 2) + "°"); + ui->port2referenced->setText(QString::number(port2db, 'f', 2) + "db@" + QString::number(arg(port2referenced)*180/M_PI, 'f', 2) + "°"); +} + +void ManualControlDialogVE0::UpdateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::ManualControl; + auto &m = p.manual.VE0; + // Source + m.src1Freq = ui->src1Freq->value(); + m.src2Freq = ui->src2Freq->value(); + m.src1Pwr = ui->src1Pwr->value(); + m.src2Pwr = ui->src2Pwr->value(); + m.src1CE = ui->src1CE->isChecked(); + m.src2CE = ui->src2CE->isChecked(); + m.srcSel = ui->srcSel->currentIndex(); + m.portSel = ui->portSel->currentIndex(); + m.srcAmp = ui->srcAmp->isChecked(); + // LO + m.LO1Freq = ui->LO1Freq->value(); + m.LO2Freq = ui->LO2Freq->value(); + m.LO1Pwr = ui->LO1Pwr->value(); + m.LO2Pwr = ui->LO2Pwr->value(); + m.LO1CE = ui->LO1CE->isChecked(); + m.LO2CE = ui->LO2CE->isChecked(); + m.LOSel = ui->LOSel->currentIndex(); + // Port 1 + m.P1PathSel = ui->P1Path->currentIndex(); + m.P1AmpOn = ui->P1Amp->currentIndex() == 1 ? 1 : 0; + m.P1AmpBypass = ui->P1Amp->currentIndex() == 2 ? 1 : 0; + // Port 2 + m.P2PathSel = ui->P2Path->currentIndex(); + m.P2AmpOn = ui->P2Amp->currentIndex() == 1 ? 1 : 0; + m.P2AmpBypass = ui->P2Amp->currentIndex() == 2 ? 1 : 0; + // Reference + m.RefAmpOn = ui->RefAmp->currentIndex() == 1 ? 1 : 0; + m.RefAmpBypass = ui->RefAmp->currentIndex() == 2 ? 1 : 0; + // Acquisition + m.Samples = ui->Samples->value(); + m.WindowType = ui->Window->currentIndex(); + + qDebug() << "Updating manual control state"; + + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.h new file mode 100644 index 0000000..075661e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.h @@ -0,0 +1,34 @@ +#ifndef MANUALCONTROLDIALOGVE0_H +#define MANUALCONTROLDIALOGVE0_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class ManualControlDialogVE0; +} + +class ManualControlDialogVE0 : public QDialog +{ + Q_OBJECT + +public: + explicit ManualControlDialogVE0(LibreVNADriver &dev, QWidget *parent = nullptr); + ~ManualControlDialogVE0(); + +public slots: + void NewStatus(Protocol::ManualStatus status); + +private: + void UpdateDevice(); + Ui::ManualControlDialogVE0 *ui; + LibreVNADriver &dev; + std::complex port1referenced; + std::complex port2referenced; + + std::vector commands; +}; + +#endif // MANUALCONTROLDIALOGVE0_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.ui new file mode 100644 index 0000000..72db624 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogVE0.ui @@ -0,0 +1,797 @@ + + + ManualControlDialogVE0 + + + Qt::WindowModality::ApplicationModal + + + + 0 + 0 + 777 + 717 + + + + Manual System Control + + + + + + + + + + Signal Generation + + + + + + Source + + + + + + PLL1 + + + + + + Chip Enable + + + + + + + + + Power: + + + + + + + Frequency: + + + + + + + + + + 18 + + + 18 + + + + + + + + + + + + PLL2 + + + + + + Chip Enable + + + + + + + + + Power: + + + + + + + Frequency: + + + + + + + + + + 18 + + + 18 + + + + + + + + + + + + + + PLL selection: + + + + + + + 1 + + + + None + + + + + PLL1 + + + + + PLL2 + + + + + + + + Amplifier: + + + + + + + Enable + + + + + + + Port selection: + + + + + + + + None + + + + + Port 1 + + + + + Port 2 + + + + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + + + + + + + LO + + + + + + PLL1 + + + + + + Chip Enable + + + + + + + + + Power: + + + + + + + Frequency: + + + + + + + + + + 63 + + + 18 + + + + + + + + + + + + PLL2 + + + + + + Chip Enable + + + + + + + + + Power: + + + + + + + Frequency: + + + + + + + + + + 18 + + + 18 + + + + + + + + + + + + + + PLL selection: + + + + + + + + PLL1 + + + + + PLL2 + + + + + + + + + + Qt::Orientation::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + Signal Analysis + + + + + + + + Port 1 + + + + + + Path: + + + + + + + + Reflection + + + + + Transmission + + + + + + + + Amplifier: + + + + + + + + Off + + + + + On + + + + + Bypass + + + + + + + + + + + Port 2 + + + + + + Path: + + + + + + + + Reflection + + + + + Transmission + + + + + + + + Amplifier: + + + + + + + + Off + + + + + On + + + + + Bypass + + + + + + + + + + + + + + + Reference + + + + + + Amplifier: + + + + + + + + Off + + + + + On + + + + + Bypass + + + + + + + + + + + Acquisition + + + + + + Samples: + + + + + + + 8 + + + 131072 + + + 8 + + + 131072 + + + + + + + Window: + + + + + + + + None + + + + + Kaiser + + + + + Hann + + + + + Flat Top + + + + + + + + + + + + + + + + + + Measurements + + + + + + Port 1 + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Port 2 + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Reference + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.cpp new file mode 100644 index 0000000..8c6358a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.cpp @@ -0,0 +1,419 @@ +#include "manualcontroldialogvfe.h" + +#include "ui_manualcontroldialogvfe.h" +#include "Util/util.h" + +#include +#include +#include +#include + + +using namespace std; + +ManualControlDialogVFE::ManualControlDialogVFE(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::ManualControlDialogVFE), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + ui->SourceFrequency->setUnit("Hz"); + ui->SourceFrequency->setPrefixes(" kMG"); + ui->SourceFrequency->setPrecision(6); + ui->SourceFrequency->setValueQuiet(1000000000); + + ui->IF->setUnit("Hz"); + ui->IF->setPrefixes(" kM"); + ui->IF->setPrecision(6); + + ui->LOFrequency->setUnit("Hz"); + ui->LOFrequency->setPrefixes(" kMG"); + ui->LOFrequency->setPrecision(6); + + ui->eCalTarget->setUnit("°"); + ui->eCalTarget->setPrecision(4); + ui->eCalTarget->setValue(0); + + ui->eCalTemp->setUnit("°"); + ui->eCalTemp->setPrecision(4); + + ui->eCalPower->setUnit("W"); + ui->eCalPower->setPrefixes("m "); + ui->eCalPower->setPrecision(3); + + auto UpdateLO = [=]() { + double sourceFreq = ui->SourceFrequency->value(); + if (ui->LOFreqType->currentIndex() == 0) { + // fixed IF mode + ui->LOFrequency->setValueQuiet(sourceFreq + ui->IF->value()); + } else { + // Manual Frequency mode + ui->IF->setValueQuiet(ui->LOFrequency->value() - sourceFreq); + } + }; + + connect(ui->IF, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO(); + }); + connect(ui->LOFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO(); + }); + connect(ui->SourceFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO(); + }); + + ui->IF->setValue(100000); + + // LO mode switch connections + connect(ui->LOFreqType, qOverload(&QComboBox::activated), [=](int index) { + switch(index) { + case 0: + ui->LOFrequency->setEnabled(false); + ui->IF->setEnabled(true); + break; + case 1: + ui->LOFrequency->setEnabled(true); + ui->IF->setEnabled(false); + break; + } + }); + + // Readonly widgets + auto MakeReadOnly = [](QWidget* w) { + w->setAttribute(Qt::WA_TransparentForMouseEvents); + w->setFocusPolicy(Qt::NoFocus); + }; + MakeReadOnly(ui->SourceLocked); + MakeReadOnly(ui->LOlocked); + MakeReadOnly(ui->portmin); + MakeReadOnly(ui->portmax); + MakeReadOnly(ui->portmag); + MakeReadOnly(ui->portphase); + MakeReadOnly(ui->portreferenced); + MakeReadOnly(ui->refmin); + MakeReadOnly(ui->refmax); + MakeReadOnly(ui->refmag); + MakeReadOnly(ui->refphase); + MakeReadOnly(ui->eCalPower); + MakeReadOnly(ui->eCalTemp); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::ManualStatus) { + NewStatus(p.manualStatus); + } + }, Qt::QueuedConnection); + + connect(ui->SourceCE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceRFEN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LOCE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LORFEN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceAmplifier1Enable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceAmplifier2Enable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->Port1Enable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->RefEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->portgain, qOverload(&QComboBox::currentIndexChanged), [=](int) { UpdateDevice(); }); + connect(ui->refgain, qOverload(&QComboBox::currentIndexChanged), [=](int) { UpdateDevice(); }); + + connect(ui->SourceFrequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->LOFrequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->IF, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + + connect(ui->Attenuator, qOverload(&QDoubleSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->Samples, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->cbWindow, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + + connect(ui->eCalState, qOverload(&QComboBox::currentIndexChanged), [=](int) { UpdateDevice(); }); + connect(ui->eCalTarget, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + + UpdateDevice(); +} + +ManualControlDialogVFE::~ManualControlDialogVFE() +{ + emit dev.releaseControl(); + delete ui; +} + +void ManualControlDialogVFE::setSourceChipEnable(bool enable) +{ + ui->SourceCE->setChecked(enable); +} + +bool ManualControlDialogVFE::getSourceChipEnable() +{ + return ui->SourceCE->isChecked(); +} + +void ManualControlDialogVFE::setSourceRFEnable(bool enable) +{ + ui->SourceRFEN->setChecked(enable); +} + +bool ManualControlDialogVFE::getSourceRFEnable() +{ + return ui->SourceRFEN->isChecked(); +} + +bool ManualControlDialogVFE::getSourceLocked() +{ + return ui->SourceLocked->isChecked(); +} + +void ManualControlDialogVFE::setSourceFrequency(double f) +{ + ui->SourceFrequency->setValue(f); +} + +double ManualControlDialogVFE::getSourceFrequency() +{ + return ui->SourceFrequency->value(); +} + +void ManualControlDialogVFE::setAttenuator(double att) +{ + ui->Attenuator->setValue(att); +} + +double ManualControlDialogVFE::getAttenuator() +{ + return ui->Attenuator->value(); +} + +void ManualControlDialogVFE::setSourceAmplifier1Enable(bool enable) +{ + ui->SourceAmplifier1Enable->setChecked(enable); +} + +bool ManualControlDialogVFE::getSourceAmplifier1Enable() +{ + return ui->SourceAmplifier1Enable->isChecked(); +} + +void ManualControlDialogVFE::setSourceAmplifier2Enable(bool enable) +{ + ui->SourceAmplifier2Enable->setChecked(enable); +} + +bool ManualControlDialogVFE::getSourceAmplifier2Enable() +{ + return ui->SourceAmplifier2Enable->isChecked(); +} + +void ManualControlDialogVFE::setLOChipEnable(bool enable) +{ + ui->LOCE->setChecked(enable); +} + +bool ManualControlDialogVFE::getLOChipEnable() +{ + return ui->LOCE->isChecked(); +} + +void ManualControlDialogVFE::setLORFEnable(bool enable) +{ + ui->LORFEN->setChecked(enable); +} + +bool ManualControlDialogVFE::getLORFEnable() +{ + return ui->LORFEN->isChecked(); +} + +bool ManualControlDialogVFE::getLOLocked() +{ + return ui->LOlocked->isChecked(); +} + +void ManualControlDialogVFE::setLOFrequency(double f) +{ + ui->LOFreqType->setCurrentIndex(1); + ui->LOFrequency->setValue(f); +} + +double ManualControlDialogVFE::getLOFrequency() +{ + return ui->LOFrequency->value(); +} + +void ManualControlDialogVFE::setIFFrequency(double f) +{ + ui->LOFreqType->setCurrentIndex(0); + ui->IF->setValue(f); +} + +double ManualControlDialogVFE::getIFFrequency() +{ + return ui->IF->value(); +} + +void ManualControlDialogVFE::setPortEnable(bool enable) +{ + ui->Port1Enable->setChecked(enable); +} + +bool ManualControlDialogVFE::getPortEnable() +{ + return ui->Port1Enable->isChecked(); +} + +void ManualControlDialogVFE::setRefEnable(bool enable) +{ + ui->RefEnable->setChecked(enable); +} + +bool ManualControlDialogVFE::getRefEnable() +{ + return ui->RefEnable->isChecked(); +} + +void ManualControlDialogVFE::setPortGain(Gain g) +{ + ui->portgain->setCurrentIndex((int) g); +} + +ManualControlDialogVFE::Gain ManualControlDialogVFE::getPortGain() +{ + return (Gain) ui->portgain->currentIndex(); +} + +void ManualControlDialogVFE::setRefGain(Gain g) +{ + ui->refgain->setCurrentIndex((int) g); +} + +ManualControlDialogVFE::Gain ManualControlDialogVFE::getRefGain() +{ + return (Gain) ui->refgain->currentIndex(); +} + +void ManualControlDialogVFE::setNumSamples(int samples) +{ + ui->Samples->setValue(samples); +} + +int ManualControlDialogVFE::getNumSamples() +{ + return ui->Samples->value(); +} + +void ManualControlDialogVFE::setWindow(ManualControlDialogVFE::Window w) +{ + ui->cbWindow->setCurrentIndex((int) w); +} + +ManualControlDialogVFE::Window ManualControlDialogVFE::getWindow() +{ + return (Window) ui->cbWindow->currentIndex(); +} + +int ManualControlDialogVFE::getPortMinADC() +{ + return ui->portmin->text().toInt(); +} + +int ManualControlDialogVFE::getPortMaxADC() +{ + return ui->portmax->text().toInt(); +} + +double ManualControlDialogVFE::getPortMagnitude() +{ + return ui->portmag->text().toDouble(); +} + +double ManualControlDialogVFE::getPortPhase() +{ + return ui->portphase->text().toDouble(); +} + +std::complex ManualControlDialogVFE::getPortReferenced() +{ + return portreferenced; +} + +int ManualControlDialogVFE::getRefMinADC() +{ + return ui->refmin->text().toInt(); +} + +int ManualControlDialogVFE::getRefMaxADC() +{ + return ui->refmax->text().toInt(); +} + +double ManualControlDialogVFE::getRefMagnitude() +{ + return ui->refmag->text().toDouble(); +} + +double ManualControlDialogVFE::getRefPhase() +{ + return ui->refphase->text().toDouble(); +} + +void ManualControlDialogVFE::NewStatus(Protocol::ManualStatus status) +{ + // ADC values + ui->portmin->setText(QString::number(status.VFE.portmin)); + ui->portmax->setText(QString::number(status.VFE.portmax)); + auto port = complex(status.VFE.portreal, status.VFE.portimag); + ui->portmag->setText(QString::number(abs(port))); + ui->portphase->setText(QString::number(arg(port)*180/M_PI)); + + ui->refmin->setText(QString::number(status.VFE.refmin)); + ui->refmax->setText(QString::number(status.VFE.refmax)); + auto ref = complex(status.VFE.refreal, status.VFE.refimag); + ui->refmag->setText(QString::number(abs(ref))); + ui->refphase->setText(QString::number(arg(ref)*180/M_PI)); + + portreferenced = port / ref; + auto portdb = Util::SparamTodB(portreferenced); + + ui->portreferenced->setText(QString::number(portdb, 'f', 1) + "db@" + QString::number(arg(portreferenced)*180/M_PI, 'f', 0) + "°"); + + // PLL state + ui->SourceLocked->setChecked(status.VFE.source_locked); + ui->LOlocked->setChecked(status.VFE.LO_locked); + + // eCal + ui->eCalTemp->setValue((double) status.VFE.temp_eCal / 100.0); + ui->eCalPower->setValue((double) status.VFE.power_heater / 1000.0); +} + +void ManualControlDialogVFE::UpdateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::ManualControl; + auto &m = p.manual.VFE; + // Source highband + m.SourceCE = ui->SourceCE->isChecked(); + m.SourceRFEN = ui->SourceRFEN->isChecked(); + m.SourceFrequency = ui->SourceFrequency->value(); + m.SourceAmplifier1EN = ui->SourceAmplifier1Enable->isChecked(); + m.SourceAmplifier2EN = ui->SourceAmplifier2Enable->isChecked(); + m.attenuator = -ui->Attenuator->value() / 0.25; + // LO + m.LOCE = ui->LOCE->isChecked(); + m.LORFEN = ui->LORFEN->isChecked(); + m.LOFrequency = ui->LOFrequency->value(); + + // Acquisition + m.PortEN = ui->Port1Enable->isChecked(); + m.PortGain = ui->portgain->currentIndex(); + m.RefEN = ui->RefEnable->isChecked(); + m.RefGain = ui->refgain->currentIndex(); + m.Samples = ui->Samples->value(); + m.WindowType = ui->cbWindow->currentIndex(); + + // eCal + m.eCal_state = ui->eCalState->currentIndex(); + m.eCal_target = ui->eCalTarget->value() * 100; + + qDebug() << "Updating manual control state"; + + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.h new file mode 100644 index 0000000..f5f1937 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.h @@ -0,0 +1,102 @@ +#ifndef MANUALCONTROLDIALOGVFE_H +#define MANUALCONTROLDIALOGVFE_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class ManualControlDialogVFE; +} + +class ManualControlDialogVFE : public QDialog +{ + Q_OBJECT + +public: + explicit ManualControlDialogVFE(LibreVNADriver &dev, QWidget *parent = nullptr); + ~ManualControlDialogVFE(); + + void setSourceChipEnable(bool enable); + bool getSourceChipEnable(); + void setSourceRFEnable(bool enable); + bool getSourceRFEnable(); + bool getSourceLocked(); + void setSourceFrequency(double f); + double getSourceFrequency(); + + void setAttenuator(double att); + double getAttenuator(); + void setSourceAmplifier1Enable(bool enable); + bool getSourceAmplifier1Enable(); + void setSourceAmplifier2Enable(bool enable); + bool getSourceAmplifier2Enable(); + + void setLOChipEnable(bool enable); + bool getLOChipEnable(); + void setLORFEnable(bool enable); + bool getLORFEnable(); + bool getLOLocked(); + void setLOFrequency(double f); + double getLOFrequency(); + void setIFFrequency(double f); + double getIFFrequency(); + void setPortEnable(bool enable); + bool getPortEnable(); + void setRefEnable(bool enable); + bool getRefEnable(); + + enum class Gain { + G1 = 0, + G10 = 1, + G20 = 2, + G30 = 3, + G40 = 4, + G60 = 5, + G80 = 6, + G120 = 7, + G157 = 8, + G0_25 = 9, + }; + + void setPortGain(Gain g); + Gain getPortGain(); + void setRefGain(Gain g); + Gain getRefGain(); + + void setNumSamples(int samples); + int getNumSamples(); + + enum class Window { + None = 0, + Kaiser = 1, + Hann = 2, + FlatTop = 3 + }; + + void setWindow(Window w); + Window getWindow(); + + int getPortMinADC(); + int getPortMaxADC(); + double getPortMagnitude(); + double getPortPhase(); + std::complex getPortReferenced(); + + int getRefMinADC(); + int getRefMaxADC(); + double getRefMagnitude(); + double getRefPhase(); + +public slots: + void NewStatus(Protocol::ManualStatus status); + +private: + void UpdateDevice(); + Ui::ManualControlDialogVFE *ui; + LibreVNADriver &dev; + std::complex portreferenced; +}; + +#endif // MANUALCONTROLDIALOGVFE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.ui new file mode 100644 index 0000000..59f6271 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvfe.ui @@ -0,0 +1,661 @@ + + + ManualControlDialogVFE + + + + 0 + 0 + 816 + 588 + + + + Form + + + + + + + + + + Signal Generation + + + + + + + + Source + + + + + + Chip Enable + + + + + + + RF Enable + + + + + + + true + + + Locked + + + + + + + + + Frequency: + + + + + + + + + + + + + + + + + + + Attenuator + + + + + + db + + + -31.750000000000000 + + + 0.000000000000000 + + + 0.250000000000000 + + + + + + + + + + Amplifier + + + + + + Enable Amp1 + + + false + + + + + + + Enable Amp2 + + + + + + + + + + + + + + + Signal Analysis + + + + + + LO + + + + + + + + Chip Enable + + + + + + + RF Enable + + + + + + + true + + + Locked + + + + + + + + + Freq. Type: + + + + + + + + IF + + + + + Absolute + + + + + + + + Frequency: + + + + + + + false + + + + + + + IF1: + + + + + + + + + + + + + + + + + Aquisition + + + + + + Port Enable + + + + + + + Reference Enable + + + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + Samples: + + + + + + + 96 + + + 16384 + + + 16 + + + 16384 + + + + + + + Window: + + + + + + + + None + + + + + Kaiser + + + + + Hann + + + + + Flat Top + + + + + + + + Reference PGA gain: + + + + + + + Port PGA gain: + + + + + + + + + + + + + + + eCal + + + + + + Target temperature: + + + + + + + + + + State: + + + + + + + + Port + + + + + Open + + + + + Short + + + + + Load + + + + + + + + + + + + + Measurements + + + + + + Port + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Reference + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + + + + + + eCal + + + + + + Temperature: + + + + + + + Qt::NoFocus + + + + + + + Heater Power: + + + + + + + Qt::NoFocus + + + + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.cpp new file mode 100644 index 0000000..07480cb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.cpp @@ -0,0 +1,432 @@ +#include "manualcontroldialogvff.h" + +#include "ui_manualcontroldialogvff.h" +#include "Util/util.h" + +#include +#include +#include +#include + + +using namespace std; + +ManualControlDialogVFF::ManualControlDialogVFF(LibreVNADriver &dev, QWidget *parent) : + QDialog(parent), + ui(new Ui::ManualControlDialogVFF), + dev(dev) +{ + ui->setupUi(this); + setAttribute(Qt::WA_DeleteOnClose); + + emit dev.acquireControl(); + + ui->SourceFrequency->setUnit("Hz"); + ui->SourceFrequency->setPrefixes(" kMG"); + ui->SourceFrequency->setPrecision(6); + ui->SourceFrequency->setValueQuiet(1000000000); + + ui->IF->setUnit("Hz"); + ui->IF->setPrefixes(" kM"); + ui->IF->setPrecision(6); + + ui->LOFrequency->setUnit("Hz"); + ui->LOFrequency->setPrefixes(" kMG"); + ui->LOFrequency->setPrecision(6); + + auto UpdateLO = [=]() { + double sourceFreq = ui->SourceFrequency->value(); + if (ui->LOFreqType->currentIndex() == 0) { + // fixed IF mode + ui->LOFrequency->setValueQuiet(sourceFreq + ui->IF->value()); + } else { + // Manual Frequency mode + ui->IF->setValueQuiet(ui->LOFrequency->value() - sourceFreq); + } + }; + + connect(ui->IF, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO(); + }); + connect(ui->LOFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO(); + }); + connect(ui->SourceFrequency, &SIUnitEdit::valueChanged, [=](double) { + UpdateLO(); + }); + + ui->IF->setValue(100000); + + // LO mode switch connections + connect(ui->LOFreqType, qOverload(&QComboBox::activated), [=](int index) { + switch(index) { + case 0: + ui->LOFrequency->setEnabled(false); + ui->IF->setEnabled(true); + break; + case 1: + ui->LOFrequency->setEnabled(true); + ui->IF->setEnabled(false); + break; + } + }); + + // Readonly widgets + auto MakeReadOnly = [](QWidget* w) { + w->setAttribute(Qt::WA_TransparentForMouseEvents); + w->setFocusPolicy(Qt::NoFocus); + }; + MakeReadOnly(ui->SourceLocked); + MakeReadOnly(ui->LOlocked); + MakeReadOnly(ui->portmin); + MakeReadOnly(ui->portmax); + MakeReadOnly(ui->portmag); + MakeReadOnly(ui->portphase); + MakeReadOnly(ui->portreferenced); + MakeReadOnly(ui->refmin); + MakeReadOnly(ui->refmax); + MakeReadOnly(ui->refmag); + MakeReadOnly(ui->refphase); + + connect(&dev, &LibreVNADriver::receivedPacket, this, [=](const Protocol::PacketInfo &p){ + if(p.type == Protocol::PacketType::ManualStatus) { + NewStatus(p.manualStatus); + } + }, Qt::QueuedConnection); + + connect(ui->SourceCE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceRFEN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LOCE, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LORFEN, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->SourceAmplifierEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->Port1Enable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->RefEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->portgain, qOverload(&QComboBox::currentIndexChanged), [=](int) { UpdateDevice(); }); + connect(ui->refgain, qOverload(&QComboBox::currentIndexChanged), [=](int) { UpdateDevice(); }); + + connect(ui->SourcePower, qOverload(&QComboBox::currentIndexChanged), [=](int) { UpdateDevice(); }); + connect(ui->SourceFrequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->LOAmplifierEnable, &QCheckBox::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LOExternal, &QRadioButton::toggled, [=](bool) { UpdateDevice(); }); + connect(ui->LOFrequency, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + connect(ui->IF, &SIUnitEdit::valueChanged, [=](double) { UpdateDevice(); }); + + connect(ui->Attenuator, qOverload(&QDoubleSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->Samples, qOverload(&QSpinBox::valueChanged), [=](double) { UpdateDevice(); }); + connect(ui->cbWindow, qOverload(&QComboBox::activated), [=](int) { UpdateDevice(); }); + + UpdateDevice(); +} + +ManualControlDialogVFF::~ManualControlDialogVFF() +{ + emit dev.releaseControl(); + delete ui; +} + +void ManualControlDialogVFF::setSourceChipEnable(bool enable) +{ + ui->SourceCE->setChecked(enable); +} + +bool ManualControlDialogVFF::getSourceChipEnable() +{ + return ui->SourceCE->isChecked(); +} + +void ManualControlDialogVFF::setSourceRFEnable(bool enable) +{ + ui->SourceRFEN->setChecked(enable); +} + +bool ManualControlDialogVFF::getSourceRFEnable() +{ + return ui->SourceRFEN->isChecked(); +} + +bool ManualControlDialogVFF::getSourceLocked() +{ + return ui->SourceLocked->isChecked(); +} + +static constexpr double powers[8] = {-1, +1, +2.5, +3.5, +4.5, +5.5, +6.5, +7}; + +bool ManualControlDialogVFF::setSourcePower(double dBm) +{ + for(unsigned int i=0;i<8;i++) { + if(dBm == powers[i]) { + ui->SourcePower->setCurrentIndex(i); + return true; + } + } + // invalid power setting + return false; +} + +double ManualControlDialogVFF::getSourcePower() +{ + return powers[ui->SourcePower->currentIndex()]; +} + +void ManualControlDialogVFF::setSourceFrequency(double f) +{ + ui->SourceFrequency->setValue(f); +} + +double ManualControlDialogVFF::getSourceFrequency() +{ + return ui->SourceFrequency->value(); +} + +void ManualControlDialogVFF::setAttenuator(double att) +{ + ui->Attenuator->setValue(att); +} + +double ManualControlDialogVFF::getAttenuator() +{ + return ui->Attenuator->value(); +} + +void ManualControlDialogVFF::setSourceAmplifierEnable(bool enable) +{ + ui->SourceAmplifierEnable->setChecked(enable); +} + +bool ManualControlDialogVFF::getSourceAmplifierEnable() +{ + return ui->SourceAmplifierEnable->isChecked(); +} + +void ManualControlDialogVFF::setLOAmplifierEnable(bool enable) +{ + ui->LOAmplifierEnable->setChecked(enable); +} + +bool ManualControlDialogVFF::getLOAmplifierEnable() +{ + return ui->LOAmplifierEnable->isChecked(); +} + +void ManualControlDialogVFF::setLOPath(bool external) +{ + if(external) { + ui->LOExternal->setChecked(true); + } else { + ui->LOInternal->setChecked(true); + } +} + +bool ManualControlDialogVFF::getLOPath() +{ + return ui->LOExternal->isChecked(); +} + +void ManualControlDialogVFF::setLOChipEnable(bool enable) +{ + ui->LOCE->setChecked(enable); +} + +bool ManualControlDialogVFF::getLOChipEnable() +{ + return ui->LOCE->isChecked(); +} + +void ManualControlDialogVFF::setLORFEnable(bool enable) +{ + ui->LORFEN->setChecked(enable); +} + +bool ManualControlDialogVFF::getLORFEnable() +{ + return ui->LORFEN->isChecked(); +} + +bool ManualControlDialogVFF::getLOLocked() +{ + return ui->LOlocked->isChecked(); +} + +void ManualControlDialogVFF::setLOFrequency(double f) +{ + ui->LOFreqType->setCurrentIndex(1); + ui->LOFrequency->setValue(f); +} + +double ManualControlDialogVFF::getLOFrequency() +{ + return ui->LOFrequency->value(); +} + +void ManualControlDialogVFF::setIFFrequency(double f) +{ + ui->LOFreqType->setCurrentIndex(0); + ui->IF->setValue(f); +} + +double ManualControlDialogVFF::getIFFrequency() +{ + return ui->IF->value(); +} + +void ManualControlDialogVFF::setPortEnable(bool enable) +{ + ui->Port1Enable->setChecked(enable); +} + +bool ManualControlDialogVFF::getPortEnable() +{ + return ui->Port1Enable->isChecked(); +} + +void ManualControlDialogVFF::setRefEnable(bool enable) +{ + ui->RefEnable->setChecked(enable); +} + +bool ManualControlDialogVFF::getRefEnable() +{ + return ui->RefEnable->isChecked(); +} + +void ManualControlDialogVFF::setPortGain(Gain g) +{ + ui->portgain->setCurrentIndex((int) g); +} + +ManualControlDialogVFF::Gain ManualControlDialogVFF::getPortGain() +{ + return (Gain) ui->portgain->currentIndex(); +} + +void ManualControlDialogVFF::setRefGain(Gain g) +{ + ui->refgain->setCurrentIndex((int) g); +} + +ManualControlDialogVFF::Gain ManualControlDialogVFF::getRefGain() +{ + return (Gain) ui->refgain->currentIndex(); +} + +void ManualControlDialogVFF::setNumSamples(int samples) +{ + ui->Samples->setValue(samples); +} + +int ManualControlDialogVFF::getNumSamples() +{ + return ui->Samples->value(); +} + +void ManualControlDialogVFF::setWindow(ManualControlDialogVFF::Window w) +{ + ui->cbWindow->setCurrentIndex((int) w); +} + +ManualControlDialogVFF::Window ManualControlDialogVFF::getWindow() +{ + return (Window) ui->cbWindow->currentIndex(); +} + +int ManualControlDialogVFF::getPortMinADC() +{ + return ui->portmin->text().toInt(); +} + +int ManualControlDialogVFF::getPortMaxADC() +{ + return ui->portmax->text().toInt(); +} + +double ManualControlDialogVFF::getPortMagnitude() +{ + return ui->portmag->text().toDouble(); +} + +double ManualControlDialogVFF::getPortPhase() +{ + return ui->portphase->text().toDouble(); +} + +std::complex ManualControlDialogVFF::getPortReferenced() +{ + return portreferenced; +} + +int ManualControlDialogVFF::getRefMinADC() +{ + return ui->refmin->text().toInt(); +} + +int ManualControlDialogVFF::getRefMaxADC() +{ + return ui->refmax->text().toInt(); +} + +double ManualControlDialogVFF::getRefMagnitude() +{ + return ui->refmag->text().toDouble(); +} + +double ManualControlDialogVFF::getRefPhase() +{ + return ui->refphase->text().toDouble(); +} + +void ManualControlDialogVFF::NewStatus(Protocol::ManualStatus status) +{ + // ADC values + ui->portmin->setText(QString::number(status.VFF.portmin)); + ui->portmax->setText(QString::number(status.VFF.portmax)); + auto port = complex(status.VFF.portreal, status.VFF.portimag); + ui->portmag->setText(QString::number(abs(port))); + ui->portphase->setText(QString::number(arg(port)*180/M_PI)); + + ui->refmin->setText(QString::number(status.VFF.refmin)); + ui->refmax->setText(QString::number(status.VFF.refmax)); + auto ref = complex(status.VFF.refreal, status.VFF.refimag); + ui->refmag->setText(QString::number(abs(ref))); + ui->refphase->setText(QString::number(arg(ref)*180/M_PI)); + + portreferenced = port / ref; + auto portdb = Util::SparamTodB(portreferenced); + + ui->portreferenced->setText(QString::number(portdb, 'f', 1) + "db@" + QString::number(arg(portreferenced)*180/M_PI, 'f', 0) + "°"); + + // PLL state + ui->SourceLocked->setChecked(status.VFF.source_locked); + ui->LOlocked->setChecked(status.VFF.LO_locked); +} + +void ManualControlDialogVFF::UpdateDevice() +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::ManualControl; + auto &m = p.manual.VFF; + // Source highband + m.SourceCE = ui->SourceCE->isChecked(); + m.SourceRFEN = ui->SourceRFEN->isChecked(); + m.SourcePower = ui->SourcePower->currentIndex(); + m.SourceFrequency = ui->SourceFrequency->value(); + m.SourceAmplifierEN = ui->SourceAmplifierEnable->isChecked(); + m.attenuator = -ui->Attenuator->value() / 0.25; + // LO + m.LOCE = ui->LOCE->isChecked(); + m.LORFEN = ui->LORFEN->isChecked(); + m.LOAmplifierEN = ui->LOAmplifierEnable->isChecked(); + m.LOexternal = ui->LOExternal->isChecked(); + m.LOFrequency = ui->LOFrequency->value(); + + // Acquisition + m.PortEN = ui->Port1Enable->isChecked(); + m.PortGain = ui->portgain->currentIndex(); + m.RefEN = ui->RefEnable->isChecked(); + m.RefGain = ui->refgain->currentIndex(); + m.Samples = ui->Samples->value(); + m.WindowType = ui->cbWindow->currentIndex(); + + qDebug() << "Updating manual control state"; + + dev.SendPacket(p); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.h new file mode 100644 index 0000000..f5d2b78 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.h @@ -0,0 +1,107 @@ +#ifndef MANUALCONTROLDIALOGVFF_H +#define MANUALCONTROLDIALOGVFF_H + +#include "librevnadriver.h" + +#include +#include + +namespace Ui { +class ManualControlDialogVFF; +} + +class ManualControlDialogVFF : public QDialog +{ + Q_OBJECT + +public: + explicit ManualControlDialogVFF(LibreVNADriver &dev, QWidget *parent = nullptr); + ~ManualControlDialogVFF(); + + void setSourceChipEnable(bool enable); + bool getSourceChipEnable(); + void setSourceRFEnable(bool enable); + bool getSourceRFEnable(); + bool getSourceLocked(); + bool setSourcePower(double dBm); + double getSourcePower(); + void setSourceFrequency(double f); + double getSourceFrequency(); + + void setAttenuator(double att); + double getAttenuator(); + void setSourceAmplifierEnable(bool enable); + bool getSourceAmplifierEnable(); + void setLOAmplifierEnable(bool enable); + bool getLOAmplifierEnable(); + + void setLOPath(bool external); + bool getLOPath(); + + void setLOChipEnable(bool enable); + bool getLOChipEnable(); + void setLORFEnable(bool enable); + bool getLORFEnable(); + bool getLOLocked(); + void setLOFrequency(double f); + double getLOFrequency(); + void setIFFrequency(double f); + double getIFFrequency(); + void setPortEnable(bool enable); + bool getPortEnable(); + void setRefEnable(bool enable); + bool getRefEnable(); + + enum class Gain { + G1 = 0, + G10 = 1, + G20 = 2, + G30 = 3, + G40 = 4, + G60 = 5, + G80 = 6, + G120 = 7, + G157 = 8, + G0_25 = 9, + }; + + void setPortGain(Gain g); + Gain getPortGain(); + void setRefGain(Gain g); + Gain getRefGain(); + + void setNumSamples(int samples); + int getNumSamples(); + + enum class Window { + None = 0, + Kaiser = 1, + Hann = 2, + FlatTop = 3 + }; + + void setWindow(Window w); + Window getWindow(); + + int getPortMinADC(); + int getPortMaxADC(); + double getPortMagnitude(); + double getPortPhase(); + std::complex getPortReferenced(); + + int getRefMinADC(); + int getRefMaxADC(); + double getRefMagnitude(); + double getRefPhase(); + +public slots: + void NewStatus(Protocol::ManualStatus status); + +private: + void UpdateDevice(); + Ui::ManualControlDialogVFF *ui; + LibreVNADriver &dev; + std::complex portreferenced; +}; + +#endif // MANUALCONTROLDIALOGVFF_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.ui new file mode 100644 index 0000000..8e987b8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/manualcontroldialogvff.ui @@ -0,0 +1,676 @@ + + + ManualControlDialogVFF + + + + 0 + 0 + 724 + 464 + + + + Manual System Control + + + + + + + + + + Signal Generation + + + + + + + + Source + + + + + + Chip Enable + + + + + + + RF Enable + + + + + + + true + + + Locked + + + + + + + + + Power: + + + + + + + + -1dBm + + + + + +1dBm + + + + + +2.5dBm + + + + + +3.5dBm + + + + + +4.5dBm + + + + + +5.5dBm + + + + + +6.5dBm + + + + + +7dBm + + + + + + + + Frequency: + + + + + + + + + + + + + + + + + + + Attenuator + + + + + + db + + + -31.750000000000000 + + + 0.000000000000000 + + + 0.250000000000000 + + + + + + + + + + Amplifier + + + + + + Enable + + + false + + + + + + + + + + + + + + + Signal Analysis + + + + + + LO + + + + + + + + Chip Enable + + + + + + + RF Enable + + + + + + + true + + + Locked + + + + + + + + + Freq. Type: + + + + + + + + IF + + + + + Absolute + + + + + + + + Frequency: + + + + + + + false + + + + + + + IF1: + + + + + + + + + + + + + + + + Amplifier + + + + + + Enable + + + false + + + + + + + + + + Path + + + + + + Internal + + + true + + + buttonGroup + + + + + + + External + + + buttonGroup + + + + + + + + + + + + + + + Aquisition + + + + + + Port Enable + + + + + + + Reference Enable + + + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + + 1V/V + + + + + 10V/V + + + + + 20V/V + + + + + 30V/V + + + + + 40V/V + + + + + 60V/V + + + + + 80V/V + + + + + 120V/V + + + + + 157V/V + + + + + 0.25V/V + + + + + + + + Samples: + + + + + + + 96 + + + 16384 + + + 16 + + + 16384 + + + + + + + Window: + + + + + + + + None + + + + + Kaiser + + + + + Hann + + + + + Flat Top + + + + + + + + Reference PGA gain: + + + + + + + Port PGA gain: + + + + + + + + + + + + + + + + + Measurements + + + + + + Port + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + Referenced: + + + + + + + + + + + + + + + Reference + + + + + + + + ADC min: + + + + + + + + + + ADC max: + + + + + + + + + + Magnitude: + + + + + + + + + + Phase: + + + + + + + + + + + + + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + + + + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/receivercaldialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/receivercaldialog.cpp new file mode 100644 index 0000000..b3da3ac --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/receivercaldialog.cpp @@ -0,0 +1,51 @@ +#include "receivercaldialog.h" + +ReceiverCalDialog::ReceiverCalDialog(LibreVNADriver *dev) + : AmplitudeCalDialog(dev) +{ + setWindowTitle("Receiver Calibration Dialog"); + LoadFromDevice(); +} + +void ReceiverCalDialog::SelectedPoint(double frequency, bool) +{ + if(frequency > 0) { + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::SpectrumAnalyzerSettings; + p.spectrumSettings.RBW = 10000; + p.spectrumSettings.UseDFT = 0; + // setup 3 points centered around the measurement frequency (zero span not supported yet) + p.spectrumSettings.f_stop = frequency + 1.0; + p.spectrumSettings.f_start = frequency - 1.0; + p.spectrumSettings.pointNum = automaticSweepPoints; + p.spectrumSettings.Detector = 0; + p.spectrumSettings.SignalID = 1; + p.spectrumSettings.WindowType = 3; + p.spectrumSettings.applyReceiverCorrection = 0; + dev->SendPacket(p); + } else { + // invalid frequency, disable + dev->setIdle(); + } +} + +void ReceiverCalDialog::AmplitudeChanged(AmplitudeCalDialog::CorrectionPoint &point, bool port2) +{ + auto m = averageMeasurement(); + auto *factor = port2 ? &point.correctionPort2 : &point.correctionPort1; + const auto *amplitude = port2 ? &point.amplitudePort2 : &point.amplitudePort1; + const auto *measured = port2 ? &m.port2 : &m.port1; + // calculate correction factor by comparing expected with measured amplitude + *factor = (*amplitude - *measured) * 100.0; +} + +void ReceiverCalDialog::UpdateAmplitude(AmplitudeCalDialog::CorrectionPoint &point) +{ + // This point was just received from the device, it is not possible to know the actual amplitude because the + // applied power level during the calibration is not saved (only the correction value). This is not a problem + // because the correction value is still valid but the missing values look weird in the GUI + point.amplitudePort1 = std::numeric_limits::quiet_NaN(); + point.amplitudePort2 = std::numeric_limits::quiet_NaN(); + point.port1set = true; + point.port2set = true; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/receivercaldialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/receivercaldialog.h new file mode 100644 index 0000000..d84ac59 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/receivercaldialog.h @@ -0,0 +1,19 @@ +#ifndef RECEIVERCALDIALOG_H +#define RECEIVERCALDIALOG_H + +#include "amplitudecaldialog.h" + +class ReceiverCalDialog : public AmplitudeCalDialog +{ + Q_OBJECT +public: + ReceiverCalDialog(LibreVNADriver *dev); +protected: + Protocol::PacketType requestCommand() override { return Protocol::PacketType::RequestReceiverCal; } + Protocol::PacketType pointType() override { return Protocol::PacketType::ReceiverCalPoint; } + void SelectedPoint(double frequency, bool port2) override; + void AmplitudeChanged(CorrectionPoint &point, bool port2) override; + void UpdateAmplitude(CorrectionPoint& point) override; +}; + +#endif // RECEIVERCALDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/sourcecaldialog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/sourcecaldialog.cpp new file mode 100644 index 0000000..41c9181 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/sourcecaldialog.cpp @@ -0,0 +1,47 @@ +#include "sourcecaldialog.h" + +#include + +SourceCalDialog::SourceCalDialog(LibreVNADriver *dev) + : AmplitudeCalDialog(dev) +{ + setWindowTitle("Source Calibration Dialog"); + LoadFromDevice(); +} + +void SourceCalDialog::SelectedPoint(double frequency, bool port2) +{ + Protocol::PacketInfo p = {}; + p.type = Protocol::PacketType::Generator; + + p.generator.frequency = frequency; + p.generator.cdbm_level = excitationAmplitude * 100.0; + if(frequency > 0) { + if(port2) { + p.generator.activePort = 2; + } else { + p.generator.activePort = 1; + } + } else { + // invalid frequency, disable both ports + p.generator.activePort = 0; + } + p.generator.applyAmplitudeCorrection = 0; + dev->SendPacket(p); +} + +void SourceCalDialog::AmplitudeChanged(AmplitudeCalDialog::CorrectionPoint &point, bool port2) +{ + auto *factor = port2 ? &point.correctionPort2 : &point.correctionPort1; + const auto *amplitude = port2 ? &point.amplitudePort2 : &point.amplitudePort1; + // calculate correction factor by comparing expected with measured amplitude + *factor = (excitationAmplitude - *amplitude) * 100.0; +} + +void SourceCalDialog::UpdateAmplitude(AmplitudeCalDialog::CorrectionPoint &point) +{ + point.amplitudePort1 = excitationAmplitude - (double) point.correctionPort1 / 100.0; + point.amplitudePort2 = excitationAmplitude - (double) point.correctionPort2 / 100.0; + point.port1set = true; + point.port2set = true; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/sourcecaldialog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/sourcecaldialog.h new file mode 100644 index 0000000..1dc6c52 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/LibreVNA/sourcecaldialog.h @@ -0,0 +1,21 @@ +#ifndef SOURCECALDIALOG_H +#define SOURCECALDIALOG_H + +#include "amplitudecaldialog.h" + +#include + +class SourceCalDialog : public AmplitudeCalDialog +{ + Q_OBJECT +public: + SourceCalDialog(LibreVNADriver *dev); +protected: + Protocol::PacketType requestCommand() override { return Protocol::PacketType::RequestSourceCal; } + Protocol::PacketType pointType() override { return Protocol::PacketType::SourceCalPoint; } + void SelectedPoint(double frequency, bool port2) override; + void AmplitudeChanged(CorrectionPoint &point, bool port2) override; + void UpdateAmplitude(CorrectionPoint& point) override; +}; + +#endif // SOURCECALDIALOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SNA5000A/sna5000adriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SNA5000A/sna5000adriver.cpp new file mode 100644 index 0000000..54f54ae --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SNA5000A/sna5000adriver.cpp @@ -0,0 +1,546 @@ +#include "sna5000adriver.h" + +#include "CustomWidgets/informationbox.h" +#include "Util/util.h" + +#include +#include +#include + +SNA5000ADriver::SNA5000ADriver() + : DeviceTCPDriver("SNA5000A") +{ + diffGen = new TraceDifferenceGenerator([=](const VNAPoint &p){ + VNAMeasurement m; + m.Z0 = 50.0; + m.pointNum = p.index; + m.frequency = p.frequency; + m.dBm = excitationPower; + m.measurements = p.data; + emit VNAmeasurementReceived(m); + }); + + traceReader.waitingForResponse = false; +// connect(&traceTimer, &QTimer::timeout, this, &SNA5000ADriver::extractTracePoints); +// traceTimer.setSingleShot(true); +} + +SNA5000ADriver::~SNA5000ADriver() +{ + delete diffGen; +} + +std::set SNA5000ADriver::GetAvailableDevices() +{ + std::set ret; + + // attempt to establish a connection to check if the device is available and extract the serial number + detectedDevices.clear(); + auto sock = QTcpSocket(); + for(auto address : getSearchAddresses()) { + sock.connectToHost(address, 5024); + if(sock.waitForConnected(50)) { + // connection successful + sock.waitForReadyRead(100); + auto line = QString(sock.readLine()); + if(line.startsWith("Welcome to the SCPI instrument 'Siglent SNA5")) { + // throw away command prompt ">>" + sock.readLine(); + // looks like we are connected to the correct instrument, request serial number + sock.write("*IDN?\r\n"); + sock.waitForReadyRead(100); + sock.read(1); + sock.waitForReadyRead(100); + line = QString(sock.readLine()); + auto fields = line.split(","); + if(fields.size() == 4) { + detectedDevices[fields[2]] = address; + ret.insert(fields[2]); + } + } + sock.disconnect(); + } + } + return ret; +} + +bool SNA5000ADriver::connectTo(QString serial) +{ + if(connected) { + disconnect(); + } + + // check if this device is actually available + QHostAddress address; + bool available = false; + for(auto d : detectedDevices) { + if(d.first == serial) { + address = d.second; + available = true; + break; + } + } + if(!available) { + // no location information about this device available + return false; + } + + dataSocket.connectToHost(address, 5025); + + // check if connection succeeds + if(!dataSocket.waitForConnected(1000)) { + // socket failed + dataSocket.close(); + InformationBox::ShowError("Error", "TCP connection timed out"); + return false; + } + + connect(&dataSocket, qOverload(&QTcpSocket::errorOccurred), this, [this](QAbstractSocket::SocketError err) { + if(err == QAbstractSocket::SocketTimeoutError) { + // ignore, these are triggered by the query function + } else { + emit ConnectionLost(); + } + }, Qt::QueuedConnection); + + // grab model information + dataSocket.write("*IDN?\r\n"); + dataSocket.waitForReadyRead(100); + auto line = QString(dataSocket.readLine()); + auto fields = line.split(","); + if(fields.size() != 4) { + dataSocket.close(); + InformationBox::ShowError("Error", "Invalid *IDN? response"); + return false; + } + + this->serial = fields[2]; + + info = Info(); + info.hardware_version = fields[1]; + info.firmware_version = fields[3].trimmed(); + + const QStringList supportedDevices = {"SNA5002A", "SNA5004A", "SNA5012A", "SNA5014A"}; + + if(!supportedDevices.contains(info.hardware_version)) { + dataSocket.close(); + InformationBox::ShowError("Error", "Invalid hardware version: " + info.hardware_version); + return false; + } + + info.supportedFeatures.insert(DeviceDriver::Feature::VNA); + info.supportedFeatures.insert(DeviceDriver::Feature::VNAFrequencySweep); + info.supportedFeatures.insert(DeviceDriver::Feature::Generator); + + // Extract limits + info.Limits.VNA.ports = queryInt(":SERVICE:PORT:COUNT?"); + info.Limits.VNA.minFreq = queryInt(":SERVICE:SWEEP:FREQENCY:MINIMUM?"); + info.Limits.VNA.maxFreq = queryInt(":SERVICE:SWEEP:FREQENCY:MAXIMUM?"); + info.Limits.VNA.maxPoints = queryInt(":SERVICE:SWEEP:POINTS?"); + info.Limits.VNA.minIFBW = 10; + info.Limits.VNA.maxIFBW = 3000000; + info.Limits.VNA.mindBm = -55; + info.Limits.VNA.maxdBm = 10; + + info.Limits.Generator.ports = info.Limits.VNA.ports; + info.Limits.Generator.minFreq = info.Limits.VNA.minFreq; + info.Limits.Generator.maxFreq = info.Limits.VNA.maxFreq; + info.Limits.Generator.mindBm = info.Limits.VNA.mindBm; + info.Limits.Generator.maxdBm = info.Limits.VNA.maxdBm; + + connected = true; + + // reset to default configuration + dataSocket.write("*RST\r\n"); + + emit InfoUpdated(); + + return true; +} + +void SNA5000ADriver::disconnect() +{ + traceReaderStop(); + connected = false; + dataSocket.close(); +} + +DeviceDriver::Info SNA5000ADriver::getInfo() +{ + return info; +} + +std::set SNA5000ADriver::getFlags() +{ + return std::set(); +} + +QString SNA5000ADriver::getStatus() +{ + return ""; +} + +QStringList SNA5000ADriver::availableVNAMeasurements() +{ + switch(info.Limits.VNA.ports) { + case 2: + return {"S11", "S12", "S21", "S22"}; + case 4: + return {"S11", "S12", "S13", "S14", "S21", "S22", "S23", "S24", "S31", "S32", "S33", "S34", "S41", "S42", "S43", "S44"}; + default: + return {""}; + } +} + +bool SNA5000ADriver::setVNA(const VNASettings &s, std::function cb) +{ + excitationPower = s.dBmStart; + excitedPorts = s.excitedPorts; + + if(!traceReaderStop()) { + emit ConnectionLost(); + return false; + } + + // disable unused traces + for(unsigned int i=1;i<=info.Limits.VNA.ports;i++) { + write(":DISP:WIND:TRAC"+QString::number(i)+" 0"); + } + // enable a trace for every active port + for(auto p : s.excitedPorts) { + write(":DISP:WIND:TRAC"+QString::number(p)+" 1"); + // set the parameter to force the stimulus active at the port + write(":CALC:PAR"+QString::number(p)+":DEF S"+QString::number(p)+QString::number(p)); + } + + // configure the sweep + write(":SENS:FREQ:STAR "+QString::number(s.freqStart)); + write(":SENS:FREQ:STOP "+QString::number(s.freqStop)); + write(":SENS:BWID "+QString::number(s.IFBW)); + write(":SOUR:POW "+QString::number(s.dBmStart)); + write(":SENS:SWEEP:POINTS "+QString::number(s.points)); + +// traceTimer.start(100); + if(cb) { + cb(true); + } + traceReaderRestart(); + return true; +} + +QStringList SNA5000ADriver::availableSGPorts() +{ + switch(info.Limits.Generator.ports) { + case 2: + return {"PORT1", "PORT2"}; + case 4: + return {"PORT1", "PORT2", "PORT3", "PORT4"}; + default: + return {""}; + } +} + +bool SNA5000ADriver::setSG(const SGSettings &s) +{ + // enable SA mode (generator control is only available there) + write(":CALC:CUST:DEF \"SA\""); + + if(s.port == 0) { + // turn off all ports + for(unsigned int i=0;i cb) +{ + if(!connected) { + return false; + } + if(!traceReaderStop()) { + emit ConnectionLost(); + return false; + } +// traceTimer.stop(); + + write("*RST\r\n"); + if(cb) { + cb(true); + } + return true; +} + +QStringList SNA5000ADriver::availableExtRefInSettings() +{ + return {""}; +} + +QStringList SNA5000ADriver::availableExtRefOutSettings() +{ + return {""}; +} + +bool SNA5000ADriver::setExtRef(QString option_in, QString option_out) +{ + Q_UNUSED(option_in) + Q_UNUSED(option_out) + return false; +} + +void SNA5000ADriver::write(QString s) +{ + dataSocket.write(QString(s + "\r\n").toLocal8Bit()); + dataSocket.readAll(); +} + +QString SNA5000ADriver::query(QString s, unsigned int timeout) +{ + dataSocket.write(QString(s + "\r\n").toLocal8Bit()); + if(!waitForLine(timeout)) { + return QString(); + } else { + return QString(dataSocket.readLine()); + } +} + +long long SNA5000ADriver::queryInt(QString s) +{ + auto resp = query(s); + if(resp.isEmpty()) { + return 0; + } else { + return resp.toLongLong(); + } +} + +std::vector SNA5000ADriver::queryDoubleList(QString s) +{ + std::vector ret; + auto resp = query(s, 1000); + if(!resp.isEmpty()) { + QStringList values = resp.split(","); + for(auto v : values) { + ret.push_back(v.toDouble()); + } + } + return ret; +} + +void SNA5000ADriver::extractTracePoints() +{ +// while(connected) { +// qDebug() << "SNA5000 Thread"; +// std::vector xcoord = queryDoubleList(":CALC:DATA:XAXIS?"); +// std::map> data; +// for(auto i : excitedPorts) { +// for(auto j : excitedPorts) { +// QString name = "S"+QString::number(i)+QString::number(j); +// std::vector Sij = queryDoubleList(":SENS:DATA:RAWD? "+name); +// if(Sij.size() != xcoord.size() * 2) { +// // invalid size, abort +// return; +// } +// data[name] = Sij; +// } +// } + +// // Compile VNApoints +// std::vector trace; +// trace.resize(xcoord.size()); +// for(unsigned int i=0;i> tracedata; +// for(auto d : data) { +// tracedata[d.first] = std::complex(d.second[i*2], d.second[i*2+1]); +// } +// trace[i].data = tracedata; +// } + +// diffGen->newTrace(trace); +// QThread::msleep(100); +// } + // traceTimer.start(500); +} + +void SNA5000ADriver::handleIncomingData() +{ + if(!dataSocket.canReadLine()) { + // no complete response yet, ignore + return; + } + traceReader.waitingForResponse = false; + std::vector data; + QStringList values = QString(dataSocket.readLine()).split(","); + for(auto v : values) { + data.push_back(v.toDouble()); + } + if(traceReader.state == 0) { + traceReader.xaxis = data; + } else { + unsigned int comp = 0; + bool handled = false; + for(auto i : excitedPorts) { + for(auto j : excitedPorts) { + comp++; + if(traceReader.state == comp) { + QString name = "S"+QString::number(i)+QString::number(j); + traceReader.data[name] = data; + handled = true; + break; + } + } + if(handled) { + break; + } + } + } + if(traceReader.state >= excitedPorts.size()*excitedPorts.size()) { + // Check size, abort if wrong + bool sizeOkay = true; + for(auto d : traceReader.data) { + if(d.second.size() != traceReader.xaxis.size() * 2) { + sizeOkay = false; + break; + } + } + + if(sizeOkay) { + /* + * The SNA5000A performs the measurements in multiple sweeps (with the stimulus active at one port per sweep). + * E.g. measuring S11/S21 in the first sweep and then S12/S22. The LibreVNA-GUI expects each point of each sweep + * to containg all measured parameters (S11/S12/S21/S22). + * + * Values that are not measured yet are reported as very small values by the SNA5000A. Ignore all datapoints + * where at least one parameter is too small (=not measured yet). This will cause a delay in the displaying of + * measurements but at least we can process complete datapoints afterwards. + */ + + // threshold equals -196dB, we can safely assume that no real measurement will ever below that + constexpr double threshold = 1e-10; + + int lastIndex = -1; + for(unsigned int i=0;i= 0) { + // deteceted incomplete measurements + break; + } + } + if(lastIndex == -1) { + // all measurements complete + lastIndex = traceReader.xaxis.size(); + } + + if(lastIndex > 0) { + // Compile VNApoints + std::vector trace; + trace.resize(lastIndex); + for(int i=0;i> tracedata; + for(auto d : traceReader.data) { + tracedata[d.first] = std::complex(d.second[i*2], d.second[i*2+1]); + } + trace[i].data = tracedata; + } + + diffGen->newTrace(trace); + } + } + traceReader.state = 0; + } else { + // move on to next trace + traceReader.state++; + } + traceReaderStatemachine(); +} + +bool SNA5000ADriver::traceReaderStop(unsigned int timeout) +{ + traceReader.enabled = false; + if(traceReader.waitingForResponse) { + // already issued a command, needs to wait for the response parsing + auto start = QDateTime::currentDateTimeUtc(); + while(traceReader.waitingForResponse) { + if(start.msecsTo(QDateTime::currentDateTimeUtc()) >= timeout) { + // timed out + qWarning() << "Timed out waiting for trace reader to stop"; + return false; + } + QApplication::processEvents(); + } + QObject::disconnect(&dataSocket, &QTcpSocket::readyRead, this, &SNA5000ADriver::handleIncomingData); + return true; + } else { + // already stopped + QObject::disconnect(&dataSocket, &QTcpSocket::readyRead, this, &SNA5000ADriver::handleIncomingData); + return true; + } +} + +void SNA5000ADriver::traceReaderRestart() +{ + traceReader.enabled = true; + traceReader.data.clear(); + traceReader.xaxis.clear(); + traceReader.state = 0; + dataSocket.readAll(); + traceReaderStatemachine(); +} + +void SNA5000ADriver::traceReaderStatemachine() +{ + if(!traceReader.enabled) { + return; + } + if(traceReader.state == 0) { + write(":CALC:DATA:XAXIS?"); + traceReader.waitingForResponse = true; + QObject::connect(&dataSocket, &QTcpSocket::readyRead, this, &SNA5000ADriver::handleIncomingData, Qt::UniqueConnection); + } else { + unsigned int comp = 0; + for(auto i : excitedPorts) { + for(auto j : excitedPorts) { + comp++; + if(traceReader.state == comp) { + QString name = "S"+QString::number(i)+QString::number(j); + write(":SENS:DATA:RAWD? "+name); + traceReader.waitingForResponse = true; + QObject::connect(&dataSocket, &QTcpSocket::readyRead, this, &SNA5000ADriver::handleIncomingData, Qt::UniqueConnection); + return; + } + } + } + } +} + +bool SNA5000ADriver::waitForLine(unsigned int timeout) +{ + auto start = QDateTime::currentDateTimeUtc(); + while(!dataSocket.canReadLine()) { + if(start.msecsTo(QDateTime::currentDateTimeUtc()) >= timeout) { + // timed out + qWarning() << "Timed out waiting for response"; + return false; + } + dataSocket.waitForReadyRead(10); + } + return true; +} + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SNA5000A/sna5000adriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SNA5000A/sna5000adriver.h new file mode 100644 index 0000000..d40a3e0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SNA5000A/sna5000adriver.h @@ -0,0 +1,195 @@ +#ifndef SNA5000ADRIVER_H +#define SNA5000ADRIVER_H + +#include "../devicetcpdriver.h" + +#include "../tracedifferencegenerator.h" + +#include +#include +#include + +class SNA5000ADriver : public DeviceTCPDriver +{ + Q_OBJECT +public: + SNA5000ADriver(); + virtual ~SNA5000ADriver(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() override {return "SNA5000A";} + /** + * @brief Lists all available devices by their serial numbers + * @return Serial numbers of detected devices + */ + virtual std::set GetAvailableDevices() override; + +protected: + /** + * @brief Connects to a device, given by its serial number + * + * @param serial Serial number of device that should be connected to + * @return true if connection successful, otherwise false + */ + virtual bool connectTo(QString serial) override; + /** + * @brief Disconnects from device. Has no effect if no device was connected + */ + virtual void disconnect() override; + +public: + /** + * @brief Returns the serial number of the connected device + * @return Serial number of connected device (empty string if no device is connected) + */ + virtual QString getSerial() override {return serial;} + + /** + * @brief Returns the device information. This function will be called when a device has been connected. Its return value must be valid + * directly after returning from DeviceDriver::connectTo() + * + * Emit the InfoUpdate() signal whenever the return value of this function changes. + * + * @return Device information + */ + virtual Info getInfo() override; + + /** + * @brief Returns a set of all active flags + * + * There is also a convenience function to check a specific flag, see DeviceDriver::asserted() + * + * @return Set of active flags + */ + virtual std::set getFlags() override; + + /** + * @brief Returns the device status string. It will be displayed in the status bar of the application + * + * Emit the StatusUpdated() signal whenever the return value of this function changes + * + * @return Status string + */ + virtual QString getStatus() override; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned VNAMeasurement. + * Typically the S parameters, e.g. this function may return {"S11","S12","S21","S22"} but any other names are also allowed. + * + * @return List of available VNA measurement parameters + */ + virtual QStringList availableVNAMeasurements() override; + + /** + * @brief Configures the VNA and starts a sweep + * @param s VNA settings + * @param cb Callback, must be called after the VNA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setVNA(const VNASettings &s, std::function cb = nullptr) override; + + /** + * @brief Names of available generator ports. + * + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSGPorts() override; + /** + * @brief Configures the generator + * @param s Generator settings + * @return true if configuration successful, false otherwise + */ + virtual bool setSG(const SGSettings &s) override; + + /** + * @brief Sets the device to idle + * + * Stops all sweeps and signal generation + * + * @param cb Callback, must be called after the device has stopped all operations + * @return true if configuration successful, false otherwise + */ + virtual bool setIdle(std::function cb = nullptr) override; + + /** + * @brief Returns the available options for the external reference input + * @return External reference input options + */ + virtual QStringList availableExtRefInSettings() override; + + /** + * @brief Returns the available options for the external reference output + * @return External reference output options + */ + virtual QStringList availableExtRefOutSettings() override; + + /** + * @brief Configures the external reference input/output + * @param option_in Reference input option (one of the options returned by availableExtRefInSettings()) + * @param option_out Reference output option (one of the options returned by availableExtRefOutSettings()) + * @return true if configuration successful, false otherwise + */ + virtual bool setExtRef(QString option_in, QString option_out) override; + +private slots: + void extractTracePoints(); +signals: +private slots: + void handleIncomingData(); +private: + struct { + bool enabled; + unsigned int state; + std::vector xaxis; + std::map> data; + bool waitingForResponse; + } traceReader; + bool traceReaderStop(unsigned int timeout = 1000); + void traceReaderRestart(); + void traceReaderStatemachine(); + bool waitForLine(unsigned int timeout); + void write(QString s); + QString query(QString s, unsigned int timeout = 100); + long long queryInt(QString s); + std::vector queryDoubleList(QString s); + QString serial; + QTcpSocket dataSocket; + + bool connected; + Info info; + + std::vector excitedPorts; + double excitationPower; + + class VNAPoint { + public: + unsigned int index; + double frequency; + std::map> data; + bool operator==(const VNAPoint& rhs) { + if(index != rhs.index || frequency != rhs.frequency || data.size() != rhs.data.size()) { + return false; + } + if(data.size() == 0) { + return true; + } else { + return std::prev(data.end())->second == std::prev(rhs.data.end())->second; + } +// return index == rhs.index && frequency == rhs.frequency && data.size() == rhs.data.size() && std::equal(data.begin(), data.end(), rhs.data.begin()); + } + }; + + TraceDifferenceGenerator *diffGen; + + std::map detectedDevices; +}; + + +#endif // SNA5000ADRIVER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SSA3000X/ssa3000xdriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SSA3000X/ssa3000xdriver.cpp new file mode 100644 index 0000000..3ac8d0f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SSA3000X/ssa3000xdriver.cpp @@ -0,0 +1,338 @@ +#include "ssa3000xdriver.h" + +#include "CustomWidgets/informationbox.h" +#include "Util/util.h" + +#include +#include + +SSA3000XDriver::SSA3000XDriver() + : DeviceTCPDriver("SSA3000X") +{ + diffGen = new TraceDifferenceGenerator([=](const SpectrumPoint &p){ + SAMeasurement m; + m.pointNum = p.index; + m.frequency = p.frequency; + m.measurements["PORT1"] = pow(10.0, p.dBm / 20.0); + emit SAmeasurementReceived(m); + }); + connect(&traceTimer, &QTimer::timeout, this, &SSA3000XDriver::extractTracePoints); + traceTimer.setSingleShot(true); +} + +SSA3000XDriver::~SSA3000XDriver() +{ + delete diffGen; +} + +std::set SSA3000XDriver::GetAvailableDevices() +{ + std::set ret; + + // attempt to establish a connection to check if the device is available and extract the serial number + detectedDevices.clear(); + auto sock = QTcpSocket(); + for(auto address : getSearchAddresses()) { + sock.connectToHost(address, 5024); + if(sock.waitForConnected(50)) { + // connection successful + sock.waitForReadyRead(100); + auto line = QString(sock.readLine()); + if(line.startsWith("Welcome to the SCPI instrument 'Siglent SSA3")) { + // throw away command prompt ">>" + sock.readLine(); + // looks like we are connected to the correct instrument, request serial number + sock.write("*IDN?\r\n"); + sock.waitForReadyRead(100); + sock.read(1); + sock.waitForReadyRead(100); + line = QString(sock.readLine()); + auto fields = line.split(","); + if(fields.size() == 4) { + detectedDevices[fields[2]] = address; + ret.insert(fields[2]); + } + } + sock.disconnect(); + } + } + return ret; +} + +bool SSA3000XDriver::connectTo(QString serial) +{ + if(connected) { + disconnect(); + } + + // check if this device is actually available + QHostAddress address; + bool available = false; + for(auto d : detectedDevices) { + if(d.first == serial) { + address = d.second; + available = true; + break; + } + } + if(!available) { + // no location information about this device available + return false; + } + + dataSocket.connectToHost(address, 5025); + + // check if connection succeeds + if(!dataSocket.waitForConnected(1000)) { + // socket failed + dataSocket.close(); + InformationBox::ShowError("Error", "TCP connection timed out"); + return false; + } + + connect(&dataSocket, qOverload(&QTcpSocket::errorOccurred), this, &SSA3000XDriver::ConnectionLost, Qt::QueuedConnection); + + // grab model information + dataSocket.write("*IDN?\r\n"); + dataSocket.waitForReadyRead(100); + auto line = QString(dataSocket.readLine()); + auto fields = line.split(","); + if(fields.size() != 4) { + dataSocket.close(); + InformationBox::ShowError("Error", "Invalid *IDN? response"); + return false; + } + + this->serial = fields[2]; + + info = Info(); + info.hardware_version = fields[1]; + info.firmware_version = fields[3].trimmed(); + info.supportedFeatures.insert(DeviceDriver::Feature::SA); + info.supportedFeatures.insert(DeviceDriver::Feature::SATrackingGenerator); + info.supportedFeatures.insert(DeviceDriver::Feature::Generator); +// info.supportedFeatures.insert(DeviceDriver::Feature::ExtRefIn); + + double maxFreq = 0; + if(info.hardware_version == "SSA3032X") { + maxFreq = 3200000000; + } else if(info.hardware_version == "SSA3021X") { + maxFreq = 2100000000; + } else { + dataSocket.close(); + InformationBox::ShowError("Error", "Invalid hardware version: " + info.hardware_version); + return false; + } + + info.Limits.SA.ports = 1; + info.Limits.SA.minFreq = 0; + info.Limits.SA.maxFreq = maxFreq; + info.Limits.SA.minRBW = 1; + info.Limits.SA.maxRBW = 3000000; + info.Limits.SA.mindBm = -20; + info.Limits.SA.maxdBm = 0; + info.Limits.Generator.ports = 1; + info.Limits.Generator.minFreq = 0; + info.Limits.Generator.maxFreq = maxFreq; + info.Limits.Generator.mindBm = -20; + info.Limits.Generator.maxdBm = 0; + + connected = true; + + // reset to default configuration + dataSocket.write("*RST\r\n"); + + emit InfoUpdated(); + + return true; +} + +void SSA3000XDriver::disconnect() +{ + dataSocket.close(); + connected = false; +} + +DeviceDriver::Info SSA3000XDriver::getInfo() +{ + return info; +} + +std::set SSA3000XDriver::getFlags() +{ + return std::set(); +} + +QString SSA3000XDriver::getStatus() +{ + return ""; +} + +QStringList SSA3000XDriver::availableSAMeasurements() +{ + return {"PORT1"}; +} + +bool SSA3000XDriver::setSA(const DeviceDriver::SASettings &s, std::function cb) +{ + if(!connected) { + return false; + } + startFreq = s.freqStart; + stopFreq = s.freqStop; + + write(":FREQ:STAR "+QString::number(s.freqStart)); + write(":FREQ:STOP "+QString::number(s.freqStop)); + write(":BWID "+QString::number(s.RBW)); + write(":FREQ:STAR "+QString::number(s.freqStart)); + write(":FREQ:STAR "+QString::number(s.freqStart)); + write(":FREQ:STAR "+QString::number(s.freqStart)); + + QString windowName = ""; + switch(s.window) { + case SASettings::Window::FlatTop: + windowName = "FLATtop"; + break; + case SASettings::Window::Hann: + windowName = "HANNing"; + break; + case SASettings::Window::Kaiser: + windowName = "HAMMing"; // kaiser is not available + break; + case SASettings::Window::None: + case SASettings::Window::Last: + windowName = "RECTangular"; + break; + } + write(":DDEM:FFT:WIND "+windowName); + + QString detName = ""; + switch(s.detector) { + case SASettings::Detector::Average: + detName = "AVERage"; + break; + case SASettings::Detector::Normal: + detName = "NORMAL"; + break; + case SASettings::Detector::NPeak: + detName = "NEGative"; + break; + case SASettings::Detector::PPeak: + case SASettings::Detector::Last: + detName = "POSitive"; + break; + case SASettings::Detector::Sample: + detName = "SAMPle"; + break; + } + write(":DET:TRAC:FUNC "+detName); + + write(":OUTP:STAT " + (s.trackingGenerator ? QString("ON") : QString("OFF"))); + write(":SOUR:POW "+QString::number((int) s.trackingPower)); + + traceTimer.start(100); + if(cb) { + cb(true); + } + + return true; +} + +unsigned int SSA3000XDriver::getSApoints() +{ + return 751; +} + +QStringList SSA3000XDriver::availableSGPorts() +{ + return {"PORT1"}; +} + +bool SSA3000XDriver::setSG(const DeviceDriver::SGSettings &s) +{ + if(!connected) { + return false; + } + if(s.port == 1) { + write(":FREQ:SPAN:ZERO"); + write(":FREQ:CENT "+QString::number(s.freq)); + write(":OUTP:STAT ON"); + write(":SOUR:POW "+QString::number((int) s.dBm)); + } else { + write(":OUTP:STAT OFF"); + } + return true; +} + +bool SSA3000XDriver::setIdle(std::function cb) +{ + if(!connected) { + return false; + } + traceTimer.stop(); + write("*RST\r\n"); + if(cb) { + cb(true); + } + return true; +} + +QStringList SSA3000XDriver::availableExtRefInSettings() +{ + return {""}; +} + +QStringList SSA3000XDriver::availableExtRefOutSettings() +{ + return {""}; +} + +bool SSA3000XDriver::setExtRef(QString option_in, QString option_out) +{ + Q_UNUSED(option_in) + Q_UNUSED(option_out) + return false; +} + +void SSA3000XDriver::write(QString s) +{ + dataSocket.write(QString(s + "\r\n").toLocal8Bit()); + dataSocket.readAll(); +} + +void SSA3000XDriver::extractTracePoints() +{ + if(!connected) { + return; + } + write(":TRAC? 1"); + auto start = QDateTime::currentDateTimeUtc(); + while(!dataSocket.canReadLine()) { + dataSocket.waitForReadyRead(100); + if(start.msecsTo(QDateTime::currentDateTimeUtc()) >= 100) { + // timed out + qWarning() << "Timed out waiting for trace data response"; + return; + } + } + QString line = QString(dataSocket.readLine()); + QStringList values = line.split(","); + // line contains a trailing comma, remove last item + values.pop_back(); + std::vector trace; + for(unsigned int i=0;inewTrace(trace); + traceTimer.start(100); +} + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SSA3000X/ssa3000xdriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SSA3000X/ssa3000xdriver.h new file mode 100644 index 0000000..36486e0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/SSA3000X/ssa3000xdriver.h @@ -0,0 +1,173 @@ +#ifndef SSA3000XDRIVER_H +#define SSA3000XDRIVER_H + +#include "../devicetcpdriver.h" + +#include "../tracedifferencegenerator.h" + +#include +#include +#include + +class SSA3000XDriver : public DeviceTCPDriver +{ +public: + SSA3000XDriver(); + virtual ~SSA3000XDriver(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() override {return "SSA3000X";} + /** + * @brief Lists all available devices by their serial numbers + * @return Serial numbers of detected devices + */ + virtual std::set GetAvailableDevices() override; + +protected: + /** + * @brief Connects to a device, given by its serial number + * + * @param serial Serial number of device that should be connected to + * @return true if connection successful, otherwise false + */ + virtual bool connectTo(QString serial) override; + /** + * @brief Disconnects from device. Has no effect if no device was connected + */ + virtual void disconnect() override; + +public: + /** + * @brief Returns the serial number of the connected device + * @return Serial number of connected device (empty string if no device is connected) + */ + virtual QString getSerial() override {return serial;} + + /** + * @brief Returns the device information. This function will be called when a device has been connected. Its return value must be valid + * directly after returning from DeviceDriver::connectTo() + * + * Emit the InfoUpdate() signal whenever the return value of this function changes. + * + * @return Device information + */ + virtual Info getInfo() override; + + /** + * @brief Returns a set of all active flags + * + * There is also a convenience function to check a specific flag, see DeviceDriver::asserted() + * + * @return Set of active flags + */ + virtual std::set getFlags() override; + + /** + * @brief Returns the device status string. It will be displayed in the status bar of the application + * + * Emit the StatusUpdated() signal whenever the return value of this function changes + * + * @return Status string + */ + virtual QString getStatus() override; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned SAMeasurement. + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSAMeasurements() override; + /** + * @brief Configures the SA and starts a sweep + * @param s SA settings + * @param cb Callback, must be called after the SA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setSA(const SASettings &s, std::function cb = nullptr) override; + + /** + * @brief Returns the number of points in one spectrum analyzer sweep (as configured by the last setSA() call) + * @return Number of points in the sweep + */ + virtual unsigned int getSApoints() override; + + /** + * @brief Names of available generator ports. + * + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSGPorts() override; + /** + * @brief Configures the generator + * @param s Generator settings + * @return true if configuration successful, false otherwise + */ + virtual bool setSG(const SGSettings &s) override; + + /** + * @brief Sets the device to idle + * + * Stops all sweeps and signal generation + * + * @param cb Callback, must be called after the device has stopped all operations + * @return true if configuration successful, false otherwise + */ + virtual bool setIdle(std::function cb = nullptr) override; + + /** + * @brief Returns the available options for the external reference input + * @return External reference input options + */ + virtual QStringList availableExtRefInSettings() override; + + /** + * @brief Returns the available options for the external reference output + * @return External reference output options + */ + virtual QStringList availableExtRefOutSettings() override; + + /** + * @brief Configures the external reference input/output + * @param option_in Reference input option (one of the options returned by availableExtRefInSettings()) + * @param option_out Reference output option (one of the options returned by availableExtRefOutSettings()) + * @return true if configuration successful, false otherwise + */ + virtual bool setExtRef(QString option_in, QString option_out) override; + +private slots: + void extractTracePoints(); +private: + void write(QString s); + QString serial; + QTcpSocket dataSocket; + + bool connected; + Info info; + + double startFreq, stopFreq; + + class SpectrumPoint { + public: + unsigned int index; + double frequency; + double dBm; + bool operator==(const SpectrumPoint& rhs) { + return index == rhs.index && frequency == rhs.frequency && dBm == rhs.dBm; + } + }; + + QTimer traceTimer; + TraceDifferenceGenerator *diffGen; + + std::map detectedDevices; +}; + +#endif // SSA3000XDRIVER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicedriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicedriver.cpp new file mode 100644 index 0000000..49627c5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicedriver.cpp @@ -0,0 +1,198 @@ +#include "devicedriver.h" + +#include "LibreVNA/librevnatcpdriver.h" +#include "LibreVNA/librevnausbdriver.h" +#include "LibreVNA/Compound/compounddriver.h" +#include "SSA3000X/ssa3000xdriver.h" +#include "SNA5000A/sna5000adriver.h" +#include "Harogic/harogicb60.h" + +DeviceDriver *DeviceDriver::activeDriver = nullptr; + +DeviceDriver::~DeviceDriver() +{ + for(auto a : specificActions) { + delete a; + } +} + +std::vector DeviceDriver::getDrivers() +{ + static std::vector ret; + if (ret.size() == 0) { + // first function call + ret.push_back(new LibreVNAUSBDriver); + ret.push_back(new LibreVNATCPDriver); + ret.push_back(new CompoundDriver); + ret.push_back(new SSA3000XDriver); + ret.push_back(new SNA5000ADriver); + ret.push_back(new HarogicB60); + } + return ret; +} + +bool DeviceDriver::connectDevice(QString serial, bool isIndepedentDriver) +{ + if(!isIndepedentDriver) { + if(activeDriver && activeDriver != this) { + activeDriver->disconnect(); + } + } + if(connectTo(serial)) { + if(!isIndepedentDriver) { + activeDriver = this; + } + return true; + } else { + return false; + } +} + +void DeviceDriver::disconnectDevice() +{ + disconnect(); + activeDriver = nullptr; +} + +unsigned int DeviceDriver::SApoints() { + if(activeDriver) { + return activeDriver->getSApoints(); + } else { + // return default value instead + return 1001; + } +} + +Sparam DeviceDriver::VNAMeasurement::toSparam(int ports) const +{ + if(ports == 0) { + // determine number of ports by highest available S parameter + for(const auto &m : measurements) { + if(!m.first.startsWith("S")) { + // something else we can not handle + continue; + } + int to = m.first.mid(1,1).toUInt(); + int from = m.first.mid(2,1).toUInt(); + if(to > ports) { + ports = to; + } + if(from > ports) { + ports = from; + } + } + } + // create S paramters + auto S = Sparam(ports); + // fill data + for(const auto &m : measurements) { + if(!m.first.startsWith("S")) { + // something else we can not handle + continue; + } + int to = m.first.mid(1,1).toUInt(); + int from = m.first.mid(2,1).toUInt(); + S.set(to, from, m.second); + } + return S; +} + +void DeviceDriver::VNAMeasurement::fromSparam(Sparam S, std::vector portMapping) +{ + if(portMapping.size() == 0) { + // set up default port mapping + for(unsigned int i=1;i<=S.ports();i++) { + portMapping.push_back(i); + } + } + for(unsigned int i=0;i intersectFeatures; + std::set_intersection(supportedFeatures.begin(), supportedFeatures.end(), info.supportedFeatures.begin(), info.supportedFeatures.end(), + std::inserter(intersectFeatures, intersectFeatures.begin())); + supportedFeatures = intersectFeatures; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicedriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicedriver.h new file mode 100644 index 0000000..58ecc05 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicedriver.h @@ -0,0 +1,598 @@ +#ifndef DEVICEDRIVER_H +#define DEVICEDRIVER_H + +/** + * This file contains the device interface. + * + * To add support for a new hardware device perform the following steps: + * - Derive from this class + * - Implement all pure virtual functions + * - Implement the virtual functions if the device supports the specific function + * - Add the new driver to getDrivers() + */ + +#include "Tools/parameters.h" +#include "savable.h" +#include "scpi.h" + +#include +#include + +#include +#include + +class DeviceDriver : public QObject +{ + Q_OBJECT +public: + DeviceDriver() {} + virtual ~DeviceDriver(); + + /** + * @brief Returns a list of all available drivers + * @return driverlist + */ + static std::vector getDrivers(); + + /** + * @brief Returns the driver name. It must be unique across all implemented drivers and is used to identify the driver + * @return driver name + */ + virtual QString getDriverName() = 0; + /** + * @brief Lists all available devices by their serial numbers + * @return Serial numbers of detected devices + */ + virtual std::set GetAvailableDevices() = 0; + +protected: + /** + * @brief Connects to a device, given by its serial number + * + * @param serial Serial number of device that should be connected to + * @return true if connection successful, otherwise false + */ + virtual bool connectTo(QString serial) = 0; + /** + * @brief Disconnects from device. Has no effect if no device was connected + */ + virtual void disconnect() = 0; + +public: + /** + * @brief Returns the serial number of the connected device + * @return Serial number of connected device (empty string if no device is connected) + */ + virtual QString getSerial() = 0; + + enum class Feature { + // VNA features + VNA, + VNAFrequencySweep, + VNAPowerSweep, + VNAZeroSpan, + VNALogSweep, + VNADwellTime, + // Generator features + Generator, + // Spectrum analyzer features + SA, + SATrackingGenerator, + SATrackingOffset, + // External reference + ExtRefIn, + ExtRefOut, + }; + + class Info { + public: + Info(); + QString firmware_version; + QString hardware_version; + std::set supportedFeatures; + struct { + struct { + // Number of VNA ports + unsigned int ports; + // Sweep frequency limits in Hz + double minFreq, maxFreq; + // IF bandwidth limits in Hz + double minIFBW, maxIFBW; + // Maximum number of points per sweep + unsigned int maxPoints; + // Stimulus level limits in dBm + double mindBm, maxdBm; + // dwell time limit + double maxDwellTime; + } VNA; + struct { + // Number of ports + unsigned int ports; + // Frequency limits in Hz + double minFreq, maxFreq; + // Output level limits in dBm + double mindBm, maxdBm; + } Generator; + struct { + // Number of ports + unsigned int ports; + // Sweep frequency limits in Hz + double minFreq, maxFreq; + // RBW limits in Hz + double minRBW, maxRBW; + // Output level limits of the tracking generator in dBm + double mindBm, maxdBm; + } SA; + } Limits; + void subset(const Info &info); + }; + + /** + * @brief Returns the device information. This function will be called when a device has been connected. Its return value must be valid + * directly after returning from DeviceDriver::connectTo() + * + * Emit the InfoUpdate() signal whenever the return value of this function changes. + * + * @return Device information + */ + virtual Info getInfo() = 0; +signals: + /** + * @brief Emit this signal whenever the device info has been updated + */ + void InfoUpdated(); +public: + /** + * @brief Checks whether a specific feature is supported + * @param f Feature to check + * @return true if feature is supported, false otherwise + */ + bool supports(Feature f) { return getInfo().supportedFeatures.count(f);} + + /** + * Status flags + */ + enum class Flag { + // The input is overloaded with a signal that is too large + Overload, + // A PLL failed to lock + Unlocked, + // The requested output amplitude can not be reached + Unlevel, + // The external reference input is in use + ExtRef, + }; + + /** + * @brief Returns a set of all active flags + * + * There is also a convenience function to check a specific flag, see DeviceDriver::asserted() + * + * @return Set of active flags + */ + virtual std::set getFlags() = 0; + +signals: + /** + * @brief Emit this signal whenever a flag changes + */ + void FlagsUpdated(); +public: + + /** + * @brief Checks whether a specific flag is asserted + * @param f Flag to check + * @return true if flag is asserted, false otherwise + */ + bool asserted(Flag f) {return getFlags().count(f);} + + /** + * @brief Returns the device status string. It will be displayed in the status bar of the application + * + * Emit the StatusUpdated() signal whenever the return value of this function changes + * + * @return Status string + */ + virtual QString getStatus() {return "";} +signals: + /** + * @brief Emit this signal whenever the device status has changed (return value of getStatus() has changed) + */ + void StatusUpdated(); +public: + /** + * @brief Returns the driver specific settings + * + * The settings are returned as a vector of SettingDescriptions, consisting of: + * - var: Pointer to the setting variable (should be a private member of the derived class) + * - name: Arbitrary string used to persistently store this setting (never visible to the user) + * - def: Default value of the setting + * + * These settings will be persistent across reboots. + * + * @return Map of driver specific settings + */ + std::vector driverSpecificSettings() {return specificSettings;} + + /** + * @brief Returns a widget to edit the driver specific settings. + * + * The widget is displayed in the global settings dialog and allows the user to edit the settings + * specific to this driver. The application takes ownership of the widget after returning, + * create a new widget for every call to this function. If the driver has no specific settings + * or the settings do not need to be editable by the user, return a nullptr. In this case, no + * page for this driver is created in the settings dialog + * @return newly constructed settings widget or nullptr + */ + virtual QWidget* createSettingsWidget() {return nullptr;} + + /** + * @brief Return driver specific actions. + * + * The returned actions will be appended to the device menu. + * + * @return List of actions + */ + std::vector driverSpecificActions() {return specificActions;} + + /** + * @brief Return driver specific SCPI commands + * + * The returned commands will be added to the :DEV SCPI node + * + * @return List of SCPI commands + */ + std::vector driverSpecificSCPICommands() {return specificSCPIcommands;} + + /** + * @brief Return driver specific SCPI nodes + * + * The returned nodes (which may contain further nodes/commands) will be added to the :DEV SCPI node + * + * @return List of SCPI nodes + */ + std::vector driverSpecificSCPINodes() {return specificSCPInodes;} + + class VNASettings { + public: + // Start/stop frequency. Both values will be identical for power sweeps and zero span + double freqStart, freqStop; + // Start/stop stimulus level. Both values will be identical for frequency sweeps and zero span + double dBmStart, dBmStop; + // IF bandwidth + double IFBW; + // Number of points in the sweep + int points; + // Logarithmic sweep flag, set if sweep should be logarithmic + bool logSweep; + // List of ports that should be excited during the sweep (port count starts at 1) + std::vector excitedPorts; + // amount of time the source stays at each point before taking measurements. Ignore if not supported + double dwellTime; + }; + + class VNAMeasurement { + public: + // Number of the point in the sweep (starts at 0) + unsigned int pointNum; + // Characteristic impedance of the measurement result (typically 50 Ohm) + double Z0; + union { + struct { + // for non-zero span + // Frequency of the point + double frequency; + // Stimulus level of the point + double dBm; + }; + struct { + // for zero span + // time in us since first datapoint + double us; + }; + }; + // S parameter measurements + // Key: S parameter name, e.g. "S11" + // Value: complex measurement in real/imag (linear, not in dB) + std::map> measurements; + + Sparam toSparam(int ports = 0) const; + /* Sets the measurement values in the VNAmeasurement (if existent) to the values from the S parameter matrix. + * The portMapping parameter can be used to specify which values to set from which S parameter: + * Example: S parameter contains 4 port S parameters, but the VNAmeasurement is 2 port only with this mapping: + * VNAMeasurement port | S parameter port + * --------------------|----------------- + * 1 | 2 + * 2 | 4 + * This means that we want S22 (from the 4 port S parameter) stored as S11 (in the VNAMeasurement). + * Function call for this example: fromSparam(S, {2,4}) + * + * If no portMapping is specified, the port order (and mapping) from the S paramters are kept. + */ + void fromSparam(Sparam S, std::vector portMapping = {}); + VNAMeasurement interpolateTo(const VNAMeasurement &to, double a); + }; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned VNAMeasurement. + * Typically the S parameters, e.g. this function may return {"S11","S12","S21","S22"} but any other names are also allowed. + * + * @return List of available VNA measurement parameters + */ + virtual QStringList availableVNAMeasurements() {return {};} + + /** + * @brief Configures the VNA and starts a sweep + * @param s VNA settings + * @param cb Callback, must be called after the VNA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setVNA(const VNASettings &s, std::function cb = nullptr) {Q_UNUSED(s) Q_UNUSED(cb) return false;} +signals: + /** + * @brief This signal must be emitted whenever a VNA measurement is complete and should be passed on to the GUI + * @param m VNA measurement + */ + void VNAmeasurementReceived(VNAMeasurement m); + +public: + class SASettings { + public: + enum class Window { + None = 0, + Kaiser = 1, + Hann = 2, + FlatTop = 3, + Last + }; + enum class Detector { + PPeak = 0, + NPeak = 1, + Sample = 2, + Normal = 3, + Average = 4, + Last + }; + // Start/stop frequency. Both values will be identical for zero span + double freqStart, freqStop; + // Resolution bandwidth + double RBW; + // Window type + Window window; + // Detector type + Detector detector; + // Tracking generator enable + bool trackingGenerator; + // Port at which the tracking generator is active. Port count starts at 1 + int trackingPort; + // Offset frequency of the tracking generator + double trackingOffset; + // Output level of the tracking generator + double trackingPower; + }; + class SAMeasurement { + public: + // Number of point in the sweep + unsigned int pointNum; + union { + struct { + // for non-zero span + double frequency; + }; + struct { + // for zero span + double us; // time in us since first datapoint + }; + }; + // S parameter measurements + // Key: S parameter name, e.g. "PORT1" + // Value: measurement in linear voltage (linear, not in dB). A value of 1.0 means 0dBm + std::map measurements; + }; + + /** + * @brief Names of available measurements. + * + * The names must be identical to the names used in the returned SAMeasurement. + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSAMeasurements() {return {};} + /** + * @brief Configures the SA and starts a sweep + * @param s SA settings + * @param cb Callback, must be called after the SA has been configured + * @return true if configuration successful, false otherwise + */ + virtual bool setSA(const SASettings &s, std::function cb = nullptr) {Q_UNUSED(s) Q_UNUSED(cb) return false;} + + /** + * @brief Returns the number of points in one spectrum analyzer sweep (as configured by the last setSA() call) + * @return Number of points in the sweep + */ + virtual unsigned int getSApoints() {return 0;} +signals: + /** + * @brief This signal must be emitted whenever a SA measurement is complete and should be passed on to the GUI + * @param m SA measurement + */ + void SAmeasurementReceived(SAMeasurement m); + +public: + class SGSettings { + public: + // Output frequency + double freq; + // Output signal level + double dBm; + // Output port. Port count starts at 1, set to zero to disable all ports + int port; + }; + + /** + * @brief Names of available generator ports. + * + * Typically the port names, e.g. this function may return {"PORT1","PORT2"} but any other names are also allowed. + * + * @return List of available SA measurement parameters + */ + virtual QStringList availableSGPorts() {return {};} + /** + * @brief Configures the generator + * @param s Generator settings + * @return true if configuration successful, false otherwise + */ + virtual bool setSG(const SGSettings &s) {Q_UNUSED(s) return false;} + + /** + * @brief Sets the device to idle + * + * Stops all sweeps and signal generation + * + * @param cb Callback, must be called after the device has stopped all operations + * @return true if configuration successful, false otherwise + */ + virtual bool setIdle(std::function cb = nullptr) {Q_UNUSED(cb) return false;} + + /** + * @brief Returns the available options for the external reference input + * @return External reference input options + */ + virtual QStringList availableExtRefInSettings() {return {};} + + /** + * @brief Returns the available options for the external reference output + * @return External reference output options + */ + virtual QStringList availableExtRefOutSettings() {return {};} + + /** + * @brief Configures the external reference input/output + * @param option_in Reference input option (one of the options returned by availableExtRefInSettings()) + * @param option_out Reference output option (one of the options returned by availableExtRefOutSettings()) + * @return true if configuration successful, false otherwise + */ + virtual bool setExtRef(QString option_in, QString option_out) {Q_UNUSED(option_in) Q_UNUSED(option_out) return false;} + + /** + * @brief maximumSupportedPorts Maximum number of supported ports by the GUI. No device driver may report a higher number of ports than this value + */ + static constexpr unsigned int maximumSupportedPorts = 8; + + static Info getInfo(DeviceDriver* driver) { + if(driver) { + return driver->getInfo(); + } else { + return Info(); + } + } + + /** + * @brief Registers metatypes within the Qt Framework. + * + * If the device driver uses a queued signal/slot connection with custom data types, these types must be registered before emitting the signal. + * Register them within this function with qRegisterMetaType("Name"); + */ + virtual void registerTypes() {} + +signals: + /** + * @brief Emit this signal when the device connection has been lost unexpectedly + * + * The device driver should do nothing else, the disconnect() function will be called from the application after this signal has been emitted. + */ + void ConnectionLost(); + /** + * @brief Emit this signal whenever a debug log line from the device has been received. May be left unused if device does not support debug output + * @param line + */ + void LogLineReceived(QString line); + + /** + * @brief Emit this signal whenever the device driver wants complete control over the device. Once emitted, no other part of the application + * will try to communicate until releaseControl() is emitted + */ + void acquireControl(); + + /** + * @brief Emit this signal whenever the device driver wants to return control to the application. + */ + void releaseControl(); + + /** + * @brief Emit this to temporarily add a new SCPI command to the root node. + * + * Before deleting the command, removeSCPICommand must be emitted. + * When the device is disconnected, all added commands will be automatically removed. + * + * @param cmd Command to add + */ + void addSCPICommand(SCPICommand *cmd); + + /** + * @brief Emit this to remove a temporarily added SCPI command. + * + * @param cmd Command to remove + */ + void removeSCPICommand(SCPICommand *cmd); + + /** + * @brief Emit this to temporarily add a new SCPI node to the root node. + * + * Before deleting the node, removeSCPINode must be emitted. + * When the device is disconnected, all added nodes will be automatically removed. + * + * @param node Node to add + */ + void addSCPINode(SCPINode *node); + + /** + * @brief Emit this to remove a temporarily added SCPI node. + * + * @param node Node to remove + */ + void removeSCPINode(SCPINode *node); + + +public: + bool connectDevice(QString serial, bool isIndepedentDriver = false); + void disconnectDevice(); + virtual bool updateFirmware(QString file) {Q_UNUSED(file) return false;} + static DeviceDriver* getActiveDriver() {return activeDriver;} + static unsigned int SApoints(); + +protected: + // Each driver implementation may add specific actionsm, settings or commands. All of these must + // be created in the constructor and added to the following vectors: + + // A list of actions specific to the driver. They will show up in the device menu + std::vector specificActions; + + // A list of settings specific to the driver. They will be stored/recalled as part of the preferences. + // If a setting should be user-changeable in the preferences, createSettingsWidget() must include some + // widget to modify that setting + std::vector specificSettings; + + // A list of SCPI commands. They will be available at the root node whenever the device driver is in use. + // Avoid name collisions with commands/nodes already implemented in appwindow.cpp. + // Use this for commands that will be available whenever the device is connected. For commands that are + // not always available, use the addSCPICommand and removeSCPICommand signals. + std::vector specificSCPIcommands; + + // A list of SCPI nodes. They will be available at the root node whenever the device driver is in use. + // Avoid name collisions with commands/nodes already implemented in appwindow.cpp + // Use this for nodes that will be available whenever the device is connected. For nodes that are + // not always available, use the addSCPINode and removeSCPINode signals. + std::vector specificSCPInodes; + +private: + static DeviceDriver *activeDriver; +}; + +Q_DECLARE_METATYPE(DeviceDriver::VNAMeasurement) +Q_DECLARE_METATYPE(DeviceDriver::SAMeasurement) + +#endif // VIRTUALDEVICE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.cpp new file mode 100644 index 0000000..edc94d3 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.cpp @@ -0,0 +1,80 @@ +#include "devicelog.h" + +#include "ui_devicelog.h" +#include "preferences.h" + +#include +#include +#include + +using namespace std; + +DeviceLog::DeviceLog(QWidget *parent) : + QWidget(parent), + ui(new Ui::DeviceLog) +{ + ui->setupUi(this); + connect(ui->bClear, &QPushButton::clicked, this, &DeviceLog::clear); + connect(ui->limitLines, &QCheckBox::toggled, [=](bool enabled){ + if(enabled) { + ui->text->setMaximumBlockCount(ui->numLines->value()); + ui->numLines->setEnabled(true); + } else { + ui->text->setMaximumBlockCount(0); + ui->numLines->setEnabled(false); + } + }); + ui->text->setMaximumBlockCount(ui->numLines->value()); + connect(ui->numLines, qOverload(&QSpinBox::valueChanged), [=](int lines) { + ui->text->setMaximumBlockCount(lines); + }); +} + +DeviceLog::~DeviceLog() +{ + delete ui; +} + +void DeviceLog::addLine(QString line) +{ + // Set color depending on log level. + // Use theme dependent color for info messages + QColor color = QApplication::palette().text().color(); + // Use fixed colors for other log levels + if(line.contains(",CRT]")) { + color = Qt::red; + } else if(line.contains(",ERR]")) { + color = QColor(255, 94, 0); + } else if(line.contains(",WRN]")) { + color = QColor(255, 174, 26); + } else if(line.contains(",DBG")) { + color = Qt::gray; + } + QTextCharFormat tf; + tf = ui->text->currentCharFormat(); + tf.setForeground(QBrush(color)); + ui->text->setCurrentCharFormat(tf); + ui->text->appendPlainText(line); + if(ui->cbAutoscroll->isChecked()) { + QScrollBar *sb = ui->text->verticalScrollBar(); + sb->setValue(sb->maximum()); + } +} + +void DeviceLog::clear() +{ + ui->text->clear(); +} + +void DeviceLog::on_bToFile_clicked() +{ + auto filename = QFileDialog::getSaveFileName(this, "Select file for device log", Preferences::getInstance().UISettings.Paths.packetlog, "", nullptr, Preferences::QFileDialogOptions()); + if(filename.length() > 0) { + Preferences::getInstance().UISettings.Paths.packetlog = QFileInfo(filename).path(); + // create file + ofstream file; + file.open(filename.toStdString()); + file << ui->text->toPlainText().toStdString(); + file.close(); + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.h new file mode 100644 index 0000000..fba689f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.h @@ -0,0 +1,29 @@ +#ifndef DEVICELOG_H +#define DEVICELOG_H + +#include + +namespace Ui { +class DeviceLog; +} + +class DeviceLog : public QWidget +{ + Q_OBJECT + +public: + explicit DeviceLog(QWidget *parent = nullptr); + ~DeviceLog(); + +public slots: + void addLine(QString line); + void clear(); + +private slots: + void on_bToFile_clicked(); + +private: + Ui::DeviceLog *ui; +}; + +#endif // DEVICELOG_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.ui new file mode 100644 index 0000000..567bb6d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicelog.ui @@ -0,0 +1,119 @@ + + + DeviceLog + + + + 0 + 0 + 929 + 253 + + + + Form + + + + + + true + + + + + + + + + To File + + + + :/icons/save.png:/icons/save.png + + + + + + + Clear + + + + :/icons/clear.png:/icons/clear.png + + + + + + + Autoscroll + + + true + + + + + + + 2 + + + + + Only keep + + + true + + + + + + + 1 + + + 1000 + + + 100 + + + 200 + + + + + + + lines + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriver.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriver.cpp new file mode 100644 index 0000000..09950c6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriver.cpp @@ -0,0 +1,89 @@ +#include "devicetcpdriver.h" + +#include "ui_devicetcpdriversettings.h" + +#include + +DeviceTCPDriver::DeviceTCPDriver(QString driverName) +{ + specificSettings.push_back(Savable::SettingDescription(&searchAddressString, driverName+".searchAddressString", "")); +} + +QWidget *DeviceTCPDriver::createSettingsWidget() +{ + parseSearchAddressString(); + auto w = new QWidget(); + auto ui = new Ui::DeviceTCPDriverSettingsWidget; + ui->setupUi(w); + + ui->list->clear(); + for(auto &a : searchAddresses) { + auto item = new QListWidgetItem(); + if(a.isNull()) { + item->setText("0.0.0.0"); + } else { + item->setText(a.toString()); + } + item->setFlags(item->flags() | Qt::ItemIsEditable); + ui->list->addItem(item); + } + + connect(ui->list->itemDelegate(), &QAbstractItemDelegate::commitData, this, [=](QWidget *pLineEdit) { + QString strNewText = reinterpret_cast(pLineEdit)->text(); + int nRow = ui->list->currentRow(); + auto address = QHostAddress(strNewText); + if(!address.isNull()) { + // valid IP + searchAddresses[nRow] = address; + updateSearchAddressString(); + } + ui->list->item(nRow)->setText(searchAddresses[nRow].toString()); + }); + + connect(ui->add, &QPushButton::clicked, [=](){ + searchAddresses.push_back(QHostAddress("0.0.0.0")); + auto item = new QListWidgetItem(searchAddresses.back().toString()); + item->setFlags(item->flags() | Qt::ItemIsEditable); + ui->list->addItem(item); + updateSearchAddressString(); + }); + + connect(ui->remove, &QPushButton::clicked, [=](){ + auto index = ui->list->currentRow(); + if(index >= 0 && index < (int) searchAddresses.size()) { + delete ui->list->takeItem(index); + searchAddresses.erase(searchAddresses.begin() + index); + updateSearchAddressString(); + } + }); + + return w; +} + +std::vector DeviceTCPDriver::getSearchAddresses() +{ + parseSearchAddressString(); + return searchAddresses; +} + +void DeviceTCPDriver::parseSearchAddressString() +{ + QStringList list = searchAddressString.split(","); + searchAddresses.clear(); + for(auto &l : list) { + searchAddresses.push_back(QHostAddress(l)); + } +} + +void DeviceTCPDriver::updateSearchAddressString() +{ + searchAddressString = ""; + for(auto &a : searchAddresses) { + searchAddressString += a.toString(); + searchAddressString += ","; + } + if(searchAddressString.length() > 0) { + // remove trailing comma + searchAddressString.chop(1); + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriver.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriver.h new file mode 100644 index 0000000..6b6b0cf --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriver.h @@ -0,0 +1,46 @@ +#ifndef DEVICETCPDRIVER_H +#define DEVICETCPDRIVER_H + +#include "devicedriver.h" + +#include + +/** + * @brief DeviceTCPDriver + * + * This is a convenience class for device drivers that are TCP/IP based and need to search for + * connected devices at specific IP addresses. If this is the case for your device driver, + * inherit from DeviceTCPDriver instead of DeviceDriver. + * When searching for connected devices, search the IP addresses as given by getSearchAddresses(). + * When overwriting createSettingsWidget in your derived driver, include the widget returned + * by DeviceTCPDriver::createSettingsWidget if you want the search addresses to be editable by + * the user. + */ + +class DeviceTCPDriver : public DeviceDriver +{ +public: + DeviceTCPDriver(QString driverName); + + /** + * @brief Returns a widget to edit the driver specific settings. + * + * The widget is displayed in the global settings dialog and allows the user to edit the settings + * specific to this driver. The application takes ownership of the widget after returning, + * create a new widget for every call to this function. If the driver has no specific settings + * or the settings do not need to be editable by the user, return a nullptr. In this case, no + * page for this driver is created in the settings dialog + * @return newly constructed settings widget or nullptr + */ + virtual QWidget *createSettingsWidget() override; + +protected: + std::vector getSearchAddresses(); +private: + void parseSearchAddressString(); + void updateSearchAddressString(); + std::vector searchAddresses; + QString searchAddressString; +}; + +#endif // DEVICETCPDRIVER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriversettings.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriversettings.ui new file mode 100644 index 0000000..bcb002b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/devicetcpdriversettings.ui @@ -0,0 +1,78 @@ + + + DeviceTCPDriverSettingsWidget + + + + 0 + 0 + 480 + 252 + + + + Form + + + + + + IP addresses to search for devices: + + + + + + + + + + + + + + + + + + :/icons/add.png + :/icons/add.png:/icons/add.png + + + + + + + + + + + :/icons/remove.png + :/icons/remove.png:/icons/remove.png + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + + + + + + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/tracedifferencegenerator.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/tracedifferencegenerator.h new file mode 100644 index 0000000..4ad52b2 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Device/tracedifferencegenerator.h @@ -0,0 +1,118 @@ +#ifndef TRACEDIFFERENCEGENERATOR_H +#define TRACEDIFFERENCEGENERATOR_H + +#include +#include + +#include + +template +class TraceDifferenceGenerator { +public: + TraceDifferenceGenerator(std::function changeCallback) : + nextCallbackIndex(0), + last{}, + callback(changeCallback) + {} + + void reset() { + last.clear(); + nextCallbackIndex = 0; + } + + void newTrace(const std::vector &trace) { + if(trace.size() < last.size()) { + // got less points than last time. This must be a completely new trace, generate callbacks for all points + for(auto &i : trace) { + callback(i); + } + nextCallbackIndex = 0; + } else { + // same amount or more points -> find first difference going backwards from next scheduled update point + unsigned int lastDiff = nextCallbackIndex; + do { + if(lastDiff > 0) { + lastDiff--; + } else { + // reached the beginning of the trace + if(last.size() == trace.size()) { + if(nextCallbackIndex == trace.size()) { + // nothing has changed in the whole trace, abort + break; + } else { + // wrap around to the end + lastDiff = trace.size() - 1; + } + } else { + // trace must be longer than last -> update all the way to the end + lastDiff = trace.size() - 1; + for(;nextCallbackIndex!=trace.size();nextCallbackIndex++) { + callback(trace[nextCallbackIndex]); + } + break; + } + } + if(!(last[lastDiff] == trace[lastDiff])) { + do { + if(nextCallbackIndex >= trace.size()) { + nextCallbackIndex = 0; + } + callback(trace[nextCallbackIndex]); + nextCallbackIndex++; + } while(nextCallbackIndex != lastDiff + 1); + break; + } + } while(lastDiff != nextCallbackIndex); + } + last = trace; +// if(trace.size() > last.size()) { +// // definitely got more points than last time. Find first point that hasn't been transmitted and generate callbacks for it and all subsequent points +// unsigned int i=nextCallbackIndex; +// while(i < trace.size()) { +// callback(trace[i]); +// i++; +// } +// nextCallbackIndex = trace.size(); +// } else i else { +// // still the same amount of points. +// unsigned int i = nextCallbackIndex; +// unsigned int changedPoints = 0; +// do { +// if(i > 0) { +// i--; +// } else { +// // reached the end +// if(nextCallbackIndex == trace.size()) { +// // checked the whole trace +// break; +// } else { +// // last callback was within trace, wrap around +// i = trace.size() - 1; +// } +// } +// bool unchanged = last[i] == trace[i]; +// if(!unchanged) { +// changedPoints = (i + trace.size() - nextCallbackIndex + 1); +// if(changedPoints > trace.size()) { +// changedPoints -= trace.size(); +// } +// break; +// } +// } while (i != nextCallbackIndex); +// i = nextCallbackIndex; +// while(changedPoints--) { +// callback(trace[i]); +// i = (i + 1) % trace.size(); +// } +// nextCallbackIndex = i; +// } +// last = trace; + } + +private: + unsigned int nextCallbackIndex; + std::vector last; + std::function callback; +}; + +#endif // TRACEDIFFERENCEGENERATOR_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/generator.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/generator.cpp new file mode 100644 index 0000000..9a19e56 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/generator.cpp @@ -0,0 +1,123 @@ +#include "generator.h" + +#include "CustomWidgets/informationbox.h" + +#include + +Generator::Generator(AppWindow *window, QString name) + : Mode(window, name, "GENerator") +{ + central = new SignalgeneratorWidget(window, window); + + auto& pref = Preferences::getInstance(); + + // set initial values + if(pref.Startup.RememberSweepSettings) { + QSettings s; + central->setFrequency(s.value("GeneratorFrequency", pref.Startup.Generator.frequency).toDouble()); + central->setLevel(s.value("GeneratorLevel", pref.Startup.Generator.level).toDouble()); + } else { + central->setFrequency(pref.Startup.Generator.frequency); + central->setLevel(pref.Startup.Generator.level); + } + + setupSCPI(); + + finalize(central); + connect(central, &SignalgeneratorWidget::SettingsChanged, this, &Generator::updateDevice); +} + +void Generator::deactivate() +{ + // store current settings + QSettings s; + auto settings = central->getDeviceStatus(); + s.setValue("GeneratorFrequency", static_cast(settings.freq)); + s.setValue("GeneratorLevel", static_cast((double) settings.dBm)); + Mode::deactivate(); +} + +void Generator::initializeDevice() +{ + if(!window->getDevice()->supports(DeviceDriver::Feature::Generator)) { + InformationBox::ShowError("Unsupported", "The connected device does not support generator mode"); + return; + } + updateDevice(); +} + +void Generator::resetSettings() +{ + central->setFrequency(1000000000); + central->setLevel(0); + central->setPort(0); +} + +nlohmann::json Generator::toJSON() +{ + return central->toJSON(); +} + +void Generator::fromJSON(nlohmann::json j) +{ + if(j.is_null()) { + return; + } + central->fromJSON(j); +} + +void Generator::preset() +{ + +} + +void Generator::deviceInfoUpdated() +{ + central->deviceInfoUpdated(); +} + +void Generator::updateDevice() +{ + if(!window->getDevice() || isActive != true) { + // can't update if not connected + return; + } + window->getDevice()->setSG(central->getDeviceStatus()); +} + +void Generator::setupSCPI() +{ + add(new SCPICommand("FREQuency", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + central->setFrequency(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(central->getDeviceStatus().freq); + })); + add(new SCPICommand("LVL", [=](QStringList params) -> QString { + double newval; + if(!SCPI::paramToDouble(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + central->setLevel(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(central->getDeviceStatus().dBm); + })); + add(new SCPICommand("PORT", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval) || newval > DeviceDriver::getInfo(window->getDevice()).Limits.Generator.ports) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + central->setPort(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(central->getDeviceStatus().port); + })); +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/generator.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/generator.h new file mode 100644 index 0000000..463dbb7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/generator.h @@ -0,0 +1,38 @@ +#ifndef GENERATOR_H +#define GENERATOR_H + +#include "mode.h" +#include "signalgenwidget.h" +#include "scpi.h" + +class Generator : public Mode +{ + Q_OBJECT +public: + Generator(AppWindow *window, QString name = "Signal Generator"); + void deactivate() override; + void initializeDevice() override; + + virtual Type getType() override { return Type::SG;} + + virtual void resetSettings() override; + + // Nothing to do for now + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + void setAveragingMode(Averaging::Mode mode) override {Q_UNUSED(mode)} + + void preset() override; + + virtual void deviceInfoUpdated() override; + +private slots: + void updateDevice(); + +private: + void setupSCPI(); + SignalgeneratorWidget *central; +}; + +#endif // GENERATOR_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.cpp new file mode 100644 index 0000000..e1f21f2 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.cpp @@ -0,0 +1,265 @@ +#include "signalgenwidget.h" + +#include "ui_signalgenwidget.h" + +SignalgeneratorWidget::SignalgeneratorWidget(AppWindow *window, QWidget *parent) : + QWidget(parent), + ui(new Ui::SignalgeneratorWidget), + m_timerId(0), + window(window) +{ + ui->setupUi(this); + ui->frequency->setUnit("Hz"); + ui->frequency->setPrefixes(" kMG"); + ui->frequency->setPrecision(6); // show enough digits + + ui->span->setUnit("Hz"); + ui->span->setPrefixes(" kMG"); + ui->span->setPrecision(6); // show enough digits + ui->span->setValue(0); + + ui->current->setUnit("Hz"); + ui->current->setPrefixes(" kMG"); + ui->current->setPrecision(6); // show enough digits + + ui->dwell->setUnit("s"); + ui->dwell->setPrefixes(" m"); + ui->dwell->setPrecision(6); // show enough digits + ui->dwell->setValue(1); + m_timerId = startTimer(1000); + + ui->steps->setValue(100); + ui->steps->setPrefixes(" k"); + ui->steps->setPrecision(0); + + connect(ui->frequency, &SIUnitEdit::valueChanged, [=](double newval) { + if(newval < DeviceDriver::getInfo(window->getDevice()).Limits.Generator.minFreq) { + newval = DeviceDriver::getInfo(window->getDevice()).Limits.Generator.minFreq; + } else if (newval > DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq) { + newval = DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq; + } + ui->frequency->setValueQuiet(newval); + if (newval < ui->span->value()/2) + ui->span->setValueQuiet(newval/2); + if (newval + ui->span->value()/2 > DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq) + ui->span->setValueQuiet((DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq - newval)*2); + newval = ui->frequency->value() - ui->span->value()/2; + ui->current->setValueQuiet(newval); + emit SettingsChanged(); + }); + + connect(ui->span, &SIUnitEdit::valueChanged, [=](double newval) { + if(newval < 0 ) { + newval = 0; + } else if (newval > DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq - DeviceDriver::getInfo(window->getDevice()).Limits.Generator.minFreq) { + newval = DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq - DeviceDriver::getInfo(window->getDevice()).Limits.Generator.minFreq; + } + ui->span->setValueQuiet(newval); + + double newF = ui->frequency->value() - ui->span->value()/2; + if (newF < 0) { + ui->frequency->setValueQuiet(ui->span->value()/2); + } + newF = ui->frequency->value() + ui->span->value()/2; + if (newF > DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq) { + ui->frequency->setValueQuiet(DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq - ui->span->value()/2); + } + + newval = ui->frequency->value() - ui->span->value()/2; + + emit SettingsChanged(); + }); + + connect(ui->current, &SIUnitEdit::valueChanged, [=](double newval) { + if(newval < 0 ) { + newval = 0; + } else if (newval > DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq - DeviceDriver::getInfo(window->getDevice()).Limits.Generator.minFreq) { + newval = DeviceDriver::getInfo(window->getDevice()).Limits.Generator.maxFreq - DeviceDriver::getInfo(window->getDevice()).Limits.Generator.minFreq; + } + ui->current->setValueQuiet(newval); + emit SettingsChanged(); + }); + + connect(ui->dwell, &SIUnitEdit::valueChanged, [=](double newval) { + if(newval < 0.01 ) { + newval = 0.01; + } else if (newval > 60) { + newval = 60; + } + ui->dwell->setValueQuiet(newval); + m_timerId = startTimer(newval*1000); + emit SettingsChanged(); + }); + + connect(ui->levelSpin, qOverload(&QDoubleSpinBox::valueChanged), this, &SignalgeneratorWidget::setLevel); + connect(ui->levelSlider, &QSlider::valueChanged, [=](int value) { + setLevel((double) value / 100.0); + }); + + deviceInfoUpdated(); + + connect(ui->EnabledSweep, &QCheckBox::toggled, [=](bool enabled){ + ui->current->setEnabled(enabled); + if(enabled) { + double newF = ui->frequency->value() - ui->span->value()/2; + if (newF < 0) { + ui->frequency->setValueQuiet(ui->frequency->value() - newF); + newF = 0; + } + ui->current->setValueQuiet(newF); + } else { + } + emit SettingsChanged(); + }); +} + + +SignalgeneratorWidget::~SignalgeneratorWidget() +{ + delete ui; +} + +void SignalgeneratorWidget::timerEvent(QTimerEvent *event) +{ + if (event->timerId() == m_timerId) { + if (ui->EnabledSweep->isChecked()) { + double newF = ui->current->value() + ui->span->value()/ui->steps->value(); + if (newF > ui->frequency->value() + ui->span->value()/2) + newF = ui->frequency->value() - ui->span->value()/2; + ui->current->setValueQuiet(newF); + SettingsChanged(); + } + } +} + +DeviceDriver::SGSettings SignalgeneratorWidget::getDeviceStatus() +{ + DeviceDriver::SGSettings s = {}; + if (ui->EnabledSweep->isChecked()) + s.freq = ui->current->value(); + else + s.freq = ui->frequency->value(); + s.dBm = ui->levelSpin->value(); + s.port = 0; + for(unsigned int i=0;iisChecked()) { + s.port = i+1; + } + } + return s; +} + +nlohmann::json SignalgeneratorWidget::toJSON() +{ + auto s = getDeviceStatus(); + nlohmann::json j; + j["frequency"] = s.freq; + j["power"] = s.dBm; + j["port"] = s.port; + nlohmann::json sweep; + sweep["span"] = ui->span->value(); + sweep["steps"] = ui->steps->value(); + sweep["dwell"] = ui->dwell->value(); + sweep["enabled"] = ui->EnabledSweep->isChecked(); + j["sweep"] = sweep; + return j; +} + +void SignalgeneratorWidget::fromJSON(nlohmann::json j) +{ + setFrequency(j.value("frequency", ui->frequency->value())); + setLevel(j.value("power", ui->levelSpin->value())); + setPort(j.value("port", 0)); + if(j.contains("sweep")) { + auto sweep = j["sweep"]; + // extract sweep settings, keeping current values as default + ui->span->setValue(sweep.value("span", ui->span->value())); + ui->steps->setValue(sweep.value("steps", ui->steps->value())); + ui->dwell->setValue(sweep.value("dwell", ui->dwell->value())); + ui->EnabledSweep->setChecked(sweep.value("enabled", false)); + } else { + ui->EnabledSweep->setChecked(false); + } +} + +void SignalgeneratorWidget::deviceInfoUpdated() +{ + auto port = getDeviceStatus().port; + for(auto cb : portCheckboxes) { + delete cb; + } + portCheckboxes.clear(); + auto info = DeviceDriver::getInfo(window->getDevice()); + for(unsigned int i=1;i<=info.Limits.Generator.ports;i++) { + auto cb = new QCheckBox("Port "+QString::number(i)); + ui->portBox->layout()->addWidget(cb); + portCheckboxes.push_back(cb); + connect(cb, &QCheckBox::toggled, [=](bool enabled){ + if(enabled) { + for(auto other : portCheckboxes) { + if(other != cb) { + other->blockSignals(true); + other->setChecked(false); + other->blockSignals(false); + } + } + } + emit SettingsChanged(); + }); + } + + setFrequency(ui->frequency->value()); + setLevel(ui->levelSpin->value()); + + setPort(port); + + ui->levelSlider->setMaximum(info.Limits.Generator.maxdBm * 100); + ui->levelSlider->setMinimum(info.Limits.Generator.mindBm * 100); + ui->levelSpin->setMaximum(info.Limits.Generator.maxdBm); + ui->levelSpin->setMinimum(info.Limits.Generator.mindBm); +} + +void SignalgeneratorWidget::setLevel(double level) +{ + auto info = DeviceDriver::getInfo(window->getDevice()); + if(level < info.Limits.Generator.mindBm) { + level = info.Limits.Generator.mindBm; + } + if(level > info.Limits.Generator.maxdBm) { + level = info.Limits.Generator.maxdBm; + } + ui->levelSpin->blockSignals(true); + ui->levelSlider->blockSignals(true); + ui->levelSpin->setValue(level); + ui->levelSlider->setValue(level * 100.0); + ui->levelSpin->blockSignals(false); + ui->levelSlider->blockSignals(false); + SettingsChanged(); +} + +void SignalgeneratorWidget::setFrequency(double frequency) +{ + auto info = DeviceDriver::getInfo(window->getDevice()); + if(frequency < info.Limits.Generator.minFreq) { + frequency = info.Limits.Generator.minFreq; + } + if(frequency > info.Limits.Generator.maxFreq) { + frequency = info.Limits.Generator.maxFreq; + } + ui->frequency->setValue(frequency); +} + +void SignalgeneratorWidget::setPort(unsigned int port) +{ + if(port > portCheckboxes.size()) { + return; + } + if(port == 0) { + for(auto cb : portCheckboxes) { + cb->setChecked(false); + } + } else { + portCheckboxes[port-1]->setChecked(true); + } +} + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.h new file mode 100644 index 0000000..dd0250d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.h @@ -0,0 +1,44 @@ +#ifndef SIGNALGENERATOR_H +#define SIGNALGENERATOR_H + +#include "savable.h" +#include "appwindow.h" + +#include + +namespace Ui { +class SignalgeneratorWidget; +} + +class SignalgeneratorWidget : public QWidget, public Savable +{ + Q_OBJECT + +public: + explicit SignalgeneratorWidget(AppWindow *window, QWidget *parent = nullptr); + ~SignalgeneratorWidget(); + + DeviceDriver::SGSettings getDeviceStatus(); + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + void deviceInfoUpdated(); +signals: + void SettingsChanged(); + +public slots: + void setLevel(double level); + void setFrequency(double frequency); + void setPort(unsigned int port); + +protected: + void timerEvent(QTimerEvent *) override; + +private: + Ui::SignalgeneratorWidget *ui; + int m_timerId; + AppWindow *window; + std::vector portCheckboxes; +}; + +#endif // SIGNALGENERATOR_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.ui b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.ui new file mode 100644 index 0000000..cef272a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Generator/signalgenwidget.ui @@ -0,0 +1,265 @@ + + + SignalgeneratorWidget + + + + 0 + 0 + 1093 + 594 + + + + + 0 + 0 + + + + Form + + + false + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + 75 + true + + + + Generator + + + Qt::AlignCenter + + + + + + + + + Frequency + + + + + + + + + + + + Level Control + + + + + + dbm + + + -50.000000000000000 + + + 0.000000000000000 + + + 0.250000000000000 + + + -10.000000000000000 + + + + + + + -5000 + + + 0 + + + 25 + + + 500 + + + -1000 + + + Qt::Horizontal + + + + + + + + + + Enable + + + + + + + + + + Sweep + + + + + + Enabled + + + + + + + + + Span: + + + + + + + + + + + + + + Steps: + + + + + + + + + + + + + + Dwell time: + + + + + + + + + + + + + + Current frequency: + + + + + + + false + + + + + + true + + + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + SIUnitEdit + QLineEdit +
CustomWidgets/siunitedit.h
+
+
+ + +
diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/LibreVNA-GUI.pro b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/LibreVNA-GUI.pro new file mode 100644 index 0000000..dcf2016 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/LibreVNA-GUI.pro @@ -0,0 +1,439 @@ +HEADERS += \ + ../../VNA_embedded/Application/Communication/Protocol.hpp \ + ../../VNA_embedded/Application/Communication/PacketConstants.h \ + Calibration/LibreCAL/caldevice.h \ + Calibration/LibreCAL/librecaldialog.h \ + Calibration/LibreCAL/usbdevice.h \ + Calibration/calibration.h \ + Calibration/calibrationmeasurement.h \ + Calibration/calibrationviewdialog.h \ + Calibration/calkit.h \ + Calibration/calkitdialog.h \ + Calibration/calstandard.h \ + Calibration/manualcalibrationdialog.h \ + CustomWidgets/colorpickerbutton.h \ + CustomWidgets/csvimport.h \ + CustomWidgets/informationbox.h \ + CustomWidgets/jsonpickerdialog.h \ + CustomWidgets/siunitedit.h \ + CustomWidgets/tilewidget.h \ + CustomWidgets/toggleswitch.h \ + CustomWidgets/touchstoneimport.h \ + CustomWidgets/tracesetselector.h \ + Device/Harogic/harogicb60.h \ + Device/LibreVNA/Compound/compounddevice.h \ + Device/LibreVNA/Compound/compounddeviceeditdialog.h \ + Device/LibreVNA/Compound/compounddriver.h \ + Device/LibreVNA/amplitudecaldialog.h \ + Device/LibreVNA/deviceconfigurationdialogv1.h \ + Device/LibreVNA/deviceconfigurationdialogvd0.h \ + Device/LibreVNA/deviceconfigurationdialogvfe.h \ + Device/LibreVNA/deviceconfigurationdialogvff.h \ + Device/LibreVNA/devicepacketlog.h \ + Device/LibreVNA/devicepacketlogview.h \ + Device/LibreVNA/firmwareupdatedialog.h \ + Device/LibreVNA/frequencycaldialog.h \ + Device/LibreVNA/librevnadriver.h \ + Device/LibreVNA/librevnatcpdriver.h \ + Device/LibreVNA/librevnausbdriver.h \ + Device/LibreVNA/manualcontroldialogV1.h \ + Device/LibreVNA/manualcontroldialogVD0.h \ + Device/LibreVNA/manualcontroldialogVE0.h \ + Device/LibreVNA/manualcontroldialogvfe.h \ + Device/LibreVNA/manualcontroldialogvff.h \ + Device/LibreVNA/receivercaldialog.h \ + Device/LibreVNA/sourcecaldialog.h \ + Device/SNA5000A/sna5000adriver.h \ + Device/SSA3000X/ssa3000xdriver.h \ + Device/devicedriver.h \ + Device/devicelog.h \ + Device/devicetcpdriver.h \ + Device/tracedifferencegenerator.h \ + Generator/generator.h \ + Generator/signalgenwidget.h \ + SpectrumAnalyzer/spectrumanalyzer.h \ + SpectrumAnalyzer/tracewidgetsa.h \ + Tools/eseries.h \ + Tools/impedancematchdialog.h \ + Tools/mixedmodeconversion.h \ + Tools/parameters.h \ + Traces/Marker/marker.h \ + Traces/Marker/markergroup.h \ + Traces/Marker/markermodel.h \ + Traces/Marker/markerwidget.h \ + Traces/Math/dft.h \ + Traces/Math/expression.h \ + Traces/Math/medianfilter.h \ + Traces/Math/parser/mpCompat.h \ + Traces/Math/parser/mpDefines.h \ + Traces/Math/parser/mpError.h \ + Traces/Math/parser/mpFuncCmplx.h \ + Traces/Math/parser/mpFuncCommon.h \ + Traces/Math/parser/mpFuncMatrix.h \ + Traces/Math/parser/mpFuncNonCmplx.h \ + Traces/Math/parser/mpFuncStr.h \ + Traces/Math/parser/mpFwdDecl.h \ + Traces/Math/parser/mpICallback.h \ + Traces/Math/parser/mpIOprt.h \ + Traces/Math/parser/mpIPackage.h \ + Traces/Math/parser/mpIPrecedence.h \ + Traces/Math/parser/mpIToken.h \ + Traces/Math/parser/mpIValReader.h \ + Traces/Math/parser/mpIValue.h \ + Traces/Math/parser/mpIfThenElse.h \ + Traces/Math/parser/mpMatrix.h \ + Traces/Math/parser/mpMatrixError.h \ + Traces/Math/parser/mpOprtBinAssign.h \ + Traces/Math/parser/mpOprtBinCommon.h \ + Traces/Math/parser/mpOprtCmplx.h \ + Traces/Math/parser/mpOprtIndex.h \ + Traces/Math/parser/mpOprtMatrix.h \ + Traces/Math/parser/mpOprtNonCmplx.h \ + Traces/Math/parser/mpOprtPostfixCommon.h \ + Traces/Math/parser/mpPackageCmplx.h \ + Traces/Math/parser/mpPackageCommon.h \ + Traces/Math/parser/mpPackageMatrix.h \ + Traces/Math/parser/mpPackageNonCmplx.h \ + Traces/Math/parser/mpPackageStr.h \ + Traces/Math/parser/mpPackageUnit.h \ + Traces/Math/parser/mpParser.h \ + Traces/Math/parser/mpParserBase.h \ + Traces/Math/parser/mpParserMessageProvider.h \ + Traces/Math/parser/mpRPN.h \ + Traces/Math/parser/mpScriptTokens.h \ + Traces/Math/parser/mpStack.h \ + Traces/Math/parser/mpTest.h \ + Traces/Math/parser/mpTokenReader.h \ + Traces/Math/parser/mpTypes.h \ + Traces/Math/parser/mpValReader.h \ + Traces/Math/parser/mpValue.h \ + Traces/Math/parser/mpValueCache.h \ + Traces/Math/parser/mpVariable.h \ + Traces/Math/parser/suSortPred.h \ + Traces/Math/parser/suStringTokens.h \ + Traces/Math/parser/utGeneric.h \ + Traces/Math/tdr.h \ + Traces/Math/timegate.h \ + Traces/Math/tracemath.h \ + Traces/Math/windowfunction.h \ + Traces/eyediagramplot.h \ + Traces/fftcomplex.h \ + Traces/sparamtraceselector.h \ + Traces/sparamtraceselectordialog.h \ + Traces/trace.h \ + Traces/traceaxis.h \ + Traces/tracecsvexport.h \ + Traces/traceeditdialog.h \ + Traces/traceimportdialog.h \ + Traces/tracemodel.h \ + Traces/traceplot.h \ + Traces/tracesmithchart.h \ + Traces/tracetouchstoneexport.h \ + Traces/tracewaterfall.h \ + Traces/tracewidget.h \ + Traces/tracexyplot.h \ + Traces/tracepolar.h \ + Traces/waterfallaxisdialog.h \ + Traces/xyplotaxisdialog.h \ + Traces/tracepolarchart.h \ + Util/QMicroz/miniz.h \ + Util/QMicroz/qmicroz.h \ + Util/QMicroz/tools.h \ + Util/prbs.h \ + Util/qpointervariant.h \ + Util/usbinbuffer.h \ + Util/util.h \ + Util/app_common.h \ + VNA/Deembedding/deembedding.h \ + VNA/Deembedding/deembeddingdialog.h \ + VNA/Deembedding/deembeddingoption.h \ + VNA/Deembedding/impedancerenormalization.h \ + VNA/Deembedding/manualdeembeddingdialog.h \ + VNA/Deembedding/matchingnetwork.h \ + VNA/Deembedding/portextension.h \ + VNA/Deembedding/twothru.h \ + VNA/tracewidgetvna.h \ + VNA/vna.h \ + about.h \ + appwindow.h \ + averaging.h \ + csv.h \ + json.hpp \ + modehandler.h \ + mode.h \ + modewindow.h \ + preferences.h \ + savable.h \ + scpi.h \ + screenshot.h \ + streamingserver.h \ + tcpserver.h \ + touchstone.h \ + unit.h + +SOURCES += \ + ../../VNA_embedded/Application/Communication/Protocol.cpp \ + Calibration/LibreCAL/caldevice.cpp \ + Calibration/LibreCAL/librecaldialog.cpp \ + Calibration/LibreCAL/usbdevice.cpp \ + Calibration/calibration.cpp \ + Calibration/calibrationmeasurement.cpp \ + Calibration/calibrationviewdialog.cpp \ + Calibration/calkit.cpp \ + Calibration/calkitdialog.cpp \ + Calibration/calstandard.cpp \ + Calibration/manualcalibrationdialog.cpp \ + CustomWidgets/colorpickerbutton.cpp \ + CustomWidgets/csvimport.cpp \ + CustomWidgets/informationbox.cpp \ + CustomWidgets/jsonpickerdialog.cpp \ + CustomWidgets/siunitedit.cpp \ + CustomWidgets/tilewidget.cpp \ + CustomWidgets/toggleswitch.cpp \ + CustomWidgets/touchstoneimport.cpp \ + CustomWidgets/tracesetselector.cpp \ + Device/Harogic/harogicb60.cpp \ + Device/LibreVNA/Compound/compounddevice.cpp \ + Device/LibreVNA/Compound/compounddeviceeditdialog.cpp \ + Device/LibreVNA/Compound/compounddriver.cpp \ + Device/LibreVNA/amplitudecaldialog.cpp \ + Device/LibreVNA/deviceconfigurationdialogv1.cpp \ + Device/LibreVNA/deviceconfigurationdialogvd0.cpp \ + Device/LibreVNA/deviceconfigurationdialogvfe.cpp \ + Device/LibreVNA/deviceconfigurationdialogvff.cpp \ + Device/LibreVNA/devicepacketlog.cpp \ + Device/LibreVNA/devicepacketlogview.cpp \ + Device/LibreVNA/firmwareupdatedialog.cpp \ + Device/LibreVNA/frequencycaldialog.cpp \ + Device/LibreVNA/librevnadriver.cpp \ + Device/LibreVNA/librevnatcpdriver.cpp \ + Device/LibreVNA/librevnausbdriver.cpp \ + Device/LibreVNA/manualcontroldialogV1.cpp \ + Device/LibreVNA/manualcontroldialogVD0.cpp \ + Device/LibreVNA/manualcontroldialogVE0.cpp \ + Device/LibreVNA/manualcontroldialogvfe.cpp \ + Device/LibreVNA/manualcontroldialogvff.cpp \ + Device/LibreVNA/receivercaldialog.cpp \ + Device/LibreVNA/sourcecaldialog.cpp \ + Device/SNA5000A/sna5000adriver.cpp \ + Device/SSA3000X/ssa3000xdriver.cpp \ + Device/devicedriver.cpp \ + Device/devicelog.cpp \ + Device/devicetcpdriver.cpp \ + Generator/generator.cpp \ + Generator/signalgenwidget.cpp \ + SpectrumAnalyzer/spectrumanalyzer.cpp \ + SpectrumAnalyzer/tracewidgetsa.cpp \ + Tools/eseries.cpp \ + Tools/impedancematchdialog.cpp \ + Tools/mixedmodeconversion.cpp \ + Tools/parameters.cpp \ + Traces/Marker/marker.cpp \ + Traces/Marker/markergroup.cpp \ + Traces/Marker/markermodel.cpp \ + Traces/Marker/markerwidget.cpp \ + Traces/Math/dft.cpp \ + Traces/Math/expression.cpp \ + Traces/Math/medianfilter.cpp \ + Traces/Math/parser/mpError.cpp \ + Traces/Math/parser/mpFuncCmplx.cpp \ + Traces/Math/parser/mpFuncCommon.cpp \ + Traces/Math/parser/mpFuncMatrix.cpp \ + Traces/Math/parser/mpFuncNonCmplx.cpp \ + Traces/Math/parser/mpFuncStr.cpp \ + Traces/Math/parser/mpICallback.cpp \ + Traces/Math/parser/mpIOprt.cpp \ + Traces/Math/parser/mpIPackage.cpp \ + Traces/Math/parser/mpIToken.cpp \ + Traces/Math/parser/mpIValReader.cpp \ + Traces/Math/parser/mpIValue.cpp \ + Traces/Math/parser/mpIfThenElse.cpp \ + Traces/Math/parser/mpOprtBinAssign.cpp \ + Traces/Math/parser/mpOprtBinCommon.cpp \ + Traces/Math/parser/mpOprtCmplx.cpp \ + Traces/Math/parser/mpOprtIndex.cpp \ + Traces/Math/parser/mpOprtMatrix.cpp \ + Traces/Math/parser/mpOprtNonCmplx.cpp \ + Traces/Math/parser/mpOprtPostfixCommon.cpp \ + Traces/Math/parser/mpPackageCmplx.cpp \ + Traces/Math/parser/mpPackageCommon.cpp \ + Traces/Math/parser/mpPackageMatrix.cpp \ + Traces/Math/parser/mpPackageNonCmplx.cpp \ + Traces/Math/parser/mpPackageStr.cpp \ + Traces/Math/parser/mpPackageUnit.cpp \ + Traces/Math/parser/mpParser.cpp \ + Traces/Math/parser/mpParserBase.cpp \ + Traces/Math/parser/mpParserMessageProvider.cpp \ + Traces/Math/parser/mpRPN.cpp \ + Traces/Math/parser/mpScriptTokens.cpp \ + Traces/Math/parser/mpTest.cpp \ + Traces/Math/parser/mpTokenReader.cpp \ + Traces/Math/parser/mpValReader.cpp \ + Traces/Math/parser/mpValue.cpp \ + Traces/Math/parser/mpValueCache.cpp \ + Traces/Math/parser/mpVariable.cpp \ + Traces/Math/tdr.cpp \ + Traces/Math/timegate.cpp \ + Traces/Math/tracemath.cpp \ + Traces/Math/windowfunction.cpp \ + Traces/eyediagramplot.cpp \ + Traces/fftcomplex.cpp \ + Traces/sparamtraceselector.cpp \ + Traces/sparamtraceselectordialog.cpp \ + Traces/trace.cpp \ + Traces/traceaxis.cpp \ + Traces/tracecsvexport.cpp \ + Traces/traceeditdialog.cpp \ + Traces/traceimportdialog.cpp \ + Traces/tracemodel.cpp \ + Traces/traceplot.cpp \ + Traces/tracesmithchart.cpp \ + Traces/tracepolarchart.cpp \ + Traces/tracetouchstoneexport.cpp \ + Traces/tracewaterfall.cpp \ + Traces/tracewidget.cpp \ + Traces/tracexyplot.cpp \ + Traces/tracepolar.cpp \ + Traces/waterfallaxisdialog.cpp \ + Traces/xyplotaxisdialog.cpp \ + Util/QMicroz/miniz.c \ + Util/QMicroz/qmicroz.cpp \ + Util/QMicroz/tools.cpp \ + Util/prbs.cpp \ + Util/usbinbuffer.cpp \ + Util/util.cpp \ + VNA/Deembedding/deembedding.cpp \ + VNA/Deembedding/deembeddingdialog.cpp \ + VNA/Deembedding/deembeddingoption.cpp \ + VNA/Deembedding/impedancerenormalization.cpp \ + VNA/Deembedding/manualdeembeddingdialog.cpp \ + VNA/Deembedding/matchingnetwork.cpp \ + VNA/Deembedding/portextension.cpp \ + VNA/Deembedding/twothru.cpp \ + VNA/tracewidgetvna.cpp \ + VNA/vna.cpp \ + about.cpp \ + appwindow.cpp \ + averaging.cpp \ + csv.cpp \ + main.cpp \ + modehandler.cpp \ + mode.cpp \ + modewindow.cpp \ + preferences.cpp \ + savable.cpp \ + scpi.cpp \ + screenshot.cpp \ + streamingserver.cpp \ + tcpserver.cpp \ + touchstone.cpp \ + unit.cpp + +LIBS += -lusb-1.0 +unix:LIBS += -L/usr/lib/ +win32:LIBS += -L"$$_PRO_FILE_PWD_" # Github actions placed libusb here +win32:DEFINES += QMICROZ_LIBRARY +osx:INCPATH += /usr/local/include +osx:LIBS += -L/usr/local/lib $(shell pkg-config --libs libusb-1.0) + +mac{ + QT_CONFIG -= no-pkg-config + CONFIG += link_pkgconfig + PKGCONFIG += libusb-1.0 +} + +QT += widgets network svg + +FORMS += \ + Calibration/CalStandardLineEditDialog.ui \ + Calibration/CalStandardLoadEditDialog.ui \ + Calibration/CalStandardOpenEditDialog.ui \ + Calibration/CalStandardReflectEditDialog.ui \ + Calibration/CalStandardShortEditDialog.ui \ + Calibration/CalStandardThroughEditDialog.ui \ + Calibration/LibreCAL/factoryUpdateDialog.ui \ + Calibration/LibreCAL/librecaldialog.ui \ + Calibration/calibrationdialogui.ui \ + Calibration/calibrationviewdialog.ui \ + Calibration/calkitdialog.ui \ + Calibration/manualcalibrationdialog.ui \ + CustomWidgets/csvimport.ui \ + CustomWidgets/jsonpickerdialog.ui \ + CustomWidgets/tilewidget.ui \ + CustomWidgets/touchstoneimport.ui \ + Device/LibreVNA/Compound/compounddeviceeditdialog.ui \ + Device/LibreVNA/Compound/compounddriversettingswidget.ui \ + Device/LibreVNA/addamplitudepointsdialog.ui \ + Device/LibreVNA/amplitudecaldialog.ui \ + Device/LibreVNA/automaticamplitudedialog.ui \ + Device/LibreVNA/deviceconfigurationdialogv1.ui \ + Device/LibreVNA/deviceconfigurationdialogvd0.ui \ + Device/LibreVNA/deviceconfigurationdialogvfe.ui \ + Device/LibreVNA/deviceconfigurationdialogvff.ui \ + Device/LibreVNA/devicepacketlogview.ui \ + Device/LibreVNA/firmwareupdatedialog.ui \ + Device/LibreVNA/frequencycaldialog.ui \ + Device/LibreVNA/librevnadriversettingswidget.ui \ + Device/LibreVNA/manualcontroldialogV1.ui \ + Device/LibreVNA/manualcontroldialogVD0.ui \ + Device/LibreVNA/manualcontroldialogVE0.ui \ + Device/LibreVNA/manualcontroldialogvfe.ui \ + Device/LibreVNA/manualcontroldialogvff.ui \ + Device/devicelog.ui \ + Device/devicetcpdriversettings.ui \ + Generator/signalgenwidget.ui \ + Tools/impedancematchdialog.ui \ + Tools/mixedmodeconversion.ui \ + Traces/Marker/markerwidget.ui \ + Traces/Math/dftdialog.ui \ + Traces/Math/dftexplanationwidget.ui \ + Traces/Math/expressiondialog.ui \ + Traces/Math/expressionexplanationwidget.ui \ + Traces/Math/medianexplanationwidget.ui \ + Traces/Math/medianfilterdialog.ui \ + Traces/Math/newtracemathdialog.ui \ + Traces/Math/tdrdialog.ui \ + Traces/Math/tdrexplanationwidget.ui \ + Traces/Math/timedomaingatingexplanationwidget.ui \ + Traces/Math/timegatedialog.ui \ + Traces/Math/timegateexplanationwidget.ui \ + Traces/XYPlotConstantLineEditDialog.ui \ + Traces/eyediagrameditdialog.ui \ + Traces/smithchartdialog.ui \ + Traces/polarchartdialog.ui \ + Traces/sparamtraceselectordialog.ui \ + Traces/tracecsvexport.ui \ + Traces/traceeditdialog.ui \ + Traces/traceimportdialog.ui \ + Traces/tracetouchstoneexport.ui \ + Traces/tracewidget.ui \ + Traces/waterfallaxisdialog.ui \ + Traces/xyplotaxisdialog.ui \ + VNA/Deembedding/deembeddingdialog.ui \ + VNA/Deembedding/impedancenormalizationdialog.ui \ + VNA/Deembedding/manualdeembeddingdialog.ui \ + VNA/Deembedding/matchingnetworkdialog.ui \ + VNA/Deembedding/measurementdialog.ui \ + VNA/Deembedding/portextensioneditdialog.ui \ + VNA/Deembedding/twothrudialog.ui \ + VNA/s2pImportOptions.ui \ + aboutdialog.ui \ + main.ui \ + preferencesdialog.ui + +DISTFILES += + +RESOURCES += \ + icons.qrc \ + resources/librevna.qrc + +win32:RC_ICONS = resources/librevna.ico +mac:ICON = resources/librevna.icns + +QMAKE_CXXFLAGS += -Wno-deprecated -Wno-deprecated-declarations -Wno-deprecated-copy + +CONFIG += c++17 +REVISION = $$system(git rev-parse HEAD) +DEFINES += GITHASH=\\"\"$$REVISION\\"\" +DEFINES += FW_MAJOR=1 FW_MINOR=6 FW_PATCH=5 FW_SUFFIX="" +DEFINES -= _UNICODE UNICODE diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp new file mode 100644 index 0000000..7b6719c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.cpp @@ -0,0 +1,1365 @@ +#include "spectrumanalyzer.h" + +#include "unit.h" +#include "CustomWidgets/toggleswitch.h" +#include "Traces/tracemodel.h" +#include "tracewidgetsa.h" +#include "Traces/tracesmithchart.h" +#include "Traces/tracexyplot.h" +#include "Traces/traceimportdialog.h" +#include "CustomWidgets/tilewidget.h" +#include "CustomWidgets/siunitedit.h" +#include "Traces/Marker/markerwidget.h" +#include "Tools/impedancematchdialog.h" +#include "ui_main.h" +#include "preferences.h" +#include "Generator/signalgenwidget.h" + +#include +#include +#include +#include "CustomWidgets/informationbox.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +SpectrumAnalyzer::SpectrumAnalyzer(AppWindow *window, QString name) + : Mode(window, name, "SA"), + firstPointTime(0), + central(new QScrollArea), + tiles(new TileWidget(traceModel, window)) +{ + central->setWidget(tiles); + central->setWidgetResizable(true); + changingSettings = false; + averages = 1; + singleSweep = false; + settings = {}; + normalize.active = false; + normalize.measuring = false; + normalize.points = 0; + normalize.dialog.reset(); + normalize.f_start = 0; + normalize.f_stop = 0; + normalize.points = 0; + normalize.Level = nullptr; + normalize.measure = nullptr; + normalize.enable = nullptr; + + lastFreq = 0.0; + lastTime = 0.0; + + configurationTimer.setSingleShot(true); + connect(&configurationTimer, &QTimer::timeout, this, [=](){ + ConfigureDevice(); + }); + + traceModel.setSource(TraceModel::DataSource::SA); + + // Create default traces + preset(); + + // Create menu entries and connections + // Sweep toolbar + auto tb_sweep = new QToolBar("Sweep"); + + auto bRun = new QPushButton("Run/Stop"); + bRun->setToolTip("Pause/continue sweep"); + bRun->setCheckable(true); + running = true; + connect(bRun, &QPushButton::toggled, [=](){ + if(bRun->isChecked()) { + Run(); + } else { + Stop(); + } + }); + connect(this, &SpectrumAnalyzer::sweepStopped, [=](){ + bRun->blockSignals(true); + bRun->setChecked(false); + bRun->setIcon(bRun->style()->standardIcon(QStyle::SP_MediaPause)); + bRun->blockSignals(false); + }); + connect(this, &SpectrumAnalyzer::sweepStarted, [=](){ + bRun->blockSignals(true); + bRun->setChecked(true); + bRun->setIcon(bRun->style()->standardIcon(QStyle::SP_MediaPlay)); + bRun->blockSignals(false); + }); + tb_sweep->addWidget(bRun); + + auto bSingle = new QPushButton("Single"); + bSingle->setToolTip("Single sweep"); + bSingle->setCheckable(true); + connect(bSingle, &QPushButton::toggled, this, &SpectrumAnalyzer::SetSingleSweep); + connect(this, &SpectrumAnalyzer::singleSweepChanged, bSingle, &QPushButton::setChecked); + tb_sweep->addWidget(bSingle); + + auto eStart = new SIUnitEdit("Hz", " kMG", 6); + // calculate width required with expected string length + auto width = QFontMetrics(eStart->font()).horizontalAdvance("10.00000 MHz") + 15; + eStart->setFixedWidth(width); + eStart->setToolTip("Start frequency"); + connect(eStart, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetStartFreq); + connect(this, &SpectrumAnalyzer::startFreqChanged, eStart, &SIUnitEdit::setValueQuiet); + tb_sweep->addWidget(new QLabel("Start:")); + tb_sweep->addWidget(eStart); + + auto eCenter = new SIUnitEdit("Hz", " kMG", 6); + eCenter->setFixedWidth(width); + eCenter->setToolTip("Center frequency"); + connect(eCenter, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetCenterFreq); + connect(this, &SpectrumAnalyzer::centerFreqChanged, eCenter, &SIUnitEdit::setValueQuiet); + tb_sweep->addWidget(new QLabel("Center:")); + tb_sweep->addWidget(eCenter); + + auto eStop = new SIUnitEdit("Hz", " kMG", 6); + eStop->setFixedWidth(width); + eStop->setToolTip("Stop frequency"); + connect(eStop, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetStopFreq); + connect(this, &SpectrumAnalyzer::stopFreqChanged, eStop, &SIUnitEdit::setValueQuiet); + tb_sweep->addWidget(new QLabel("Stop:")); + tb_sweep->addWidget(eStop); + + auto eSpan = new SIUnitEdit("Hz", " kMG", 6); + eSpan->setFixedWidth(width); + eSpan->setToolTip("Span"); + connect(eSpan, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetSpan); + connect(this, &SpectrumAnalyzer::spanChanged, eSpan, &SIUnitEdit::setValueQuiet); + tb_sweep->addWidget(new QLabel("Span:")); + tb_sweep->addWidget(eSpan); + + auto bFull = new QPushButton(QIcon::fromTheme("zoom-fit-best", QIcon(":/icons/zoom-fit.png")), ""); + bFull->setToolTip("Full span"); + connect(bFull, &QPushButton::clicked, this, &SpectrumAnalyzer::SetFullSpan); + tb_sweep->addWidget(bFull); + + auto bZoomIn = new QPushButton(QIcon::fromTheme("zoom-in", QIcon(":/icons/zoom-in.png")), ""); + bZoomIn->setToolTip("Zoom in"); + connect(bZoomIn, &QPushButton::clicked, this, &SpectrumAnalyzer::SpanZoomIn); + tb_sweep->addWidget(bZoomIn); + + auto bZoomOut = new QPushButton(QIcon::fromTheme("zoom-out", QIcon(":/icons/zoom-out.png")), ""); + bZoomOut->setToolTip("Zoom out"); + connect(bZoomOut, &QPushButton::clicked, this, &SpectrumAnalyzer::SpanZoomOut); + tb_sweep->addWidget(bZoomOut); + + auto bZero = new QPushButton("0"); + bZero->setToolTip("Zero span"); + bZero->setMaximumWidth(28); + bZero->setMaximumHeight(24); + connect(bZero, &QPushButton::clicked, this, &SpectrumAnalyzer::SetZeroSpan); + tb_sweep->addWidget(bZero); + + window->addToolBar(tb_sweep); + toolbars.insert(tb_sweep); + + // Acquisition toolbar + auto tb_acq = new QToolBar("Acquisition"); + + auto eBandwidth = new SIUnitEdit("Hz", " kM", 3); + eBandwidth->setFixedWidth(70); + eBandwidth->setToolTip("RBW"); + connect(eBandwidth, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetRBW); + connect(this, &SpectrumAnalyzer::RBWChanged, eBandwidth, &SIUnitEdit::setValueQuiet); + tb_acq->addWidget(new QLabel("RBW:")); + tb_acq->addWidget(eBandwidth); + + tb_acq->addWidget(new QLabel("Window:")); + cbWindowType = new QComboBox(); + cbWindowType->addItem("None"); + cbWindowType->addItem("Kaiser"); + cbWindowType->addItem("Hann"); + cbWindowType->addItem("Flat Top"); + cbWindowType->setCurrentIndex(1); + connect(cbWindowType, qOverload(&QComboBox::currentIndexChanged), [=](int index) { + SetWindow((DeviceDriver::SASettings::Window) index); + }); + tb_acq->addWidget(cbWindowType); + + tb_acq->addWidget(new QLabel("Detector:")); + cbDetector = new QComboBox(); + cbDetector->addItem("+Peak"); + cbDetector->addItem("-Peak"); + cbDetector->addItem("Sample"); + cbDetector->addItem("Normal"); + cbDetector->addItem("Average"); + cbDetector->setCurrentIndex(0); + connect(cbDetector, qOverload(&QComboBox::currentIndexChanged), [=](int index) { + SetDetector((DeviceDriver::SASettings::Detector) index); + }); + tb_acq->addWidget(cbDetector); + + tb_acq->addWidget(new QLabel("Averaging:")); + lAverages = new QLabel("0/"); + tb_acq->addWidget(lAverages); + auto sbAverages = new QSpinBox; + sbAverages->setRange(1, 100); + sbAverages->setRange(1, 99); + sbAverages->setFixedWidth(40); + connect(sbAverages, qOverload(&QSpinBox::valueChanged), this, &SpectrumAnalyzer::SetAveraging); + connect(this, &SpectrumAnalyzer::averagingChanged, sbAverages, &QSpinBox::setValue); + tb_acq->addWidget(sbAverages); + auto bResetAvg = new QPushButton("Reset"); + connect(bResetAvg, &QPushButton::clicked, this, [=](){ + average.reset(DeviceDriver::SApoints()); + UpdateAverageCount(); + }); + tb_acq->addWidget(bResetAvg); + + window->addToolBar(tb_acq); + toolbars.insert(tb_acq); + + // Tracking generator toolbar + tb_trackgen = new QToolBar("Tracking Generator"); + auto cbTrackGenEnable = new QCheckBox("Tracking Generator"); + connect(cbTrackGenEnable, &QCheckBox::toggled, this, &SpectrumAnalyzer::SetTGEnabled); + connect(this, &SpectrumAnalyzer::TGStateChanged, cbTrackGenEnable, &QCheckBox::setChecked); + tb_trackgen->addWidget(cbTrackGenEnable); + + cbTrackGenPort = new QComboBox(); + cbTrackGenPort->addItem("Port 1"); + cbTrackGenPort->addItem("Port 2"); + cbTrackGenPort->setCurrentIndex(0); + connect(cbTrackGenPort, qOverload(&QComboBox::currentIndexChanged), this, [=](int index) { + SetTGPort(index + 1); + }); + connect(this, &SpectrumAnalyzer::TGPortChanged, this, [=](int port) { + cbTrackGenPort->setCurrentIndex(port - 1); + }); + tb_trackgen->addWidget(cbTrackGenPort); + + auto dbm = new QDoubleSpinBox(); + dbm->setFixedWidth(95); + dbm->setRange(-100.0, 100.0); + dbm->setSingleStep(0.25); + dbm->setSuffix("dbm"); + dbm->setToolTip("Level"); + dbm->setKeyboardTracking(false); + connect(dbm, qOverload(&QDoubleSpinBox::valueChanged), this, &SpectrumAnalyzer::SetTGLevel); + connect(this, &SpectrumAnalyzer::TGLevelChanged, dbm, &QDoubleSpinBox::setValue); + tb_trackgen->addWidget(new QLabel("Level:")); + tb_trackgen->addWidget(dbm); + + tgOffset = new SIUnitEdit("Hz", " kMG", 6); + tgOffset->setFixedWidth(width); + tgOffset->setToolTip("Tracking generator offset"); + connect(tgOffset, &SIUnitEdit::valueChanged, this, &SpectrumAnalyzer::SetTGOffset); + connect(this, &SpectrumAnalyzer::TGOffsetChanged, tgOffset, &SIUnitEdit::setValueQuiet); + tb_trackgen->addWidget(new QLabel("Offset:")); + tb_trackgen->addWidget(tgOffset); + + normalize.enable = new QCheckBox("Normalize"); + tb_trackgen->addWidget(normalize.enable); + connect(normalize.enable, &QCheckBox::toggled, this, &SpectrumAnalyzer::EnableNormalization); + normalize.Level = new SIUnitEdit("dBm", " ", 3); + normalize.Level->setFixedWidth(width); + normalize.Level->setValue(0); + normalize.Level->setToolTip("Level to normalize to"); + tb_trackgen->addWidget(new QLabel("To:")); + tb_trackgen->addWidget(normalize.Level); + normalize.measure = new QPushButton("Measure"); + normalize.measure->setToolTip("Perform normalization measurement"); + connect(normalize.measure, &QPushButton::clicked, this, &SpectrumAnalyzer::MeasureNormalization); + tb_trackgen->addWidget(normalize.measure); + + window->addToolBar(tb_trackgen); + toolbars.insert(tb_trackgen); + + markerModel = new MarkerModel(traceModel, this); + + auto tracesDock = new QDockWidget("Traces"); + traceWidget = new TraceWidgetSA(traceModel, window); + tracesDock->setWidget(traceWidget); + window->addDockWidget(Qt::LeftDockWidgetArea, tracesDock); + docks.insert(tracesDock); + + auto importAction = new QAction("CSV"); + connect(importAction, &QAction::triggered, traceWidget, &TraceWidgetSA::importDialog); + importActions.push_back(importAction); + + auto exportAction = new QAction("CSV"); + connect(exportAction, &QAction::triggered, traceWidget, &TraceWidgetSA::exportDialog); + exportActions.push_back(exportAction); + + auto markerWidget = new MarkerWidget(*markerModel); + + auto markerDock = new QDockWidget("Marker"); + markerDock->setWidget(markerWidget); + window->addDockWidget(Qt::BottomDockWidgetArea, markerDock); + docks.insert(markerDock); + + // Set initial GUI state + deviceInfoUpdated(); + + SetupSCPI(); + + // Set initial TG settings + SetTGLevel(-20.0); + SetTGOffset(0); + SetTGEnabled(false); + + // Set initial sweep settings + auto& pref = Preferences::getInstance(); + + if(pref.Acquisition.useMedianAveraging) { + average.setMode(Averaging::Mode::Median); + } else { + average.setMode(Averaging::Mode::Mean); + } + + if(pref.Startup.RememberSweepSettings) { + LoadSweepSettings(); + } else { + settings.freqStart = pref.Startup.SA.start; + settings.freqStop = pref.Startup.SA.stop; + ConstrainAndUpdateFrequencies(); + SetRBW(pref.Startup.SA.RBW); + SetAveraging(pref.Startup.SA.averaging); + SetWindow((DeviceDriver::SASettings::Window) pref.Startup.SA.window); + SetDetector((DeviceDriver::SASettings::Detector) pref.Startup.SA.detector); + } + + finalize(central); +} + +void SpectrumAnalyzer::deactivate() +{ + StoreSweepSettings(); + configurationTimer.stop(); + Mode::deactivate(); + setOperationPending(false); +} + +void SpectrumAnalyzer::initializeDevice() +{ + if(!window->getDevice()->supports(DeviceDriver::Feature::SA)) { + InformationBox::ShowError("Unsupported", "The connected device does not support spectrum analyzer mode"); + return; + } + bool hasTG = window->getDevice()->supports(DeviceDriver::Feature::SATrackingGenerator); + bool hasTGoffset = window->getDevice()->supports(DeviceDriver::Feature::SATrackingOffset); + tb_trackgen->setEnabled(hasTG); + if(hasTG) { + SetTGEnabled(settings.trackingGenerator); + if(!hasTGoffset) { + tgOffset->setValue(0); + tgOffset->setEnabled(false); + } + } + connect(window->getDevice(), &DeviceDriver::SAmeasurementReceived, this, &SpectrumAnalyzer::NewDatapoint, Qt::UniqueConnection); + + // Configure initial state of device + ConstrainAndUpdateFrequencies(); + SettingsChanged(); +} + +void SpectrumAnalyzer::deviceDisconnected() +{ + emit sweepStopped(); +} + +void SpectrumAnalyzer::resetSettings() +{ + settings.freqStart = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq; + settings.freqStop = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq; + ConstrainAndUpdateFrequencies(); + SetRBW(1000000); + SetAveraging(1); + SetWindow(DeviceDriver::SASettings::Window::FlatTop); + SetDetector(DeviceDriver::SASettings::Detector::PPeak); + Stop(); +} + +nlohmann::json SpectrumAnalyzer::toJSON() +{ + nlohmann::json j; + // save current sweep/acquisition settings + nlohmann::json sweep; + nlohmann::json freq; + freq["start"] = settings.freqStart; + freq["stop"] = settings.freqStop; + sweep["frequency"] = freq; + sweep["single"] = singleSweep; + sweep["averages"] = averages; + nlohmann::json acq; + acq["RBW"] = settings.RBW; + acq["window"] = WindowToString((DeviceDriver::SASettings::Window) settings.window).toStdString(); + acq["detector"] = DetectorToString((DeviceDriver::SASettings::Detector) settings.detector).toStdString(); + sweep["acquisition"] = acq; + nlohmann::json tracking; + tracking["enabled"] = settings.trackingGenerator ? true : false; + tracking["port"] = settings.trackingPort; + tracking["offset"] = settings.trackingOffset; + tracking["power"] = settings.trackingPower; + sweep["trackingGenerator"] = tracking; + + if(normalize.active) { + nlohmann::json norm; + norm["start"] = normalize.f_start; + norm["stop"] = normalize.f_stop; + norm["points"] = normalize.points; + norm["level"] = normalize.Level->value(); + nlohmann::json jCorr; + for(auto m : normalize.portCorrection) { + jCorr[m.first.toStdString()] = m.second; + } + norm["corrections"] = jCorr; + sweep["normalization"] = norm; + } + j["sweep"] = sweep; + + j["traces"] = traceModel.toJSON(); + j["tiles"] = tiles->toJSON(); + j["markers"] = markerModel->toJSON(); + return j; +} + +void SpectrumAnalyzer::fromJSON(nlohmann::json j) +{ + if(j.is_null()) { + return; + } + if(j.contains("traces")) { + traceModel.fromJSON(j["traces"]); + } + if(j.contains("tiles")) { + tiles->fromJSON(j["tiles"]); + } + if(j.contains("markers")) { + markerModel->fromJSON(j["markers"]); + } + if(j.contains("sweep")) { + // restore sweep settings + auto sweep = j["sweep"]; + if(sweep.contains("frequency")) { + auto freq = sweep["frequency"]; + SetStartFreq(freq.value("start", settings.freqStart)); + SetStopFreq(freq.value("stop", settings.freqStop)); + } + if(sweep.contains("acquisition")) { + auto acq = sweep["acquisition"]; + SetRBW(acq.value("RBW", settings.RBW)); + auto w = WindowFromString(QString::fromStdString(acq.value("window", ""))); + if(w == DeviceDriver::SASettings::Window::Last) { + // invalid, keep current value + w = (DeviceDriver::SASettings::Window) settings.window; + } + SetWindow(w); + auto d = DetectorFromString(QString::fromStdString(acq.value("detector", ""))); + if(d == DeviceDriver::SASettings::Detector::Last) { + // invalid, keep current value + d = (DeviceDriver::SASettings::Detector) settings.detector; + } + SetDetector(d); + } + if(sweep.contains("trackingGenerator")) { + auto tracking = sweep["trackingGenerator"]; + SetTGEnabled(tracking.value("enabled", settings.trackingGenerator ? true : false)); + int port = tracking.value("port", 1); + SetTGPort(port); + SetTGLevel(tracking.value("power", settings.trackingPower)); + SetTGOffset(tracking.value("offset", settings.trackingOffset)); + } + if(sweep.contains("normalization")) { + auto norm = sweep["normalization"]; + // restore normalization data + normalize.portCorrection.clear(); + if(norm.contains("corrections")) { + for(auto& el : norm["corrections"].items()) { + normalize.portCorrection[QString::fromStdString(el.key())] = {}; + for(auto p : el.value()) { + normalize.portCorrection[QString::fromStdString(el.key())].push_back(p); + } + } + } + normalize.f_start = norm.value("start", normalize.f_start); + normalize.f_stop = norm.value("stop", normalize.f_stop); + normalize.points = norm.value("points", normalize.points); + normalize.Level->setValue(norm.value("level", normalize.Level->value())); + // check correction vector size + bool correctSize = true; + for(auto c : normalize.portCorrection) { + if(c.second.size() != normalize.points) { + correctSize = false; + break; + } + } + EnableNormalization(correctSize); + } + SetSingleSweep(sweep.value("single", singleSweep)); + SetAveraging(sweep.value("averages", averages)); + } +} + +using namespace std; + +void SpectrumAnalyzer::NewDatapoint(DeviceDriver::SAMeasurement m) +{ + if(isActive != true) { + return; + } + + if(changingSettings) { + // already setting new sweep settings, ignore incoming points from old settings + return; + } + + if(singleSweep && average.getLevel() == averages) { + Stop(); + return; + } + + auto m_avg = average.process(m); + if(average.settled()) { + setOperationPending(false); + } + + if(settings.freqStart == settings.freqStop) { + // keep track of first point time + if(m_avg.pointNum == 0) { + firstPointTime = m_avg.us; + m_avg.us = 0; + } else { + m_avg.us -= firstPointTime; + } + } + + window->addStreamingData(m_avg, AppWindow::SADataType::Raw, settings.freqStart == settings.freqStop); + + if(normalize.measuring) { + if(average.currentSweep() == averages) { + // this is the last averaging sweep, use values for normalization + if(normalize.portCorrection.size() > 0 || m_avg.pointNum == 0) { + // add measurement + for(auto m : m_avg.measurements) { + normalize.portCorrection[m.first].push_back(m.second); + } + if(m_avg.pointNum == DeviceDriver::SApoints() - 1) { + // this was the last point + normalize.measuring = false; + normalize.f_start = settings.freqStart; + normalize.f_stop = settings.freqStop; + normalize.points = DeviceDriver::SApoints(); + EnableNormalization(true); + qDebug() << "Normalization measurement complete"; + } + } + } + int percentage = (((average.currentSweep() - 1) * 100) + (m_avg.pointNum + 1) * 100 / DeviceDriver::SApoints()) / averages; + normalize.dialog.setValue(percentage); + } + + if(normalize.active) { + double corr = pow(10.0, normalize.Level->value() / 20.0); + for(auto &m : m_avg.measurements) { + m.second /= normalize.portCorrection[m.first][m_avg.pointNum]; + m.second *= corr; + } + window->addStreamingData(m_avg, AppWindow::SADataType::Normalized, settings.freqStart == settings.freqStop); + } + + + traceModel.addSAData(m_avg, settings); + emit dataChanged(); + if(m_avg.pointNum == DeviceDriver::SApoints() - 1) { + UpdateAverageCount(); + markerModel->updateMarkers(); + } + static unsigned int lastPoint = 0; + if(m_avg.pointNum > 0 && m_avg.pointNum != lastPoint + 1) { + qWarning() << "Got point" << m_avg.pointNum << "but last received point was" << lastPoint << "("<<(m_avg.pointNum-lastPoint-1)<<"missed points)"; + } + lastPoint = m_avg.pointNum; + + lastFreq = m_avg.frequency; + lastTime = (double) m_avg.us / 1000000; +} + +void SpectrumAnalyzer::SettingsChanged() +{ + if(!running) { + // not running, no need for any communication + return; + } + if(isActive && window->getDevice()) { + setOperationPending(true); + } + configurationTimer.start(100); + ResetLiveTraces(); +} + +void SpectrumAnalyzer::SetStartFreq(double freq) +{ + settings.freqStart = freq; + if(settings.freqStop < freq) { + settings.freqStop = freq; + } + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SetStopFreq(double freq) +{ + settings.freqStop = freq; + if(settings.freqStart > freq) { + settings.freqStart = freq; + } + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SetCenterFreq(double freq) +{ + auto old_span = settings.freqStop - settings.freqStart; + if (freq - old_span / 2 <= DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq) { + // would shift start frequency below minimum + settings.freqStart = 0; + settings.freqStop = 2 * freq; + } else if(freq + old_span / 2 >= DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq) { + // would shift stop frequency above maximum + settings.freqStart = 2 * freq - DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq; + settings.freqStop = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq; + } else { + settings.freqStart = freq - old_span / 2; + settings.freqStop = freq + old_span / 2; + } + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SetSpan(double span) +{ + auto old_center = (settings.freqStart + settings.freqStop) / 2; + if(old_center < DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq + span / 2) { + // would shift start frequency below minimum + settings.freqStart = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq; + settings.freqStop = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq + span; + } else if(old_center > DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq - span / 2) { + // would shift stop frequency above maximum + settings.freqStart = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq - span; + settings.freqStop = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq; + } else { + settings.freqStart = old_center - span / 2; + settings.freqStop = settings.freqStart + span; + } + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SetFullSpan() +{ + auto &pref = Preferences::getInstance(); + if(pref.Acquisition.fullSpanManual) { + settings.freqStart = pref.Acquisition.fullSpanStart; + settings.freqStop = pref.Acquisition.fullSpanStop; + } else { + settings.freqStart = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq; + settings.freqStop = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq; + } + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SetZeroSpan() +{ + auto center = (settings.freqStart + settings.freqStop) / 2; + SetStartFreq(center); + SetStopFreq(center); +} + +void SpectrumAnalyzer::SpanZoomIn() +{ + auto center = (settings.freqStart + settings.freqStop) / 2; + auto old_span = settings.freqStop - settings.freqStart; + settings.freqStart = center - old_span / 4; + settings.freqStop = center + old_span / 4; + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SpanZoomOut() +{ + auto center = (settings.freqStart + settings.freqStop) / 2; + auto old_span = settings.freqStop - settings.freqStart; + if(center > old_span) { + settings.freqStart = center - old_span; + } else { + settings.freqStart = 0; + } + settings.freqStop = center + old_span; + ConstrainAndUpdateFrequencies(); +} + +void SpectrumAnalyzer::SetSingleSweep(bool single) +{ + if(singleSweep != single) { + singleSweep = single; + if(single) { + Run(); + } + emit singleSweepChanged(single); + } else { + // if already set to single, a second single command triggers a new sweep + if(single && !running) { + Run(); + } + } +} + +void SpectrumAnalyzer::SetRBW(double bandwidth) +{ + if(bandwidth > DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxRBW) { + bandwidth = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxRBW; + } else if(bandwidth < DeviceDriver::getInfo(window->getDevice()).Limits.SA.minRBW) { + bandwidth = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minRBW; + } + settings.RBW = bandwidth; + emit RBWChanged(settings.RBW); + SettingsChanged(); +} + +void SpectrumAnalyzer::SetWindow(DeviceDriver::SASettings::Window w) +{ + settings.window = w; + cbWindowType->setCurrentIndex((int) w); + SettingsChanged(); +} + +void SpectrumAnalyzer::SetDetector(DeviceDriver::SASettings::Detector d) +{ + settings.detector = d; + cbDetector->setCurrentIndex((int) d); + SettingsChanged(); +} + +void SpectrumAnalyzer::SetAveraging(unsigned int averages) +{ + this->averages = averages; + average.setAverages(averages); + emit averagingChanged(averages); + UpdateAverageCount(); + if(isActive && window->getDevice()) { + setOperationPending(!average.settled()); + } +} + +void SpectrumAnalyzer::SetTGEnabled(bool enabled) +{ + if(enabled != settings.trackingGenerator) { + settings.trackingGenerator = enabled; + emit TGStateChanged(enabled); + SettingsChanged(); + } + normalize.Level->setEnabled(enabled); + normalize.enable->setEnabled(enabled); + normalize.measure->setEnabled(enabled); + if(!enabled && normalize.active) { + // disable normalization when TG is turned off + EnableNormalization(false); + } +} + +void SpectrumAnalyzer::SetTGPort(int port) +{ + if(port < 1 || port > cbTrackGenPort->count()) { + return; + } + if(port != settings.trackingPort) { + settings.trackingPort = port; + emit TGPortChanged(port); + if(settings.trackingGenerator) { + SettingsChanged(); + } + } +} + +void SpectrumAnalyzer::SetTGLevel(double level) +{ + if(level > DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxdBm) { + level = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxdBm; + } else if(level < DeviceDriver::getInfo(window->getDevice()).Limits.SA.mindBm) { + level = DeviceDriver::getInfo(window->getDevice()).Limits.SA.mindBm; + } + emit TGLevelChanged(level); + settings.trackingPower = level; + if(settings.trackingGenerator) { + SettingsChanged(); + } +} + +void SpectrumAnalyzer::SetTGOffset(double offset) +{ + settings.trackingOffset = offset; + + ConstrainAndUpdateFrequencies(); + if(settings.trackingGenerator) { + SettingsChanged(); + } +} + +void SpectrumAnalyzer::MeasureNormalization() +{ + if(!window->getDevice()) { + return; + } + normalize.active = false; + normalize.portCorrection.clear(); + for(auto m : window->getDevice()->availableSAMeasurements()) { + normalize.portCorrection[m] = {}; + } + normalize.measuring = true; + normalize.dialog.setLabelText("Taking normalization measurement..."); + normalize.dialog.setCancelButtonText("Abort"); + normalize.dialog.setWindowTitle("Normalization"); + normalize.dialog.setValue(0); + normalize.dialog.setWindowModality(Qt::ApplicationModal); + // always show the dialog + normalize.dialog.setMinimumDuration(0); + connect(&normalize.dialog, &QProgressDialog::canceled, this, &SpectrumAnalyzer::AbortNormalization); + // trigger beginning of next sweep + SettingsChanged(); +} + +void SpectrumAnalyzer::AbortNormalization() +{ + EnableNormalization(false); + ClearNormalization(); + normalize.dialog.reset(); +} + +void SpectrumAnalyzer::EnableNormalization(bool enabled) +{ + if(enabled != normalize.active) { + if(enabled) { + // check if measurements already taken + if(normalize.f_start == settings.freqStart && normalize.f_stop == settings.freqStop + && normalize.points == DeviceDriver::SApoints()) { + // same settings as with normalization measurement, can enable + normalize.active = true; + } else { + // needs to take measurement first + MeasureNormalization(); + } + } else { + // disabled + normalize.active = false; + } + } + normalize.enable->blockSignals(true); + normalize.enable->setChecked(normalize.active); + normalize.enable->blockSignals(false); +} + +void SpectrumAnalyzer::ClearNormalization() +{ + EnableNormalization(false); + normalize.active = false; + normalize.measuring = false; + normalize.points = 0; + normalize.portCorrection.clear(); + normalize.f_start = 0; + normalize.f_stop = 0; +} + +void SpectrumAnalyzer::SetNormalizationLevel(double level) +{ + normalize.Level->setValueQuiet(level); + emit NormalizationLevelChanged(level); +} + +void SpectrumAnalyzer::Run() +{ + running = true; + ConfigureDevice(); +} + +void SpectrumAnalyzer::Stop() +{ + running = false; + ConfigureDevice(); + setOperationPending(false); +} + +void SpectrumAnalyzer::ConfigureDevice() +{ + configurationTimer.stop(); + if(running) { + changingSettings = true; + + if(window->getDevice() && isActive) { + window->getDevice()->setSA(settings, [=](bool){ + // device received command + changingSettings = false; + + if(normalize.active) { + // check if normalization is still valid + if(normalize.f_start != settings.freqStart || normalize.f_stop != settings.freqStop || normalize.points != DeviceDriver::SApoints()) { + // normalization was taken at different settings, disable + EnableNormalization(false); + InformationBox::ShowMessage("Information", "Normalization was disabled because the span has been changed"); + } + } + }); + emit sweepStarted(); + } else { + // no device, unable to start sweep + emit sweepStopped(); + changingSettings = false; + } + average.reset(DeviceDriver::SApoints()); + UpdateAverageCount(); + traceModel.clearLiveData(); + traceModel.setSpan(settings.freqStart, settings.freqStop); + } else { + if(window->getDevice() && isActive) { + changingSettings = true; + // single sweep finished + window->getDevice()->setIdle([=](bool){ + emit sweepStopped(); + changingSettings = false; + }); + } else { + emit sweepStopped(); + changingSettings = false; + } + } +} + +void SpectrumAnalyzer::ResetLiveTraces() +{ + average.reset(DeviceDriver::SApoints()); + traceModel.clearLiveData(); + UpdateAverageCount(); +} + +void SpectrumAnalyzer::SetupSCPI() +{ + auto scpi_freq = new SCPINode("FREQuency"); + SCPINode::add(scpi_freq); + scpi_freq->add(new SCPICommand("SPAN", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetSpan(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(settings.freqStop - settings.freqStart, 'f', 0); + })); + scpi_freq->add(new SCPICommand("START", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetStartFreq(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(settings.freqStart, 'f', 0); + })); + scpi_freq->add(new SCPICommand("CENTer", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetCenterFreq(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number((settings.freqStart + settings.freqStop)/2, 'f', 0); + })); + scpi_freq->add(new SCPICommand("STOP", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetStopFreq(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(settings.freqStop, 'f', 0); + })); + scpi_freq->add(new SCPICommand("FULL", [=](QStringList params) -> QString { + Q_UNUSED(params) + SetFullSpan(); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + scpi_freq->add(new SCPICommand("ZERO", [=](QStringList params) -> QString { + Q_UNUSED(params) + SetZeroSpan(); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + auto scpi_acq = new SCPINode("ACQuisition"); + SCPINode::add(scpi_acq); + scpi_acq->add(new SCPICommand("RUN", [=](QStringList) -> QString { + Run(); + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return running ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + scpi_acq->add(new SCPICommand("STOP", [=](QStringList) -> QString { + Stop(); + return SCPI::getResultName(SCPI::Result::Empty); + }, nullptr)); + scpi_acq->add(new SCPICommand("RBW", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetRBW(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(settings.RBW); + })); + scpi_acq->add(new SCPICommand("WINDow", [=](QStringList params) -> QString { + if (params.size() != 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + if (params[0] == "NONE") { + SetWindow(DeviceDriver::SASettings::Window::None); + } else if(params[0] == "KAISER") { + SetWindow(DeviceDriver::SASettings::Window::Kaiser); + } else if(params[0] == "HANN") { + SetWindow(DeviceDriver::SASettings::Window::Hann); + } else if(params[0] == "FLATTOP") { + SetWindow(DeviceDriver::SASettings::Window::FlatTop); + } else { + return "INVALID WINDOW"; + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + switch((DeviceDriver::SASettings::Window) settings.window) { + case DeviceDriver::SASettings::Window::None: return "NONE"; + case DeviceDriver::SASettings::Window::Kaiser: return "KAISER"; + case DeviceDriver::SASettings::Window::Hann: return "HANN"; + case DeviceDriver::SASettings::Window::FlatTop: return "FLATTOP"; + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + scpi_acq->add(new SCPICommand("DETector", [=](QStringList params) -> QString { + if (params.size() != 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + if (params[0] == "+PEAK") { + SetDetector(DeviceDriver::SASettings::Detector::PPeak); + } else if(params[0] == "-PEAK") { + SetDetector(DeviceDriver::SASettings::Detector::NPeak); + } else if(params[0] == "NORMAL") { + SetDetector(DeviceDriver::SASettings::Detector::Normal); + } else if(params[0] == "SAMPLE") { + SetDetector(DeviceDriver::SASettings::Detector::Sample); + } else if(params[0] == "AVERAGE") { + SetDetector(DeviceDriver::SASettings::Detector::Average); + } else { + return "INVALID MDOE"; + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + switch((DeviceDriver::SASettings::Detector) settings.detector) { + case DeviceDriver::SASettings::Detector::PPeak: return "+PEAK"; + case DeviceDriver::SASettings::Detector::NPeak: return "-PEAK"; + case DeviceDriver::SASettings::Detector::Normal: return "NORMAL"; + case DeviceDriver::SASettings::Detector::Sample: return "SAMPLE"; + case DeviceDriver::SASettings::Detector::Average: return "AVERAGE"; + default: return SCPI::getResultName(SCPI::Result::Error); + } + })); + scpi_acq->add(new SCPICommand("AVG", [=](QStringList params) -> QString { + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetAveraging(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(averages); + })); + scpi_acq->add(new SCPICommand("AVGLEVel", nullptr, [=](QStringList) -> QString { + return QString::number(average.getLevel()); + })); + scpi_acq->add(new SCPICommand("FINished", nullptr, [=](QStringList) -> QString { + return average.getLevel() == averages ? "TRUE" : "FALSE"; + })); + scpi_acq->add(new SCPICommand("LIMit", nullptr, [=](QStringList) -> QString { + return tiles->allLimitsPassing() ? "PASS" : "FAIL"; + })); + scpi_acq->add(new SCPICommand("SINGLE", [=](QStringList params) -> QString { + bool single; + if(!SCPI::paramToBool(params, 0, single)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetSingleSweep(single); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return singleSweep ? SCPI::getResultName(SCPI::Result::True): SCPI::getResultName(SCPI::Result::False); + })); + scpi_acq->add(new SCPICommand("FREQuency", nullptr, [=](QStringList) -> QString { + return QString::number(lastFreq); + })); + scpi_acq->add(new SCPICommand("TIME", nullptr, [=](QStringList) -> QString { + return QString::number(lastTime); + })); + auto scpi_tg = new SCPINode("TRACKing"); + SCPINode::add(scpi_tg); + scpi_tg->add(new SCPICommand("ENable", [=](QStringList params) -> QString { + if (params.size() != 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + if(params[0] == "1" || params[0] == "TRUE") { + SetTGEnabled(true); + } else if(params[0] == "0" || params[0] == "FALSE") { + SetTGEnabled(false); + } else { + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return settings.trackingGenerator ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + scpi_tg->add(new SCPICommand("Port", [=](QStringList params) -> QString { + if (params.size() != 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + unsigned long long newval; + if(!SCPI::paramToULongLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else if(newval > 0 && newval <= DeviceDriver::getInfo(window->getDevice()).Limits.SA.ports){ + SetTGPort(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } else { + // invalid port number + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return QString::number(settings.trackingPort); + })); + scpi_tg->add(new SCPICommand("LVL", [=](QStringList params) -> QString { + double newval; + if(!SCPI::paramToDouble(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetTGLevel(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(settings.trackingPower); + })); + scpi_tg->add(new SCPICommand("OFFset", [=](QStringList params) -> QString { + long newval; + if(!SCPI::paramToLong(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetTGOffset(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(settings.trackingOffset); + })); + auto scpi_norm = new SCPINode("NORMalize"); + scpi_tg->add(scpi_norm); + scpi_norm->add(new SCPICommand("ENable", [=](QStringList params) -> QString { + if (params.size() != 1) { + return SCPI::getResultName(SCPI::Result::Error); + } + if(params[0] == "1" || params[0] == "TRUE") { + EnableNormalization(true); + } else if(params[0] == "0" || params[0] == "FALSE") { + EnableNormalization(false); + } else { + return SCPI::getResultName(SCPI::Result::Error); + } + return SCPI::getResultName(SCPI::Result::Empty); + }, [=](QStringList) -> QString { + return normalize.active ? SCPI::getResultName(SCPI::Result::True) : SCPI::getResultName(SCPI::Result::False); + })); + scpi_norm->add(new SCPICommand("MEASure", [=](QStringList params) -> QString { + Q_UNUSED(params) + MeasureNormalization(); + return ""; + }, nullptr)); + scpi_norm->add(new SCPICommand("LVL", [=](QStringList params) -> QString { + double newval; + if(!SCPI::paramToDouble(params, 0, newval)) { + return SCPI::getResultName(SCPI::Result::Error); + } else { + SetNormalizationLevel(newval); + return SCPI::getResultName(SCPI::Result::Empty); + } + }, [=](QStringList) -> QString { + return QString::number(normalize.Level->value()); + })); + SCPINode::add(traceWidget); +} + +void SpectrumAnalyzer::UpdateAverageCount() +{ + lAverages->setText(QString::number(average.getLevel()) + "/"); +} + +void SpectrumAnalyzer::ConstrainAndUpdateFrequencies() +{ + if(settings.freqStop > DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq) { + settings.freqStop = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq; + } + if(settings.freqStart > settings.freqStop) { + settings.freqStart = settings.freqStop; + } + if(settings.freqStart < DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq) { + settings.freqStart = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq; + } + + bool trackingOffset_limited = false; + if(settings.freqStop + settings.trackingOffset > DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq) { + trackingOffset_limited = true; + settings.trackingOffset = DeviceDriver::getInfo(window->getDevice()).Limits.SA.maxFreq - settings.freqStop; + } + if(settings.freqStart + settings.trackingOffset < DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq) { + trackingOffset_limited = true; + settings.trackingOffset = DeviceDriver::getInfo(window->getDevice()).Limits.SA.minFreq - settings.freqStart; + } + if(trackingOffset_limited) { + InformationBox::ShowMessage("Warning", "The selected tracking generator offset is not reachable for all frequencies with the current span. " + "The tracking generator offset has been constrained according to the selected start and stop frequencies"); + } + emit startFreqChanged(settings.freqStart); + emit stopFreqChanged(settings.freqStop); + emit spanChanged(settings.freqStop - settings.freqStart); + emit centerFreqChanged((settings.freqStop + settings.freqStart)/2); + emit TGOffsetChanged(settings.trackingOffset); + SettingsChanged(); +} + +void SpectrumAnalyzer::LoadSweepSettings() +{ + QSettings s; + auto& pref = Preferences::getInstance(); + settings.freqStart = s.value("SAStart", pref.Startup.SA.start).toULongLong(); + settings.freqStop = s.value("SAStop", pref.Startup.SA.stop).toULongLong(); + ConstrainAndUpdateFrequencies(); + SetRBW(s.value("SARBW", pref.Startup.SA.RBW).toUInt()); + SetWindow((DeviceDriver::SASettings::Window) s.value("SAWindow", pref.Startup.SA.window).toInt()); + SetDetector((DeviceDriver::SASettings::Detector) s.value("SADetector", pref.Startup.SA.detector).toInt()); + SetAveraging(s.value("SAAveraging", pref.Startup.SA.averaging).toInt()); +} + +void SpectrumAnalyzer::StoreSweepSettings() +{ + QSettings s; + s.setValue("SAStart", static_cast(settings.freqStart)); + s.setValue("SAStop", static_cast(settings.freqStop)); + s.setValue("SARBW", settings.RBW); + s.setValue("SAWindow", (int) settings.window); + s.setValue("SADetector", (int) settings.detector); + s.setValue("SAAveraging", averages); +} + +void SpectrumAnalyzer::createDefaultTracesAndGraphs(int ports) +{ + tiles->clear(); + auto traceXY = new TraceXYPlot(traceModel); + traceXY->setYAxis(0, YAxis::Type::Magnitude, false, false, -120,0,12,false); + traceXY->setYAxis(1, YAxis::Type::Disabled, false, true, 0, 0, 10, false); + traceXY->updateSpan(settings.freqStart, settings.freqStop); + + tiles->setPlot(traceXY); + + QColor defaultColors[] = {Qt::yellow, Qt::blue, Qt::red, Qt::green, Qt::gray, Qt::cyan, Qt::magenta, Qt::white}; + + for(int i=0;ienableTrace(trace, true); + } +} + +void SpectrumAnalyzer::setAveragingMode(Averaging::Mode mode) +{ + average.setMode(mode); +} + +void SpectrumAnalyzer::preset() +{ + for(auto t : traceModel.getTraces()) { + if(Trace::isSAParameter(t->name())) { + traceModel.removeTrace(t); + } + } + // Create default traces + createDefaultTracesAndGraphs(DeviceDriver::getInfo(window->getDevice()).Limits.SA.ports); +} + +void SpectrumAnalyzer::deviceInfoUpdated() +{ + // new device connected, throw away normalization + ClearNormalization(); + auto tgPort = cbTrackGenPort->currentIndex(); + cbTrackGenPort->clear(); + for(unsigned int i=0;igetDevice()).Limits.SA.ports;i++) { + cbTrackGenPort->addItem("Port "+QString::number(i+1)); + } + SetTGPort(tgPort); +} + +QString SpectrumAnalyzer::WindowToString(DeviceDriver::SASettings::Window w) +{ + switch(w) { + case DeviceDriver::SASettings::Window::None: return "None"; + case DeviceDriver::SASettings::Window::Kaiser: return "Kaiser"; + case DeviceDriver::SASettings::Window::Hann: return "Hann"; + case DeviceDriver::SASettings::Window::FlatTop: return "FlatTop"; + default: return "Unknown"; + } +} + +DeviceDriver::SASettings::Window SpectrumAnalyzer::WindowFromString(QString s) +{ + for(int i=0;i<(int)DeviceDriver::SASettings::Window::Last;i++) { + if(WindowToString((DeviceDriver::SASettings::Window) i) == s) { + return (DeviceDriver::SASettings::Window) i; + } + } + // not found + return DeviceDriver::SASettings::Window::Last; +} + +QString SpectrumAnalyzer::DetectorToString(DeviceDriver::SASettings::Detector d) +{ + switch(d) { + case DeviceDriver::SASettings::Detector::PPeak: return "+Peak"; + case DeviceDriver::SASettings::Detector::NPeak: return "-Peak"; + case DeviceDriver::SASettings::Detector::Sample: return "Sample"; + case DeviceDriver::SASettings::Detector::Normal: return "Normal"; + case DeviceDriver::SASettings::Detector::Average: return "Average"; + default: return "Unknown"; + } +} + +DeviceDriver::SASettings::Detector SpectrumAnalyzer::DetectorFromString(QString s) +{ + for(int i=0;i<(int)DeviceDriver::SASettings::Detector::Last;i++) { + if(DetectorToString((DeviceDriver::SASettings::Detector) i) == s) { + return (DeviceDriver::SASettings::Detector) i; + } + } + // not found + return DeviceDriver::SASettings::Detector::Last; +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.h new file mode 100644 index 0000000..4846007 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/spectrumanalyzer.h @@ -0,0 +1,158 @@ +#ifndef SPECTRUMANALYZER_H +#define SPECTRUMANALYZER_H + +#include "appwindow.h" +#include "mode.h" +#include "CustomWidgets/tilewidget.h" +#include "scpi.h" +#include "tracewidgetsa.h" + +#include +#include +#include +#include +#include + +class SpectrumAnalyzer : public Mode +{ + Q_OBJECT +public: + SpectrumAnalyzer(AppWindow *window, QString name = "Spectrum Analyzer"); + + void deactivate() override; + void initializeDevice() override; + void deviceDisconnected() override; + + virtual Type getType() override { return Type::SA;} + + virtual void resetSettings() override; + + // Only save/load user changeable stuff, no need to save the widgets/mode name etc. + virtual nlohmann::json toJSON() override; + virtual void fromJSON(nlohmann::json j) override; + + void updateGraphColors(); + void setAveragingMode(Averaging::Mode mode) override; + + void preset() override; + + QList getImportOptions() override { return importActions;} + QList getExportOptions() override { return exportActions;} + + virtual void deviceInfoUpdated() override; + +public slots: + void Run(); + void Stop(); + +private: + static QString WindowToString(DeviceDriver::SASettings::Window w); + static DeviceDriver::SASettings::Window WindowFromString(QString s); + static QString DetectorToString(DeviceDriver::SASettings::Detector d); + static DeviceDriver::SASettings::Detector DetectorFromString(QString s); + +private slots: + void NewDatapoint(DeviceDriver::SAMeasurement m); + // Sweep control + void SetStartFreq(double freq); + void SetStopFreq(double freq); + void SetCenterFreq(double freq); + void SetSpan(double span); + void SetFullSpan(); + void SetZeroSpan(); + void SpanZoomIn(); + void SpanZoomOut(); + void SetSingleSweep(bool single); + // Acquisition control + void SetRBW(double bandwidth); + void SetWindow(DeviceDriver::SASettings::Window w); + void SetDetector(DeviceDriver::SASettings::Detector d); + void SetAveraging(unsigned int averages); + // TG control + void SetTGEnabled(bool enabled); + void SetTGPort(int port); + void SetTGLevel(double level); + void SetTGOffset(double offset); + void MeasureNormalization(); + void AbortNormalization(); + void EnableNormalization(bool enabled); + void ClearNormalization(); + void SetNormalizationLevel(double level); + + void ConfigureDevice(); + void ResetLiveTraces(); + +private: + void SetupSCPI(); + void UpdateAverageCount(); + void SettingsChanged(); + void ConstrainAndUpdateFrequencies(); + void LoadSweepSettings(); + void StoreSweepSettings(); + + void createDefaultTracesAndGraphs(int ports); + + DeviceDriver::SASettings settings; + bool changingSettings; + unsigned int averages; + bool singleSweep; + bool running; + QTimer configurationTimer; + + double firstPointTime; // timestamp of the first point in the sweep, only use when zerospan is used + TraceModel traceModel; + TraceWidgetSA *traceWidget; + MarkerModel *markerModel; + Averaging average; + + QScrollArea *central; + TileWidget *tiles; + QCheckBox *cbSignalID; + QComboBox *cbWindowType, *cbDetector; + QComboBox *cbTrackGenPort; + QLabel *lAverages; + + struct { + bool active; + bool measuring; + // settings when normalize was measured + double f_start, f_stop, points; + // correction values to get the ports to 0dBm + std::map> portCorrection; + // level to normalize to (additional correction factor) + SIUnitEdit *Level; + + // GUI elements + QProgressDialog dialog; + QPushButton *measure; + QCheckBox *enable; + } normalize; + + // import/export actions + QList importActions; + QList exportActions; + + // meta data from the last received datapoint + double lastFreq; + double lastTime; + +signals: + void dataChanged(); + void startFreqChanged(double freq); + void stopFreqChanged(double freq); + void centerFreqChanged(double freq); + void spanChanged(double span); + void singleSweepChanged(bool single); + void RBWChanged(double RBW); + void TGStateChanged(bool enabled); + void TGPortChanged(int port); + void TGOffsetChanged(double offset); + void TGLevelChanged(double level); + void NormalizationLevelChanged(double level); + + void averagingChanged(unsigned int averages); + void sweepStopped(); + void sweepStarted(); +}; + +#endif // VNA_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/tracewidgetsa.cpp b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/tracewidgetsa.cpp new file mode 100644 index 0000000..d9d46c9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/tracewidgetsa.cpp @@ -0,0 +1,22 @@ +#include "tracewidgetsa.h" + +#include "Traces/tracecsvexport.h" +#include "Traces/traceimportdialog.h" +#include "CustomWidgets/informationbox.h" +#include "appwindow.h" + +#include + +TraceWidgetSA::TraceWidgetSA(TraceModel &model, QWidget *parent) + : TraceWidget(model, nullptr, nullptr, parent) +{ + +} + +void TraceWidgetSA::exportDialog() +{ + auto csv = new TraceCSVExport(model); + if(AppWindow::showGUI()) { + csv->show(); + } +} diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/tracewidgetsa.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/tracewidgetsa.h new file mode 100644 index 0000000..52c2201 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/SpectrumAnalyzer/tracewidgetsa.h @@ -0,0 +1,18 @@ +#ifndef TRACEWIDGETSA_H +#define TRACEWIDGETSA_H + +#include "Traces/tracewidget.h" + +class TraceWidgetSA : public TraceWidget +{ +public: + TraceWidgetSA(TraceModel &model, QWidget *parent = nullptr); +public slots: + virtual void exportDialog() override; + virtual QStringList supportsImportFileFormats() override {return {"csv"};} + +protected: + virtual QString defaultParameter() override {return "PORT1";} +}; + +#endif // TRACEWIDGETSA_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Cholesky b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Cholesky new file mode 100644 index 0000000..a318ceb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Cholesky @@ -0,0 +1,45 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CHOLESKY_MODULE_H +#define EIGEN_CHOLESKY_MODULE_H + +#include "Core" +#include "Jacobi" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup Cholesky_Module Cholesky module + * + * + * + * This module provides two variants of the Cholesky decomposition for selfadjoint (hermitian) matrices. + * Those decompositions are also accessible via the following methods: + * - MatrixBase::llt() + * - MatrixBase::ldlt() + * - SelfAdjointView::llt() + * - SelfAdjointView::ldlt() + * + * \code + * #include + * \endcode + */ + +#include "src/Cholesky/LLT.h" +#include "src/Cholesky/LDLT.h" +#ifdef EIGEN_USE_LAPACKE +#ifdef EIGEN_USE_MKL +#include "mkl_lapacke.h" +#else +#include "src/misc/lapacke.h" +#endif +#include "src/Cholesky/LLT_LAPACKE.h" +#endif + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_CHOLESKY_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/CholmodSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/CholmodSupport new file mode 100644 index 0000000..bed8924 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/CholmodSupport @@ -0,0 +1,48 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CHOLMODSUPPORT_MODULE_H +#define EIGEN_CHOLMODSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +extern "C" { + #include +} + +/** \ingroup Support_modules + * \defgroup CholmodSupport_Module CholmodSupport module + * + * This module provides an interface to the Cholmod library which is part of the suitesparse package. + * It provides the two following main factorization classes: + * - class CholmodSupernodalLLT: a supernodal LLT Cholesky factorization. + * - class CholmodDecomposiiton: a general L(D)LT Cholesky factorization with automatic or explicit runtime selection of the underlying factorization method (supernodal or simplicial). + * + * For the sake of completeness, this module also propose the two following classes: + * - class CholmodSimplicialLLT + * - class CholmodSimplicialLDLT + * Note that these classes does not bring any particular advantage compared to the built-in + * SimplicialLLT and SimplicialLDLT factorization classes. + * + * \code + * #include + * \endcode + * + * In order to use this module, the cholmod headers must be accessible from the include paths, and your binary must be linked to the cholmod library and its dependencies. + * The dependencies depend on how cholmod has been compiled. + * For a cmake based project, you can use our FindCholmod.cmake module to help you in this task. + * + */ + +#include "src/CholmodSupport/CholmodSupport.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_CHOLMODSUPPORT_MODULE_H + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Core b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Core new file mode 100644 index 0000000..5921e15 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Core @@ -0,0 +1,384 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2007-2011 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CORE_H +#define EIGEN_CORE_H + +// first thing Eigen does: stop the compiler from reporting useless warnings. +#include "src/Core/util/DisableStupidWarnings.h" + +// then include this file where all our macros are defined. It's really important to do it first because +// it's where we do all the compiler/OS/arch detections and define most defaults. +#include "src/Core/util/Macros.h" + +// This detects SSE/AVX/NEON/etc. and configure alignment settings +#include "src/Core/util/ConfigureVectorization.h" + +// We need cuda_runtime.h/hip_runtime.h to ensure that +// the EIGEN_USING_STD macro works properly on the device side +#if defined(EIGEN_CUDACC) + #include +#elif defined(EIGEN_HIPCC) + #include +#endif + + +#ifdef EIGEN_EXCEPTIONS + #include +#endif + +// Disable the ipa-cp-clone optimization flag with MinGW 6.x or newer (enabled by default with -O3) +// See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=556 for details. +#if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6) && EIGEN_GNUC_AT_MOST(5,5) + #pragma GCC optimize ("-fno-ipa-cp-clone") +#endif + +// Prevent ICC from specializing std::complex operators that silently fail +// on device. This allows us to use our own device-compatible specializations +// instead. +#if defined(EIGEN_COMP_ICC) && defined(EIGEN_GPU_COMPILE_PHASE) \ + && !defined(_OVERRIDE_COMPLEX_SPECIALIZATION_) +#define _OVERRIDE_COMPLEX_SPECIALIZATION_ 1 +#endif +#include + +// this include file manages BLAS and MKL related macros +// and inclusion of their respective header files +#include "src/Core/util/MKL_support.h" + + +#if defined(EIGEN_HAS_CUDA_FP16) || defined(EIGEN_HAS_HIP_FP16) + #define EIGEN_HAS_GPU_FP16 +#endif + +#if defined(EIGEN_HAS_CUDA_BF16) || defined(EIGEN_HAS_HIP_BF16) + #define EIGEN_HAS_GPU_BF16 +#endif + +#if (defined _OPENMP) && (!defined EIGEN_DONT_PARALLELIZE) + #define EIGEN_HAS_OPENMP +#endif + +#ifdef EIGEN_HAS_OPENMP +#include +#endif + +// MSVC for windows mobile does not have the errno.h file +#if !(EIGEN_COMP_MSVC && EIGEN_OS_WINCE) && !EIGEN_COMP_ARM +#define EIGEN_HAS_ERRNO +#endif + +#ifdef EIGEN_HAS_ERRNO +#include +#endif +#include +#include +#include +#include +#include +#include +#ifndef EIGEN_NO_IO + #include +#endif +#include +#include +#include +#include // for CHAR_BIT +// for min/max: +#include + +#if EIGEN_HAS_CXX11 +#include +#endif + +// for std::is_nothrow_move_assignable +#ifdef EIGEN_INCLUDE_TYPE_TRAITS +#include +#endif + +// for outputting debug info +#ifdef EIGEN_DEBUG_ASSIGN +#include +#endif + +// required for __cpuid, needs to be included after cmath +#if EIGEN_COMP_MSVC && EIGEN_ARCH_i386_OR_x86_64 && !EIGEN_OS_WINCE + #include +#endif + +#if defined(EIGEN_USE_SYCL) + #undef min + #undef max + #undef isnan + #undef isinf + #undef isfinite + #include + #include + #include + #include + #include + #ifndef EIGEN_SYCL_LOCAL_THREAD_DIM0 + #define EIGEN_SYCL_LOCAL_THREAD_DIM0 16 + #endif + #ifndef EIGEN_SYCL_LOCAL_THREAD_DIM1 + #define EIGEN_SYCL_LOCAL_THREAD_DIM1 16 + #endif +#endif + + +#if defined EIGEN2_SUPPORT_STAGE40_FULL_EIGEN3_STRICTNESS || defined EIGEN2_SUPPORT_STAGE30_FULL_EIGEN3_API || defined EIGEN2_SUPPORT_STAGE20_RESOLVE_API_CONFLICTS || defined EIGEN2_SUPPORT_STAGE10_FULL_EIGEN2_API || defined EIGEN2_SUPPORT +// This will generate an error message: +#error Eigen2-support is only available up to version 3.2. Please go to "http://eigen.tuxfamily.org/index.php?title=Eigen2" for further information +#endif + +namespace Eigen { + +// we use size_t frequently and we'll never remember to prepend it with std:: every time just to +// ensure QNX/QCC support +using std::size_t; +// gcc 4.6.0 wants std:: for ptrdiff_t +using std::ptrdiff_t; + +} + +/** \defgroup Core_Module Core module + * This is the main module of Eigen providing dense matrix and vector support + * (both fixed and dynamic size) with all the features corresponding to a BLAS library + * and much more... + * + * \code + * #include + * \endcode + */ + +#include "src/Core/util/Constants.h" +#include "src/Core/util/Meta.h" +#include "src/Core/util/ForwardDeclarations.h" +#include "src/Core/util/StaticAssert.h" +#include "src/Core/util/XprHelper.h" +#include "src/Core/util/Memory.h" +#include "src/Core/util/IntegralConstant.h" +#include "src/Core/util/SymbolicIndex.h" + +#include "src/Core/NumTraits.h" +#include "src/Core/MathFunctions.h" +#include "src/Core/GenericPacketMath.h" +#include "src/Core/MathFunctionsImpl.h" +#include "src/Core/arch/Default/ConjHelper.h" +// Generic half float support +#include "src/Core/arch/Default/Half.h" +#include "src/Core/arch/Default/BFloat16.h" +#include "src/Core/arch/Default/TypeCasting.h" +#include "src/Core/arch/Default/GenericPacketMathFunctionsFwd.h" + +#if defined EIGEN_VECTORIZE_AVX512 + #include "src/Core/arch/SSE/PacketMath.h" + #include "src/Core/arch/SSE/TypeCasting.h" + #include "src/Core/arch/SSE/Complex.h" + #include "src/Core/arch/AVX/PacketMath.h" + #include "src/Core/arch/AVX/TypeCasting.h" + #include "src/Core/arch/AVX/Complex.h" + #include "src/Core/arch/AVX512/PacketMath.h" + #include "src/Core/arch/AVX512/TypeCasting.h" + #include "src/Core/arch/AVX512/Complex.h" + #include "src/Core/arch/SSE/MathFunctions.h" + #include "src/Core/arch/AVX/MathFunctions.h" + #include "src/Core/arch/AVX512/MathFunctions.h" +#elif defined EIGEN_VECTORIZE_AVX + // Use AVX for floats and doubles, SSE for integers + #include "src/Core/arch/SSE/PacketMath.h" + #include "src/Core/arch/SSE/TypeCasting.h" + #include "src/Core/arch/SSE/Complex.h" + #include "src/Core/arch/AVX/PacketMath.h" + #include "src/Core/arch/AVX/TypeCasting.h" + #include "src/Core/arch/AVX/Complex.h" + #include "src/Core/arch/SSE/MathFunctions.h" + #include "src/Core/arch/AVX/MathFunctions.h" +#elif defined EIGEN_VECTORIZE_SSE + #include "src/Core/arch/SSE/PacketMath.h" + #include "src/Core/arch/SSE/TypeCasting.h" + #include "src/Core/arch/SSE/MathFunctions.h" + #include "src/Core/arch/SSE/Complex.h" +#elif defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX) + #include "src/Core/arch/AltiVec/PacketMath.h" + #include "src/Core/arch/AltiVec/MathFunctions.h" + #include "src/Core/arch/AltiVec/Complex.h" +#elif defined EIGEN_VECTORIZE_NEON + #include "src/Core/arch/NEON/PacketMath.h" + #include "src/Core/arch/NEON/TypeCasting.h" + #include "src/Core/arch/NEON/MathFunctions.h" + #include "src/Core/arch/NEON/Complex.h" +#elif defined EIGEN_VECTORIZE_SVE + #include "src/Core/arch/SVE/PacketMath.h" + #include "src/Core/arch/SVE/TypeCasting.h" + #include "src/Core/arch/SVE/MathFunctions.h" +#elif defined EIGEN_VECTORIZE_ZVECTOR + #include "src/Core/arch/ZVector/PacketMath.h" + #include "src/Core/arch/ZVector/MathFunctions.h" + #include "src/Core/arch/ZVector/Complex.h" +#elif defined EIGEN_VECTORIZE_MSA + #include "src/Core/arch/MSA/PacketMath.h" + #include "src/Core/arch/MSA/MathFunctions.h" + #include "src/Core/arch/MSA/Complex.h" +#endif + +#if defined EIGEN_VECTORIZE_GPU + #include "src/Core/arch/GPU/PacketMath.h" + #include "src/Core/arch/GPU/MathFunctions.h" + #include "src/Core/arch/GPU/TypeCasting.h" +#endif + +#if defined(EIGEN_USE_SYCL) + #include "src/Core/arch/SYCL/SyclMemoryModel.h" + #include "src/Core/arch/SYCL/InteropHeaders.h" +#if !defined(EIGEN_DONT_VECTORIZE_SYCL) + #include "src/Core/arch/SYCL/PacketMath.h" + #include "src/Core/arch/SYCL/MathFunctions.h" + #include "src/Core/arch/SYCL/TypeCasting.h" +#endif +#endif + +#include "src/Core/arch/Default/Settings.h" +// This file provides generic implementations valid for scalar as well +#include "src/Core/arch/Default/GenericPacketMathFunctions.h" + +#include "src/Core/functors/TernaryFunctors.h" +#include "src/Core/functors/BinaryFunctors.h" +#include "src/Core/functors/UnaryFunctors.h" +#include "src/Core/functors/NullaryFunctors.h" +#include "src/Core/functors/StlFunctors.h" +#include "src/Core/functors/AssignmentFunctors.h" + +// Specialized functors to enable the processing of complex numbers +// on CUDA devices +#ifdef EIGEN_CUDACC +#include "src/Core/arch/CUDA/Complex.h" +#endif + +#include "src/Core/util/IndexedViewHelper.h" +#include "src/Core/util/ReshapedHelper.h" +#include "src/Core/ArithmeticSequence.h" +#ifndef EIGEN_NO_IO + #include "src/Core/IO.h" +#endif +#include "src/Core/DenseCoeffsBase.h" +#include "src/Core/DenseBase.h" +#include "src/Core/MatrixBase.h" +#include "src/Core/EigenBase.h" + +#include "src/Core/Product.h" +#include "src/Core/CoreEvaluators.h" +#include "src/Core/AssignEvaluator.h" + +#ifndef EIGEN_PARSED_BY_DOXYGEN // work around Doxygen bug triggered by Assign.h r814874 + // at least confirmed with Doxygen 1.5.5 and 1.5.6 + #include "src/Core/Assign.h" +#endif + +#include "src/Core/ArrayBase.h" +#include "src/Core/util/BlasUtil.h" +#include "src/Core/DenseStorage.h" +#include "src/Core/NestByValue.h" + +// #include "src/Core/ForceAlignedAccess.h" + +#include "src/Core/ReturnByValue.h" +#include "src/Core/NoAlias.h" +#include "src/Core/PlainObjectBase.h" +#include "src/Core/Matrix.h" +#include "src/Core/Array.h" +#include "src/Core/CwiseTernaryOp.h" +#include "src/Core/CwiseBinaryOp.h" +#include "src/Core/CwiseUnaryOp.h" +#include "src/Core/CwiseNullaryOp.h" +#include "src/Core/CwiseUnaryView.h" +#include "src/Core/SelfCwiseBinaryOp.h" +#include "src/Core/Dot.h" +#include "src/Core/StableNorm.h" +#include "src/Core/Stride.h" +#include "src/Core/MapBase.h" +#include "src/Core/Map.h" +#include "src/Core/Ref.h" +#include "src/Core/Block.h" +#include "src/Core/VectorBlock.h" +#include "src/Core/IndexedView.h" +#include "src/Core/Reshaped.h" +#include "src/Core/Transpose.h" +#include "src/Core/DiagonalMatrix.h" +#include "src/Core/Diagonal.h" +#include "src/Core/DiagonalProduct.h" +#include "src/Core/Redux.h" +#include "src/Core/Visitor.h" +#include "src/Core/Fuzzy.h" +#include "src/Core/Swap.h" +#include "src/Core/CommaInitializer.h" +#include "src/Core/GeneralProduct.h" +#include "src/Core/Solve.h" +#include "src/Core/Inverse.h" +#include "src/Core/SolverBase.h" +#include "src/Core/PermutationMatrix.h" +#include "src/Core/Transpositions.h" +#include "src/Core/TriangularMatrix.h" +#include "src/Core/SelfAdjointView.h" +#include "src/Core/products/GeneralBlockPanelKernel.h" +#include "src/Core/products/Parallelizer.h" +#include "src/Core/ProductEvaluators.h" +#include "src/Core/products/GeneralMatrixVector.h" +#include "src/Core/products/GeneralMatrixMatrix.h" +#include "src/Core/SolveTriangular.h" +#include "src/Core/products/GeneralMatrixMatrixTriangular.h" +#include "src/Core/products/SelfadjointMatrixVector.h" +#include "src/Core/products/SelfadjointMatrixMatrix.h" +#include "src/Core/products/SelfadjointProduct.h" +#include "src/Core/products/SelfadjointRank2Update.h" +#include "src/Core/products/TriangularMatrixVector.h" +#include "src/Core/products/TriangularMatrixMatrix.h" +#include "src/Core/products/TriangularSolverMatrix.h" +#include "src/Core/products/TriangularSolverVector.h" +#include "src/Core/BandMatrix.h" +#include "src/Core/CoreIterators.h" +#include "src/Core/ConditionEstimator.h" + +#if defined(EIGEN_VECTORIZE_ALTIVEC) || defined(EIGEN_VECTORIZE_VSX) + #include "src/Core/arch/AltiVec/MatrixProduct.h" +#elif defined EIGEN_VECTORIZE_NEON + #include "src/Core/arch/NEON/GeneralBlockPanelKernel.h" +#endif + +#include "src/Core/BooleanRedux.h" +#include "src/Core/Select.h" +#include "src/Core/VectorwiseOp.h" +#include "src/Core/PartialReduxEvaluator.h" +#include "src/Core/Random.h" +#include "src/Core/Replicate.h" +#include "src/Core/Reverse.h" +#include "src/Core/ArrayWrapper.h" +#include "src/Core/StlIterators.h" + +#ifdef EIGEN_USE_BLAS +#include "src/Core/products/GeneralMatrixMatrix_BLAS.h" +#include "src/Core/products/GeneralMatrixVector_BLAS.h" +#include "src/Core/products/GeneralMatrixMatrixTriangular_BLAS.h" +#include "src/Core/products/SelfadjointMatrixMatrix_BLAS.h" +#include "src/Core/products/SelfadjointMatrixVector_BLAS.h" +#include "src/Core/products/TriangularMatrixMatrix_BLAS.h" +#include "src/Core/products/TriangularMatrixVector_BLAS.h" +#include "src/Core/products/TriangularSolverMatrix_BLAS.h" +#endif // EIGEN_USE_BLAS + +#ifdef EIGEN_USE_MKL_VML +#include "src/Core/Assign_MKL.h" +#endif + +#include "src/Core/GlobalFunctions.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_CORE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Dense b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Dense new file mode 100644 index 0000000..5768910 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Dense @@ -0,0 +1,7 @@ +#include "Core" +#include "LU" +#include "Cholesky" +#include "QR" +#include "SVD" +#include "Geometry" +#include "Eigenvalues" diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Eigen b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Eigen new file mode 100644 index 0000000..654c8dc --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Eigen @@ -0,0 +1,2 @@ +#include "Dense" +#include "Sparse" diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Eigenvalues b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Eigenvalues new file mode 100644 index 0000000..5467a2e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Eigenvalues @@ -0,0 +1,60 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_EIGENVALUES_MODULE_H +#define EIGEN_EIGENVALUES_MODULE_H + +#include "Core" + +#include "Cholesky" +#include "Jacobi" +#include "Householder" +#include "LU" +#include "Geometry" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup Eigenvalues_Module Eigenvalues module + * + * + * + * This module mainly provides various eigenvalue solvers. + * This module also provides some MatrixBase methods, including: + * - MatrixBase::eigenvalues(), + * - MatrixBase::operatorNorm() + * + * \code + * #include + * \endcode + */ + +#include "src/misc/RealSvd2x2.h" +#include "src/Eigenvalues/Tridiagonalization.h" +#include "src/Eigenvalues/RealSchur.h" +#include "src/Eigenvalues/EigenSolver.h" +#include "src/Eigenvalues/SelfAdjointEigenSolver.h" +#include "src/Eigenvalues/GeneralizedSelfAdjointEigenSolver.h" +#include "src/Eigenvalues/HessenbergDecomposition.h" +#include "src/Eigenvalues/ComplexSchur.h" +#include "src/Eigenvalues/ComplexEigenSolver.h" +#include "src/Eigenvalues/RealQZ.h" +#include "src/Eigenvalues/GeneralizedEigenSolver.h" +#include "src/Eigenvalues/MatrixBaseEigenvalues.h" +#ifdef EIGEN_USE_LAPACKE +#ifdef EIGEN_USE_MKL +#include "mkl_lapacke.h" +#else +#include "src/misc/lapacke.h" +#endif +#include "src/Eigenvalues/RealSchur_LAPACKE.h" +#include "src/Eigenvalues/ComplexSchur_LAPACKE.h" +#include "src/Eigenvalues/SelfAdjointEigenSolver_LAPACKE.h" +#endif + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_EIGENVALUES_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Geometry b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Geometry new file mode 100644 index 0000000..bc78110 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Geometry @@ -0,0 +1,59 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_GEOMETRY_MODULE_H +#define EIGEN_GEOMETRY_MODULE_H + +#include "Core" + +#include "SVD" +#include "LU" +#include + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup Geometry_Module Geometry module + * + * This module provides support for: + * - fixed-size homogeneous transformations + * - translation, scaling, 2D and 3D rotations + * - \link Quaternion quaternions \endlink + * - cross products (\ref MatrixBase::cross, \ref MatrixBase::cross3) + * - orthognal vector generation (\ref MatrixBase::unitOrthogonal) + * - some linear components: \link ParametrizedLine parametrized-lines \endlink and \link Hyperplane hyperplanes \endlink + * - \link AlignedBox axis aligned bounding boxes \endlink + * - \link umeyama least-square transformation fitting \endlink + * + * \code + * #include + * \endcode + */ + +#include "src/Geometry/OrthoMethods.h" +#include "src/Geometry/EulerAngles.h" + +#include "src/Geometry/Homogeneous.h" +#include "src/Geometry/RotationBase.h" +#include "src/Geometry/Rotation2D.h" +#include "src/Geometry/Quaternion.h" +#include "src/Geometry/AngleAxis.h" +#include "src/Geometry/Transform.h" +#include "src/Geometry/Translation.h" +#include "src/Geometry/Scaling.h" +#include "src/Geometry/Hyperplane.h" +#include "src/Geometry/ParametrizedLine.h" +#include "src/Geometry/AlignedBox.h" +#include "src/Geometry/Umeyama.h" + +// Use the SSE optimized version whenever possible. +#if (defined EIGEN_VECTORIZE_SSE) || (defined EIGEN_VECTORIZE_NEON) +#include "src/Geometry/arch/Geometry_SIMD.h" +#endif + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_GEOMETRY_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Householder b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Householder new file mode 100644 index 0000000..f2fa799 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Householder @@ -0,0 +1,29 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_HOUSEHOLDER_MODULE_H +#define EIGEN_HOUSEHOLDER_MODULE_H + +#include "Core" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup Householder_Module Householder module + * This module provides Householder transformations. + * + * \code + * #include + * \endcode + */ + +#include "src/Householder/Householder.h" +#include "src/Householder/HouseholderSequence.h" +#include "src/Householder/BlockHouseholder.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_HOUSEHOLDER_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/IterativeLinearSolvers b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/IterativeLinearSolvers new file mode 100644 index 0000000..957d575 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/IterativeLinearSolvers @@ -0,0 +1,48 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ITERATIVELINEARSOLVERS_MODULE_H +#define EIGEN_ITERATIVELINEARSOLVERS_MODULE_H + +#include "SparseCore" +#include "OrderingMethods" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** + * \defgroup IterativeLinearSolvers_Module IterativeLinearSolvers module + * + * This module currently provides iterative methods to solve problems of the form \c A \c x = \c b, where \c A is a squared matrix, usually very large and sparse. + * Those solvers are accessible via the following classes: + * - ConjugateGradient for selfadjoint (hermitian) matrices, + * - LeastSquaresConjugateGradient for rectangular least-square problems, + * - BiCGSTAB for general square matrices. + * + * These iterative solvers are associated with some preconditioners: + * - IdentityPreconditioner - not really useful + * - DiagonalPreconditioner - also called Jacobi preconditioner, work very well on diagonal dominant matrices. + * - IncompleteLUT - incomplete LU factorization with dual thresholding + * + * Such problems can also be solved using the direct sparse decomposition modules: SparseCholesky, CholmodSupport, UmfPackSupport, SuperLUSupport. + * + \code + #include + \endcode + */ + +#include "src/IterativeLinearSolvers/SolveWithGuess.h" +#include "src/IterativeLinearSolvers/IterativeSolverBase.h" +#include "src/IterativeLinearSolvers/BasicPreconditioners.h" +#include "src/IterativeLinearSolvers/ConjugateGradient.h" +#include "src/IterativeLinearSolvers/LeastSquareConjugateGradient.h" +#include "src/IterativeLinearSolvers/BiCGSTAB.h" +#include "src/IterativeLinearSolvers/IncompleteLUT.h" +#include "src/IterativeLinearSolvers/IncompleteCholesky.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_ITERATIVELINEARSOLVERS_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Jacobi b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Jacobi new file mode 100644 index 0000000..43edc7a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Jacobi @@ -0,0 +1,32 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_JACOBI_MODULE_H +#define EIGEN_JACOBI_MODULE_H + +#include "Core" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup Jacobi_Module Jacobi module + * This module provides Jacobi and Givens rotations. + * + * \code + * #include + * \endcode + * + * In addition to listed classes, it defines the two following MatrixBase methods to apply a Jacobi or Givens rotation: + * - MatrixBase::applyOnTheLeft() + * - MatrixBase::applyOnTheRight(). + */ + +#include "src/Jacobi/Jacobi.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_JACOBI_MODULE_H + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/KLUSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/KLUSupport new file mode 100644 index 0000000..b23d905 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/KLUSupport @@ -0,0 +1,41 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_KLUSUPPORT_MODULE_H +#define EIGEN_KLUSUPPORT_MODULE_H + +#include + +#include + +extern "C" { +#include +#include + } + +/** \ingroup Support_modules + * \defgroup KLUSupport_Module KLUSupport module + * + * This module provides an interface to the KLU library which is part of the suitesparse package. + * It provides the following factorization class: + * - class KLU: a sparse LU factorization, well-suited for circuit simulation. + * + * \code + * #include + * \endcode + * + * In order to use this module, the klu and btf headers must be accessible from the include paths, and your binary must be linked to the klu library and its dependencies. + * The dependencies depend on how umfpack has been compiled. + * For a cmake based project, you can use our FindKLU.cmake module to help you in this task. + * + */ + +#include "src/KLUSupport/KLUSupport.h" + +#include + +#endif // EIGEN_KLUSUPPORT_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/LU b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/LU new file mode 100644 index 0000000..1236ceb --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/LU @@ -0,0 +1,47 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_LU_MODULE_H +#define EIGEN_LU_MODULE_H + +#include "Core" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup LU_Module LU module + * This module includes %LU decomposition and related notions such as matrix inversion and determinant. + * This module defines the following MatrixBase methods: + * - MatrixBase::inverse() + * - MatrixBase::determinant() + * + * \code + * #include + * \endcode + */ + +#include "src/misc/Kernel.h" +#include "src/misc/Image.h" +#include "src/LU/FullPivLU.h" +#include "src/LU/PartialPivLU.h" +#ifdef EIGEN_USE_LAPACKE +#ifdef EIGEN_USE_MKL +#include "mkl_lapacke.h" +#else +#include "src/misc/lapacke.h" +#endif +#include "src/LU/PartialPivLU_LAPACKE.h" +#endif +#include "src/LU/Determinant.h" +#include "src/LU/InverseImpl.h" + +#if defined EIGEN_VECTORIZE_SSE || defined EIGEN_VECTORIZE_NEON + #include "src/LU/arch/InverseSize4.h" +#endif + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_LU_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/MetisSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/MetisSupport new file mode 100644 index 0000000..85c41bf --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/MetisSupport @@ -0,0 +1,35 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_METISSUPPORT_MODULE_H +#define EIGEN_METISSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +extern "C" { +#include +} + + +/** \ingroup Support_modules + * \defgroup MetisSupport_Module MetisSupport module + * + * \code + * #include + * \endcode + * This module defines an interface to the METIS reordering package (http://glaros.dtc.umn.edu/gkhome/views/metis). + * It can be used just as any other built-in method as explained in \link OrderingMethods_Module here. \endlink + */ + + +#include "src/MetisSupport/MetisSupport.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_METISSUPPORT_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/OrderingMethods b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/OrderingMethods new file mode 100644 index 0000000..29691a6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/OrderingMethods @@ -0,0 +1,70 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ORDERINGMETHODS_MODULE_H +#define EIGEN_ORDERINGMETHODS_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** + * \defgroup OrderingMethods_Module OrderingMethods module + * + * This module is currently for internal use only + * + * It defines various built-in and external ordering methods for sparse matrices. + * They are typically used to reduce the number of elements during + * the sparse matrix decomposition (LLT, LU, QR). + * Precisely, in a preprocessing step, a permutation matrix P is computed using + * those ordering methods and applied to the columns of the matrix. + * Using for instance the sparse Cholesky decomposition, it is expected that + * the nonzeros elements in LLT(A*P) will be much smaller than that in LLT(A). + * + * + * Usage : + * \code + * #include + * \endcode + * + * A simple usage is as a template parameter in the sparse decomposition classes : + * + * \code + * SparseLU > solver; + * \endcode + * + * \code + * SparseQR > solver; + * \endcode + * + * It is possible as well to call directly a particular ordering method for your own purpose, + * \code + * AMDOrdering ordering; + * PermutationMatrix perm; + * SparseMatrix A; + * //Fill the matrix ... + * + * ordering(A, perm); // Call AMD + * \endcode + * + * \note Some of these methods (like AMD or METIS), need the sparsity pattern + * of the input matrix to be symmetric. When the matrix is structurally unsymmetric, + * Eigen computes internally the pattern of \f$A^T*A\f$ before calling the method. + * If your matrix is already symmetric (at leat in structure), you can avoid that + * by calling the method with a SelfAdjointView type. + * + * \code + * // Call the ordering on the pattern of the lower triangular matrix A + * ordering(A.selfadjointView(), perm); + * \endcode + */ + +#include "src/OrderingMethods/Amd.h" +#include "src/OrderingMethods/Ordering.h" +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_ORDERINGMETHODS_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/PaStiXSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/PaStiXSupport new file mode 100644 index 0000000..234619a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/PaStiXSupport @@ -0,0 +1,49 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_PASTIXSUPPORT_MODULE_H +#define EIGEN_PASTIXSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +extern "C" { +#include +#include +} + +#ifdef complex +#undef complex +#endif + +/** \ingroup Support_modules + * \defgroup PaStiXSupport_Module PaStiXSupport module + * + * This module provides an interface to the PaSTiX library. + * PaSTiX is a general \b supernodal, \b parallel and \b opensource sparse solver. + * It provides the two following main factorization classes: + * - class PastixLLT : a supernodal, parallel LLt Cholesky factorization. + * - class PastixLDLT: a supernodal, parallel LDLt Cholesky factorization. + * - class PastixLU : a supernodal, parallel LU factorization (optimized for a symmetric pattern). + * + * \code + * #include + * \endcode + * + * In order to use this module, the PaSTiX headers must be accessible from the include paths, and your binary must be linked to the PaSTiX library and its dependencies. + * This wrapper resuires PaStiX version 5.x compiled without MPI support. + * The dependencies depend on how PaSTiX has been compiled. + * For a cmake based project, you can use our FindPaSTiX.cmake module to help you in this task. + * + */ + +#include "src/PaStiXSupport/PaStiXSupport.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_PASTIXSUPPORT_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/PardisoSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/PardisoSupport new file mode 100644 index 0000000..340edf5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/PardisoSupport @@ -0,0 +1,35 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_PARDISOSUPPORT_MODULE_H +#define EIGEN_PARDISOSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +#include + +/** \ingroup Support_modules + * \defgroup PardisoSupport_Module PardisoSupport module + * + * This module brings support for the Intel(R) MKL PARDISO direct sparse solvers. + * + * \code + * #include + * \endcode + * + * In order to use this module, the MKL headers must be accessible from the include paths, and your binary must be linked to the MKL library and its dependencies. + * See this \ref TopicUsingIntelMKL "page" for more information on MKL-Eigen integration. + * + */ + +#include "src/PardisoSupport/PardisoSupport.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_PARDISOSUPPORT_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/QR b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/QR new file mode 100644 index 0000000..8465b62 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/QR @@ -0,0 +1,50 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_QR_MODULE_H +#define EIGEN_QR_MODULE_H + +#include "Core" + +#include "Cholesky" +#include "Jacobi" +#include "Householder" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup QR_Module QR module + * + * + * + * This module provides various QR decompositions + * This module also provides some MatrixBase methods, including: + * - MatrixBase::householderQr() + * - MatrixBase::colPivHouseholderQr() + * - MatrixBase::fullPivHouseholderQr() + * + * \code + * #include + * \endcode + */ + +#include "src/QR/HouseholderQR.h" +#include "src/QR/FullPivHouseholderQR.h" +#include "src/QR/ColPivHouseholderQR.h" +#include "src/QR/CompleteOrthogonalDecomposition.h" +#ifdef EIGEN_USE_LAPACKE +#ifdef EIGEN_USE_MKL +#include "mkl_lapacke.h" +#else +#include "src/misc/lapacke.h" +#endif +#include "src/QR/HouseholderQR_LAPACKE.h" +#include "src/QR/ColPivHouseholderQR_LAPACKE.h" +#endif + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_QR_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/QtAlignedMalloc b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/QtAlignedMalloc new file mode 100644 index 0000000..6fe8237 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/QtAlignedMalloc @@ -0,0 +1,39 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_QTMALLOC_MODULE_H +#define EIGEN_QTMALLOC_MODULE_H + +#include "Core" + +#if (!EIGEN_MALLOC_ALREADY_ALIGNED) + +#include "src/Core/util/DisableStupidWarnings.h" + +void *qMalloc(std::size_t size) +{ + return Eigen::internal::aligned_malloc(size); +} + +void qFree(void *ptr) +{ + Eigen::internal::aligned_free(ptr); +} + +void *qRealloc(void *ptr, std::size_t size) +{ + void* newPtr = Eigen::internal::aligned_malloc(size); + std::memcpy(newPtr, ptr, size); + Eigen::internal::aligned_free(ptr); + return newPtr; +} + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif + +#endif // EIGEN_QTMALLOC_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SPQRSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SPQRSupport new file mode 100644 index 0000000..f70390c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SPQRSupport @@ -0,0 +1,34 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SPQRSUPPORT_MODULE_H +#define EIGEN_SPQRSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +#include "SuiteSparseQR.hpp" + +/** \ingroup Support_modules + * \defgroup SPQRSupport_Module SuiteSparseQR module + * + * This module provides an interface to the SPQR library, which is part of the suitesparse package. + * + * \code + * #include + * \endcode + * + * In order to use this module, the SPQR headers must be accessible from the include paths, and your binary must be linked to the SPQR library and its dependencies (Cholmod, AMD, COLAMD,...). + * For a cmake based project, you can use our FindSPQR.cmake and FindCholmod.Cmake modules + * + */ + +#include "src/CholmodSupport/CholmodSupport.h" +#include "src/SPQRSupport/SuiteSparseQRSupport.h" + +#endif diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SVD b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SVD new file mode 100644 index 0000000..3451794 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SVD @@ -0,0 +1,50 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SVD_MODULE_H +#define EIGEN_SVD_MODULE_H + +#include "QR" +#include "Householder" +#include "Jacobi" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup SVD_Module SVD module + * + * + * + * This module provides SVD decomposition for matrices (both real and complex). + * Two decomposition algorithms are provided: + * - JacobiSVD implementing two-sided Jacobi iterations is numerically very accurate, fast for small matrices, but very slow for larger ones. + * - BDCSVD implementing a recursive divide & conquer strategy on top of an upper-bidiagonalization which remains fast for large problems. + * These decompositions are accessible via the respective classes and following MatrixBase methods: + * - MatrixBase::jacobiSvd() + * - MatrixBase::bdcSvd() + * + * \code + * #include + * \endcode + */ + +#include "src/misc/RealSvd2x2.h" +#include "src/SVD/UpperBidiagonalization.h" +#include "src/SVD/SVDBase.h" +#include "src/SVD/JacobiSVD.h" +#include "src/SVD/BDCSVD.h" +#if defined(EIGEN_USE_LAPACKE) && !defined(EIGEN_USE_LAPACKE_STRICT) +#ifdef EIGEN_USE_MKL +#include "mkl_lapacke.h" +#else +#include "src/misc/lapacke.h" +#endif +#include "src/SVD/JacobiSVD_LAPACKE.h" +#endif + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_SVD_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Sparse b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Sparse new file mode 100644 index 0000000..a2ef7a6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/Sparse @@ -0,0 +1,34 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SPARSE_MODULE_H +#define EIGEN_SPARSE_MODULE_H + +/** \defgroup Sparse_Module Sparse meta-module + * + * Meta-module including all related modules: + * - \ref SparseCore_Module + * - \ref OrderingMethods_Module + * - \ref SparseCholesky_Module + * - \ref SparseLU_Module + * - \ref SparseQR_Module + * - \ref IterativeLinearSolvers_Module + * + \code + #include + \endcode + */ + +#include "SparseCore" +#include "OrderingMethods" +#include "SparseCholesky" +#include "SparseLU" +#include "SparseQR" +#include "IterativeLinearSolvers" + +#endif // EIGEN_SPARSE_MODULE_H + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseCholesky b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseCholesky new file mode 100644 index 0000000..d2b1f12 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseCholesky @@ -0,0 +1,37 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2013 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SPARSECHOLESKY_MODULE_H +#define EIGEN_SPARSECHOLESKY_MODULE_H + +#include "SparseCore" +#include "OrderingMethods" + +#include "src/Core/util/DisableStupidWarnings.h" + +/** + * \defgroup SparseCholesky_Module SparseCholesky module + * + * This module currently provides two variants of the direct sparse Cholesky decomposition for selfadjoint (hermitian) matrices. + * Those decompositions are accessible via the following classes: + * - SimplicialLLt, + * - SimplicialLDLt + * + * Such problems can also be solved using the ConjugateGradient solver from the IterativeLinearSolvers module. + * + * \code + * #include + * \endcode + */ + +#include "src/SparseCholesky/SimplicialCholesky.h" +#include "src/SparseCholesky/SimplicialCholesky_impl.h" +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_SPARSECHOLESKY_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseCore b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseCore new file mode 100644 index 0000000..76966c4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseCore @@ -0,0 +1,69 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SPARSECORE_MODULE_H +#define EIGEN_SPARSECORE_MODULE_H + +#include "Core" + +#include "src/Core/util/DisableStupidWarnings.h" + +#include +#include +#include +#include +#include + +/** + * \defgroup SparseCore_Module SparseCore module + * + * This module provides a sparse matrix representation, and basic associated matrix manipulations + * and operations. + * + * See the \ref TutorialSparse "Sparse tutorial" + * + * \code + * #include + * \endcode + * + * This module depends on: Core. + */ + +#include "src/SparseCore/SparseUtil.h" +#include "src/SparseCore/SparseMatrixBase.h" +#include "src/SparseCore/SparseAssign.h" +#include "src/SparseCore/CompressedStorage.h" +#include "src/SparseCore/AmbiVector.h" +#include "src/SparseCore/SparseCompressedBase.h" +#include "src/SparseCore/SparseMatrix.h" +#include "src/SparseCore/SparseMap.h" +#include "src/SparseCore/MappedSparseMatrix.h" +#include "src/SparseCore/SparseVector.h" +#include "src/SparseCore/SparseRef.h" +#include "src/SparseCore/SparseCwiseUnaryOp.h" +#include "src/SparseCore/SparseCwiseBinaryOp.h" +#include "src/SparseCore/SparseTranspose.h" +#include "src/SparseCore/SparseBlock.h" +#include "src/SparseCore/SparseDot.h" +#include "src/SparseCore/SparseRedux.h" +#include "src/SparseCore/SparseView.h" +#include "src/SparseCore/SparseDiagonalProduct.h" +#include "src/SparseCore/ConservativeSparseSparseProduct.h" +#include "src/SparseCore/SparseSparseProductWithPruning.h" +#include "src/SparseCore/SparseProduct.h" +#include "src/SparseCore/SparseDenseProduct.h" +#include "src/SparseCore/SparseSelfAdjointView.h" +#include "src/SparseCore/SparseTriangularView.h" +#include "src/SparseCore/TriangularSolver.h" +#include "src/SparseCore/SparsePermutation.h" +#include "src/SparseCore/SparseFuzzy.h" +#include "src/SparseCore/SparseSolverBase.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_SPARSECORE_MODULE_H + diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseLU b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseLU new file mode 100644 index 0000000..37c4a5c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseLU @@ -0,0 +1,50 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2012 Désiré Nuentsa-Wakam +// Copyright (C) 2012 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SPARSELU_MODULE_H +#define EIGEN_SPARSELU_MODULE_H + +#include "SparseCore" + +/** + * \defgroup SparseLU_Module SparseLU module + * This module defines a supernodal factorization of general sparse matrices. + * The code is fully optimized for supernode-panel updates with specialized kernels. + * Please, see the documentation of the SparseLU class for more details. + */ + +// Ordering interface +#include "OrderingMethods" + +#include "src/Core/util/DisableStupidWarnings.h" + +#include "src/SparseLU/SparseLU_gemm_kernel.h" + +#include "src/SparseLU/SparseLU_Structs.h" +#include "src/SparseLU/SparseLU_SupernodalMatrix.h" +#include "src/SparseLU/SparseLUImpl.h" +#include "src/SparseCore/SparseColEtree.h" +#include "src/SparseLU/SparseLU_Memory.h" +#include "src/SparseLU/SparseLU_heap_relax_snode.h" +#include "src/SparseLU/SparseLU_relax_snode.h" +#include "src/SparseLU/SparseLU_pivotL.h" +#include "src/SparseLU/SparseLU_panel_dfs.h" +#include "src/SparseLU/SparseLU_kernel_bmod.h" +#include "src/SparseLU/SparseLU_panel_bmod.h" +#include "src/SparseLU/SparseLU_column_dfs.h" +#include "src/SparseLU/SparseLU_column_bmod.h" +#include "src/SparseLU/SparseLU_copy_to_ucol.h" +#include "src/SparseLU/SparseLU_pruneL.h" +#include "src/SparseLU/SparseLU_Utils.h" +#include "src/SparseLU/SparseLU.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_SPARSELU_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseQR b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseQR new file mode 100644 index 0000000..f5fc5fa --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SparseQR @@ -0,0 +1,36 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SPARSEQR_MODULE_H +#define EIGEN_SPARSEQR_MODULE_H + +#include "SparseCore" +#include "OrderingMethods" +#include "src/Core/util/DisableStupidWarnings.h" + +/** \defgroup SparseQR_Module SparseQR module + * \brief Provides QR decomposition for sparse matrices + * + * This module provides a simplicial version of the left-looking Sparse QR decomposition. + * The columns of the input matrix should be reordered to limit the fill-in during the + * decomposition. Built-in methods (COLAMD, AMD) or external methods (METIS) can be used to this end. + * See the \link OrderingMethods_Module OrderingMethods\endlink module for the list + * of built-in and external ordering methods. + * + * \code + * #include + * \endcode + * + * + */ + +#include "src/SparseCore/SparseColEtree.h" +#include "src/SparseQR/SparseQR.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdDeque b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdDeque new file mode 100644 index 0000000..bc68397 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdDeque @@ -0,0 +1,27 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// Copyright (C) 2009 Hauke Heibel +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_STDDEQUE_MODULE_H +#define EIGEN_STDDEQUE_MODULE_H + +#include "Core" +#include + +#if EIGEN_COMP_MSVC && EIGEN_OS_WIN64 && (EIGEN_MAX_STATIC_ALIGN_BYTES<=16) /* MSVC auto aligns up to 16 bytes in 64 bit builds */ + +#define EIGEN_DEFINE_STL_DEQUE_SPECIALIZATION(...) + +#else + +#include "src/StlSupport/StdDeque.h" + +#endif + +#endif // EIGEN_STDDEQUE_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdList b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdList new file mode 100644 index 0000000..4c6262c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdList @@ -0,0 +1,26 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Hauke Heibel +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_STDLIST_MODULE_H +#define EIGEN_STDLIST_MODULE_H + +#include "Core" +#include + +#if EIGEN_COMP_MSVC && EIGEN_OS_WIN64 && (EIGEN_MAX_STATIC_ALIGN_BYTES<=16) /* MSVC auto aligns up to 16 bytes in 64 bit builds */ + +#define EIGEN_DEFINE_STL_LIST_SPECIALIZATION(...) + +#else + +#include "src/StlSupport/StdList.h" + +#endif + +#endif // EIGEN_STDLIST_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdVector b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdVector new file mode 100644 index 0000000..0c4697a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/StdVector @@ -0,0 +1,27 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// Copyright (C) 2009 Hauke Heibel +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_STDVECTOR_MODULE_H +#define EIGEN_STDVECTOR_MODULE_H + +#include "Core" +#include + +#if EIGEN_COMP_MSVC && EIGEN_OS_WIN64 && (EIGEN_MAX_STATIC_ALIGN_BYTES<=16) /* MSVC auto aligns up to 16 bytes in 64 bit builds */ + +#define EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(...) + +#else + +#include "src/StlSupport/StdVector.h" + +#endif + +#endif // EIGEN_STDVECTOR_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SuperLUSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SuperLUSupport new file mode 100644 index 0000000..59312a8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/SuperLUSupport @@ -0,0 +1,64 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SUPERLUSUPPORT_MODULE_H +#define EIGEN_SUPERLUSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +#ifdef EMPTY +#define EIGEN_EMPTY_WAS_ALREADY_DEFINED +#endif + +typedef int int_t; +#include +#include +#include + +// slu_util.h defines a preprocessor token named EMPTY which is really polluting, +// so we remove it in favor of a SUPERLU_EMPTY token. +// If EMPTY was already defined then we don't undef it. + +#if defined(EIGEN_EMPTY_WAS_ALREADY_DEFINED) +# undef EIGEN_EMPTY_WAS_ALREADY_DEFINED +#elif defined(EMPTY) +# undef EMPTY +#endif + +#define SUPERLU_EMPTY (-1) + +namespace Eigen { struct SluMatrix; } + +/** \ingroup Support_modules + * \defgroup SuperLUSupport_Module SuperLUSupport module + * + * This module provides an interface to the SuperLU library. + * It provides the following factorization class: + * - class SuperLU: a supernodal sequential LU factorization. + * - class SuperILU: a supernodal sequential incomplete LU factorization (to be used as a preconditioner for iterative methods). + * + * \warning This wrapper requires at least versions 4.0 of SuperLU. The 3.x versions are not supported. + * + * \warning When including this module, you have to use SUPERLU_EMPTY instead of EMPTY which is no longer defined because it is too polluting. + * + * \code + * #include + * \endcode + * + * In order to use this module, the superlu headers must be accessible from the include paths, and your binary must be linked to the superlu library and its dependencies. + * The dependencies depend on how superlu has been compiled. + * For a cmake based project, you can use our FindSuperLU.cmake module to help you in this task. + * + */ + +#include "src/SuperLUSupport/SuperLUSupport.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_SUPERLUSUPPORT_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/UmfPackSupport b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/UmfPackSupport new file mode 100644 index 0000000..00eec80 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/UmfPackSupport @@ -0,0 +1,40 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_UMFPACKSUPPORT_MODULE_H +#define EIGEN_UMFPACKSUPPORT_MODULE_H + +#include "SparseCore" + +#include "src/Core/util/DisableStupidWarnings.h" + +extern "C" { +#include +} + +/** \ingroup Support_modules + * \defgroup UmfPackSupport_Module UmfPackSupport module + * + * This module provides an interface to the UmfPack library which is part of the suitesparse package. + * It provides the following factorization class: + * - class UmfPackLU: a multifrontal sequential LU factorization. + * + * \code + * #include + * \endcode + * + * In order to use this module, the umfpack headers must be accessible from the include paths, and your binary must be linked to the umfpack library and its dependencies. + * The dependencies depend on how umfpack has been compiled. + * For a cmake based project, you can use our FindUmfPack.cmake module to help you in this task. + * + */ + +#include "src/UmfPackSupport/UmfPackSupport.h" + +#include "src/Core/util/ReenableStupidWarnings.h" + +#endif // EIGEN_UMFPACKSUPPORT_MODULE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LDLT.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LDLT.h new file mode 100644 index 0000000..1013ca0 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LDLT.h @@ -0,0 +1,688 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2011 Gael Guennebaud +// Copyright (C) 2009 Keir Mierle +// Copyright (C) 2009 Benoit Jacob +// Copyright (C) 2011 Timothy E. Holy +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_LDLT_H +#define EIGEN_LDLT_H + +namespace Eigen { + +namespace internal { + template struct traits > + : traits<_MatrixType> + { + typedef MatrixXpr XprKind; + typedef SolverStorage StorageKind; + typedef int StorageIndex; + enum { Flags = 0 }; + }; + + template struct LDLT_Traits; + + // PositiveSemiDef means positive semi-definite and non-zero; same for NegativeSemiDef + enum SignMatrix { PositiveSemiDef, NegativeSemiDef, ZeroSign, Indefinite }; +} + +/** \ingroup Cholesky_Module + * + * \class LDLT + * + * \brief Robust Cholesky decomposition of a matrix with pivoting + * + * \tparam _MatrixType the type of the matrix of which to compute the LDL^T Cholesky decomposition + * \tparam _UpLo the triangular part that will be used for the decompositon: Lower (default) or Upper. + * The other triangular part won't be read. + * + * Perform a robust Cholesky decomposition of a positive semidefinite or negative semidefinite + * matrix \f$ A \f$ such that \f$ A = P^TLDL^*P \f$, where P is a permutation matrix, L + * is lower triangular with a unit diagonal and D is a diagonal matrix. + * + * The decomposition uses pivoting to ensure stability, so that D will have + * zeros in the bottom right rank(A) - n submatrix. Avoiding the square root + * on D also stabilizes the computation. + * + * Remember that Cholesky decompositions are not rank-revealing. Also, do not use a Cholesky + * decomposition to determine whether a system of equations has a solution. + * + * This class supports the \link InplaceDecomposition inplace decomposition \endlink mechanism. + * + * \sa MatrixBase::ldlt(), SelfAdjointView::ldlt(), class LLT + */ +template class LDLT + : public SolverBase > +{ + public: + typedef _MatrixType MatrixType; + typedef SolverBase Base; + friend class SolverBase; + + EIGEN_GENERIC_PUBLIC_INTERFACE(LDLT) + enum { + MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, + MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime, + UpLo = _UpLo + }; + typedef Matrix TmpMatrixType; + + typedef Transpositions TranspositionType; + typedef PermutationMatrix PermutationType; + + typedef internal::LDLT_Traits Traits; + + /** \brief Default Constructor. + * + * The default constructor is useful in cases in which the user intends to + * perform decompositions via LDLT::compute(const MatrixType&). + */ + LDLT() + : m_matrix(), + m_transpositions(), + m_sign(internal::ZeroSign), + m_isInitialized(false) + {} + + /** \brief Default Constructor with memory preallocation + * + * Like the default constructor but with preallocation of the internal data + * according to the specified problem \a size. + * \sa LDLT() + */ + explicit LDLT(Index size) + : m_matrix(size, size), + m_transpositions(size), + m_temporary(size), + m_sign(internal::ZeroSign), + m_isInitialized(false) + {} + + /** \brief Constructor with decomposition + * + * This calculates the decomposition for the input \a matrix. + * + * \sa LDLT(Index size) + */ + template + explicit LDLT(const EigenBase& matrix) + : m_matrix(matrix.rows(), matrix.cols()), + m_transpositions(matrix.rows()), + m_temporary(matrix.rows()), + m_sign(internal::ZeroSign), + m_isInitialized(false) + { + compute(matrix.derived()); + } + + /** \brief Constructs a LDLT factorization from a given matrix + * + * This overloaded constructor is provided for \link InplaceDecomposition inplace decomposition \endlink when \c MatrixType is a Eigen::Ref. + * + * \sa LDLT(const EigenBase&) + */ + template + explicit LDLT(EigenBase& matrix) + : m_matrix(matrix.derived()), + m_transpositions(matrix.rows()), + m_temporary(matrix.rows()), + m_sign(internal::ZeroSign), + m_isInitialized(false) + { + compute(matrix.derived()); + } + + /** Clear any existing decomposition + * \sa rankUpdate(w,sigma) + */ + void setZero() + { + m_isInitialized = false; + } + + /** \returns a view of the upper triangular matrix U */ + inline typename Traits::MatrixU matrixU() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return Traits::getU(m_matrix); + } + + /** \returns a view of the lower triangular matrix L */ + inline typename Traits::MatrixL matrixL() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return Traits::getL(m_matrix); + } + + /** \returns the permutation matrix P as a transposition sequence. + */ + inline const TranspositionType& transpositionsP() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return m_transpositions; + } + + /** \returns the coefficients of the diagonal matrix D */ + inline Diagonal vectorD() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return m_matrix.diagonal(); + } + + /** \returns true if the matrix is positive (semidefinite) */ + inline bool isPositive() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return m_sign == internal::PositiveSemiDef || m_sign == internal::ZeroSign; + } + + /** \returns true if the matrix is negative (semidefinite) */ + inline bool isNegative(void) const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return m_sign == internal::NegativeSemiDef || m_sign == internal::ZeroSign; + } + + #ifdef EIGEN_PARSED_BY_DOXYGEN + /** \returns a solution x of \f$ A x = b \f$ using the current decomposition of A. + * + * This function also supports in-place solves using the syntax x = decompositionObject.solve(x) . + * + * \note_about_checking_solutions + * + * More precisely, this method solves \f$ A x = b \f$ using the decomposition \f$ A = P^T L D L^* P \f$ + * by solving the systems \f$ P^T y_1 = b \f$, \f$ L y_2 = y_1 \f$, \f$ D y_3 = y_2 \f$, + * \f$ L^* y_4 = y_3 \f$ and \f$ P x = y_4 \f$ in succession. If the matrix \f$ A \f$ is singular, then + * \f$ D \f$ will also be singular (all the other matrices are invertible). In that case, the + * least-square solution of \f$ D y_3 = y_2 \f$ is computed. This does not mean that this function + * computes the least-square solution of \f$ A x = b \f$ if \f$ A \f$ is singular. + * + * \sa MatrixBase::ldlt(), SelfAdjointView::ldlt() + */ + template + inline const Solve + solve(const MatrixBase& b) const; + #endif + + template + bool solveInPlace(MatrixBase &bAndX) const; + + template + LDLT& compute(const EigenBase& matrix); + + /** \returns an estimate of the reciprocal condition number of the matrix of + * which \c *this is the LDLT decomposition. + */ + RealScalar rcond() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return internal::rcond_estimate_helper(m_l1_norm, *this); + } + + template + LDLT& rankUpdate(const MatrixBase& w, const RealScalar& alpha=1); + + /** \returns the internal LDLT decomposition matrix + * + * TODO: document the storage layout + */ + inline const MatrixType& matrixLDLT() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return m_matrix; + } + + MatrixType reconstructedMatrix() const; + + /** \returns the adjoint of \c *this, that is, a const reference to the decomposition itself as the underlying matrix is self-adjoint. + * + * This method is provided for compatibility with other matrix decompositions, thus enabling generic code such as: + * \code x = decomposition.adjoint().solve(b) \endcode + */ + const LDLT& adjoint() const { return *this; }; + + EIGEN_DEVICE_FUNC inline EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); } + EIGEN_DEVICE_FUNC inline EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); } + + /** \brief Reports whether previous computation was successful. + * + * \returns \c Success if computation was successful, + * \c NumericalIssue if the factorization failed because of a zero pivot. + */ + ComputationInfo info() const + { + eigen_assert(m_isInitialized && "LDLT is not initialized."); + return m_info; + } + + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + void _solve_impl(const RhsType &rhs, DstType &dst) const; + + template + void _solve_impl_transposed(const RhsType &rhs, DstType &dst) const; + #endif + + protected: + + static void check_template_parameters() + { + EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar); + } + + /** \internal + * Used to compute and store the Cholesky decomposition A = L D L^* = U^* D U. + * The strict upper part is used during the decomposition, the strict lower + * part correspond to the coefficients of L (its diagonal is equal to 1 and + * is not stored), and the diagonal entries correspond to D. + */ + MatrixType m_matrix; + RealScalar m_l1_norm; + TranspositionType m_transpositions; + TmpMatrixType m_temporary; + internal::SignMatrix m_sign; + bool m_isInitialized; + ComputationInfo m_info; +}; + +namespace internal { + +template struct ldlt_inplace; + +template<> struct ldlt_inplace +{ + template + static bool unblocked(MatrixType& mat, TranspositionType& transpositions, Workspace& temp, SignMatrix& sign) + { + using std::abs; + typedef typename MatrixType::Scalar Scalar; + typedef typename MatrixType::RealScalar RealScalar; + typedef typename TranspositionType::StorageIndex IndexType; + eigen_assert(mat.rows()==mat.cols()); + const Index size = mat.rows(); + bool found_zero_pivot = false; + bool ret = true; + + if (size <= 1) + { + transpositions.setIdentity(); + if(size==0) sign = ZeroSign; + else if (numext::real(mat.coeff(0,0)) > static_cast(0) ) sign = PositiveSemiDef; + else if (numext::real(mat.coeff(0,0)) < static_cast(0)) sign = NegativeSemiDef; + else sign = ZeroSign; + return true; + } + + for (Index k = 0; k < size; ++k) + { + // Find largest diagonal element + Index index_of_biggest_in_corner; + mat.diagonal().tail(size-k).cwiseAbs().maxCoeff(&index_of_biggest_in_corner); + index_of_biggest_in_corner += k; + + transpositions.coeffRef(k) = IndexType(index_of_biggest_in_corner); + if(k != index_of_biggest_in_corner) + { + // apply the transposition while taking care to consider only + // the lower triangular part + Index s = size-index_of_biggest_in_corner-1; // trailing size after the biggest element + mat.row(k).head(k).swap(mat.row(index_of_biggest_in_corner).head(k)); + mat.col(k).tail(s).swap(mat.col(index_of_biggest_in_corner).tail(s)); + std::swap(mat.coeffRef(k,k),mat.coeffRef(index_of_biggest_in_corner,index_of_biggest_in_corner)); + for(Index i=k+1;i::IsComplex) + mat.coeffRef(index_of_biggest_in_corner,k) = numext::conj(mat.coeff(index_of_biggest_in_corner,k)); + } + + // partition the matrix: + // A00 | - | - + // lu = A10 | A11 | - + // A20 | A21 | A22 + Index rs = size - k - 1; + Block A21(mat,k+1,k,rs,1); + Block A10(mat,k,0,1,k); + Block A20(mat,k+1,0,rs,k); + + if(k>0) + { + temp.head(k) = mat.diagonal().real().head(k).asDiagonal() * A10.adjoint(); + mat.coeffRef(k,k) -= (A10 * temp.head(k)).value(); + if(rs>0) + A21.noalias() -= A20 * temp.head(k); + } + + // In some previous versions of Eigen (e.g., 3.2.1), the scaling was omitted if the pivot + // was smaller than the cutoff value. However, since LDLT is not rank-revealing + // we should only make sure that we do not introduce INF or NaN values. + // Remark that LAPACK also uses 0 as the cutoff value. + RealScalar realAkk = numext::real(mat.coeffRef(k,k)); + bool pivot_is_valid = (abs(realAkk) > RealScalar(0)); + + if(k==0 && !pivot_is_valid) + { + // The entire diagonal is zero, there is nothing more to do + // except filling the transpositions, and checking whether the matrix is zero. + sign = ZeroSign; + for(Index j = 0; j0) && pivot_is_valid) + A21 /= realAkk; + else if(rs>0) + ret = ret && (A21.array()==Scalar(0)).all(); + + if(found_zero_pivot && pivot_is_valid) ret = false; // factorization failed + else if(!pivot_is_valid) found_zero_pivot = true; + + if (sign == PositiveSemiDef) { + if (realAkk < static_cast(0)) sign = Indefinite; + } else if (sign == NegativeSemiDef) { + if (realAkk > static_cast(0)) sign = Indefinite; + } else if (sign == ZeroSign) { + if (realAkk > static_cast(0)) sign = PositiveSemiDef; + else if (realAkk < static_cast(0)) sign = NegativeSemiDef; + } + } + + return ret; + } + + // Reference for the algorithm: Davis and Hager, "Multiple Rank + // Modifications of a Sparse Cholesky Factorization" (Algorithm 1) + // Trivial rearrangements of their computations (Timothy E. Holy) + // allow their algorithm to work for rank-1 updates even if the + // original matrix is not of full rank. + // Here only rank-1 updates are implemented, to reduce the + // requirement for intermediate storage and improve accuracy + template + static bool updateInPlace(MatrixType& mat, MatrixBase& w, const typename MatrixType::RealScalar& sigma=1) + { + using numext::isfinite; + typedef typename MatrixType::Scalar Scalar; + typedef typename MatrixType::RealScalar RealScalar; + + const Index size = mat.rows(); + eigen_assert(mat.cols() == size && w.size()==size); + + RealScalar alpha = 1; + + // Apply the update + for (Index j = 0; j < size; j++) + { + // Check for termination due to an original decomposition of low-rank + if (!(isfinite)(alpha)) + break; + + // Update the diagonal terms + RealScalar dj = numext::real(mat.coeff(j,j)); + Scalar wj = w.coeff(j); + RealScalar swj2 = sigma*numext::abs2(wj); + RealScalar gamma = dj*alpha + swj2; + + mat.coeffRef(j,j) += swj2/alpha; + alpha += swj2/dj; + + + // Update the terms of L + Index rs = size-j-1; + w.tail(rs) -= wj * mat.col(j).tail(rs); + if(gamma != 0) + mat.col(j).tail(rs) += (sigma*numext::conj(wj)/gamma)*w.tail(rs); + } + return true; + } + + template + static bool update(MatrixType& mat, const TranspositionType& transpositions, Workspace& tmp, const WType& w, const typename MatrixType::RealScalar& sigma=1) + { + // Apply the permutation to the input w + tmp = transpositions * w; + + return ldlt_inplace::updateInPlace(mat,tmp,sigma); + } +}; + +template<> struct ldlt_inplace +{ + template + static EIGEN_STRONG_INLINE bool unblocked(MatrixType& mat, TranspositionType& transpositions, Workspace& temp, SignMatrix& sign) + { + Transpose matt(mat); + return ldlt_inplace::unblocked(matt, transpositions, temp, sign); + } + + template + static EIGEN_STRONG_INLINE bool update(MatrixType& mat, TranspositionType& transpositions, Workspace& tmp, WType& w, const typename MatrixType::RealScalar& sigma=1) + { + Transpose matt(mat); + return ldlt_inplace::update(matt, transpositions, tmp, w.conjugate(), sigma); + } +}; + +template struct LDLT_Traits +{ + typedef const TriangularView MatrixL; + typedef const TriangularView MatrixU; + static inline MatrixL getL(const MatrixType& m) { return MatrixL(m); } + static inline MatrixU getU(const MatrixType& m) { return MatrixU(m.adjoint()); } +}; + +template struct LDLT_Traits +{ + typedef const TriangularView MatrixL; + typedef const TriangularView MatrixU; + static inline MatrixL getL(const MatrixType& m) { return MatrixL(m.adjoint()); } + static inline MatrixU getU(const MatrixType& m) { return MatrixU(m); } +}; + +} // end namespace internal + +/** Compute / recompute the LDLT decomposition A = L D L^* = U^* D U of \a matrix + */ +template +template +LDLT& LDLT::compute(const EigenBase& a) +{ + check_template_parameters(); + + eigen_assert(a.rows()==a.cols()); + const Index size = a.rows(); + + m_matrix = a.derived(); + + // Compute matrix L1 norm = max abs column sum. + m_l1_norm = RealScalar(0); + // TODO move this code to SelfAdjointView + for (Index col = 0; col < size; ++col) { + RealScalar abs_col_sum; + if (_UpLo == Lower) + abs_col_sum = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template lpNorm<1>(); + else + abs_col_sum = m_matrix.col(col).head(col).template lpNorm<1>() + m_matrix.row(col).tail(size - col).template lpNorm<1>(); + if (abs_col_sum > m_l1_norm) + m_l1_norm = abs_col_sum; + } + + m_transpositions.resize(size); + m_isInitialized = false; + m_temporary.resize(size); + m_sign = internal::ZeroSign; + + m_info = internal::ldlt_inplace::unblocked(m_matrix, m_transpositions, m_temporary, m_sign) ? Success : NumericalIssue; + + m_isInitialized = true; + return *this; +} + +/** Update the LDLT decomposition: given A = L D L^T, efficiently compute the decomposition of A + sigma w w^T. + * \param w a vector to be incorporated into the decomposition. + * \param sigma a scalar, +1 for updates and -1 for "downdates," which correspond to removing previously-added column vectors. Optional; default value is +1. + * \sa setZero() + */ +template +template +LDLT& LDLT::rankUpdate(const MatrixBase& w, const typename LDLT::RealScalar& sigma) +{ + typedef typename TranspositionType::StorageIndex IndexType; + const Index size = w.rows(); + if (m_isInitialized) + { + eigen_assert(m_matrix.rows()==size); + } + else + { + m_matrix.resize(size,size); + m_matrix.setZero(); + m_transpositions.resize(size); + for (Index i = 0; i < size; i++) + m_transpositions.coeffRef(i) = IndexType(i); + m_temporary.resize(size); + m_sign = sigma>=0 ? internal::PositiveSemiDef : internal::NegativeSemiDef; + m_isInitialized = true; + } + + internal::ldlt_inplace::update(m_matrix, m_transpositions, m_temporary, w, sigma); + + return *this; +} + +#ifndef EIGEN_PARSED_BY_DOXYGEN +template +template +void LDLT<_MatrixType,_UpLo>::_solve_impl(const RhsType &rhs, DstType &dst) const +{ + _solve_impl_transposed(rhs, dst); +} + +template +template +void LDLT<_MatrixType,_UpLo>::_solve_impl_transposed(const RhsType &rhs, DstType &dst) const +{ + // dst = P b + dst = m_transpositions * rhs; + + // dst = L^-1 (P b) + // dst = L^-*T (P b) + matrixL().template conjugateIf().solveInPlace(dst); + + // dst = D^-* (L^-1 P b) + // dst = D^-1 (L^-*T P b) + // more precisely, use pseudo-inverse of D (see bug 241) + using std::abs; + const typename Diagonal::RealReturnType vecD(vectorD()); + // In some previous versions, tolerance was set to the max of 1/highest (or rather numeric_limits::min()) + // and the maximal diagonal entry * epsilon as motivated by LAPACK's xGELSS: + // RealScalar tolerance = numext::maxi(vecD.array().abs().maxCoeff() * NumTraits::epsilon(),RealScalar(1) / NumTraits::highest()); + // However, LDLT is not rank revealing, and so adjusting the tolerance wrt to the highest + // diagonal element is not well justified and leads to numerical issues in some cases. + // Moreover, Lapack's xSYTRS routines use 0 for the tolerance. + // Using numeric_limits::min() gives us more robustness to denormals. + RealScalar tolerance = (std::numeric_limits::min)(); + for (Index i = 0; i < vecD.size(); ++i) + { + if(abs(vecD(i)) > tolerance) + dst.row(i) /= vecD(i); + else + dst.row(i).setZero(); + } + + // dst = L^-* (D^-* L^-1 P b) + // dst = L^-T (D^-1 L^-*T P b) + matrixL().transpose().template conjugateIf().solveInPlace(dst); + + // dst = P^T (L^-* D^-* L^-1 P b) = A^-1 b + // dst = P^-T (L^-T D^-1 L^-*T P b) = A^-1 b + dst = m_transpositions.transpose() * dst; +} +#endif + +/** \internal use x = ldlt_object.solve(x); + * + * This is the \em in-place version of solve(). + * + * \param bAndX represents both the right-hand side matrix b and result x. + * + * \returns true always! If you need to check for existence of solutions, use another decomposition like LU, QR, or SVD. + * + * This version avoids a copy when the right hand side matrix b is not + * needed anymore. + * + * \sa LDLT::solve(), MatrixBase::ldlt() + */ +template +template +bool LDLT::solveInPlace(MatrixBase &bAndX) const +{ + eigen_assert(m_isInitialized && "LDLT is not initialized."); + eigen_assert(m_matrix.rows() == bAndX.rows()); + + bAndX = this->solve(bAndX); + + return true; +} + +/** \returns the matrix represented by the decomposition, + * i.e., it returns the product: P^T L D L^* P. + * This function is provided for debug purpose. */ +template +MatrixType LDLT::reconstructedMatrix() const +{ + eigen_assert(m_isInitialized && "LDLT is not initialized."); + const Index size = m_matrix.rows(); + MatrixType res(size,size); + + // P + res.setIdentity(); + res = transpositionsP() * res; + // L^* P + res = matrixU() * res; + // D(L^*P) + res = vectorD().real().asDiagonal() * res; + // L(DL^*P) + res = matrixL() * res; + // P^T (LDL^*P) + res = transpositionsP().transpose() * res; + + return res; +} + +/** \cholesky_module + * \returns the Cholesky decomposition with full pivoting without square root of \c *this + * \sa MatrixBase::ldlt() + */ +template +inline const LDLT::PlainObject, UpLo> +SelfAdjointView::ldlt() const +{ + return LDLT(m_matrix); +} + +/** \cholesky_module + * \returns the Cholesky decomposition with full pivoting without square root of \c *this + * \sa SelfAdjointView::ldlt() + */ +template +inline const LDLT::PlainObject> +MatrixBase::ldlt() const +{ + return LDLT(derived()); +} + +} // end namespace Eigen + +#endif // EIGEN_LDLT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LLT.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LLT.h new file mode 100644 index 0000000..8c9b2b3 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LLT.h @@ -0,0 +1,558 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_LLT_H +#define EIGEN_LLT_H + +namespace Eigen { + +namespace internal{ + +template struct traits > + : traits<_MatrixType> +{ + typedef MatrixXpr XprKind; + typedef SolverStorage StorageKind; + typedef int StorageIndex; + enum { Flags = 0 }; +}; + +template struct LLT_Traits; +} + +/** \ingroup Cholesky_Module + * + * \class LLT + * + * \brief Standard Cholesky decomposition (LL^T) of a matrix and associated features + * + * \tparam _MatrixType the type of the matrix of which we are computing the LL^T Cholesky decomposition + * \tparam _UpLo the triangular part that will be used for the decompositon: Lower (default) or Upper. + * The other triangular part won't be read. + * + * This class performs a LL^T Cholesky decomposition of a symmetric, positive definite + * matrix A such that A = LL^* = U^*U, where L is lower triangular. + * + * While the Cholesky decomposition is particularly useful to solve selfadjoint problems like D^*D x = b, + * for that purpose, we recommend the Cholesky decomposition without square root which is more stable + * and even faster. Nevertheless, this standard Cholesky decomposition remains useful in many other + * situations like generalised eigen problems with hermitian matrices. + * + * Remember that Cholesky decompositions are not rank-revealing. This LLT decomposition is only stable on positive definite matrices, + * use LDLT instead for the semidefinite case. Also, do not use a Cholesky decomposition to determine whether a system of equations + * has a solution. + * + * Example: \include LLT_example.cpp + * Output: \verbinclude LLT_example.out + * + * \b Performance: for best performance, it is recommended to use a column-major storage format + * with the Lower triangular part (the default), or, equivalently, a row-major storage format + * with the Upper triangular part. Otherwise, you might get a 20% slowdown for the full factorization + * step, and rank-updates can be up to 3 times slower. + * + * This class supports the \link InplaceDecomposition inplace decomposition \endlink mechanism. + * + * Note that during the decomposition, only the lower (or upper, as defined by _UpLo) triangular part of A is considered. + * Therefore, the strict lower part does not have to store correct values. + * + * \sa MatrixBase::llt(), SelfAdjointView::llt(), class LDLT + */ +template class LLT + : public SolverBase > +{ + public: + typedef _MatrixType MatrixType; + typedef SolverBase Base; + friend class SolverBase; + + EIGEN_GENERIC_PUBLIC_INTERFACE(LLT) + enum { + MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime + }; + + enum { + PacketSize = internal::packet_traits::size, + AlignmentMask = int(PacketSize)-1, + UpLo = _UpLo + }; + + typedef internal::LLT_Traits Traits; + + /** + * \brief Default Constructor. + * + * The default constructor is useful in cases in which the user intends to + * perform decompositions via LLT::compute(const MatrixType&). + */ + LLT() : m_matrix(), m_isInitialized(false) {} + + /** \brief Default Constructor with memory preallocation + * + * Like the default constructor but with preallocation of the internal data + * according to the specified problem \a size. + * \sa LLT() + */ + explicit LLT(Index size) : m_matrix(size, size), + m_isInitialized(false) {} + + template + explicit LLT(const EigenBase& matrix) + : m_matrix(matrix.rows(), matrix.cols()), + m_isInitialized(false) + { + compute(matrix.derived()); + } + + /** \brief Constructs a LLT factorization from a given matrix + * + * This overloaded constructor is provided for \link InplaceDecomposition inplace decomposition \endlink when + * \c MatrixType is a Eigen::Ref. + * + * \sa LLT(const EigenBase&) + */ + template + explicit LLT(EigenBase& matrix) + : m_matrix(matrix.derived()), + m_isInitialized(false) + { + compute(matrix.derived()); + } + + /** \returns a view of the upper triangular matrix U */ + inline typename Traits::MatrixU matrixU() const + { + eigen_assert(m_isInitialized && "LLT is not initialized."); + return Traits::getU(m_matrix); + } + + /** \returns a view of the lower triangular matrix L */ + inline typename Traits::MatrixL matrixL() const + { + eigen_assert(m_isInitialized && "LLT is not initialized."); + return Traits::getL(m_matrix); + } + + #ifdef EIGEN_PARSED_BY_DOXYGEN + /** \returns the solution x of \f$ A x = b \f$ using the current decomposition of A. + * + * Since this LLT class assumes anyway that the matrix A is invertible, the solution + * theoretically exists and is unique regardless of b. + * + * Example: \include LLT_solve.cpp + * Output: \verbinclude LLT_solve.out + * + * \sa solveInPlace(), MatrixBase::llt(), SelfAdjointView::llt() + */ + template + inline const Solve + solve(const MatrixBase& b) const; + #endif + + template + void solveInPlace(const MatrixBase &bAndX) const; + + template + LLT& compute(const EigenBase& matrix); + + /** \returns an estimate of the reciprocal condition number of the matrix of + * which \c *this is the Cholesky decomposition. + */ + RealScalar rcond() const + { + eigen_assert(m_isInitialized && "LLT is not initialized."); + eigen_assert(m_info == Success && "LLT failed because matrix appears to be negative"); + return internal::rcond_estimate_helper(m_l1_norm, *this); + } + + /** \returns the LLT decomposition matrix + * + * TODO: document the storage layout + */ + inline const MatrixType& matrixLLT() const + { + eigen_assert(m_isInitialized && "LLT is not initialized."); + return m_matrix; + } + + MatrixType reconstructedMatrix() const; + + + /** \brief Reports whether previous computation was successful. + * + * \returns \c Success if computation was successful, + * \c NumericalIssue if the matrix.appears not to be positive definite. + */ + ComputationInfo info() const + { + eigen_assert(m_isInitialized && "LLT is not initialized."); + return m_info; + } + + /** \returns the adjoint of \c *this, that is, a const reference to the decomposition itself as the underlying matrix is self-adjoint. + * + * This method is provided for compatibility with other matrix decompositions, thus enabling generic code such as: + * \code x = decomposition.adjoint().solve(b) \endcode + */ + const LLT& adjoint() const EIGEN_NOEXCEPT { return *this; }; + + inline EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); } + inline EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); } + + template + LLT & rankUpdate(const VectorType& vec, const RealScalar& sigma = 1); + + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + void _solve_impl(const RhsType &rhs, DstType &dst) const; + + template + void _solve_impl_transposed(const RhsType &rhs, DstType &dst) const; + #endif + + protected: + + static void check_template_parameters() + { + EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar); + } + + /** \internal + * Used to compute and store L + * The strict upper part is not used and even not initialized. + */ + MatrixType m_matrix; + RealScalar m_l1_norm; + bool m_isInitialized; + ComputationInfo m_info; +}; + +namespace internal { + +template struct llt_inplace; + +template +static Index llt_rank_update_lower(MatrixType& mat, const VectorType& vec, const typename MatrixType::RealScalar& sigma) +{ + using std::sqrt; + typedef typename MatrixType::Scalar Scalar; + typedef typename MatrixType::RealScalar RealScalar; + typedef typename MatrixType::ColXpr ColXpr; + typedef typename internal::remove_all::type ColXprCleaned; + typedef typename ColXprCleaned::SegmentReturnType ColXprSegment; + typedef Matrix TempVectorType; + typedef typename TempVectorType::SegmentReturnType TempVecSegment; + + Index n = mat.cols(); + eigen_assert(mat.rows()==n && vec.size()==n); + + TempVectorType temp; + + if(sigma>0) + { + // This version is based on Givens rotations. + // It is faster than the other one below, but only works for updates, + // i.e., for sigma > 0 + temp = sqrt(sigma) * vec; + + for(Index i=0; i g; + g.makeGivens(mat(i,i), -temp(i), &mat(i,i)); + + Index rs = n-i-1; + if(rs>0) + { + ColXprSegment x(mat.col(i).tail(rs)); + TempVecSegment y(temp.tail(rs)); + apply_rotation_in_the_plane(x, y, g); + } + } + } + else + { + temp = vec; + RealScalar beta = 1; + for(Index j=0; j struct llt_inplace +{ + typedef typename NumTraits::Real RealScalar; + template + static Index unblocked(MatrixType& mat) + { + using std::sqrt; + + eigen_assert(mat.rows()==mat.cols()); + const Index size = mat.rows(); + for(Index k = 0; k < size; ++k) + { + Index rs = size-k-1; // remaining size + + Block A21(mat,k+1,k,rs,1); + Block A10(mat,k,0,1,k); + Block A20(mat,k+1,0,rs,k); + + RealScalar x = numext::real(mat.coeff(k,k)); + if (k>0) x -= A10.squaredNorm(); + if (x<=RealScalar(0)) + return k; + mat.coeffRef(k,k) = x = sqrt(x); + if (k>0 && rs>0) A21.noalias() -= A20 * A10.adjoint(); + if (rs>0) A21 /= x; + } + return -1; + } + + template + static Index blocked(MatrixType& m) + { + eigen_assert(m.rows()==m.cols()); + Index size = m.rows(); + if(size<32) + return unblocked(m); + + Index blockSize = size/8; + blockSize = (blockSize/16)*16; + blockSize = (std::min)((std::max)(blockSize,Index(8)), Index(128)); + + for (Index k=0; k A11(m,k, k, bs,bs); + Block A21(m,k+bs,k, rs,bs); + Block A22(m,k+bs,k+bs,rs,rs); + + Index ret; + if((ret=unblocked(A11))>=0) return k+ret; + if(rs>0) A11.adjoint().template triangularView().template solveInPlace(A21); + if(rs>0) A22.template selfadjointView().rankUpdate(A21,typename NumTraits::Literal(-1)); // bottleneck + } + return -1; + } + + template + static Index rankUpdate(MatrixType& mat, const VectorType& vec, const RealScalar& sigma) + { + return Eigen::internal::llt_rank_update_lower(mat, vec, sigma); + } +}; + +template struct llt_inplace +{ + typedef typename NumTraits::Real RealScalar; + + template + static EIGEN_STRONG_INLINE Index unblocked(MatrixType& mat) + { + Transpose matt(mat); + return llt_inplace::unblocked(matt); + } + template + static EIGEN_STRONG_INLINE Index blocked(MatrixType& mat) + { + Transpose matt(mat); + return llt_inplace::blocked(matt); + } + template + static Index rankUpdate(MatrixType& mat, const VectorType& vec, const RealScalar& sigma) + { + Transpose matt(mat); + return llt_inplace::rankUpdate(matt, vec.conjugate(), sigma); + } +}; + +template struct LLT_Traits +{ + typedef const TriangularView MatrixL; + typedef const TriangularView MatrixU; + static inline MatrixL getL(const MatrixType& m) { return MatrixL(m); } + static inline MatrixU getU(const MatrixType& m) { return MatrixU(m.adjoint()); } + static bool inplace_decomposition(MatrixType& m) + { return llt_inplace::blocked(m)==-1; } +}; + +template struct LLT_Traits +{ + typedef const TriangularView MatrixL; + typedef const TriangularView MatrixU; + static inline MatrixL getL(const MatrixType& m) { return MatrixL(m.adjoint()); } + static inline MatrixU getU(const MatrixType& m) { return MatrixU(m); } + static bool inplace_decomposition(MatrixType& m) + { return llt_inplace::blocked(m)==-1; } +}; + +} // end namespace internal + +/** Computes / recomputes the Cholesky decomposition A = LL^* = U^*U of \a matrix + * + * \returns a reference to *this + * + * Example: \include TutorialLinAlgComputeTwice.cpp + * Output: \verbinclude TutorialLinAlgComputeTwice.out + */ +template +template +LLT& LLT::compute(const EigenBase& a) +{ + check_template_parameters(); + + eigen_assert(a.rows()==a.cols()); + const Index size = a.rows(); + m_matrix.resize(size, size); + if (!internal::is_same_dense(m_matrix, a.derived())) + m_matrix = a.derived(); + + // Compute matrix L1 norm = max abs column sum. + m_l1_norm = RealScalar(0); + // TODO move this code to SelfAdjointView + for (Index col = 0; col < size; ++col) { + RealScalar abs_col_sum; + if (_UpLo == Lower) + abs_col_sum = m_matrix.col(col).tail(size - col).template lpNorm<1>() + m_matrix.row(col).head(col).template lpNorm<1>(); + else + abs_col_sum = m_matrix.col(col).head(col).template lpNorm<1>() + m_matrix.row(col).tail(size - col).template lpNorm<1>(); + if (abs_col_sum > m_l1_norm) + m_l1_norm = abs_col_sum; + } + + m_isInitialized = true; + bool ok = Traits::inplace_decomposition(m_matrix); + m_info = ok ? Success : NumericalIssue; + + return *this; +} + +/** Performs a rank one update (or dowdate) of the current decomposition. + * If A = LL^* before the rank one update, + * then after it we have LL^* = A + sigma * v v^* where \a v must be a vector + * of same dimension. + */ +template +template +LLT<_MatrixType,_UpLo> & LLT<_MatrixType,_UpLo>::rankUpdate(const VectorType& v, const RealScalar& sigma) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(VectorType); + eigen_assert(v.size()==m_matrix.cols()); + eigen_assert(m_isInitialized); + if(internal::llt_inplace::rankUpdate(m_matrix,v,sigma)>=0) + m_info = NumericalIssue; + else + m_info = Success; + + return *this; +} + +#ifndef EIGEN_PARSED_BY_DOXYGEN +template +template +void LLT<_MatrixType,_UpLo>::_solve_impl(const RhsType &rhs, DstType &dst) const +{ + _solve_impl_transposed(rhs, dst); +} + +template +template +void LLT<_MatrixType,_UpLo>::_solve_impl_transposed(const RhsType &rhs, DstType &dst) const +{ + dst = rhs; + + matrixL().template conjugateIf().solveInPlace(dst); + matrixU().template conjugateIf().solveInPlace(dst); +} +#endif + +/** \internal use x = llt_object.solve(x); + * + * This is the \em in-place version of solve(). + * + * \param bAndX represents both the right-hand side matrix b and result x. + * + * This version avoids a copy when the right hand side matrix b is not needed anymore. + * + * \warning The parameter is only marked 'const' to make the C++ compiler accept a temporary expression here. + * This function will const_cast it, so constness isn't honored here. + * + * \sa LLT::solve(), MatrixBase::llt() + */ +template +template +void LLT::solveInPlace(const MatrixBase &bAndX) const +{ + eigen_assert(m_isInitialized && "LLT is not initialized."); + eigen_assert(m_matrix.rows()==bAndX.rows()); + matrixL().solveInPlace(bAndX); + matrixU().solveInPlace(bAndX); +} + +/** \returns the matrix represented by the decomposition, + * i.e., it returns the product: L L^*. + * This function is provided for debug purpose. */ +template +MatrixType LLT::reconstructedMatrix() const +{ + eigen_assert(m_isInitialized && "LLT is not initialized."); + return matrixL() * matrixL().adjoint().toDenseMatrix(); +} + +/** \cholesky_module + * \returns the LLT decomposition of \c *this + * \sa SelfAdjointView::llt() + */ +template +inline const LLT::PlainObject> +MatrixBase::llt() const +{ + return LLT(derived()); +} + +/** \cholesky_module + * \returns the LLT decomposition of \c *this + * \sa SelfAdjointView::llt() + */ +template +inline const LLT::PlainObject, UpLo> +SelfAdjointView::llt() const +{ + return LLT(m_matrix); +} + +} // end namespace Eigen + +#endif // EIGEN_LLT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LLT_LAPACKE.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LLT_LAPACKE.h new file mode 100644 index 0000000..bc6489e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Cholesky/LLT_LAPACKE.h @@ -0,0 +1,99 @@ +/* + Copyright (c) 2011, Intel Corporation. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Intel Corporation nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ******************************************************************************** + * Content : Eigen bindings to LAPACKe + * LLt decomposition based on LAPACKE_?potrf function. + ******************************************************************************** +*/ + +#ifndef EIGEN_LLT_LAPACKE_H +#define EIGEN_LLT_LAPACKE_H + +namespace Eigen { + +namespace internal { + +template struct lapacke_llt; + +#define EIGEN_LAPACKE_LLT(EIGTYPE, BLASTYPE, LAPACKE_PREFIX) \ +template<> struct lapacke_llt \ +{ \ + template \ + static inline Index potrf(MatrixType& m, char uplo) \ + { \ + lapack_int matrix_order; \ + lapack_int size, lda, info, StorageOrder; \ + EIGTYPE* a; \ + eigen_assert(m.rows()==m.cols()); \ + /* Set up parameters for ?potrf */ \ + size = convert_index(m.rows()); \ + StorageOrder = MatrixType::Flags&RowMajorBit?RowMajor:ColMajor; \ + matrix_order = StorageOrder==RowMajor ? LAPACK_ROW_MAJOR : LAPACK_COL_MAJOR; \ + a = &(m.coeffRef(0,0)); \ + lda = convert_index(m.outerStride()); \ +\ + info = LAPACKE_##LAPACKE_PREFIX##potrf( matrix_order, uplo, size, (BLASTYPE*)a, lda ); \ + info = (info==0) ? -1 : info>0 ? info-1 : size; \ + return info; \ + } \ +}; \ +template<> struct llt_inplace \ +{ \ + template \ + static Index blocked(MatrixType& m) \ + { \ + return lapacke_llt::potrf(m, 'L'); \ + } \ + template \ + static Index rankUpdate(MatrixType& mat, const VectorType& vec, const typename MatrixType::RealScalar& sigma) \ + { return Eigen::internal::llt_rank_update_lower(mat, vec, sigma); } \ +}; \ +template<> struct llt_inplace \ +{ \ + template \ + static Index blocked(MatrixType& m) \ + { \ + return lapacke_llt::potrf(m, 'U'); \ + } \ + template \ + static Index rankUpdate(MatrixType& mat, const VectorType& vec, const typename MatrixType::RealScalar& sigma) \ + { \ + Transpose matt(mat); \ + return llt_inplace::rankUpdate(matt, vec.conjugate(), sigma); \ + } \ +}; + +EIGEN_LAPACKE_LLT(double, double, d) +EIGEN_LAPACKE_LLT(float, float, s) +EIGEN_LAPACKE_LLT(dcomplex, lapack_complex_double, z) +EIGEN_LAPACKE_LLT(scomplex, lapack_complex_float, c) + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_LLT_LAPACKE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/CholmodSupport/CholmodSupport.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/CholmodSupport/CholmodSupport.h new file mode 100644 index 0000000..adaf528 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/CholmodSupport/CholmodSupport.h @@ -0,0 +1,682 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CHOLMODSUPPORT_H +#define EIGEN_CHOLMODSUPPORT_H + +namespace Eigen { + +namespace internal { + +template struct cholmod_configure_matrix; + +template<> struct cholmod_configure_matrix { + template + static void run(CholmodType& mat) { + mat.xtype = CHOLMOD_REAL; + mat.dtype = CHOLMOD_DOUBLE; + } +}; + +template<> struct cholmod_configure_matrix > { + template + static void run(CholmodType& mat) { + mat.xtype = CHOLMOD_COMPLEX; + mat.dtype = CHOLMOD_DOUBLE; + } +}; + +// Other scalar types are not yet supported by Cholmod +// template<> struct cholmod_configure_matrix { +// template +// static void run(CholmodType& mat) { +// mat.xtype = CHOLMOD_REAL; +// mat.dtype = CHOLMOD_SINGLE; +// } +// }; +// +// template<> struct cholmod_configure_matrix > { +// template +// static void run(CholmodType& mat) { +// mat.xtype = CHOLMOD_COMPLEX; +// mat.dtype = CHOLMOD_SINGLE; +// } +// }; + +} // namespace internal + +/** Wraps the Eigen sparse matrix \a mat into a Cholmod sparse matrix object. + * Note that the data are shared. + */ +template +cholmod_sparse viewAsCholmod(Ref > mat) +{ + cholmod_sparse res; + res.nzmax = mat.nonZeros(); + res.nrow = mat.rows(); + res.ncol = mat.cols(); + res.p = mat.outerIndexPtr(); + res.i = mat.innerIndexPtr(); + res.x = mat.valuePtr(); + res.z = 0; + res.sorted = 1; + if(mat.isCompressed()) + { + res.packed = 1; + res.nz = 0; + } + else + { + res.packed = 0; + res.nz = mat.innerNonZeroPtr(); + } + + res.dtype = 0; + res.stype = -1; + + if (internal::is_same<_StorageIndex,int>::value) + { + res.itype = CHOLMOD_INT; + } + else if (internal::is_same<_StorageIndex,SuiteSparse_long>::value) + { + res.itype = CHOLMOD_LONG; + } + else + { + eigen_assert(false && "Index type not supported yet"); + } + + // setup res.xtype + internal::cholmod_configure_matrix<_Scalar>::run(res); + + res.stype = 0; + + return res; +} + +template +const cholmod_sparse viewAsCholmod(const SparseMatrix<_Scalar,_Options,_Index>& mat) +{ + cholmod_sparse res = viewAsCholmod(Ref >(mat.const_cast_derived())); + return res; +} + +template +const cholmod_sparse viewAsCholmod(const SparseVector<_Scalar,_Options,_Index>& mat) +{ + cholmod_sparse res = viewAsCholmod(Ref >(mat.const_cast_derived())); + return res; +} + +/** Returns a view of the Eigen sparse matrix \a mat as Cholmod sparse matrix. + * The data are not copied but shared. */ +template +cholmod_sparse viewAsCholmod(const SparseSelfAdjointView, UpLo>& mat) +{ + cholmod_sparse res = viewAsCholmod(Ref >(mat.matrix().const_cast_derived())); + + if(UpLo==Upper) res.stype = 1; + if(UpLo==Lower) res.stype = -1; + // swap stype for rowmajor matrices (only works for real matrices) + EIGEN_STATIC_ASSERT((_Options & RowMajorBit) == 0 || NumTraits<_Scalar>::IsComplex == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); + if(_Options & RowMajorBit) res.stype *=-1; + + return res; +} + +/** Returns a view of the Eigen \b dense matrix \a mat as Cholmod dense matrix. + * The data are not copied but shared. */ +template +cholmod_dense viewAsCholmod(MatrixBase& mat) +{ + EIGEN_STATIC_ASSERT((internal::traits::Flags&RowMajorBit)==0,THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); + typedef typename Derived::Scalar Scalar; + + cholmod_dense res; + res.nrow = mat.rows(); + res.ncol = mat.cols(); + res.nzmax = res.nrow * res.ncol; + res.d = Derived::IsVectorAtCompileTime ? mat.derived().size() : mat.derived().outerStride(); + res.x = (void*)(mat.derived().data()); + res.z = 0; + + internal::cholmod_configure_matrix::run(res); + + return res; +} + +/** Returns a view of the Cholmod sparse matrix \a cm as an Eigen sparse matrix. + * The data are not copied but shared. */ +template +MappedSparseMatrix viewAsEigen(cholmod_sparse& cm) +{ + return MappedSparseMatrix + (cm.nrow, cm.ncol, static_cast(cm.p)[cm.ncol], + static_cast(cm.p), static_cast(cm.i),static_cast(cm.x) ); +} + +namespace internal { + +// template specializations for int and long that call the correct cholmod method + +#define EIGEN_CHOLMOD_SPECIALIZE0(ret, name) \ + template inline ret cm_ ## name (cholmod_common &Common) { return cholmod_ ## name (&Common); } \ + template<> inline ret cm_ ## name (cholmod_common &Common) { return cholmod_l_ ## name (&Common); } + +#define EIGEN_CHOLMOD_SPECIALIZE1(ret, name, t1, a1) \ + template inline ret cm_ ## name (t1& a1, cholmod_common &Common) { return cholmod_ ## name (&a1, &Common); } \ + template<> inline ret cm_ ## name (t1& a1, cholmod_common &Common) { return cholmod_l_ ## name (&a1, &Common); } + +EIGEN_CHOLMOD_SPECIALIZE0(int, start) +EIGEN_CHOLMOD_SPECIALIZE0(int, finish) + +EIGEN_CHOLMOD_SPECIALIZE1(int, free_factor, cholmod_factor*, L) +EIGEN_CHOLMOD_SPECIALIZE1(int, free_dense, cholmod_dense*, X) +EIGEN_CHOLMOD_SPECIALIZE1(int, free_sparse, cholmod_sparse*, A) + +EIGEN_CHOLMOD_SPECIALIZE1(cholmod_factor*, analyze, cholmod_sparse, A) + +template inline cholmod_dense* cm_solve (int sys, cholmod_factor& L, cholmod_dense& B, cholmod_common &Common) { return cholmod_solve (sys, &L, &B, &Common); } +template<> inline cholmod_dense* cm_solve (int sys, cholmod_factor& L, cholmod_dense& B, cholmod_common &Common) { return cholmod_l_solve (sys, &L, &B, &Common); } + +template inline cholmod_sparse* cm_spsolve (int sys, cholmod_factor& L, cholmod_sparse& B, cholmod_common &Common) { return cholmod_spsolve (sys, &L, &B, &Common); } +template<> inline cholmod_sparse* cm_spsolve (int sys, cholmod_factor& L, cholmod_sparse& B, cholmod_common &Common) { return cholmod_l_spsolve (sys, &L, &B, &Common); } + +template +inline int cm_factorize_p (cholmod_sparse* A, double beta[2], _StorageIndex* fset, std::size_t fsize, cholmod_factor* L, cholmod_common &Common) { return cholmod_factorize_p (A, beta, fset, fsize, L, &Common); } +template<> +inline int cm_factorize_p (cholmod_sparse* A, double beta[2], SuiteSparse_long* fset, std::size_t fsize, cholmod_factor* L, cholmod_common &Common) { return cholmod_l_factorize_p (A, beta, fset, fsize, L, &Common); } + +#undef EIGEN_CHOLMOD_SPECIALIZE0 +#undef EIGEN_CHOLMOD_SPECIALIZE1 + +} // namespace internal + + +enum CholmodMode { + CholmodAuto, CholmodSimplicialLLt, CholmodSupernodalLLt, CholmodLDLt +}; + + +/** \ingroup CholmodSupport_Module + * \class CholmodBase + * \brief The base class for the direct Cholesky factorization of Cholmod + * \sa class CholmodSupernodalLLT, class CholmodSimplicialLDLT, class CholmodSimplicialLLT + */ +template +class CholmodBase : public SparseSolverBase +{ + protected: + typedef SparseSolverBase Base; + using Base::derived; + using Base::m_isInitialized; + public: + typedef _MatrixType MatrixType; + enum { UpLo = _UpLo }; + typedef typename MatrixType::Scalar Scalar; + typedef typename MatrixType::RealScalar RealScalar; + typedef MatrixType CholMatrixType; + typedef typename MatrixType::StorageIndex StorageIndex; + enum { + ColsAtCompileTime = MatrixType::ColsAtCompileTime, + MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime + }; + + public: + + CholmodBase() + : m_cholmodFactor(0), m_info(Success), m_factorizationIsOk(false), m_analysisIsOk(false) + { + EIGEN_STATIC_ASSERT((internal::is_same::value), CHOLMOD_SUPPORTS_DOUBLE_PRECISION_ONLY); + m_shiftOffset[0] = m_shiftOffset[1] = 0.0; + internal::cm_start(m_cholmod); + } + + explicit CholmodBase(const MatrixType& matrix) + : m_cholmodFactor(0), m_info(Success), m_factorizationIsOk(false), m_analysisIsOk(false) + { + EIGEN_STATIC_ASSERT((internal::is_same::value), CHOLMOD_SUPPORTS_DOUBLE_PRECISION_ONLY); + m_shiftOffset[0] = m_shiftOffset[1] = 0.0; + internal::cm_start(m_cholmod); + compute(matrix); + } + + ~CholmodBase() + { + if(m_cholmodFactor) + internal::cm_free_factor(m_cholmodFactor, m_cholmod); + internal::cm_finish(m_cholmod); + } + + inline StorageIndex cols() const { return internal::convert_index(m_cholmodFactor->n); } + inline StorageIndex rows() const { return internal::convert_index(m_cholmodFactor->n); } + + /** \brief Reports whether previous computation was successful. + * + * \returns \c Success if computation was successful, + * \c NumericalIssue if the matrix.appears to be negative. + */ + ComputationInfo info() const + { + eigen_assert(m_isInitialized && "Decomposition is not initialized."); + return m_info; + } + + /** Computes the sparse Cholesky decomposition of \a matrix */ + Derived& compute(const MatrixType& matrix) + { + analyzePattern(matrix); + factorize(matrix); + return derived(); + } + + /** Performs a symbolic decomposition on the sparsity pattern of \a matrix. + * + * This function is particularly useful when solving for several problems having the same structure. + * + * \sa factorize() + */ + void analyzePattern(const MatrixType& matrix) + { + if(m_cholmodFactor) + { + internal::cm_free_factor(m_cholmodFactor, m_cholmod); + m_cholmodFactor = 0; + } + cholmod_sparse A = viewAsCholmod(matrix.template selfadjointView()); + m_cholmodFactor = internal::cm_analyze(A, m_cholmod); + + this->m_isInitialized = true; + this->m_info = Success; + m_analysisIsOk = true; + m_factorizationIsOk = false; + } + + /** Performs a numeric decomposition of \a matrix + * + * The given matrix must have the same sparsity pattern as the matrix on which the symbolic decomposition has been performed. + * + * \sa analyzePattern() + */ + void factorize(const MatrixType& matrix) + { + eigen_assert(m_analysisIsOk && "You must first call analyzePattern()"); + cholmod_sparse A = viewAsCholmod(matrix.template selfadjointView()); + internal::cm_factorize_p(&A, m_shiftOffset, 0, 0, m_cholmodFactor, m_cholmod); + + // If the factorization failed, minor is the column at which it did. On success minor == n. + this->m_info = (m_cholmodFactor->minor == m_cholmodFactor->n ? Success : NumericalIssue); + m_factorizationIsOk = true; + } + + /** Returns a reference to the Cholmod's configuration structure to get a full control over the performed operations. + * See the Cholmod user guide for details. */ + cholmod_common& cholmod() { return m_cholmod; } + + #ifndef EIGEN_PARSED_BY_DOXYGEN + /** \internal */ + template + void _solve_impl(const MatrixBase &b, MatrixBase &dest) const + { + eigen_assert(m_factorizationIsOk && "The decomposition is not in a valid state for solving, you must first call either compute() or symbolic()/numeric()"); + const Index size = m_cholmodFactor->n; + EIGEN_UNUSED_VARIABLE(size); + eigen_assert(size==b.rows()); + + // Cholmod needs column-major storage without inner-stride, which corresponds to the default behavior of Ref. + Ref > b_ref(b.derived()); + + cholmod_dense b_cd = viewAsCholmod(b_ref); + cholmod_dense* x_cd = internal::cm_solve(CHOLMOD_A, *m_cholmodFactor, b_cd, m_cholmod); + if(!x_cd) + { + this->m_info = NumericalIssue; + return; + } + // TODO optimize this copy by swapping when possible (be careful with alignment, etc.) + // NOTE Actually, the copy can be avoided by calling cholmod_solve2 instead of cholmod_solve + dest = Matrix::Map(reinterpret_cast(x_cd->x),b.rows(),b.cols()); + internal::cm_free_dense(x_cd, m_cholmod); + } + + /** \internal */ + template + void _solve_impl(const SparseMatrixBase &b, SparseMatrixBase &dest) const + { + eigen_assert(m_factorizationIsOk && "The decomposition is not in a valid state for solving, you must first call either compute() or symbolic()/numeric()"); + const Index size = m_cholmodFactor->n; + EIGEN_UNUSED_VARIABLE(size); + eigen_assert(size==b.rows()); + + // note: cs stands for Cholmod Sparse + Ref > b_ref(b.const_cast_derived()); + cholmod_sparse b_cs = viewAsCholmod(b_ref); + cholmod_sparse* x_cs = internal::cm_spsolve(CHOLMOD_A, *m_cholmodFactor, b_cs, m_cholmod); + if(!x_cs) + { + this->m_info = NumericalIssue; + return; + } + // TODO optimize this copy by swapping when possible (be careful with alignment, etc.) + // NOTE cholmod_spsolve in fact just calls the dense solver for blocks of 4 columns at a time (similar to Eigen's sparse solver) + dest.derived() = viewAsEigen(*x_cs); + internal::cm_free_sparse(x_cs, m_cholmod); + } + #endif // EIGEN_PARSED_BY_DOXYGEN + + + /** Sets the shift parameter that will be used to adjust the diagonal coefficients during the numerical factorization. + * + * During the numerical factorization, an offset term is added to the diagonal coefficients:\n + * \c d_ii = \a offset + \c d_ii + * + * The default is \a offset=0. + * + * \returns a reference to \c *this. + */ + Derived& setShift(const RealScalar& offset) + { + m_shiftOffset[0] = double(offset); + return derived(); + } + + /** \returns the determinant of the underlying matrix from the current factorization */ + Scalar determinant() const + { + using std::exp; + return exp(logDeterminant()); + } + + /** \returns the log determinant of the underlying matrix from the current factorization */ + Scalar logDeterminant() const + { + using std::log; + using numext::real; + eigen_assert(m_factorizationIsOk && "The decomposition is not in a valid state for solving, you must first call either compute() or symbolic()/numeric()"); + + RealScalar logDet = 0; + Scalar *x = static_cast(m_cholmodFactor->x); + if (m_cholmodFactor->is_super) + { + // Supernodal factorization stored as a packed list of dense column-major blocs, + // as described by the following structure: + + // super[k] == index of the first column of the j-th super node + StorageIndex *super = static_cast(m_cholmodFactor->super); + // pi[k] == offset to the description of row indices + StorageIndex *pi = static_cast(m_cholmodFactor->pi); + // px[k] == offset to the respective dense block + StorageIndex *px = static_cast(m_cholmodFactor->px); + + Index nb_super_nodes = m_cholmodFactor->nsuper; + for (Index k=0; k < nb_super_nodes; ++k) + { + StorageIndex ncols = super[k + 1] - super[k]; + StorageIndex nrows = pi[k + 1] - pi[k]; + + Map, 0, InnerStride<> > sk(x + px[k], ncols, InnerStride<>(nrows+1)); + logDet += sk.real().log().sum(); + } + } + else + { + // Simplicial factorization stored as standard CSC matrix. + StorageIndex *p = static_cast(m_cholmodFactor->p); + Index size = m_cholmodFactor->n; + for (Index k=0; kis_ll) + logDet *= 2.0; + return logDet; + }; + + template + void dumpMemory(Stream& /*s*/) + {} + + protected: + mutable cholmod_common m_cholmod; + cholmod_factor* m_cholmodFactor; + double m_shiftOffset[2]; + mutable ComputationInfo m_info; + int m_factorizationIsOk; + int m_analysisIsOk; +}; + +/** \ingroup CholmodSupport_Module + * \class CholmodSimplicialLLT + * \brief A simplicial direct Cholesky (LLT) factorization and solver based on Cholmod + * + * This class allows to solve for A.X = B sparse linear problems via a simplicial LL^T Cholesky factorization + * using the Cholmod library. + * This simplicial variant is equivalent to Eigen's built-in SimplicialLLT class. Therefore, it has little practical interest. + * The sparse matrix A must be selfadjoint and positive definite. The vectors or matrices + * X and B can be either dense or sparse. + * + * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> + * \tparam _UpLo the triangular part that will be used for the computations. It can be Lower + * or Upper. Default is Lower. + * + * \implsparsesolverconcept + * + * This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed. + * + * \warning Only double precision real and complex scalar types are supported by Cholmod. + * + * \sa \ref TutorialSparseSolverConcept, class CholmodSupernodalLLT, class SimplicialLLT + */ +template +class CholmodSimplicialLLT : public CholmodBase<_MatrixType, _UpLo, CholmodSimplicialLLT<_MatrixType, _UpLo> > +{ + typedef CholmodBase<_MatrixType, _UpLo, CholmodSimplicialLLT> Base; + using Base::m_cholmod; + + public: + + typedef _MatrixType MatrixType; + + CholmodSimplicialLLT() : Base() { init(); } + + CholmodSimplicialLLT(const MatrixType& matrix) : Base() + { + init(); + this->compute(matrix); + } + + ~CholmodSimplicialLLT() {} + protected: + void init() + { + m_cholmod.final_asis = 0; + m_cholmod.supernodal = CHOLMOD_SIMPLICIAL; + m_cholmod.final_ll = 1; + } +}; + + +/** \ingroup CholmodSupport_Module + * \class CholmodSimplicialLDLT + * \brief A simplicial direct Cholesky (LDLT) factorization and solver based on Cholmod + * + * This class allows to solve for A.X = B sparse linear problems via a simplicial LDL^T Cholesky factorization + * using the Cholmod library. + * This simplicial variant is equivalent to Eigen's built-in SimplicialLDLT class. Therefore, it has little practical interest. + * The sparse matrix A must be selfadjoint and positive definite. The vectors or matrices + * X and B can be either dense or sparse. + * + * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> + * \tparam _UpLo the triangular part that will be used for the computations. It can be Lower + * or Upper. Default is Lower. + * + * \implsparsesolverconcept + * + * This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed. + * + * \warning Only double precision real and complex scalar types are supported by Cholmod. + * + * \sa \ref TutorialSparseSolverConcept, class CholmodSupernodalLLT, class SimplicialLDLT + */ +template +class CholmodSimplicialLDLT : public CholmodBase<_MatrixType, _UpLo, CholmodSimplicialLDLT<_MatrixType, _UpLo> > +{ + typedef CholmodBase<_MatrixType, _UpLo, CholmodSimplicialLDLT> Base; + using Base::m_cholmod; + + public: + + typedef _MatrixType MatrixType; + + CholmodSimplicialLDLT() : Base() { init(); } + + CholmodSimplicialLDLT(const MatrixType& matrix) : Base() + { + init(); + this->compute(matrix); + } + + ~CholmodSimplicialLDLT() {} + protected: + void init() + { + m_cholmod.final_asis = 1; + m_cholmod.supernodal = CHOLMOD_SIMPLICIAL; + } +}; + +/** \ingroup CholmodSupport_Module + * \class CholmodSupernodalLLT + * \brief A supernodal Cholesky (LLT) factorization and solver based on Cholmod + * + * This class allows to solve for A.X = B sparse linear problems via a supernodal LL^T Cholesky factorization + * using the Cholmod library. + * This supernodal variant performs best on dense enough problems, e.g., 3D FEM, or very high order 2D FEM. + * The sparse matrix A must be selfadjoint and positive definite. The vectors or matrices + * X and B can be either dense or sparse. + * + * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> + * \tparam _UpLo the triangular part that will be used for the computations. It can be Lower + * or Upper. Default is Lower. + * + * \implsparsesolverconcept + * + * This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed. + * + * \warning Only double precision real and complex scalar types are supported by Cholmod. + * + * \sa \ref TutorialSparseSolverConcept + */ +template +class CholmodSupernodalLLT : public CholmodBase<_MatrixType, _UpLo, CholmodSupernodalLLT<_MatrixType, _UpLo> > +{ + typedef CholmodBase<_MatrixType, _UpLo, CholmodSupernodalLLT> Base; + using Base::m_cholmod; + + public: + + typedef _MatrixType MatrixType; + + CholmodSupernodalLLT() : Base() { init(); } + + CholmodSupernodalLLT(const MatrixType& matrix) : Base() + { + init(); + this->compute(matrix); + } + + ~CholmodSupernodalLLT() {} + protected: + void init() + { + m_cholmod.final_asis = 1; + m_cholmod.supernodal = CHOLMOD_SUPERNODAL; + } +}; + +/** \ingroup CholmodSupport_Module + * \class CholmodDecomposition + * \brief A general Cholesky factorization and solver based on Cholmod + * + * This class allows to solve for A.X = B sparse linear problems via a LL^T or LDL^T Cholesky factorization + * using the Cholmod library. The sparse matrix A must be selfadjoint and positive definite. The vectors or matrices + * X and B can be either dense or sparse. + * + * This variant permits to change the underlying Cholesky method at runtime. + * On the other hand, it does not provide access to the result of the factorization. + * The default is to let Cholmod automatically choose between a simplicial and supernodal factorization. + * + * \tparam _MatrixType the type of the sparse matrix A, it must be a SparseMatrix<> + * \tparam _UpLo the triangular part that will be used for the computations. It can be Lower + * or Upper. Default is Lower. + * + * \implsparsesolverconcept + * + * This class supports all kind of SparseMatrix<>: row or column major; upper, lower, or both; compressed or non compressed. + * + * \warning Only double precision real and complex scalar types are supported by Cholmod. + * + * \sa \ref TutorialSparseSolverConcept + */ +template +class CholmodDecomposition : public CholmodBase<_MatrixType, _UpLo, CholmodDecomposition<_MatrixType, _UpLo> > +{ + typedef CholmodBase<_MatrixType, _UpLo, CholmodDecomposition> Base; + using Base::m_cholmod; + + public: + + typedef _MatrixType MatrixType; + + CholmodDecomposition() : Base() { init(); } + + CholmodDecomposition(const MatrixType& matrix) : Base() + { + init(); + this->compute(matrix); + } + + ~CholmodDecomposition() {} + + void setMode(CholmodMode mode) + { + switch(mode) + { + case CholmodAuto: + m_cholmod.final_asis = 1; + m_cholmod.supernodal = CHOLMOD_AUTO; + break; + case CholmodSimplicialLLt: + m_cholmod.final_asis = 0; + m_cholmod.supernodal = CHOLMOD_SIMPLICIAL; + m_cholmod.final_ll = 1; + break; + case CholmodSupernodalLLt: + m_cholmod.final_asis = 1; + m_cholmod.supernodal = CHOLMOD_SUPERNODAL; + break; + case CholmodLDLt: + m_cholmod.final_asis = 1; + m_cholmod.supernodal = CHOLMOD_SIMPLICIAL; + break; + default: + break; + } + } + protected: + void init() + { + m_cholmod.final_asis = 1; + m_cholmod.supernodal = CHOLMOD_AUTO; + } +}; + +} // end namespace Eigen + +#endif // EIGEN_CHOLMODSUPPORT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArithmeticSequence.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArithmeticSequence.h new file mode 100644 index 0000000..b6200fa --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArithmeticSequence.h @@ -0,0 +1,413 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2017 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ARITHMETIC_SEQUENCE_H +#define EIGEN_ARITHMETIC_SEQUENCE_H + +namespace Eigen { + +namespace internal { + +#if (!EIGEN_HAS_CXX11) || !((!EIGEN_COMP_GNUC) || EIGEN_COMP_GNUC>=48) +template struct aseq_negate {}; + +template<> struct aseq_negate { + typedef Index type; +}; + +template struct aseq_negate > { + typedef FixedInt<-N> type; +}; + +// Compilation error in the following case: +template<> struct aseq_negate > {}; + +template::value, + bool SizeIsSymbolic =symbolic::is_symbolic::value> +struct aseq_reverse_first_type { + typedef Index type; +}; + +template +struct aseq_reverse_first_type { + typedef symbolic::AddExpr > >, + symbolic::ValueExpr > + > type; +}; + +template +struct aseq_reverse_first_type_aux { + typedef Index type; +}; + +template +struct aseq_reverse_first_type_aux::type> { + typedef FixedInt<(SizeType::value-1)*IncrType::value> type; +}; + +template +struct aseq_reverse_first_type { + typedef typename aseq_reverse_first_type_aux::type Aux; + typedef symbolic::AddExpr > type; +}; + +template +struct aseq_reverse_first_type { + typedef symbolic::AddExpr > >, + symbolic::ValueExpr >, + symbolic::ValueExpr<> > type; +}; +#endif + +// Helper to cleanup the type of the increment: +template struct cleanup_seq_incr { + typedef typename cleanup_index_type::type type; +}; + +} + +//-------------------------------------------------------------------------------- +// seq(first,last,incr) and seqN(first,size,incr) +//-------------------------------------------------------------------------------- + +template > +class ArithmeticSequence; + +template +ArithmeticSequence::type, + typename internal::cleanup_index_type::type, + typename internal::cleanup_seq_incr::type > +seqN(FirstType first, SizeType size, IncrType incr); + +/** \class ArithmeticSequence + * \ingroup Core_Module + * + * This class represents an arithmetic progression \f$ a_0, a_1, a_2, ..., a_{n-1}\f$ defined by + * its \em first value \f$ a_0 \f$, its \em size (aka length) \em n, and the \em increment (aka stride) + * that is equal to \f$ a_{i+1}-a_{i}\f$ for any \em i. + * + * It is internally used as the return type of the Eigen::seq and Eigen::seqN functions, and as the input arguments + * of DenseBase::operator()(const RowIndices&, const ColIndices&), and most of the time this is the + * only way it is used. + * + * \tparam FirstType type of the first element, usually an Index, + * but internally it can be a symbolic expression + * \tparam SizeType type representing the size of the sequence, usually an Index + * or a compile time integral constant. Internally, it can also be a symbolic expression + * \tparam IncrType type of the increment, can be a runtime Index, or a compile time integral constant (default is compile-time 1) + * + * \sa Eigen::seq, Eigen::seqN, DenseBase::operator()(const RowIndices&, const ColIndices&), class IndexedView + */ +template +class ArithmeticSequence +{ +public: + ArithmeticSequence(FirstType first, SizeType size) : m_first(first), m_size(size) {} + ArithmeticSequence(FirstType first, SizeType size, IncrType incr) : m_first(first), m_size(size), m_incr(incr) {} + + enum { + SizeAtCompileTime = internal::get_fixed_value::value, + IncrAtCompileTime = internal::get_fixed_value::value + }; + + /** \returns the size, i.e., number of elements, of the sequence */ + Index size() const { return m_size; } + + /** \returns the first element \f$ a_0 \f$ in the sequence */ + Index first() const { return m_first; } + + /** \returns the value \f$ a_i \f$ at index \a i in the sequence. */ + Index operator[](Index i) const { return m_first + i * m_incr; } + + const FirstType& firstObject() const { return m_first; } + const SizeType& sizeObject() const { return m_size; } + const IncrType& incrObject() const { return m_incr; } + +protected: + FirstType m_first; + SizeType m_size; + IncrType m_incr; + +public: + +#if EIGEN_HAS_CXX11 && ((!EIGEN_COMP_GNUC) || EIGEN_COMP_GNUC>=48) + auto reverse() const -> decltype(Eigen::seqN(m_first+(m_size+fix<-1>())*m_incr,m_size,-m_incr)) { + return seqN(m_first+(m_size+fix<-1>())*m_incr,m_size,-m_incr); + } +#else +protected: + typedef typename internal::aseq_negate::type ReverseIncrType; + typedef typename internal::aseq_reverse_first_type::type ReverseFirstType; +public: + ArithmeticSequence + reverse() const { + return seqN(m_first+(m_size+fix<-1>())*m_incr,m_size,-m_incr); + } +#endif +}; + +/** \returns an ArithmeticSequence starting at \a first, of length \a size, and increment \a incr + * + * \sa seqN(FirstType,SizeType), seq(FirstType,LastType,IncrType) */ +template +ArithmeticSequence::type,typename internal::cleanup_index_type::type,typename internal::cleanup_seq_incr::type > +seqN(FirstType first, SizeType size, IncrType incr) { + return ArithmeticSequence::type,typename internal::cleanup_index_type::type,typename internal::cleanup_seq_incr::type>(first,size,incr); +} + +/** \returns an ArithmeticSequence starting at \a first, of length \a size, and unit increment + * + * \sa seqN(FirstType,SizeType,IncrType), seq(FirstType,LastType) */ +template +ArithmeticSequence::type,typename internal::cleanup_index_type::type > +seqN(FirstType first, SizeType size) { + return ArithmeticSequence::type,typename internal::cleanup_index_type::type>(first,size); +} + +#ifdef EIGEN_PARSED_BY_DOXYGEN + +/** \returns an ArithmeticSequence starting at \a f, up (or down) to \a l, and with positive (or negative) increment \a incr + * + * It is essentially an alias to: + * \code + * seqN(f, (l-f+incr)/incr, incr); + * \endcode + * + * \sa seqN(FirstType,SizeType,IncrType), seq(FirstType,LastType) + */ +template +auto seq(FirstType f, LastType l, IncrType incr); + +/** \returns an ArithmeticSequence starting at \a f, up (or down) to \a l, and unit increment + * + * It is essentially an alias to: + * \code + * seqN(f,l-f+1); + * \endcode + * + * \sa seqN(FirstType,SizeType), seq(FirstType,LastType,IncrType) + */ +template +auto seq(FirstType f, LastType l); + +#else // EIGEN_PARSED_BY_DOXYGEN + +#if EIGEN_HAS_CXX11 +template +auto seq(FirstType f, LastType l) -> decltype(seqN(typename internal::cleanup_index_type::type(f), + ( typename internal::cleanup_index_type::type(l) + - typename internal::cleanup_index_type::type(f)+fix<1>()))) +{ + return seqN(typename internal::cleanup_index_type::type(f), + (typename internal::cleanup_index_type::type(l) + -typename internal::cleanup_index_type::type(f)+fix<1>())); +} + +template +auto seq(FirstType f, LastType l, IncrType incr) + -> decltype(seqN(typename internal::cleanup_index_type::type(f), + ( typename internal::cleanup_index_type::type(l) + - typename internal::cleanup_index_type::type(f)+typename internal::cleanup_seq_incr::type(incr) + ) / typename internal::cleanup_seq_incr::type(incr), + typename internal::cleanup_seq_incr::type(incr))) +{ + typedef typename internal::cleanup_seq_incr::type CleanedIncrType; + return seqN(typename internal::cleanup_index_type::type(f), + ( typename internal::cleanup_index_type::type(l) + -typename internal::cleanup_index_type::type(f)+CleanedIncrType(incr)) / CleanedIncrType(incr), + CleanedIncrType(incr)); +} + +#else // EIGEN_HAS_CXX11 + +template +typename internal::enable_if::value || symbolic::is_symbolic::value), + ArithmeticSequence::type,Index> >::type +seq(FirstType f, LastType l) +{ + return seqN(typename internal::cleanup_index_type::type(f), + Index((typename internal::cleanup_index_type::type(l)-typename internal::cleanup_index_type::type(f)+fix<1>()))); +} + +template +typename internal::enable_if::value, + ArithmeticSequence,symbolic::ValueExpr<> >, + symbolic::ValueExpr > > > >::type +seq(const symbolic::BaseExpr &f, LastType l) +{ + return seqN(f.derived(),(typename internal::cleanup_index_type::type(l)-f.derived()+fix<1>())); +} + +template +typename internal::enable_if::value, + ArithmeticSequence::type, + symbolic::AddExpr >, + symbolic::ValueExpr > > > >::type +seq(FirstType f, const symbolic::BaseExpr &l) +{ + return seqN(typename internal::cleanup_index_type::type(f),(l.derived()-typename internal::cleanup_index_type::type(f)+fix<1>())); +} + +template +ArithmeticSequence >,symbolic::ValueExpr > > > +seq(const symbolic::BaseExpr &f, const symbolic::BaseExpr &l) +{ + return seqN(f.derived(),(l.derived()-f.derived()+fix<1>())); +} + + +template +typename internal::enable_if::value || symbolic::is_symbolic::value), + ArithmeticSequence::type,Index,typename internal::cleanup_seq_incr::type> >::type +seq(FirstType f, LastType l, IncrType incr) +{ + typedef typename internal::cleanup_seq_incr::type CleanedIncrType; + return seqN(typename internal::cleanup_index_type::type(f), + Index((typename internal::cleanup_index_type::type(l)-typename internal::cleanup_index_type::type(f)+CleanedIncrType(incr))/CleanedIncrType(incr)), incr); +} + +template +typename internal::enable_if::value, + ArithmeticSequence, + symbolic::ValueExpr<> >, + symbolic::ValueExpr::type> >, + symbolic::ValueExpr::type> >, + typename internal::cleanup_seq_incr::type> >::type +seq(const symbolic::BaseExpr &f, LastType l, IncrType incr) +{ + typedef typename internal::cleanup_seq_incr::type CleanedIncrType; + return seqN(f.derived(),(typename internal::cleanup_index_type::type(l)-f.derived()+CleanedIncrType(incr))/CleanedIncrType(incr), incr); +} + +template +typename internal::enable_if::value, + ArithmeticSequence::type, + symbolic::QuotientExpr >, + symbolic::ValueExpr::type> >, + symbolic::ValueExpr::type> >, + typename internal::cleanup_seq_incr::type> >::type +seq(FirstType f, const symbolic::BaseExpr &l, IncrType incr) +{ + typedef typename internal::cleanup_seq_incr::type CleanedIncrType; + return seqN(typename internal::cleanup_index_type::type(f), + (l.derived()-typename internal::cleanup_index_type::type(f)+CleanedIncrType(incr))/CleanedIncrType(incr), incr); +} + +template +ArithmeticSequence >, + symbolic::ValueExpr::type> >, + symbolic::ValueExpr::type> >, + typename internal::cleanup_seq_incr::type> +seq(const symbolic::BaseExpr &f, const symbolic::BaseExpr &l, IncrType incr) +{ + typedef typename internal::cleanup_seq_incr::type CleanedIncrType; + return seqN(f.derived(),(l.derived()-f.derived()+CleanedIncrType(incr))/CleanedIncrType(incr), incr); +} +#endif // EIGEN_HAS_CXX11 + +#endif // EIGEN_PARSED_BY_DOXYGEN + + +#if EIGEN_HAS_CXX11 || defined(EIGEN_PARSED_BY_DOXYGEN) +/** \cpp11 + * \returns a symbolic ArithmeticSequence representing the last \a size elements with increment \a incr. + * + * It is a shortcut for: \code seqN(last-(size-fix<1>)*incr, size, incr) \endcode + * + * \sa lastN(SizeType), seqN(FirstType,SizeType), seq(FirstType,LastType,IncrType) */ +template +auto lastN(SizeType size, IncrType incr) +-> decltype(seqN(Eigen::last-(size-fix<1>())*incr, size, incr)) +{ + return seqN(Eigen::last-(size-fix<1>())*incr, size, incr); +} + +/** \cpp11 + * \returns a symbolic ArithmeticSequence representing the last \a size elements with a unit increment. + * + * It is a shortcut for: \code seq(last+fix<1>-size, last) \endcode + * + * \sa lastN(SizeType,IncrType, seqN(FirstType,SizeType), seq(FirstType,LastType) */ +template +auto lastN(SizeType size) +-> decltype(seqN(Eigen::last+fix<1>()-size, size)) +{ + return seqN(Eigen::last+fix<1>()-size, size); +} +#endif + +namespace internal { + +// Convert a symbolic span into a usable one (i.e., remove last/end "keywords") +template +struct make_size_type { + typedef typename internal::conditional::value, Index, T>::type type; +}; + +template +struct IndexedViewCompatibleType, XprSize> { + typedef ArithmeticSequence::type,IncrType> type; +}; + +template +ArithmeticSequence::type,IncrType> +makeIndexedViewCompatible(const ArithmeticSequence& ids, Index size,SpecializedType) { + return ArithmeticSequence::type,IncrType>( + eval_expr_given_size(ids.firstObject(),size),eval_expr_given_size(ids.sizeObject(),size),ids.incrObject()); +} + +template +struct get_compile_time_incr > { + enum { value = get_fixed_value::value }; +}; + +} // end namespace internal + +/** \namespace Eigen::indexing + * \ingroup Core_Module + * + * The sole purpose of this namespace is to be able to import all functions + * and symbols that are expected to be used within operator() for indexing + * and slicing. If you already imported the whole Eigen namespace: + * \code using namespace Eigen; \endcode + * then you are already all set. Otherwise, if you don't want/cannot import + * the whole Eigen namespace, the following line: + * \code using namespace Eigen::indexing; \endcode + * is equivalent to: + * \code + using Eigen::all; + using Eigen::seq; + using Eigen::seqN; + using Eigen::lastN; // c++11 only + using Eigen::last; + using Eigen::lastp1; + using Eigen::fix; + \endcode + */ +namespace indexing { + using Eigen::all; + using Eigen::seq; + using Eigen::seqN; + #if EIGEN_HAS_CXX11 + using Eigen::lastN; + #endif + using Eigen::last; + using Eigen::lastp1; + using Eigen::fix; +} + +} // end namespace Eigen + +#endif // EIGEN_ARITHMETIC_SEQUENCE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Array.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Array.h new file mode 100644 index 0000000..20c789b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Array.h @@ -0,0 +1,417 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ARRAY_H +#define EIGEN_ARRAY_H + +namespace Eigen { + +namespace internal { +template +struct traits > : traits > +{ + typedef ArrayXpr XprKind; + typedef ArrayBase > XprBase; +}; +} + +/** \class Array + * \ingroup Core_Module + * + * \brief General-purpose arrays with easy API for coefficient-wise operations + * + * The %Array class is very similar to the Matrix class. It provides + * general-purpose one- and two-dimensional arrays. The difference between the + * %Array and the %Matrix class is primarily in the API: the API for the + * %Array class provides easy access to coefficient-wise operations, while the + * API for the %Matrix class provides easy access to linear-algebra + * operations. + * + * See documentation of class Matrix for detailed information on the template parameters + * storage layout. + * + * This class can be extended with the help of the plugin mechanism described on the page + * \ref TopicCustomizing_Plugins by defining the preprocessor symbol \c EIGEN_ARRAY_PLUGIN. + * + * \sa \blank \ref TutorialArrayClass, \ref TopicClassHierarchy + */ +template +class Array + : public PlainObjectBase > +{ + public: + + typedef PlainObjectBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Array) + + enum { Options = _Options }; + typedef typename Base::PlainObject PlainObject; + + protected: + template + friend struct internal::conservative_resize_like_impl; + + using Base::m_storage; + + public: + + using Base::base; + using Base::coeff; + using Base::coeffRef; + + /** + * The usage of + * using Base::operator=; + * fails on MSVC. Since the code below is working with GCC and MSVC, we skipped + * the usage of 'using'. This should be done only for operator=. + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array& operator=(const EigenBase &other) + { + return Base::operator=(other); + } + + /** Set all the entries to \a value. + * \sa DenseBase::setConstant(), DenseBase::fill() + */ + /* This overload is needed because the usage of + * using Base::operator=; + * fails on MSVC. Since the code below is working with GCC and MSVC, we skipped + * the usage of 'using'. This should be done only for operator=. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array& operator=(const Scalar &value) + { + Base::setConstant(value); + return *this; + } + + /** Copies the value of the expression \a other into \c *this with automatic resizing. + * + * *this might be resized to match the dimensions of \a other. If *this was a null matrix (not already initialized), + * it will be initialized. + * + * Note that copying a row-vector into a vector (and conversely) is allowed. + * The resizing, if any, is then done in the appropriate way so that row-vectors + * remain row-vectors and vectors remain vectors. + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array& operator=(const DenseBase& other) + { + return Base::_set(other); + } + + /** This is a special case of the templated operator=. Its purpose is to + * prevent a default operator= from hiding the templated operator=. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array& operator=(const Array& other) + { + return Base::_set(other); + } + + /** Default constructor. + * + * For fixed-size matrices, does nothing. + * + * For dynamic-size matrices, creates an empty matrix of size 0. Does not allocate any array. Such a matrix + * is called a null matrix. This constructor is the unique way to create null matrices: resizing + * a matrix to 0 is not supported. + * + * \sa resize(Index,Index) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array() : Base() + { + Base::_check_template_params(); + EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + } + +#ifndef EIGEN_PARSED_BY_DOXYGEN + // FIXME is it still needed ?? + /** \internal */ + EIGEN_DEVICE_FUNC + Array(internal::constructor_without_unaligned_array_assert) + : Base(internal::constructor_without_unaligned_array_assert()) + { + Base::_check_template_params(); + EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + } +#endif + +#if EIGEN_HAS_RVALUE_REFERENCES + EIGEN_DEVICE_FUNC + Array(Array&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_constructible::value) + : Base(std::move(other)) + { + Base::_check_template_params(); + } + EIGEN_DEVICE_FUNC + Array& operator=(Array&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_assignable::value) + { + Base::operator=(std::move(other)); + return *this; + } +#endif + + #if EIGEN_HAS_CXX11 + /** \copydoc PlainObjectBase(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + * + * Example: \include Array_variadic_ctor_cxx11.cpp + * Output: \verbinclude Array_variadic_ctor_cxx11.out + * + * \sa Array(const std::initializer_list>&) + * \sa Array(const Scalar&), Array(const Scalar&,const Scalar&) + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Array(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + : Base(a0, a1, a2, a3, args...) {} + + /** \brief Constructs an array and initializes it from the coefficients given as initializer-lists grouped by row. \cpp11 + * + * In the general case, the constructor takes a list of rows, each row being represented as a list of coefficients: + * + * Example: \include Array_initializer_list_23_cxx11.cpp + * Output: \verbinclude Array_initializer_list_23_cxx11.out + * + * Each of the inner initializer lists must contain the exact same number of elements, otherwise an assertion is triggered. + * + * In the case of a compile-time column 1D array, implicit transposition from a single row is allowed. + * Therefore Array{{1,2,3,4,5}} is legal and the more verbose syntax + * Array{{1},{2},{3},{4},{5}} can be avoided: + * + * Example: \include Array_initializer_list_vector_cxx11.cpp + * Output: \verbinclude Array_initializer_list_vector_cxx11.out + * + * In the case of fixed-sized arrays, the initializer list sizes must exactly match the array sizes, + * and implicit transposition is allowed for compile-time 1D arrays only. + * + * \sa Array(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array(const std::initializer_list>& list) : Base(list) {} + #endif // end EIGEN_HAS_CXX11 + + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE explicit Array(const T& x) + { + Base::_check_template_params(); + Base::template _init1(x); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array(const T0& val0, const T1& val1) + { + Base::_check_template_params(); + this->template _init2(val0, val1); + } + + #else + /** \brief Constructs a fixed-sized array initialized with coefficients starting at \a data */ + EIGEN_DEVICE_FUNC explicit Array(const Scalar *data); + /** Constructs a vector or row-vector with given dimension. \only_for_vectors + * + * Note that this is only useful for dynamic-size vectors. For fixed-size vectors, + * it is redundant to pass the dimension here, so it makes more sense to use the default + * constructor Array() instead. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE explicit Array(Index dim); + /** constructs an initialized 1x1 Array with the given coefficient + * \sa const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args */ + Array(const Scalar& value); + /** constructs an uninitialized array with \a rows rows and \a cols columns. + * + * This is useful for dynamic-size arrays. For fixed-size arrays, + * it is redundant to pass these parameters, so one should use the default constructor + * Array() instead. */ + Array(Index rows, Index cols); + /** constructs an initialized 2D vector with given coefficients + * \sa Array(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) */ + Array(const Scalar& val0, const Scalar& val1); + #endif // end EIGEN_PARSED_BY_DOXYGEN + + /** constructs an initialized 3D vector with given coefficients + * \sa Array(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array(const Scalar& val0, const Scalar& val1, const Scalar& val2) + { + Base::_check_template_params(); + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Array, 3) + m_storage.data()[0] = val0; + m_storage.data()[1] = val1; + m_storage.data()[2] = val2; + } + /** constructs an initialized 4D vector with given coefficients + * \sa Array(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array(const Scalar& val0, const Scalar& val1, const Scalar& val2, const Scalar& val3) + { + Base::_check_template_params(); + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Array, 4) + m_storage.data()[0] = val0; + m_storage.data()[1] = val1; + m_storage.data()[2] = val2; + m_storage.data()[3] = val3; + } + + /** Copy constructor */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array(const Array& other) + : Base(other) + { } + + private: + struct PrivateType {}; + public: + + /** \sa MatrixBase::operator=(const EigenBase&) */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Array(const EigenBase &other, + typename internal::enable_if::value, + PrivateType>::type = PrivateType()) + : Base(other.derived()) + { } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT{ return 1; } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT { return this->innerSize(); } + + #ifdef EIGEN_ARRAY_PLUGIN + #include EIGEN_ARRAY_PLUGIN + #endif + + private: + + template + friend struct internal::matrix_swap_impl; +}; + +/** \defgroup arraytypedefs Global array typedefs + * \ingroup Core_Module + * + * %Eigen defines several typedef shortcuts for most common 1D and 2D array types. + * + * The general patterns are the following: + * + * \c ArrayRowsColsType where \c Rows and \c Cols can be \c 2,\c 3,\c 4 for fixed size square matrices or \c X for dynamic size, + * and where \c Type can be \c i for integer, \c f for float, \c d for double, \c cf for complex float, \c cd + * for complex double. + * + * For example, \c Array33d is a fixed-size 3x3 array type of doubles, and \c ArrayXXf is a dynamic-size matrix of floats. + * + * There are also \c ArraySizeType which are self-explanatory. For example, \c Array4cf is + * a fixed-size 1D array of 4 complex floats. + * + * With \cpp11, template alias are also defined for common sizes. + * They follow the same pattern as above except that the scalar type suffix is replaced by a + * template parameter, i.e.: + * - `ArrayRowsCols` where `Rows` and `Cols` can be \c 2,\c 3,\c 4, or \c X for fixed or dynamic size. + * - `ArraySize` where `Size` can be \c 2,\c 3,\c 4 or \c X for fixed or dynamic size 1D arrays. + * + * \sa class Array + */ + +#define EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix) \ +/** \ingroup arraytypedefs */ \ +typedef Array Array##SizeSuffix##SizeSuffix##TypeSuffix; \ +/** \ingroup arraytypedefs */ \ +typedef Array Array##SizeSuffix##TypeSuffix; + +#define EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, Size) \ +/** \ingroup arraytypedefs */ \ +typedef Array Array##Size##X##TypeSuffix; \ +/** \ingroup arraytypedefs */ \ +typedef Array Array##X##Size##TypeSuffix; + +#define EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(Type, TypeSuffix) \ +EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, 2, 2) \ +EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, 3, 3) \ +EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, 4, 4) \ +EIGEN_MAKE_ARRAY_TYPEDEFS(Type, TypeSuffix, Dynamic, X) \ +EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, 2) \ +EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, 3) \ +EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Type, TypeSuffix, 4) + +EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(int, i) +EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(float, f) +EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(double, d) +EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(std::complex, cf) +EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES(std::complex, cd) + +#undef EIGEN_MAKE_ARRAY_TYPEDEFS_ALL_SIZES +#undef EIGEN_MAKE_ARRAY_TYPEDEFS +#undef EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS + +#if EIGEN_HAS_CXX11 + +#define EIGEN_MAKE_ARRAY_TYPEDEFS(Size, SizeSuffix) \ +/** \ingroup arraytypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Array##SizeSuffix##SizeSuffix = Array; \ +/** \ingroup arraytypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Array##SizeSuffix = Array; + +#define EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(Size) \ +/** \ingroup arraytypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Array##Size##X = Array; \ +/** \ingroup arraytypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Array##X##Size = Array; + +EIGEN_MAKE_ARRAY_TYPEDEFS(2, 2) +EIGEN_MAKE_ARRAY_TYPEDEFS(3, 3) +EIGEN_MAKE_ARRAY_TYPEDEFS(4, 4) +EIGEN_MAKE_ARRAY_TYPEDEFS(Dynamic, X) +EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(2) +EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(3) +EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS(4) + +#undef EIGEN_MAKE_ARRAY_TYPEDEFS +#undef EIGEN_MAKE_ARRAY_FIXED_TYPEDEFS + +#endif // EIGEN_HAS_CXX11 + +#define EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, SizeSuffix) \ +using Eigen::Matrix##SizeSuffix##TypeSuffix; \ +using Eigen::Vector##SizeSuffix##TypeSuffix; \ +using Eigen::RowVector##SizeSuffix##TypeSuffix; + +#define EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(TypeSuffix) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, 2) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, 3) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, 4) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE_AND_SIZE(TypeSuffix, X) \ + +#define EIGEN_USING_ARRAY_TYPEDEFS \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(i) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(f) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(d) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(cf) \ +EIGEN_USING_ARRAY_TYPEDEFS_FOR_TYPE(cd) + +} // end namespace Eigen + +#endif // EIGEN_ARRAY_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArrayBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArrayBase.h new file mode 100644 index 0000000..ea3dd1c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArrayBase.h @@ -0,0 +1,226 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ARRAYBASE_H +#define EIGEN_ARRAYBASE_H + +namespace Eigen { + +template class MatrixWrapper; + +/** \class ArrayBase + * \ingroup Core_Module + * + * \brief Base class for all 1D and 2D array, and related expressions + * + * An array is similar to a dense vector or matrix. While matrices are mathematical + * objects with well defined linear algebra operators, an array is just a collection + * of scalar values arranged in a one or two dimensionnal fashion. As the main consequence, + * all operations applied to an array are performed coefficient wise. Furthermore, + * arrays support scalar math functions of the c++ standard library (e.g., std::sin(x)), and convenient + * constructors allowing to easily write generic code working for both scalar values + * and arrays. + * + * This class is the base that is inherited by all array expression types. + * + * \tparam Derived is the derived type, e.g., an array or an expression type. + * + * This class can be extended with the help of the plugin mechanism described on the page + * \ref TopicCustomizing_Plugins by defining the preprocessor symbol \c EIGEN_ARRAYBASE_PLUGIN. + * + * \sa class MatrixBase, \ref TopicClassHierarchy + */ +template class ArrayBase + : public DenseBase +{ + public: +#ifndef EIGEN_PARSED_BY_DOXYGEN + /** The base class for a given storage type. */ + typedef ArrayBase StorageBaseType; + + typedef ArrayBase Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl; + + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::packet_traits::type PacketScalar; + typedef typename NumTraits::Real RealScalar; + + typedef DenseBase Base; + using Base::RowsAtCompileTime; + using Base::ColsAtCompileTime; + using Base::SizeAtCompileTime; + using Base::MaxRowsAtCompileTime; + using Base::MaxColsAtCompileTime; + using Base::MaxSizeAtCompileTime; + using Base::IsVectorAtCompileTime; + using Base::Flags; + + using Base::derived; + using Base::const_cast_derived; + using Base::rows; + using Base::cols; + using Base::size; + using Base::coeff; + using Base::coeffRef; + using Base::lazyAssign; + using Base::operator-; + using Base::operator=; + using Base::operator+=; + using Base::operator-=; + using Base::operator*=; + using Base::operator/=; + + typedef typename Base::CoeffReturnType CoeffReturnType; + +#endif // not EIGEN_PARSED_BY_DOXYGEN + +#ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename Base::PlainObject PlainObject; + + /** \internal Represents a matrix with all coefficients equal to one another*/ + typedef CwiseNullaryOp,PlainObject> ConstantReturnType; +#endif // not EIGEN_PARSED_BY_DOXYGEN + +#define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::ArrayBase +#define EIGEN_DOC_UNARY_ADDONS(X,Y) +# include "../plugins/MatrixCwiseUnaryOps.h" +# include "../plugins/ArrayCwiseUnaryOps.h" +# include "../plugins/CommonCwiseBinaryOps.h" +# include "../plugins/MatrixCwiseBinaryOps.h" +# include "../plugins/ArrayCwiseBinaryOps.h" +# ifdef EIGEN_ARRAYBASE_PLUGIN +# include EIGEN_ARRAYBASE_PLUGIN +# endif +#undef EIGEN_CURRENT_STORAGE_BASE_CLASS +#undef EIGEN_DOC_UNARY_ADDONS + + /** Special case of the template operator=, in order to prevent the compiler + * from generating a default operator= (issue hit with g++ 4.1) + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator=(const ArrayBase& other) + { + internal::call_assignment(derived(), other.derived()); + return derived(); + } + + /** Set all the entries to \a value. + * \sa DenseBase::setConstant(), DenseBase::fill() */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator=(const Scalar &value) + { Base::setConstant(value); return derived(); } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator+=(const Scalar& scalar); + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator-=(const Scalar& scalar); + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator+=(const ArrayBase& other); + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator-=(const ArrayBase& other); + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator*=(const ArrayBase& other); + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator/=(const ArrayBase& other); + + public: + EIGEN_DEVICE_FUNC + ArrayBase& array() { return *this; } + EIGEN_DEVICE_FUNC + const ArrayBase& array() const { return *this; } + + /** \returns an \link Eigen::MatrixBase Matrix \endlink expression of this array + * \sa MatrixBase::array() */ + EIGEN_DEVICE_FUNC + MatrixWrapper matrix() { return MatrixWrapper(derived()); } + EIGEN_DEVICE_FUNC + const MatrixWrapper matrix() const { return MatrixWrapper(derived()); } + +// template +// inline void evalTo(Dest& dst) const { dst = matrix(); } + + protected: + EIGEN_DEFAULT_COPY_CONSTRUCTOR(ArrayBase) + EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(ArrayBase) + + private: + explicit ArrayBase(Index); + ArrayBase(Index,Index); + template explicit ArrayBase(const ArrayBase&); + protected: + // mixing arrays and matrices is not legal + template Derived& operator+=(const MatrixBase& ) + {EIGEN_STATIC_ASSERT(std::ptrdiff_t(sizeof(typename OtherDerived::Scalar))==-1,YOU_CANNOT_MIX_ARRAYS_AND_MATRICES); return *this;} + // mixing arrays and matrices is not legal + template Derived& operator-=(const MatrixBase& ) + {EIGEN_STATIC_ASSERT(std::ptrdiff_t(sizeof(typename OtherDerived::Scalar))==-1,YOU_CANNOT_MIX_ARRAYS_AND_MATRICES); return *this;} +}; + +/** replaces \c *this by \c *this - \a other. + * + * \returns a reference to \c *this + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & +ArrayBase::operator-=(const ArrayBase &other) +{ + call_assignment(derived(), other.derived(), internal::sub_assign_op()); + return derived(); +} + +/** replaces \c *this by \c *this + \a other. + * + * \returns a reference to \c *this + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & +ArrayBase::operator+=(const ArrayBase& other) +{ + call_assignment(derived(), other.derived(), internal::add_assign_op()); + return derived(); +} + +/** replaces \c *this by \c *this * \a other coefficient wise. + * + * \returns a reference to \c *this + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & +ArrayBase::operator*=(const ArrayBase& other) +{ + call_assignment(derived(), other.derived(), internal::mul_assign_op()); + return derived(); +} + +/** replaces \c *this by \c *this / \a other coefficient wise. + * + * \returns a reference to \c *this + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & +ArrayBase::operator/=(const ArrayBase& other) +{ + call_assignment(derived(), other.derived(), internal::div_assign_op()); + return derived(); +} + +} // end namespace Eigen + +#endif // EIGEN_ARRAYBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArrayWrapper.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArrayWrapper.h new file mode 100644 index 0000000..2e9555b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ArrayWrapper.h @@ -0,0 +1,209 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ARRAYWRAPPER_H +#define EIGEN_ARRAYWRAPPER_H + +namespace Eigen { + +/** \class ArrayWrapper + * \ingroup Core_Module + * + * \brief Expression of a mathematical vector or matrix as an array object + * + * This class is the return type of MatrixBase::array(), and most of the time + * this is the only way it is use. + * + * \sa MatrixBase::array(), class MatrixWrapper + */ + +namespace internal { +template +struct traits > + : public traits::type > +{ + typedef ArrayXpr XprKind; + // Let's remove NestByRefBit + enum { + Flags0 = traits::type >::Flags, + LvalueBitFlag = is_lvalue::value ? LvalueBit : 0, + Flags = (Flags0 & ~(NestByRefBit | LvalueBit)) | LvalueBitFlag + }; +}; +} + +template +class ArrayWrapper : public ArrayBase > +{ + public: + typedef ArrayBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(ArrayWrapper) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(ArrayWrapper) + typedef typename internal::remove_all::type NestedExpression; + + typedef typename internal::conditional< + internal::is_lvalue::value, + Scalar, + const Scalar + >::type ScalarWithConstIfNotLvalue; + + typedef typename internal::ref_selector::non_const_type NestedExpressionType; + + using Base::coeffRef; + + EIGEN_DEVICE_FUNC + explicit EIGEN_STRONG_INLINE ArrayWrapper(ExpressionType& matrix) : m_expression(matrix) {} + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return m_expression.rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return m_expression.cols(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT { return m_expression.outerStride(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT { return m_expression.innerStride(); } + + EIGEN_DEVICE_FUNC + inline ScalarWithConstIfNotLvalue* data() { return m_expression.data(); } + EIGEN_DEVICE_FUNC + inline const Scalar* data() const { return m_expression.data(); } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index rowId, Index colId) const + { + return m_expression.coeffRef(rowId, colId); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index index) const + { + return m_expression.coeffRef(index); + } + + template + EIGEN_DEVICE_FUNC + inline void evalTo(Dest& dst) const { dst = m_expression; } + + EIGEN_DEVICE_FUNC + const typename internal::remove_all::type& + nestedExpression() const + { + return m_expression; + } + + /** Forwards the resizing request to the nested expression + * \sa DenseBase::resize(Index) */ + EIGEN_DEVICE_FUNC + void resize(Index newSize) { m_expression.resize(newSize); } + /** Forwards the resizing request to the nested expression + * \sa DenseBase::resize(Index,Index)*/ + EIGEN_DEVICE_FUNC + void resize(Index rows, Index cols) { m_expression.resize(rows,cols); } + + protected: + NestedExpressionType m_expression; +}; + +/** \class MatrixWrapper + * \ingroup Core_Module + * + * \brief Expression of an array as a mathematical vector or matrix + * + * This class is the return type of ArrayBase::matrix(), and most of the time + * this is the only way it is use. + * + * \sa MatrixBase::matrix(), class ArrayWrapper + */ + +namespace internal { +template +struct traits > + : public traits::type > +{ + typedef MatrixXpr XprKind; + // Let's remove NestByRefBit + enum { + Flags0 = traits::type >::Flags, + LvalueBitFlag = is_lvalue::value ? LvalueBit : 0, + Flags = (Flags0 & ~(NestByRefBit | LvalueBit)) | LvalueBitFlag + }; +}; +} + +template +class MatrixWrapper : public MatrixBase > +{ + public: + typedef MatrixBase > Base; + EIGEN_DENSE_PUBLIC_INTERFACE(MatrixWrapper) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(MatrixWrapper) + typedef typename internal::remove_all::type NestedExpression; + + typedef typename internal::conditional< + internal::is_lvalue::value, + Scalar, + const Scalar + >::type ScalarWithConstIfNotLvalue; + + typedef typename internal::ref_selector::non_const_type NestedExpressionType; + + using Base::coeffRef; + + EIGEN_DEVICE_FUNC + explicit inline MatrixWrapper(ExpressionType& matrix) : m_expression(matrix) {} + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return m_expression.rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return m_expression.cols(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT { return m_expression.outerStride(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT { return m_expression.innerStride(); } + + EIGEN_DEVICE_FUNC + inline ScalarWithConstIfNotLvalue* data() { return m_expression.data(); } + EIGEN_DEVICE_FUNC + inline const Scalar* data() const { return m_expression.data(); } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index rowId, Index colId) const + { + return m_expression.derived().coeffRef(rowId, colId); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index index) const + { + return m_expression.coeffRef(index); + } + + EIGEN_DEVICE_FUNC + const typename internal::remove_all::type& + nestedExpression() const + { + return m_expression; + } + + /** Forwards the resizing request to the nested expression + * \sa DenseBase::resize(Index) */ + EIGEN_DEVICE_FUNC + void resize(Index newSize) { m_expression.resize(newSize); } + /** Forwards the resizing request to the nested expression + * \sa DenseBase::resize(Index,Index)*/ + EIGEN_DEVICE_FUNC + void resize(Index rows, Index cols) { m_expression.resize(rows,cols); } + + protected: + NestedExpressionType m_expression; +}; + +} // end namespace Eigen + +#endif // EIGEN_ARRAYWRAPPER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Assign.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Assign.h new file mode 100644 index 0000000..655412e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Assign.h @@ -0,0 +1,90 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2007 Michael Olbrich +// Copyright (C) 2006-2010 Benoit Jacob +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ASSIGN_H +#define EIGEN_ASSIGN_H + +namespace Eigen { + +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase + ::lazyAssign(const DenseBase& other) +{ + enum{ + SameType = internal::is_same::value + }; + + EIGEN_STATIC_ASSERT_LVALUE(Derived) + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Derived,OtherDerived) + EIGEN_STATIC_ASSERT(SameType,YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY) + + eigen_assert(rows() == other.rows() && cols() == other.cols()); + internal::call_assignment_no_alias(derived(),other.derived()); + + return derived(); +} + +template +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE Derived& DenseBase::operator=(const DenseBase& other) +{ + internal::call_assignment(derived(), other.derived()); + return derived(); +} + +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE Derived& DenseBase::operator=(const DenseBase& other) +{ + internal::call_assignment(derived(), other.derived()); + return derived(); +} + +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE Derived& MatrixBase::operator=(const MatrixBase& other) +{ + internal::call_assignment(derived(), other.derived()); + return derived(); +} + +template +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE Derived& MatrixBase::operator=(const DenseBase& other) +{ + internal::call_assignment(derived(), other.derived()); + return derived(); +} + +template +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE Derived& MatrixBase::operator=(const EigenBase& other) +{ + internal::call_assignment(derived(), other.derived()); + return derived(); +} + +template +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE Derived& MatrixBase::operator=(const ReturnByValue& other) +{ + other.derived().evalTo(derived()); + return derived(); +} + +} // end namespace Eigen + +#endif // EIGEN_ASSIGN_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/AssignEvaluator.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/AssignEvaluator.h new file mode 100644 index 0000000..7d76f0c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/AssignEvaluator.h @@ -0,0 +1,1010 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2011 Benoit Jacob +// Copyright (C) 2011-2014 Gael Guennebaud +// Copyright (C) 2011-2012 Jitse Niesen +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ASSIGN_EVALUATOR_H +#define EIGEN_ASSIGN_EVALUATOR_H + +namespace Eigen { + +// This implementation is based on Assign.h + +namespace internal { + +/*************************************************************************** +* Part 1 : the logic deciding a strategy for traversal and unrolling * +***************************************************************************/ + +// copy_using_evaluator_traits is based on assign_traits + +template +struct copy_using_evaluator_traits +{ + typedef typename DstEvaluator::XprType Dst; + typedef typename Dst::Scalar DstScalar; + + enum { + DstFlags = DstEvaluator::Flags, + SrcFlags = SrcEvaluator::Flags + }; + +public: + enum { + DstAlignment = DstEvaluator::Alignment, + SrcAlignment = SrcEvaluator::Alignment, + DstHasDirectAccess = (DstFlags & DirectAccessBit) == DirectAccessBit, + JointAlignment = EIGEN_PLAIN_ENUM_MIN(DstAlignment,SrcAlignment) + }; + +private: + enum { + InnerSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::SizeAtCompileTime) + : int(DstFlags)&RowMajorBit ? int(Dst::ColsAtCompileTime) + : int(Dst::RowsAtCompileTime), + InnerMaxSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::MaxSizeAtCompileTime) + : int(DstFlags)&RowMajorBit ? int(Dst::MaxColsAtCompileTime) + : int(Dst::MaxRowsAtCompileTime), + RestrictedInnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(InnerSize,MaxPacketSize), + RestrictedLinearSize = EIGEN_SIZE_MIN_PREFER_FIXED(Dst::SizeAtCompileTime,MaxPacketSize), + OuterStride = int(outer_stride_at_compile_time::ret), + MaxSizeAtCompileTime = Dst::SizeAtCompileTime + }; + + // TODO distinguish between linear traversal and inner-traversals + typedef typename find_best_packet::type LinearPacketType; + typedef typename find_best_packet::type InnerPacketType; + + enum { + LinearPacketSize = unpacket_traits::size, + InnerPacketSize = unpacket_traits::size + }; + +public: + enum { + LinearRequiredAlignment = unpacket_traits::alignment, + InnerRequiredAlignment = unpacket_traits::alignment + }; + +private: + enum { + DstIsRowMajor = DstFlags&RowMajorBit, + SrcIsRowMajor = SrcFlags&RowMajorBit, + StorageOrdersAgree = (int(DstIsRowMajor) == int(SrcIsRowMajor)), + MightVectorize = bool(StorageOrdersAgree) + && (int(DstFlags) & int(SrcFlags) & ActualPacketAccessBit) + && bool(functor_traits::PacketAccess), + MayInnerVectorize = MightVectorize + && int(InnerSize)!=Dynamic && int(InnerSize)%int(InnerPacketSize)==0 + && int(OuterStride)!=Dynamic && int(OuterStride)%int(InnerPacketSize)==0 + && (EIGEN_UNALIGNED_VECTORIZE || int(JointAlignment)>=int(InnerRequiredAlignment)), + MayLinearize = bool(StorageOrdersAgree) && (int(DstFlags) & int(SrcFlags) & LinearAccessBit), + MayLinearVectorize = bool(MightVectorize) && bool(MayLinearize) && bool(DstHasDirectAccess) + && (EIGEN_UNALIGNED_VECTORIZE || (int(DstAlignment)>=int(LinearRequiredAlignment)) || MaxSizeAtCompileTime == Dynamic), + /* If the destination isn't aligned, we have to do runtime checks and we don't unroll, + so it's only good for large enough sizes. */ + MaySliceVectorize = bool(MightVectorize) && bool(DstHasDirectAccess) + && (int(InnerMaxSize)==Dynamic || int(InnerMaxSize)>=(EIGEN_UNALIGNED_VECTORIZE?InnerPacketSize:(3*InnerPacketSize))) + /* slice vectorization can be slow, so we only want it if the slices are big, which is + indicated by InnerMaxSize rather than InnerSize, think of the case of a dynamic block + in a fixed-size matrix + However, with EIGEN_UNALIGNED_VECTORIZE and unrolling, slice vectorization is still worth it */ + }; + +public: + enum { + Traversal = int(Dst::SizeAtCompileTime) == 0 ? int(AllAtOnceTraversal) // If compile-size is zero, traversing will fail at compile-time. + : (int(MayLinearVectorize) && (LinearPacketSize>InnerPacketSize)) ? int(LinearVectorizedTraversal) + : int(MayInnerVectorize) ? int(InnerVectorizedTraversal) + : int(MayLinearVectorize) ? int(LinearVectorizedTraversal) + : int(MaySliceVectorize) ? int(SliceVectorizedTraversal) + : int(MayLinearize) ? int(LinearTraversal) + : int(DefaultTraversal), + Vectorized = int(Traversal) == InnerVectorizedTraversal + || int(Traversal) == LinearVectorizedTraversal + || int(Traversal) == SliceVectorizedTraversal + }; + + typedef typename conditional::type PacketType; + +private: + enum { + ActualPacketSize = int(Traversal)==LinearVectorizedTraversal ? LinearPacketSize + : Vectorized ? InnerPacketSize + : 1, + UnrollingLimit = EIGEN_UNROLLING_LIMIT * ActualPacketSize, + MayUnrollCompletely = int(Dst::SizeAtCompileTime) != Dynamic + && int(Dst::SizeAtCompileTime) * (int(DstEvaluator::CoeffReadCost)+int(SrcEvaluator::CoeffReadCost)) <= int(UnrollingLimit), + MayUnrollInner = int(InnerSize) != Dynamic + && int(InnerSize) * (int(DstEvaluator::CoeffReadCost)+int(SrcEvaluator::CoeffReadCost)) <= int(UnrollingLimit) + }; + +public: + enum { + Unrolling = (int(Traversal) == int(InnerVectorizedTraversal) || int(Traversal) == int(DefaultTraversal)) + ? ( + int(MayUnrollCompletely) ? int(CompleteUnrolling) + : int(MayUnrollInner) ? int(InnerUnrolling) + : int(NoUnrolling) + ) + : int(Traversal) == int(LinearVectorizedTraversal) + ? ( bool(MayUnrollCompletely) && ( EIGEN_UNALIGNED_VECTORIZE || (int(DstAlignment)>=int(LinearRequiredAlignment))) + ? int(CompleteUnrolling) + : int(NoUnrolling) ) + : int(Traversal) == int(LinearTraversal) + ? ( bool(MayUnrollCompletely) ? int(CompleteUnrolling) + : int(NoUnrolling) ) +#if EIGEN_UNALIGNED_VECTORIZE + : int(Traversal) == int(SliceVectorizedTraversal) + ? ( bool(MayUnrollInner) ? int(InnerUnrolling) + : int(NoUnrolling) ) +#endif + : int(NoUnrolling) + }; + +#ifdef EIGEN_DEBUG_ASSIGN + static void debug() + { + std::cerr << "DstXpr: " << typeid(typename DstEvaluator::XprType).name() << std::endl; + std::cerr << "SrcXpr: " << typeid(typename SrcEvaluator::XprType).name() << std::endl; + std::cerr.setf(std::ios::hex, std::ios::basefield); + std::cerr << "DstFlags" << " = " << DstFlags << " (" << demangle_flags(DstFlags) << " )" << std::endl; + std::cerr << "SrcFlags" << " = " << SrcFlags << " (" << demangle_flags(SrcFlags) << " )" << std::endl; + std::cerr.unsetf(std::ios::hex); + EIGEN_DEBUG_VAR(DstAlignment) + EIGEN_DEBUG_VAR(SrcAlignment) + EIGEN_DEBUG_VAR(LinearRequiredAlignment) + EIGEN_DEBUG_VAR(InnerRequiredAlignment) + EIGEN_DEBUG_VAR(JointAlignment) + EIGEN_DEBUG_VAR(InnerSize) + EIGEN_DEBUG_VAR(InnerMaxSize) + EIGEN_DEBUG_VAR(LinearPacketSize) + EIGEN_DEBUG_VAR(InnerPacketSize) + EIGEN_DEBUG_VAR(ActualPacketSize) + EIGEN_DEBUG_VAR(StorageOrdersAgree) + EIGEN_DEBUG_VAR(MightVectorize) + EIGEN_DEBUG_VAR(MayLinearize) + EIGEN_DEBUG_VAR(MayInnerVectorize) + EIGEN_DEBUG_VAR(MayLinearVectorize) + EIGEN_DEBUG_VAR(MaySliceVectorize) + std::cerr << "Traversal" << " = " << Traversal << " (" << demangle_traversal(Traversal) << ")" << std::endl; + EIGEN_DEBUG_VAR(SrcEvaluator::CoeffReadCost) + EIGEN_DEBUG_VAR(DstEvaluator::CoeffReadCost) + EIGEN_DEBUG_VAR(Dst::SizeAtCompileTime) + EIGEN_DEBUG_VAR(UnrollingLimit) + EIGEN_DEBUG_VAR(MayUnrollCompletely) + EIGEN_DEBUG_VAR(MayUnrollInner) + std::cerr << "Unrolling" << " = " << Unrolling << " (" << demangle_unrolling(Unrolling) << ")" << std::endl; + std::cerr << std::endl; + } +#endif +}; + +/*************************************************************************** +* Part 2 : meta-unrollers +***************************************************************************/ + +/************************ +*** Default traversal *** +************************/ + +template +struct copy_using_evaluator_DefaultTraversal_CompleteUnrolling +{ + // FIXME: this is not very clean, perhaps this information should be provided by the kernel? + typedef typename Kernel::DstEvaluatorType DstEvaluatorType; + typedef typename DstEvaluatorType::XprType DstXprType; + + enum { + outer = Index / DstXprType::InnerSizeAtCompileTime, + inner = Index % DstXprType::InnerSizeAtCompileTime + }; + + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + kernel.assignCoeffByOuterInner(outer, inner); + copy_using_evaluator_DefaultTraversal_CompleteUnrolling::run(kernel); + } +}; + +template +struct copy_using_evaluator_DefaultTraversal_CompleteUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&) { } +}; + +template +struct copy_using_evaluator_DefaultTraversal_InnerUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel, Index outer) + { + kernel.assignCoeffByOuterInner(outer, Index_); + copy_using_evaluator_DefaultTraversal_InnerUnrolling::run(kernel, outer); + } +}; + +template +struct copy_using_evaluator_DefaultTraversal_InnerUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&, Index) { } +}; + +/*********************** +*** Linear traversal *** +***********************/ + +template +struct copy_using_evaluator_LinearTraversal_CompleteUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel& kernel) + { + kernel.assignCoeff(Index); + copy_using_evaluator_LinearTraversal_CompleteUnrolling::run(kernel); + } +}; + +template +struct copy_using_evaluator_LinearTraversal_CompleteUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&) { } +}; + +/************************** +*** Inner vectorization *** +**************************/ + +template +struct copy_using_evaluator_innervec_CompleteUnrolling +{ + // FIXME: this is not very clean, perhaps this information should be provided by the kernel? + typedef typename Kernel::DstEvaluatorType DstEvaluatorType; + typedef typename DstEvaluatorType::XprType DstXprType; + typedef typename Kernel::PacketType PacketType; + + enum { + outer = Index / DstXprType::InnerSizeAtCompileTime, + inner = Index % DstXprType::InnerSizeAtCompileTime, + SrcAlignment = Kernel::AssignmentTraits::SrcAlignment, + DstAlignment = Kernel::AssignmentTraits::DstAlignment + }; + + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + kernel.template assignPacketByOuterInner(outer, inner); + enum { NextIndex = Index + unpacket_traits::size }; + copy_using_evaluator_innervec_CompleteUnrolling::run(kernel); + } +}; + +template +struct copy_using_evaluator_innervec_CompleteUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&) { } +}; + +template +struct copy_using_evaluator_innervec_InnerUnrolling +{ + typedef typename Kernel::PacketType PacketType; + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel, Index outer) + { + kernel.template assignPacketByOuterInner(outer, Index_); + enum { NextIndex = Index_ + unpacket_traits::size }; + copy_using_evaluator_innervec_InnerUnrolling::run(kernel, outer); + } +}; + +template +struct copy_using_evaluator_innervec_InnerUnrolling +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &, Index) { } +}; + +/*************************************************************************** +* Part 3 : implementation of all cases +***************************************************************************/ + +// dense_assignment_loop is based on assign_impl + +template +struct dense_assignment_loop; + +/************************ +***** Special Cases ***** +************************/ + +// Zero-sized assignment is a no-op. +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static void EIGEN_STRONG_INLINE run(Kernel& /*kernel*/) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + EIGEN_STATIC_ASSERT(int(DstXprType::SizeAtCompileTime) == 0, + EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT) + } +}; + +/************************ +*** Default traversal *** +************************/ + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static void EIGEN_STRONG_INLINE run(Kernel &kernel) + { + for(Index outer = 0; outer < kernel.outerSize(); ++outer) { + for(Index inner = 0; inner < kernel.innerSize(); ++inner) { + kernel.assignCoeffByOuterInner(outer, inner); + } + } + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + copy_using_evaluator_DefaultTraversal_CompleteUnrolling::run(kernel); + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + + const Index outerSize = kernel.outerSize(); + for(Index outer = 0; outer < outerSize; ++outer) + copy_using_evaluator_DefaultTraversal_InnerUnrolling::run(kernel, outer); + } +}; + +/*************************** +*** Linear vectorization *** +***************************/ + + +// The goal of unaligned_dense_assignment_loop is simply to factorize the handling +// of the non vectorizable beginning and ending parts + +template +struct unaligned_dense_assignment_loop +{ + // if IsAligned = true, then do nothing + template + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel&, Index, Index) {} +}; + +template <> +struct unaligned_dense_assignment_loop +{ + // MSVC must not inline this functions. If it does, it fails to optimize the + // packet access path. + // FIXME check which version exhibits this issue +#if EIGEN_COMP_MSVC + template + static EIGEN_DONT_INLINE void run(Kernel &kernel, + Index start, + Index end) +#else + template + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel, + Index start, + Index end) +#endif + { + for (Index index = start; index < end; ++index) + kernel.assignCoeff(index); + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + const Index size = kernel.size(); + typedef typename Kernel::Scalar Scalar; + typedef typename Kernel::PacketType PacketType; + enum { + requestedAlignment = Kernel::AssignmentTraits::LinearRequiredAlignment, + packetSize = unpacket_traits::size, + dstIsAligned = int(Kernel::AssignmentTraits::DstAlignment)>=int(requestedAlignment), + dstAlignment = packet_traits::AlignedOnScalar ? int(requestedAlignment) + : int(Kernel::AssignmentTraits::DstAlignment), + srcAlignment = Kernel::AssignmentTraits::JointAlignment + }; + const Index alignedStart = dstIsAligned ? 0 : internal::first_aligned(kernel.dstDataPtr(), size); + const Index alignedEnd = alignedStart + ((size-alignedStart)/packetSize)*packetSize; + + unaligned_dense_assignment_loop::run(kernel, 0, alignedStart); + + for(Index index = alignedStart; index < alignedEnd; index += packetSize) + kernel.template assignPacket(index); + + unaligned_dense_assignment_loop<>::run(kernel, alignedEnd, size); + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + typedef typename Kernel::PacketType PacketType; + + enum { size = DstXprType::SizeAtCompileTime, + packetSize =unpacket_traits::size, + alignedSize = (int(size)/packetSize)*packetSize }; + + copy_using_evaluator_innervec_CompleteUnrolling::run(kernel); + copy_using_evaluator_DefaultTraversal_CompleteUnrolling::run(kernel); + } +}; + +/************************** +*** Inner vectorization *** +**************************/ + +template +struct dense_assignment_loop +{ + typedef typename Kernel::PacketType PacketType; + enum { + SrcAlignment = Kernel::AssignmentTraits::SrcAlignment, + DstAlignment = Kernel::AssignmentTraits::DstAlignment + }; + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + const Index innerSize = kernel.innerSize(); + const Index outerSize = kernel.outerSize(); + const Index packetSize = unpacket_traits::size; + for(Index outer = 0; outer < outerSize; ++outer) + for(Index inner = 0; inner < innerSize; inner+=packetSize) + kernel.template assignPacketByOuterInner(outer, inner); + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + copy_using_evaluator_innervec_CompleteUnrolling::run(kernel); + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + typedef typename Kernel::AssignmentTraits Traits; + const Index outerSize = kernel.outerSize(); + for(Index outer = 0; outer < outerSize; ++outer) + copy_using_evaluator_innervec_InnerUnrolling::run(kernel, outer); + } +}; + +/*********************** +*** Linear traversal *** +***********************/ + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + const Index size = kernel.size(); + for(Index i = 0; i < size; ++i) + kernel.assignCoeff(i); + } +}; + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + copy_using_evaluator_LinearTraversal_CompleteUnrolling::run(kernel); + } +}; + +/************************** +*** Slice vectorization *** +***************************/ + +template +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::Scalar Scalar; + typedef typename Kernel::PacketType PacketType; + enum { + packetSize = unpacket_traits::size, + requestedAlignment = int(Kernel::AssignmentTraits::InnerRequiredAlignment), + alignable = packet_traits::AlignedOnScalar || int(Kernel::AssignmentTraits::DstAlignment)>=sizeof(Scalar), + dstIsAligned = int(Kernel::AssignmentTraits::DstAlignment)>=int(requestedAlignment), + dstAlignment = alignable ? int(requestedAlignment) + : int(Kernel::AssignmentTraits::DstAlignment) + }; + const Scalar *dst_ptr = kernel.dstDataPtr(); + if((!bool(dstIsAligned)) && (UIntPtr(dst_ptr) % sizeof(Scalar))>0) + { + // the pointer is not aligned-on scalar, so alignment is not possible + return dense_assignment_loop::run(kernel); + } + const Index packetAlignedMask = packetSize - 1; + const Index innerSize = kernel.innerSize(); + const Index outerSize = kernel.outerSize(); + const Index alignedStep = alignable ? (packetSize - kernel.outerStride() % packetSize) & packetAlignedMask : 0; + Index alignedStart = ((!alignable) || bool(dstIsAligned)) ? 0 : internal::first_aligned(dst_ptr, innerSize); + + for(Index outer = 0; outer < outerSize; ++outer) + { + const Index alignedEnd = alignedStart + ((innerSize-alignedStart) & ~packetAlignedMask); + // do the non-vectorizable part of the assignment + for(Index inner = 0; inner(outer, inner); + + // do the non-vectorizable part of the assignment + for(Index inner = alignedEnd; inner +struct dense_assignment_loop +{ + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE void run(Kernel &kernel) + { + typedef typename Kernel::DstEvaluatorType::XprType DstXprType; + typedef typename Kernel::PacketType PacketType; + + enum { innerSize = DstXprType::InnerSizeAtCompileTime, + packetSize =unpacket_traits::size, + vectorizableSize = (int(innerSize) / int(packetSize)) * int(packetSize), + size = DstXprType::SizeAtCompileTime }; + + for(Index outer = 0; outer < kernel.outerSize(); ++outer) + { + copy_using_evaluator_innervec_InnerUnrolling::run(kernel, outer); + copy_using_evaluator_DefaultTraversal_InnerUnrolling::run(kernel, outer); + } + } +}; +#endif + + +/*************************************************************************** +* Part 4 : Generic dense assignment kernel +***************************************************************************/ + +// This class generalize the assignment of a coefficient (or packet) from one dense evaluator +// to another dense writable evaluator. +// It is parametrized by the two evaluators, and the actual assignment functor. +// This abstraction level permits to keep the evaluation loops as simple and as generic as possible. +// One can customize the assignment using this generic dense_assignment_kernel with different +// functors, or by completely overloading it, by-passing a functor. +template +class generic_dense_assignment_kernel +{ +protected: + typedef typename DstEvaluatorTypeT::XprType DstXprType; + typedef typename SrcEvaluatorTypeT::XprType SrcXprType; +public: + + typedef DstEvaluatorTypeT DstEvaluatorType; + typedef SrcEvaluatorTypeT SrcEvaluatorType; + typedef typename DstEvaluatorType::Scalar Scalar; + typedef copy_using_evaluator_traits AssignmentTraits; + typedef typename AssignmentTraits::PacketType PacketType; + + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + generic_dense_assignment_kernel(DstEvaluatorType &dst, const SrcEvaluatorType &src, const Functor &func, DstXprType& dstExpr) + : m_dst(dst), m_src(src), m_functor(func), m_dstExpr(dstExpr) + { + #ifdef EIGEN_DEBUG_ASSIGN + AssignmentTraits::debug(); + #endif + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index size() const EIGEN_NOEXCEPT { return m_dstExpr.size(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerSize() const EIGEN_NOEXCEPT { return m_dstExpr.innerSize(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerSize() const EIGEN_NOEXCEPT { return m_dstExpr.outerSize(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_dstExpr.rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_dstExpr.cols(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerStride() const EIGEN_NOEXCEPT { return m_dstExpr.outerStride(); } + + EIGEN_DEVICE_FUNC DstEvaluatorType& dstEvaluator() EIGEN_NOEXCEPT { return m_dst; } + EIGEN_DEVICE_FUNC const SrcEvaluatorType& srcEvaluator() const EIGEN_NOEXCEPT { return m_src; } + + /// Assign src(row,col) to dst(row,col) through the assignment functor. + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeff(Index row, Index col) + { + m_functor.assignCoeff(m_dst.coeffRef(row,col), m_src.coeff(row,col)); + } + + /// \sa assignCoeff(Index,Index) + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeff(Index index) + { + m_functor.assignCoeff(m_dst.coeffRef(index), m_src.coeff(index)); + } + + /// \sa assignCoeff(Index,Index) + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignCoeffByOuterInner(Index outer, Index inner) + { + Index row = rowIndexByOuterInner(outer, inner); + Index col = colIndexByOuterInner(outer, inner); + assignCoeff(row, col); + } + + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignPacket(Index row, Index col) + { + m_functor.template assignPacket(&m_dst.coeffRef(row,col), m_src.template packet(row,col)); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignPacket(Index index) + { + m_functor.template assignPacket(&m_dst.coeffRef(index), m_src.template packet(index)); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void assignPacketByOuterInner(Index outer, Index inner) + { + Index row = rowIndexByOuterInner(outer, inner); + Index col = colIndexByOuterInner(outer, inner); + assignPacket(row, col); + } + + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE Index rowIndexByOuterInner(Index outer, Index inner) + { + typedef typename DstEvaluatorType::ExpressionTraits Traits; + return int(Traits::RowsAtCompileTime) == 1 ? 0 + : int(Traits::ColsAtCompileTime) == 1 ? inner + : int(DstEvaluatorType::Flags)&RowMajorBit ? outer + : inner; + } + + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE Index colIndexByOuterInner(Index outer, Index inner) + { + typedef typename DstEvaluatorType::ExpressionTraits Traits; + return int(Traits::ColsAtCompileTime) == 1 ? 0 + : int(Traits::RowsAtCompileTime) == 1 ? inner + : int(DstEvaluatorType::Flags)&RowMajorBit ? inner + : outer; + } + + EIGEN_DEVICE_FUNC const Scalar* dstDataPtr() const + { + return m_dstExpr.data(); + } + +protected: + DstEvaluatorType& m_dst; + const SrcEvaluatorType& m_src; + const Functor &m_functor; + // TODO find a way to avoid the needs of the original expression + DstXprType& m_dstExpr; +}; + +// Special kernel used when computing small products whose operands have dynamic dimensions. It ensures that the +// PacketSize used is no larger than 4, thereby increasing the chance that vectorized instructions will be used +// when computing the product. + +template +class restricted_packet_dense_assignment_kernel : public generic_dense_assignment_kernel +{ +protected: + typedef generic_dense_assignment_kernel Base; + public: + typedef typename Base::Scalar Scalar; + typedef typename Base::DstXprType DstXprType; + typedef copy_using_evaluator_traits AssignmentTraits; + typedef typename AssignmentTraits::PacketType PacketType; + + EIGEN_DEVICE_FUNC restricted_packet_dense_assignment_kernel(DstEvaluatorTypeT &dst, const SrcEvaluatorTypeT &src, const Functor &func, DstXprType& dstExpr) + : Base(dst, src, func, dstExpr) + { + } + }; + +/*************************************************************************** +* Part 5 : Entry point for dense rectangular assignment +***************************************************************************/ + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void resize_if_allowed(DstXprType &dst, const SrcXprType& src, const Functor &/*func*/) +{ + EIGEN_ONLY_USED_FOR_DEBUG(dst); + EIGEN_ONLY_USED_FOR_DEBUG(src); + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void resize_if_allowed(DstXprType &dst, const SrcXprType& src, const internal::assign_op &/*func*/) +{ + Index dstRows = src.rows(); + Index dstCols = src.cols(); + if(((dst.rows()!=dstRows) || (dst.cols()!=dstCols))) + dst.resize(dstRows, dstCols); + eigen_assert(dst.rows() == dstRows && dst.cols() == dstCols); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const SrcXprType& src, const Functor &func) +{ + typedef evaluator DstEvaluatorType; + typedef evaluator SrcEvaluatorType; + + SrcEvaluatorType srcEvaluator(src); + + // NOTE To properly handle A = (A*A.transpose())/s with A rectangular, + // we need to resize the destination after the source evaluator has been created. + resize_if_allowed(dst, src, func); + + DstEvaluatorType dstEvaluator(dst); + + typedef generic_dense_assignment_kernel Kernel; + Kernel kernel(dstEvaluator, srcEvaluator, func, dst.const_cast_derived()); + + dense_assignment_loop::run(kernel); +} + +// Specialization for filling the destination with a constant value. +#ifndef EIGEN_GPU_COMPILE_PHASE +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const Eigen::CwiseNullaryOp, DstXprType>& src, const internal::assign_op& func) +{ + resize_if_allowed(dst, src, func); + std::fill_n(dst.data(), dst.size(), src.functor()()); +} +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void call_dense_assignment_loop(DstXprType& dst, const SrcXprType& src) +{ + call_dense_assignment_loop(dst, src, internal::assign_op()); +} + +/*************************************************************************** +* Part 6 : Generic assignment +***************************************************************************/ + +// Based on the respective shapes of the destination and source, +// the class AssignmentKind determine the kind of assignment mechanism. +// AssignmentKind must define a Kind typedef. +template struct AssignmentKind; + +// Assignment kind defined in this file: +struct Dense2Dense {}; +struct EigenBase2EigenBase {}; + +template struct AssignmentKind { typedef EigenBase2EigenBase Kind; }; +template<> struct AssignmentKind { typedef Dense2Dense Kind; }; + +// This is the main assignment class +template< typename DstXprType, typename SrcXprType, typename Functor, + typename Kind = typename AssignmentKind< typename evaluator_traits::Shape , typename evaluator_traits::Shape >::Kind, + typename EnableIf = void> +struct Assignment; + + +// The only purpose of this call_assignment() function is to deal with noalias() / "assume-aliasing" and automatic transposition. +// Indeed, I (Gael) think that this concept of "assume-aliasing" was a mistake, and it makes thing quite complicated. +// So this intermediate function removes everything related to "assume-aliasing" such that Assignment +// does not has to bother about these annoying details. + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment(Dst& dst, const Src& src) +{ + call_assignment(dst, src, internal::assign_op()); +} +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment(const Dst& dst, const Src& src) +{ + call_assignment(dst, src, internal::assign_op()); +} + +// Deal with "assume-aliasing" +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if< evaluator_assume_aliasing::value, void*>::type = 0) +{ + typename plain_matrix_type::type tmp(src); + call_assignment_no_alias(dst, tmp, func); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment(Dst& dst, const Src& src, const Func& func, typename enable_if::value, void*>::type = 0) +{ + call_assignment_no_alias(dst, src, func); +} + +// by-pass "assume-aliasing" +// When there is no aliasing, we require that 'dst' has been properly resized +template class StorageBase, typename Src, typename Func> +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment(NoAlias& dst, const Src& src, const Func& func) +{ + call_assignment_no_alias(dst.expression(), src, func); +} + + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment_no_alias(Dst& dst, const Src& src, const Func& func) +{ + enum { + NeedToTranspose = ( (int(Dst::RowsAtCompileTime) == 1 && int(Src::ColsAtCompileTime) == 1) + || (int(Dst::ColsAtCompileTime) == 1 && int(Src::RowsAtCompileTime) == 1) + ) && int(Dst::SizeAtCompileTime) != 1 + }; + + typedef typename internal::conditional, Dst>::type ActualDstTypeCleaned; + typedef typename internal::conditional, Dst&>::type ActualDstType; + ActualDstType actualDst(dst); + + // TODO check whether this is the right place to perform these checks: + EIGEN_STATIC_ASSERT_LVALUE(Dst) + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(ActualDstTypeCleaned,Src) + EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename ActualDstTypeCleaned::Scalar,typename Src::Scalar); + + Assignment::run(actualDst, src, func); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_restricted_packet_assignment_no_alias(Dst& dst, const Src& src, const Func& func) +{ + typedef evaluator DstEvaluatorType; + typedef evaluator SrcEvaluatorType; + typedef restricted_packet_dense_assignment_kernel Kernel; + + EIGEN_STATIC_ASSERT_LVALUE(Dst) + EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename Dst::Scalar,typename Src::Scalar); + + SrcEvaluatorType srcEvaluator(src); + resize_if_allowed(dst, src, func); + + DstEvaluatorType dstEvaluator(dst); + Kernel kernel(dstEvaluator, srcEvaluator, func, dst.const_cast_derived()); + + dense_assignment_loop::run(kernel); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment_no_alias(Dst& dst, const Src& src) +{ + call_assignment_no_alias(dst, src, internal::assign_op()); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment_no_alias_no_transpose(Dst& dst, const Src& src, const Func& func) +{ + // TODO check whether this is the right place to perform these checks: + EIGEN_STATIC_ASSERT_LVALUE(Dst) + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Dst,Src) + EIGEN_CHECK_BINARY_COMPATIBILIY(Func,typename Dst::Scalar,typename Src::Scalar); + + Assignment::run(dst, src, func); +} +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +void call_assignment_no_alias_no_transpose(Dst& dst, const Src& src) +{ + call_assignment_no_alias_no_transpose(dst, src, internal::assign_op()); +} + +// forward declaration +template void check_for_aliasing(const Dst &dst, const Src &src); + +// Generic Dense to Dense assignment +// Note that the last template argument "Weak" is needed to make it possible to perform +// both partial specialization+SFINAE without ambiguous specialization +template< typename DstXprType, typename SrcXprType, typename Functor, typename Weak> +struct Assignment +{ + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const Functor &func) + { +#ifndef EIGEN_NO_DEBUG + internal::check_for_aliasing(dst, src); +#endif + + call_dense_assignment_loop(dst, src, func); + } +}; + +// Generic assignment through evalTo. +// TODO: not sure we have to keep that one, but it helps porting current code to new evaluator mechanism. +// Note that the last template argument "Weak" is needed to make it possible to perform +// both partial specialization+SFINAE without ambiguous specialization +template< typename DstXprType, typename SrcXprType, typename Functor, typename Weak> +struct Assignment +{ + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &/*func*/) + { + Index dstRows = src.rows(); + Index dstCols = src.cols(); + if((dst.rows()!=dstRows) || (dst.cols()!=dstCols)) + dst.resize(dstRows, dstCols); + + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); + src.evalTo(dst); + } + + // NOTE The following two functions are templated to avoid their instantiation if not needed + // This is needed because some expressions supports evalTo only and/or have 'void' as scalar type. + template + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &/*func*/) + { + Index dstRows = src.rows(); + Index dstCols = src.cols(); + if((dst.rows()!=dstRows) || (dst.cols()!=dstCols)) + dst.resize(dstRows, dstCols); + + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); + src.addTo(dst); + } + + template + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &/*func*/) + { + Index dstRows = src.rows(); + Index dstCols = src.cols(); + if((dst.rows()!=dstRows) || (dst.cols()!=dstCols)) + dst.resize(dstRows, dstCols); + + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); + src.subTo(dst); + } +}; + +} // namespace internal + +} // end namespace Eigen + +#endif // EIGEN_ASSIGN_EVALUATOR_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Assign_MKL.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Assign_MKL.h new file mode 100644 index 0000000..c6140d1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Assign_MKL.h @@ -0,0 +1,178 @@ +/* + Copyright (c) 2011, Intel Corporation. All rights reserved. + Copyright (C) 2015 Gael Guennebaud + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Intel Corporation nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ******************************************************************************** + * Content : Eigen bindings to Intel(R) MKL + * MKL VML support for coefficient-wise unary Eigen expressions like a=b.sin() + ******************************************************************************** +*/ + +#ifndef EIGEN_ASSIGN_VML_H +#define EIGEN_ASSIGN_VML_H + +namespace Eigen { + +namespace internal { + +template +class vml_assign_traits +{ + private: + enum { + DstHasDirectAccess = Dst::Flags & DirectAccessBit, + SrcHasDirectAccess = Src::Flags & DirectAccessBit, + StorageOrdersAgree = (int(Dst::IsRowMajor) == int(Src::IsRowMajor)), + InnerSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::SizeAtCompileTime) + : int(Dst::Flags)&RowMajorBit ? int(Dst::ColsAtCompileTime) + : int(Dst::RowsAtCompileTime), + InnerMaxSize = int(Dst::IsVectorAtCompileTime) ? int(Dst::MaxSizeAtCompileTime) + : int(Dst::Flags)&RowMajorBit ? int(Dst::MaxColsAtCompileTime) + : int(Dst::MaxRowsAtCompileTime), + MaxSizeAtCompileTime = Dst::SizeAtCompileTime, + + MightEnableVml = StorageOrdersAgree && DstHasDirectAccess && SrcHasDirectAccess && Src::InnerStrideAtCompileTime==1 && Dst::InnerStrideAtCompileTime==1, + MightLinearize = MightEnableVml && (int(Dst::Flags) & int(Src::Flags) & LinearAccessBit), + VmlSize = MightLinearize ? MaxSizeAtCompileTime : InnerMaxSize, + LargeEnough = VmlSize==Dynamic || VmlSize>=EIGEN_MKL_VML_THRESHOLD + }; + public: + enum { + EnableVml = MightEnableVml && LargeEnough, + Traversal = MightLinearize ? LinearTraversal : DefaultTraversal + }; +}; + +#define EIGEN_PP_EXPAND(ARG) ARG +#if !defined (EIGEN_FAST_MATH) || (EIGEN_FAST_MATH != 1) +#define EIGEN_VMLMODE_EXPAND_xLA , VML_HA +#else +#define EIGEN_VMLMODE_EXPAND_xLA , VML_LA +#endif + +#define EIGEN_VMLMODE_EXPAND_x_ + +#define EIGEN_VMLMODE_PREFIX_xLA vm +#define EIGEN_VMLMODE_PREFIX_x_ v +#define EIGEN_VMLMODE_PREFIX(VMLMODE) EIGEN_CAT(EIGEN_VMLMODE_PREFIX_x,VMLMODE) + +#define EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE) \ + template< typename DstXprType, typename SrcXprNested> \ + struct Assignment, SrcXprNested>, assign_op, \ + Dense2Dense, typename enable_if::EnableVml>::type> { \ + typedef CwiseUnaryOp, SrcXprNested> SrcXprType; \ + static void run(DstXprType &dst, const SrcXprType &src, const assign_op &func) { \ + resize_if_allowed(dst, src, func); \ + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); \ + if(vml_assign_traits::Traversal==LinearTraversal) { \ + VMLOP(dst.size(), (const VMLTYPE*)src.nestedExpression().data(), \ + (VMLTYPE*)dst.data() EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE) ); \ + } else { \ + const Index outerSize = dst.outerSize(); \ + for(Index outer = 0; outer < outerSize; ++outer) { \ + const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.nestedExpression().coeffRef(outer,0)) : \ + &(src.nestedExpression().coeffRef(0, outer)); \ + EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \ + VMLOP( dst.innerSize(), (const VMLTYPE*)src_ptr, \ + (VMLTYPE*)dst_ptr EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE)); \ + } \ + } \ + } \ + }; \ + + +#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP, VMLMODE) \ + EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),s##VMLOP), float, float, VMLMODE) \ + EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),d##VMLOP), double, double, VMLMODE) + +#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX(EIGENOP, VMLOP, VMLMODE) \ + EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),c##VMLOP), scomplex, MKL_Complex8, VMLMODE) \ + EIGEN_MKL_VML_DECLARE_UNARY_CALL(EIGENOP, EIGEN_CAT(EIGEN_VMLMODE_PREFIX(VMLMODE),z##VMLOP), dcomplex, MKL_Complex16, VMLMODE) + +#define EIGEN_MKL_VML_DECLARE_UNARY_CALLS(EIGENOP, VMLOP, VMLMODE) \ + EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(EIGENOP, VMLOP, VMLMODE) \ + EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX(EIGENOP, VMLOP, VMLMODE) + + +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(sin, Sin, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(asin, Asin, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(sinh, Sinh, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(cos, Cos, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(acos, Acos, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(cosh, Cosh, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(tan, Tan, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(atan, Atan, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(tanh, Tanh, LA) +// EIGEN_MKL_VML_DECLARE_UNARY_CALLS(abs, Abs, _) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(exp, Exp, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(log, Ln, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(log10, Log10, LA) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS(sqrt, Sqrt, _) + +EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(square, Sqr, _) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS_CPLX(arg, Arg, _) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(round, Round, _) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(floor, Floor, _) +EIGEN_MKL_VML_DECLARE_UNARY_CALLS_REAL(ceil, Ceil, _) + +#define EIGEN_MKL_VML_DECLARE_POW_CALL(EIGENOP, VMLOP, EIGENTYPE, VMLTYPE, VMLMODE) \ + template< typename DstXprType, typename SrcXprNested, typename Plain> \ + struct Assignment, SrcXprNested, \ + const CwiseNullaryOp,Plain> >, assign_op, \ + Dense2Dense, typename enable_if::EnableVml>::type> { \ + typedef CwiseBinaryOp, SrcXprNested, \ + const CwiseNullaryOp,Plain> > SrcXprType; \ + static void run(DstXprType &dst, const SrcXprType &src, const assign_op &func) { \ + resize_if_allowed(dst, src, func); \ + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); \ + VMLTYPE exponent = reinterpret_cast(src.rhs().functor().m_other); \ + if(vml_assign_traits::Traversal==LinearTraversal) \ + { \ + VMLOP( dst.size(), (const VMLTYPE*)src.lhs().data(), exponent, \ + (VMLTYPE*)dst.data() EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE) ); \ + } else { \ + const Index outerSize = dst.outerSize(); \ + for(Index outer = 0; outer < outerSize; ++outer) { \ + const EIGENTYPE *src_ptr = src.IsRowMajor ? &(src.lhs().coeffRef(outer,0)) : \ + &(src.lhs().coeffRef(0, outer)); \ + EIGENTYPE *dst_ptr = dst.IsRowMajor ? &(dst.coeffRef(outer,0)) : &(dst.coeffRef(0, outer)); \ + VMLOP( dst.innerSize(), (const VMLTYPE*)src_ptr, exponent, \ + (VMLTYPE*)dst_ptr EIGEN_PP_EXPAND(EIGEN_VMLMODE_EXPAND_x##VMLMODE)); \ + } \ + } \ + } \ + }; + +EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmsPowx, float, float, LA) +EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmdPowx, double, double, LA) +EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmcPowx, scomplex, MKL_Complex8, LA) +EIGEN_MKL_VML_DECLARE_POW_CALL(pow, vmzPowx, dcomplex, MKL_Complex16, LA) + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_ASSIGN_VML_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/BandMatrix.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/BandMatrix.h new file mode 100644 index 0000000..878c024 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/BandMatrix.h @@ -0,0 +1,353 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_BANDMATRIX_H +#define EIGEN_BANDMATRIX_H + +namespace Eigen { + +namespace internal { + +template +class BandMatrixBase : public EigenBase +{ + public: + + enum { + Flags = internal::traits::Flags, + CoeffReadCost = internal::traits::CoeffReadCost, + RowsAtCompileTime = internal::traits::RowsAtCompileTime, + ColsAtCompileTime = internal::traits::ColsAtCompileTime, + MaxRowsAtCompileTime = internal::traits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = internal::traits::MaxColsAtCompileTime, + Supers = internal::traits::Supers, + Subs = internal::traits::Subs, + Options = internal::traits::Options + }; + typedef typename internal::traits::Scalar Scalar; + typedef Matrix DenseMatrixType; + typedef typename DenseMatrixType::StorageIndex StorageIndex; + typedef typename internal::traits::CoefficientsType CoefficientsType; + typedef EigenBase Base; + + protected: + enum { + DataRowsAtCompileTime = ((Supers!=Dynamic) && (Subs!=Dynamic)) + ? 1 + Supers + Subs + : Dynamic, + SizeAtCompileTime = EIGEN_SIZE_MIN_PREFER_DYNAMIC(RowsAtCompileTime,ColsAtCompileTime) + }; + + public: + + using Base::derived; + using Base::rows; + using Base::cols; + + /** \returns the number of super diagonals */ + inline Index supers() const { return derived().supers(); } + + /** \returns the number of sub diagonals */ + inline Index subs() const { return derived().subs(); } + + /** \returns an expression of the underlying coefficient matrix */ + inline const CoefficientsType& coeffs() const { return derived().coeffs(); } + + /** \returns an expression of the underlying coefficient matrix */ + inline CoefficientsType& coeffs() { return derived().coeffs(); } + + /** \returns a vector expression of the \a i -th column, + * only the meaningful part is returned. + * \warning the internal storage must be column major. */ + inline Block col(Index i) + { + EIGEN_STATIC_ASSERT((int(Options) & int(RowMajor)) == 0, THIS_METHOD_IS_ONLY_FOR_COLUMN_MAJOR_MATRICES); + Index start = 0; + Index len = coeffs().rows(); + if (i<=supers()) + { + start = supers()-i; + len = (std::min)(rows(),std::max(0,coeffs().rows() - (supers()-i))); + } + else if (i>=rows()-subs()) + len = std::max(0,coeffs().rows() - (i + 1 - rows() + subs())); + return Block(coeffs(), start, i, len, 1); + } + + /** \returns a vector expression of the main diagonal */ + inline Block diagonal() + { return Block(coeffs(),supers(),0,1,(std::min)(rows(),cols())); } + + /** \returns a vector expression of the main diagonal (const version) */ + inline const Block diagonal() const + { return Block(coeffs(),supers(),0,1,(std::min)(rows(),cols())); } + + template struct DiagonalIntReturnType { + enum { + ReturnOpposite = (int(Options) & int(SelfAdjoint)) && (((Index) > 0 && Supers == 0) || ((Index) < 0 && Subs == 0)), + Conjugate = ReturnOpposite && NumTraits::IsComplex, + ActualIndex = ReturnOpposite ? -Index : Index, + DiagonalSize = (RowsAtCompileTime==Dynamic || ColsAtCompileTime==Dynamic) + ? Dynamic + : (ActualIndex<0 + ? EIGEN_SIZE_MIN_PREFER_DYNAMIC(ColsAtCompileTime, RowsAtCompileTime + ActualIndex) + : EIGEN_SIZE_MIN_PREFER_DYNAMIC(RowsAtCompileTime, ColsAtCompileTime - ActualIndex)) + }; + typedef Block BuildType; + typedef typename internal::conditional,BuildType >, + BuildType>::type Type; + }; + + /** \returns a vector expression of the \a N -th sub or super diagonal */ + template inline typename DiagonalIntReturnType::Type diagonal() + { + return typename DiagonalIntReturnType::BuildType(coeffs(), supers()-N, (std::max)(0,N), 1, diagonalLength(N)); + } + + /** \returns a vector expression of the \a N -th sub or super diagonal */ + template inline const typename DiagonalIntReturnType::Type diagonal() const + { + return typename DiagonalIntReturnType::BuildType(coeffs(), supers()-N, (std::max)(0,N), 1, diagonalLength(N)); + } + + /** \returns a vector expression of the \a i -th sub or super diagonal */ + inline Block diagonal(Index i) + { + eigen_assert((i<0 && -i<=subs()) || (i>=0 && i<=supers())); + return Block(coeffs(), supers()-i, std::max(0,i), 1, diagonalLength(i)); + } + + /** \returns a vector expression of the \a i -th sub or super diagonal */ + inline const Block diagonal(Index i) const + { + eigen_assert((i<0 && -i<=subs()) || (i>=0 && i<=supers())); + return Block(coeffs(), supers()-i, std::max(0,i), 1, diagonalLength(i)); + } + + template inline void evalTo(Dest& dst) const + { + dst.resize(rows(),cols()); + dst.setZero(); + dst.diagonal() = diagonal(); + for (Index i=1; i<=supers();++i) + dst.diagonal(i) = diagonal(i); + for (Index i=1; i<=subs();++i) + dst.diagonal(-i) = diagonal(-i); + } + + DenseMatrixType toDenseMatrix() const + { + DenseMatrixType res(rows(),cols()); + evalTo(res); + return res; + } + + protected: + + inline Index diagonalLength(Index i) const + { return i<0 ? (std::min)(cols(),rows()+i) : (std::min)(rows(),cols()-i); } +}; + +/** + * \class BandMatrix + * \ingroup Core_Module + * + * \brief Represents a rectangular matrix with a banded storage + * + * \tparam _Scalar Numeric type, i.e. float, double, int + * \tparam _Rows Number of rows, or \b Dynamic + * \tparam _Cols Number of columns, or \b Dynamic + * \tparam _Supers Number of super diagonal + * \tparam _Subs Number of sub diagonal + * \tparam _Options A combination of either \b #RowMajor or \b #ColMajor, and of \b #SelfAdjoint + * The former controls \ref TopicStorageOrders "storage order", and defaults to + * column-major. The latter controls whether the matrix represents a selfadjoint + * matrix in which case either Supers of Subs have to be null. + * + * \sa class TridiagonalMatrix + */ + +template +struct traits > +{ + typedef _Scalar Scalar; + typedef Dense StorageKind; + typedef Eigen::Index StorageIndex; + enum { + CoeffReadCost = NumTraits::ReadCost, + RowsAtCompileTime = _Rows, + ColsAtCompileTime = _Cols, + MaxRowsAtCompileTime = _Rows, + MaxColsAtCompileTime = _Cols, + Flags = LvalueBit, + Supers = _Supers, + Subs = _Subs, + Options = _Options, + DataRowsAtCompileTime = ((Supers!=Dynamic) && (Subs!=Dynamic)) ? 1 + Supers + Subs : Dynamic + }; + typedef Matrix CoefficientsType; +}; + +template +class BandMatrix : public BandMatrixBase > +{ + public: + + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::traits::StorageIndex StorageIndex; + typedef typename internal::traits::CoefficientsType CoefficientsType; + + explicit inline BandMatrix(Index rows=Rows, Index cols=Cols, Index supers=Supers, Index subs=Subs) + : m_coeffs(1+supers+subs,cols), + m_rows(rows), m_supers(supers), m_subs(subs) + { + } + + /** \returns the number of columns */ + inline EIGEN_CONSTEXPR Index rows() const { return m_rows.value(); } + + /** \returns the number of rows */ + inline EIGEN_CONSTEXPR Index cols() const { return m_coeffs.cols(); } + + /** \returns the number of super diagonals */ + inline EIGEN_CONSTEXPR Index supers() const { return m_supers.value(); } + + /** \returns the number of sub diagonals */ + inline EIGEN_CONSTEXPR Index subs() const { return m_subs.value(); } + + inline const CoefficientsType& coeffs() const { return m_coeffs; } + inline CoefficientsType& coeffs() { return m_coeffs; } + + protected: + + CoefficientsType m_coeffs; + internal::variable_if_dynamic m_rows; + internal::variable_if_dynamic m_supers; + internal::variable_if_dynamic m_subs; +}; + +template +class BandMatrixWrapper; + +template +struct traits > +{ + typedef typename _CoefficientsType::Scalar Scalar; + typedef typename _CoefficientsType::StorageKind StorageKind; + typedef typename _CoefficientsType::StorageIndex StorageIndex; + enum { + CoeffReadCost = internal::traits<_CoefficientsType>::CoeffReadCost, + RowsAtCompileTime = _Rows, + ColsAtCompileTime = _Cols, + MaxRowsAtCompileTime = _Rows, + MaxColsAtCompileTime = _Cols, + Flags = LvalueBit, + Supers = _Supers, + Subs = _Subs, + Options = _Options, + DataRowsAtCompileTime = ((Supers!=Dynamic) && (Subs!=Dynamic)) ? 1 + Supers + Subs : Dynamic + }; + typedef _CoefficientsType CoefficientsType; +}; + +template +class BandMatrixWrapper : public BandMatrixBase > +{ + public: + + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::traits::CoefficientsType CoefficientsType; + typedef typename internal::traits::StorageIndex StorageIndex; + + explicit inline BandMatrixWrapper(const CoefficientsType& coeffs, Index rows=_Rows, Index cols=_Cols, Index supers=_Supers, Index subs=_Subs) + : m_coeffs(coeffs), + m_rows(rows), m_supers(supers), m_subs(subs) + { + EIGEN_UNUSED_VARIABLE(cols); + //internal::assert(coeffs.cols()==cols() && (supers()+subs()+1)==coeffs.rows()); + } + + /** \returns the number of columns */ + inline EIGEN_CONSTEXPR Index rows() const { return m_rows.value(); } + + /** \returns the number of rows */ + inline EIGEN_CONSTEXPR Index cols() const { return m_coeffs.cols(); } + + /** \returns the number of super diagonals */ + inline EIGEN_CONSTEXPR Index supers() const { return m_supers.value(); } + + /** \returns the number of sub diagonals */ + inline EIGEN_CONSTEXPR Index subs() const { return m_subs.value(); } + + inline const CoefficientsType& coeffs() const { return m_coeffs; } + + protected: + + const CoefficientsType& m_coeffs; + internal::variable_if_dynamic m_rows; + internal::variable_if_dynamic m_supers; + internal::variable_if_dynamic m_subs; +}; + +/** + * \class TridiagonalMatrix + * \ingroup Core_Module + * + * \brief Represents a tridiagonal matrix with a compact banded storage + * + * \tparam Scalar Numeric type, i.e. float, double, int + * \tparam Size Number of rows and cols, or \b Dynamic + * \tparam Options Can be 0 or \b SelfAdjoint + * + * \sa class BandMatrix + */ +template +class TridiagonalMatrix : public BandMatrix +{ + typedef BandMatrix Base; + typedef typename Base::StorageIndex StorageIndex; + public: + explicit TridiagonalMatrix(Index size = Size) : Base(size,size,Options&SelfAdjoint?0:1,1) {} + + inline typename Base::template DiagonalIntReturnType<1>::Type super() + { return Base::template diagonal<1>(); } + inline const typename Base::template DiagonalIntReturnType<1>::Type super() const + { return Base::template diagonal<1>(); } + inline typename Base::template DiagonalIntReturnType<-1>::Type sub() + { return Base::template diagonal<-1>(); } + inline const typename Base::template DiagonalIntReturnType<-1>::Type sub() const + { return Base::template diagonal<-1>(); } + protected: +}; + + +struct BandShape {}; + +template +struct evaluator_traits > + : public evaluator_traits_base > +{ + typedef BandShape Shape; +}; + +template +struct evaluator_traits > + : public evaluator_traits_base > +{ + typedef BandShape Shape; +}; + +template<> struct AssignmentKind { typedef EigenBase2EigenBase Kind; }; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_BANDMATRIX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Block.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Block.h new file mode 100644 index 0000000..3206d66 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Block.h @@ -0,0 +1,448 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2006-2010 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_BLOCK_H +#define EIGEN_BLOCK_H + +namespace Eigen { + +namespace internal { +template +struct traits > : traits +{ + typedef typename traits::Scalar Scalar; + typedef typename traits::StorageKind StorageKind; + typedef typename traits::XprKind XprKind; + typedef typename ref_selector::type XprTypeNested; + typedef typename remove_reference::type _XprTypeNested; + enum{ + MatrixRows = traits::RowsAtCompileTime, + MatrixCols = traits::ColsAtCompileTime, + RowsAtCompileTime = MatrixRows == 0 ? 0 : BlockRows, + ColsAtCompileTime = MatrixCols == 0 ? 0 : BlockCols, + MaxRowsAtCompileTime = BlockRows==0 ? 0 + : RowsAtCompileTime != Dynamic ? int(RowsAtCompileTime) + : int(traits::MaxRowsAtCompileTime), + MaxColsAtCompileTime = BlockCols==0 ? 0 + : ColsAtCompileTime != Dynamic ? int(ColsAtCompileTime) + : int(traits::MaxColsAtCompileTime), + + XprTypeIsRowMajor = (int(traits::Flags)&RowMajorBit) != 0, + IsRowMajor = (MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1 + : (MaxColsAtCompileTime==1&&MaxRowsAtCompileTime!=1) ? 0 + : XprTypeIsRowMajor, + HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor), + InnerSize = IsRowMajor ? int(ColsAtCompileTime) : int(RowsAtCompileTime), + InnerStrideAtCompileTime = HasSameStorageOrderAsXprType + ? int(inner_stride_at_compile_time::ret) + : int(outer_stride_at_compile_time::ret), + OuterStrideAtCompileTime = HasSameStorageOrderAsXprType + ? int(outer_stride_at_compile_time::ret) + : int(inner_stride_at_compile_time::ret), + + // FIXME, this traits is rather specialized for dense object and it needs to be cleaned further + FlagsLvalueBit = is_lvalue::value ? LvalueBit : 0, + FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0, + Flags = (traits::Flags & (DirectAccessBit | (InnerPanel?CompressedAccessBit:0))) | FlagsLvalueBit | FlagsRowMajorBit, + // FIXME DirectAccessBit should not be handled by expressions + // + // Alignment is needed by MapBase's assertions + // We can sefely set it to false here. Internal alignment errors will be detected by an eigen_internal_assert in the respective evaluator + Alignment = 0 + }; +}; + +template::ret> class BlockImpl_dense; + +} // end namespace internal + +template class BlockImpl; + +/** \class Block + * \ingroup Core_Module + * + * \brief Expression of a fixed-size or dynamic-size block + * + * \tparam XprType the type of the expression in which we are taking a block + * \tparam BlockRows the number of rows of the block we are taking at compile time (optional) + * \tparam BlockCols the number of columns of the block we are taking at compile time (optional) + * \tparam InnerPanel is true, if the block maps to a set of rows of a row major matrix or + * to set of columns of a column major matrix (optional). The parameter allows to determine + * at compile time whether aligned access is possible on the block expression. + * + * This class represents an expression of either a fixed-size or dynamic-size block. It is the return + * type of DenseBase::block(Index,Index,Index,Index) and DenseBase::block(Index,Index) and + * most of the time this is the only way it is used. + * + * However, if you want to directly maniputate block expressions, + * for instance if you want to write a function returning such an expression, you + * will need to use this class. + * + * Here is an example illustrating the dynamic case: + * \include class_Block.cpp + * Output: \verbinclude class_Block.out + * + * \note Even though this expression has dynamic size, in the case where \a XprType + * has fixed size, this expression inherits a fixed maximal size which means that evaluating + * it does not cause a dynamic memory allocation. + * + * Here is an example illustrating the fixed-size case: + * \include class_FixedBlock.cpp + * Output: \verbinclude class_FixedBlock.out + * + * \sa DenseBase::block(Index,Index,Index,Index), DenseBase::block(Index,Index), class VectorBlock + */ +template class Block + : public BlockImpl::StorageKind> +{ + typedef BlockImpl::StorageKind> Impl; + public: + //typedef typename Impl::Base Base; + typedef Impl Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(Block) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Block) + + typedef typename internal::remove_all::type NestedExpression; + + /** Column or Row constructor + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Block(XprType& xpr, Index i) : Impl(xpr,i) + { + eigen_assert( (i>=0) && ( + ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) && i= 0 && BlockRows >= 0 && startRow + BlockRows <= xpr.rows() + && startCol >= 0 && BlockCols >= 0 && startCol + BlockCols <= xpr.cols()); + } + + /** Dynamic-size constructor + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Block(XprType& xpr, + Index startRow, Index startCol, + Index blockRows, Index blockCols) + : Impl(xpr, startRow, startCol, blockRows, blockCols) + { + eigen_assert((RowsAtCompileTime==Dynamic || RowsAtCompileTime==blockRows) + && (ColsAtCompileTime==Dynamic || ColsAtCompileTime==blockCols)); + eigen_assert(startRow >= 0 && blockRows >= 0 && startRow <= xpr.rows() - blockRows + && startCol >= 0 && blockCols >= 0 && startCol <= xpr.cols() - blockCols); + } +}; + +// The generic default implementation for dense block simplu forward to the internal::BlockImpl_dense +// that must be specialized for direct and non-direct access... +template +class BlockImpl + : public internal::BlockImpl_dense +{ + typedef internal::BlockImpl_dense Impl; + typedef typename XprType::StorageIndex StorageIndex; + public: + typedef Impl Base; + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl) + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE BlockImpl(XprType& xpr, Index i) : Impl(xpr,i) {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE BlockImpl(XprType& xpr, Index startRow, Index startCol) : Impl(xpr, startRow, startCol) {} + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE BlockImpl(XprType& xpr, Index startRow, Index startCol, Index blockRows, Index blockCols) + : Impl(xpr, startRow, startCol, blockRows, blockCols) {} +}; + +namespace internal { + +/** \internal Internal implementation of dense Blocks in the general case. */ +template class BlockImpl_dense + : public internal::dense_xpr_base >::type +{ + typedef Block BlockType; + typedef typename internal::ref_selector::non_const_type XprTypeNested; + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(BlockType) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl_dense) + + // class InnerIterator; // FIXME apparently never used + + /** Column or Row constructor + */ + EIGEN_DEVICE_FUNC + inline BlockImpl_dense(XprType& xpr, Index i) + : m_xpr(xpr), + // It is a row if and only if BlockRows==1 and BlockCols==XprType::ColsAtCompileTime, + // and it is a column if and only if BlockRows==XprType::RowsAtCompileTime and BlockCols==1, + // all other cases are invalid. + // The case a 1x1 matrix seems ambiguous, but the result is the same anyway. + m_startRow( (BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) ? i : 0), + m_startCol( (BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) ? i : 0), + m_blockRows(BlockRows==1 ? 1 : xpr.rows()), + m_blockCols(BlockCols==1 ? 1 : xpr.cols()) + {} + + /** Fixed-size constructor + */ + EIGEN_DEVICE_FUNC + inline BlockImpl_dense(XprType& xpr, Index startRow, Index startCol) + : m_xpr(xpr), m_startRow(startRow), m_startCol(startCol), + m_blockRows(BlockRows), m_blockCols(BlockCols) + {} + + /** Dynamic-size constructor + */ + EIGEN_DEVICE_FUNC + inline BlockImpl_dense(XprType& xpr, + Index startRow, Index startCol, + Index blockRows, Index blockCols) + : m_xpr(xpr), m_startRow(startRow), m_startCol(startCol), + m_blockRows(blockRows), m_blockCols(blockCols) + {} + + EIGEN_DEVICE_FUNC inline Index rows() const { return m_blockRows.value(); } + EIGEN_DEVICE_FUNC inline Index cols() const { return m_blockCols.value(); } + + EIGEN_DEVICE_FUNC + inline Scalar& coeffRef(Index rowId, Index colId) + { + EIGEN_STATIC_ASSERT_LVALUE(XprType) + return m_xpr.coeffRef(rowId + m_startRow.value(), colId + m_startCol.value()); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index rowId, Index colId) const + { + return m_xpr.derived().coeffRef(rowId + m_startRow.value(), colId + m_startCol.value()); + } + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE const CoeffReturnType coeff(Index rowId, Index colId) const + { + return m_xpr.coeff(rowId + m_startRow.value(), colId + m_startCol.value()); + } + + EIGEN_DEVICE_FUNC + inline Scalar& coeffRef(Index index) + { + EIGEN_STATIC_ASSERT_LVALUE(XprType) + return m_xpr.coeffRef(m_startRow.value() + (RowsAtCompileTime == 1 ? 0 : index), + m_startCol.value() + (RowsAtCompileTime == 1 ? index : 0)); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index index) const + { + return m_xpr.coeffRef(m_startRow.value() + (RowsAtCompileTime == 1 ? 0 : index), + m_startCol.value() + (RowsAtCompileTime == 1 ? index : 0)); + } + + EIGEN_DEVICE_FUNC + inline const CoeffReturnType coeff(Index index) const + { + return m_xpr.coeff(m_startRow.value() + (RowsAtCompileTime == 1 ? 0 : index), + m_startCol.value() + (RowsAtCompileTime == 1 ? index : 0)); + } + + template + inline PacketScalar packet(Index rowId, Index colId) const + { + return m_xpr.template packet(rowId + m_startRow.value(), colId + m_startCol.value()); + } + + template + inline void writePacket(Index rowId, Index colId, const PacketScalar& val) + { + m_xpr.template writePacket(rowId + m_startRow.value(), colId + m_startCol.value(), val); + } + + template + inline PacketScalar packet(Index index) const + { + return m_xpr.template packet + (m_startRow.value() + (RowsAtCompileTime == 1 ? 0 : index), + m_startCol.value() + (RowsAtCompileTime == 1 ? index : 0)); + } + + template + inline void writePacket(Index index, const PacketScalar& val) + { + m_xpr.template writePacket + (m_startRow.value() + (RowsAtCompileTime == 1 ? 0 : index), + m_startCol.value() + (RowsAtCompileTime == 1 ? index : 0), val); + } + + #ifdef EIGEN_PARSED_BY_DOXYGEN + /** \sa MapBase::data() */ + EIGEN_DEVICE_FUNC inline const Scalar* data() const; + EIGEN_DEVICE_FUNC inline Index innerStride() const; + EIGEN_DEVICE_FUNC inline Index outerStride() const; + #endif + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const typename internal::remove_all::type& nestedExpression() const + { + return m_xpr; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + XprType& nestedExpression() { return m_xpr; } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + StorageIndex startRow() const EIGEN_NOEXCEPT + { + return m_startRow.value(); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + StorageIndex startCol() const EIGEN_NOEXCEPT + { + return m_startCol.value(); + } + + protected: + + XprTypeNested m_xpr; + const internal::variable_if_dynamic m_startRow; + const internal::variable_if_dynamic m_startCol; + const internal::variable_if_dynamic m_blockRows; + const internal::variable_if_dynamic m_blockCols; +}; + +/** \internal Internal implementation of dense Blocks in the direct access case.*/ +template +class BlockImpl_dense + : public MapBase > +{ + typedef Block BlockType; + typedef typename internal::ref_selector::non_const_type XprTypeNested; + enum { + XprTypeIsRowMajor = (int(traits::Flags)&RowMajorBit) != 0 + }; + public: + + typedef MapBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(BlockType) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(BlockImpl_dense) + + /** Column or Row constructor + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + BlockImpl_dense(XprType& xpr, Index i) + : Base(xpr.data() + i * ( ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) && (!XprTypeIsRowMajor)) + || ((BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) && ( XprTypeIsRowMajor)) ? xpr.innerStride() : xpr.outerStride()), + BlockRows==1 ? 1 : xpr.rows(), + BlockCols==1 ? 1 : xpr.cols()), + m_xpr(xpr), + m_startRow( (BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) ? i : 0), + m_startCol( (BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) ? i : 0) + { + init(); + } + + /** Fixed-size constructor + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + BlockImpl_dense(XprType& xpr, Index startRow, Index startCol) + : Base(xpr.data()+xpr.innerStride()*(XprTypeIsRowMajor?startCol:startRow) + xpr.outerStride()*(XprTypeIsRowMajor?startRow:startCol)), + m_xpr(xpr), m_startRow(startRow), m_startCol(startCol) + { + init(); + } + + /** Dynamic-size constructor + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + BlockImpl_dense(XprType& xpr, + Index startRow, Index startCol, + Index blockRows, Index blockCols) + : Base(xpr.data()+xpr.innerStride()*(XprTypeIsRowMajor?startCol:startRow) + xpr.outerStride()*(XprTypeIsRowMajor?startRow:startCol), blockRows, blockCols), + m_xpr(xpr), m_startRow(startRow), m_startCol(startCol) + { + init(); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const typename internal::remove_all::type& nestedExpression() const EIGEN_NOEXCEPT + { + return m_xpr; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + XprType& nestedExpression() { return m_xpr; } + + /** \sa MapBase::innerStride() */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index innerStride() const EIGEN_NOEXCEPT + { + return internal::traits::HasSameStorageOrderAsXprType + ? m_xpr.innerStride() + : m_xpr.outerStride(); + } + + /** \sa MapBase::outerStride() */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index outerStride() const EIGEN_NOEXCEPT + { + return internal::traits::HasSameStorageOrderAsXprType + ? m_xpr.outerStride() + : m_xpr.innerStride(); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + StorageIndex startRow() const EIGEN_NOEXCEPT { return m_startRow.value(); } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + StorageIndex startCol() const EIGEN_NOEXCEPT { return m_startCol.value(); } + + #ifndef __SUNPRO_CC + // FIXME sunstudio is not friendly with the above friend... + // META-FIXME there is no 'friend' keyword around here. Is this obsolete? + protected: + #endif + + #ifndef EIGEN_PARSED_BY_DOXYGEN + /** \internal used by allowAligned() */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + BlockImpl_dense(XprType& xpr, const Scalar* data, Index blockRows, Index blockCols) + : Base(data, blockRows, blockCols), m_xpr(xpr) + { + init(); + } + #endif + + protected: + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void init() + { + m_outerStride = internal::traits::HasSameStorageOrderAsXprType + ? m_xpr.outerStride() + : m_xpr.innerStride(); + } + + XprTypeNested m_xpr; + const internal::variable_if_dynamic m_startRow; + const internal::variable_if_dynamic m_startCol; + Index m_outerStride; +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_BLOCK_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/BooleanRedux.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/BooleanRedux.h new file mode 100644 index 0000000..852de8b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/BooleanRedux.h @@ -0,0 +1,162 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_ALLANDANY_H +#define EIGEN_ALLANDANY_H + +namespace Eigen { + +namespace internal { + +template +struct all_unroller +{ + enum { + col = (UnrollCount-1) / Rows, + row = (UnrollCount-1) % Rows + }; + + EIGEN_DEVICE_FUNC static inline bool run(const Derived &mat) + { + return all_unroller::run(mat) && mat.coeff(row, col); + } +}; + +template +struct all_unroller +{ + EIGEN_DEVICE_FUNC static inline bool run(const Derived &/*mat*/) { return true; } +}; + +template +struct all_unroller +{ + EIGEN_DEVICE_FUNC static inline bool run(const Derived &) { return false; } +}; + +template +struct any_unroller +{ + enum { + col = (UnrollCount-1) / Rows, + row = (UnrollCount-1) % Rows + }; + + EIGEN_DEVICE_FUNC static inline bool run(const Derived &mat) + { + return any_unroller::run(mat) || mat.coeff(row, col); + } +}; + +template +struct any_unroller +{ + EIGEN_DEVICE_FUNC static inline bool run(const Derived & /*mat*/) { return false; } +}; + +template +struct any_unroller +{ + EIGEN_DEVICE_FUNC static inline bool run(const Derived &) { return false; } +}; + +} // end namespace internal + +/** \returns true if all coefficients are true + * + * Example: \include MatrixBase_all.cpp + * Output: \verbinclude MatrixBase_all.out + * + * \sa any(), Cwise::operator<() + */ +template +EIGEN_DEVICE_FUNC inline bool DenseBase::all() const +{ + typedef internal::evaluator Evaluator; + enum { + unroll = SizeAtCompileTime != Dynamic + && SizeAtCompileTime * (int(Evaluator::CoeffReadCost) + int(NumTraits::AddCost)) <= EIGEN_UNROLLING_LIMIT + }; + Evaluator evaluator(derived()); + if(unroll) + return internal::all_unroller::RowsAtCompileTime>::run(evaluator); + else + { + for(Index j = 0; j < cols(); ++j) + for(Index i = 0; i < rows(); ++i) + if (!evaluator.coeff(i, j)) return false; + return true; + } +} + +/** \returns true if at least one coefficient is true + * + * \sa all() + */ +template +EIGEN_DEVICE_FUNC inline bool DenseBase::any() const +{ + typedef internal::evaluator Evaluator; + enum { + unroll = SizeAtCompileTime != Dynamic + && SizeAtCompileTime * (int(Evaluator::CoeffReadCost) + int(NumTraits::AddCost)) <= EIGEN_UNROLLING_LIMIT + }; + Evaluator evaluator(derived()); + if(unroll) + return internal::any_unroller::RowsAtCompileTime>::run(evaluator); + else + { + for(Index j = 0; j < cols(); ++j) + for(Index i = 0; i < rows(); ++i) + if (evaluator.coeff(i, j)) return true; + return false; + } +} + +/** \returns the number of coefficients which evaluate to true + * + * \sa all(), any() + */ +template +EIGEN_DEVICE_FUNC inline Eigen::Index DenseBase::count() const +{ + return derived().template cast().template cast().sum(); +} + +/** \returns true is \c *this contains at least one Not A Number (NaN). + * + * \sa allFinite() + */ +template +inline bool DenseBase::hasNaN() const +{ +#if EIGEN_COMP_MSVC || (defined __FAST_MATH__) + return derived().array().isNaN().any(); +#else + return !((derived().array()==derived().array()).all()); +#endif +} + +/** \returns true if \c *this contains only finite numbers, i.e., no NaN and no +/-INF values. + * + * \sa hasNaN() + */ +template +inline bool DenseBase::allFinite() const +{ +#if EIGEN_COMP_MSVC || (defined __FAST_MATH__) + return derived().array().isFinite().all(); +#else + return !((derived()-derived()).hasNaN()); +#endif +} + +} // end namespace Eigen + +#endif // EIGEN_ALLANDANY_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CommaInitializer.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CommaInitializer.h new file mode 100644 index 0000000..c0e29c7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CommaInitializer.h @@ -0,0 +1,164 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_COMMAINITIALIZER_H +#define EIGEN_COMMAINITIALIZER_H + +namespace Eigen { + +/** \class CommaInitializer + * \ingroup Core_Module + * + * \brief Helper class used by the comma initializer operator + * + * This class is internally used to implement the comma initializer feature. It is + * the return type of MatrixBase::operator<<, and most of the time this is the only + * way it is used. + * + * \sa \blank \ref MatrixBaseCommaInitRef "MatrixBase::operator<<", CommaInitializer::finished() + */ +template +struct CommaInitializer +{ + typedef typename XprType::Scalar Scalar; + + EIGEN_DEVICE_FUNC + inline CommaInitializer(XprType& xpr, const Scalar& s) + : m_xpr(xpr), m_row(0), m_col(1), m_currentBlockRows(1) + { + eigen_assert(m_xpr.rows() > 0 && m_xpr.cols() > 0 + && "Cannot comma-initialize a 0x0 matrix (operator<<)"); + m_xpr.coeffRef(0,0) = s; + } + + template + EIGEN_DEVICE_FUNC + inline CommaInitializer(XprType& xpr, const DenseBase& other) + : m_xpr(xpr), m_row(0), m_col(other.cols()), m_currentBlockRows(other.rows()) + { + eigen_assert(m_xpr.rows() >= other.rows() && m_xpr.cols() >= other.cols() + && "Cannot comma-initialize a 0x0 matrix (operator<<)"); + m_xpr.block(0, 0, other.rows(), other.cols()) = other; + } + + /* Copy/Move constructor which transfers ownership. This is crucial in + * absence of return value optimization to avoid assertions during destruction. */ + // FIXME in C++11 mode this could be replaced by a proper RValue constructor + EIGEN_DEVICE_FUNC + inline CommaInitializer(const CommaInitializer& o) + : m_xpr(o.m_xpr), m_row(o.m_row), m_col(o.m_col), m_currentBlockRows(o.m_currentBlockRows) { + // Mark original object as finished. In absence of R-value references we need to const_cast: + const_cast(o).m_row = m_xpr.rows(); + const_cast(o).m_col = m_xpr.cols(); + const_cast(o).m_currentBlockRows = 0; + } + + /* inserts a scalar value in the target matrix */ + EIGEN_DEVICE_FUNC + CommaInitializer& operator,(const Scalar& s) + { + if (m_col==m_xpr.cols()) + { + m_row+=m_currentBlockRows; + m_col = 0; + m_currentBlockRows = 1; + eigen_assert(m_row + EIGEN_DEVICE_FUNC + CommaInitializer& operator,(const DenseBase& other) + { + if (m_col==m_xpr.cols() && (other.cols()!=0 || other.rows()!=m_currentBlockRows)) + { + m_row+=m_currentBlockRows; + m_col = 0; + m_currentBlockRows = other.rows(); + eigen_assert(m_row+m_currentBlockRows<=m_xpr.rows() + && "Too many rows passed to comma initializer (operator<<)"); + } + eigen_assert((m_col + other.cols() <= m_xpr.cols()) + && "Too many coefficients passed to comma initializer (operator<<)"); + eigen_assert(m_currentBlockRows==other.rows()); + m_xpr.template block + (m_row, m_col, other.rows(), other.cols()) = other; + m_col += other.cols(); + return *this; + } + + EIGEN_DEVICE_FUNC + inline ~CommaInitializer() +#if defined VERIFY_RAISES_ASSERT && (!defined EIGEN_NO_ASSERTION_CHECKING) && defined EIGEN_EXCEPTIONS + EIGEN_EXCEPTION_SPEC(Eigen::eigen_assert_exception) +#endif + { + finished(); + } + + /** \returns the built matrix once all its coefficients have been set. + * Calling finished is 100% optional. Its purpose is to write expressions + * like this: + * \code + * quaternion.fromRotationMatrix((Matrix3f() << axis0, axis1, axis2).finished()); + * \endcode + */ + EIGEN_DEVICE_FUNC + inline XprType& finished() { + eigen_assert(((m_row+m_currentBlockRows) == m_xpr.rows() || m_xpr.cols() == 0) + && m_col == m_xpr.cols() + && "Too few coefficients passed to comma initializer (operator<<)"); + return m_xpr; + } + + XprType& m_xpr; // target expression + Index m_row; // current row id + Index m_col; // current col id + Index m_currentBlockRows; // current block height +}; + +/** \anchor MatrixBaseCommaInitRef + * Convenient operator to set the coefficients of a matrix. + * + * The coefficients must be provided in a row major order and exactly match + * the size of the matrix. Otherwise an assertion is raised. + * + * Example: \include MatrixBase_set.cpp + * Output: \verbinclude MatrixBase_set.out + * + * \note According the c++ standard, the argument expressions of this comma initializer are evaluated in arbitrary order. + * + * \sa CommaInitializer::finished(), class CommaInitializer + */ +template +EIGEN_DEVICE_FUNC inline CommaInitializer DenseBase::operator<< (const Scalar& s) +{ + return CommaInitializer(*static_cast(this), s); +} + +/** \sa operator<<(const Scalar&) */ +template +template +EIGEN_DEVICE_FUNC inline CommaInitializer +DenseBase::operator<<(const DenseBase& other) +{ + return CommaInitializer(*static_cast(this), other); +} + +} // end namespace Eigen + +#endif // EIGEN_COMMAINITIALIZER_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ConditionEstimator.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ConditionEstimator.h new file mode 100644 index 0000000..51a2e5f --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ConditionEstimator.h @@ -0,0 +1,175 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2016 Rasmus Munk Larsen (rmlarsen@google.com) +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CONDITIONESTIMATOR_H +#define EIGEN_CONDITIONESTIMATOR_H + +namespace Eigen { + +namespace internal { + +template +struct rcond_compute_sign { + static inline Vector run(const Vector& v) { + const RealVector v_abs = v.cwiseAbs(); + return (v_abs.array() == static_cast(0)) + .select(Vector::Ones(v.size()), v.cwiseQuotient(v_abs)); + } +}; + +// Partial specialization to avoid elementwise division for real vectors. +template +struct rcond_compute_sign { + static inline Vector run(const Vector& v) { + return (v.array() < static_cast(0)) + .select(-Vector::Ones(v.size()), Vector::Ones(v.size())); + } +}; + +/** + * \returns an estimate of ||inv(matrix)||_1 given a decomposition of + * \a matrix that implements .solve() and .adjoint().solve() methods. + * + * This function implements Algorithms 4.1 and 5.1 from + * http://www.maths.manchester.ac.uk/~higham/narep/narep135.pdf + * which also forms the basis for the condition number estimators in + * LAPACK. Since at most 10 calls to the solve method of dec are + * performed, the total cost is O(dims^2), as opposed to O(dims^3) + * needed to compute the inverse matrix explicitly. + * + * The most common usage is in estimating the condition number + * ||matrix||_1 * ||inv(matrix)||_1. The first term ||matrix||_1 can be + * computed directly in O(n^2) operations. + * + * Supports the following decompositions: FullPivLU, PartialPivLU, LDLT, and + * LLT. + * + * \sa FullPivLU, PartialPivLU, LDLT, LLT. + */ +template +typename Decomposition::RealScalar rcond_invmatrix_L1_norm_estimate(const Decomposition& dec) +{ + typedef typename Decomposition::MatrixType MatrixType; + typedef typename Decomposition::Scalar Scalar; + typedef typename Decomposition::RealScalar RealScalar; + typedef typename internal::plain_col_type::type Vector; + typedef typename internal::plain_col_type::type RealVector; + const bool is_complex = (NumTraits::IsComplex != 0); + + eigen_assert(dec.rows() == dec.cols()); + const Index n = dec.rows(); + if (n == 0) + return 0; + + // Disable Index to float conversion warning +#ifdef __INTEL_COMPILER + #pragma warning push + #pragma warning ( disable : 2259 ) +#endif + Vector v = dec.solve(Vector::Ones(n) / Scalar(n)); +#ifdef __INTEL_COMPILER + #pragma warning pop +#endif + + // lower_bound is a lower bound on + // ||inv(matrix)||_1 = sup_v ||inv(matrix) v||_1 / ||v||_1 + // and is the objective maximized by the ("super-") gradient ascent + // algorithm below. + RealScalar lower_bound = v.template lpNorm<1>(); + if (n == 1) + return lower_bound; + + // Gradient ascent algorithm follows: We know that the optimum is achieved at + // one of the simplices v = e_i, so in each iteration we follow a + // super-gradient to move towards the optimal one. + RealScalar old_lower_bound = lower_bound; + Vector sign_vector(n); + Vector old_sign_vector; + Index v_max_abs_index = -1; + Index old_v_max_abs_index = v_max_abs_index; + for (int k = 0; k < 4; ++k) + { + sign_vector = internal::rcond_compute_sign::run(v); + if (k > 0 && !is_complex && sign_vector == old_sign_vector) { + // Break if the solution stagnated. + break; + } + // v_max_abs_index = argmax |real( inv(matrix)^T * sign_vector )| + v = dec.adjoint().solve(sign_vector); + v.real().cwiseAbs().maxCoeff(&v_max_abs_index); + if (v_max_abs_index == old_v_max_abs_index) { + // Break if the solution stagnated. + break; + } + // Move to the new simplex e_j, where j = v_max_abs_index. + v = dec.solve(Vector::Unit(n, v_max_abs_index)); // v = inv(matrix) * e_j. + lower_bound = v.template lpNorm<1>(); + if (lower_bound <= old_lower_bound) { + // Break if the gradient step did not increase the lower_bound. + break; + } + if (!is_complex) { + old_sign_vector = sign_vector; + } + old_v_max_abs_index = v_max_abs_index; + old_lower_bound = lower_bound; + } + // The following calculates an independent estimate of ||matrix||_1 by + // multiplying matrix by a vector with entries of slowly increasing + // magnitude and alternating sign: + // v_i = (-1)^{i} (1 + (i / (dim-1))), i = 0,...,dim-1. + // This improvement to Hager's algorithm above is due to Higham. It was + // added to make the algorithm more robust in certain corner cases where + // large elements in the matrix might otherwise escape detection due to + // exact cancellation (especially when op and op_adjoint correspond to a + // sequence of backsubstitutions and permutations), which could cause + // Hager's algorithm to vastly underestimate ||matrix||_1. + Scalar alternating_sign(RealScalar(1)); + for (Index i = 0; i < n; ++i) { + // The static_cast is needed when Scalar is a complex and RealScalar implements expression templates + v[i] = alternating_sign * static_cast(RealScalar(1) + (RealScalar(i) / (RealScalar(n - 1)))); + alternating_sign = -alternating_sign; + } + v = dec.solve(v); + const RealScalar alternate_lower_bound = (2 * v.template lpNorm<1>()) / (3 * RealScalar(n)); + return numext::maxi(lower_bound, alternate_lower_bound); +} + +/** \brief Reciprocal condition number estimator. + * + * Computing a decomposition of a dense matrix takes O(n^3) operations, while + * this method estimates the condition number quickly and reliably in O(n^2) + * operations. + * + * \returns an estimate of the reciprocal condition number + * (1 / (||matrix||_1 * ||inv(matrix)||_1)) of matrix, given ||matrix||_1 and + * its decomposition. Supports the following decompositions: FullPivLU, + * PartialPivLU, LDLT, and LLT. + * + * \sa FullPivLU, PartialPivLU, LDLT, LLT. + */ +template +typename Decomposition::RealScalar +rcond_estimate_helper(typename Decomposition::RealScalar matrix_norm, const Decomposition& dec) +{ + typedef typename Decomposition::RealScalar RealScalar; + eigen_assert(dec.rows() == dec.cols()); + if (dec.rows() == 0) return NumTraits::infinity(); + if (matrix_norm == RealScalar(0)) return RealScalar(0); + if (dec.rows() == 1) return RealScalar(1); + const RealScalar inverse_matrix_norm = rcond_invmatrix_L1_norm_estimate(dec); + return (inverse_matrix_norm == RealScalar(0) ? RealScalar(0) + : (RealScalar(1) / inverse_matrix_norm) / matrix_norm); +} + +} // namespace internal + +} // namespace Eigen + +#endif diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CoreEvaluators.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CoreEvaluators.h new file mode 100644 index 0000000..0ff8c8d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CoreEvaluators.h @@ -0,0 +1,1741 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2011 Benoit Jacob +// Copyright (C) 2011-2014 Gael Guennebaud +// Copyright (C) 2011-2012 Jitse Niesen +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + + +#ifndef EIGEN_COREEVALUATORS_H +#define EIGEN_COREEVALUATORS_H + +namespace Eigen { + +namespace internal { + +// This class returns the evaluator kind from the expression storage kind. +// Default assumes index based accessors +template +struct storage_kind_to_evaluator_kind { + typedef IndexBased Kind; +}; + +// This class returns the evaluator shape from the expression storage kind. +// It can be Dense, Sparse, Triangular, Diagonal, SelfAdjoint, Band, etc. +template struct storage_kind_to_shape; + +template<> struct storage_kind_to_shape { typedef DenseShape Shape; }; +template<> struct storage_kind_to_shape { typedef SolverShape Shape; }; +template<> struct storage_kind_to_shape { typedef PermutationShape Shape; }; +template<> struct storage_kind_to_shape { typedef TranspositionsShape Shape; }; + +// Evaluators have to be specialized with respect to various criteria such as: +// - storage/structure/shape +// - scalar type +// - etc. +// Therefore, we need specialization of evaluator providing additional template arguments for each kind of evaluators. +// We currently distinguish the following kind of evaluators: +// - unary_evaluator for expressions taking only one arguments (CwiseUnaryOp, CwiseUnaryView, Transpose, MatrixWrapper, ArrayWrapper, Reverse, Replicate) +// - binary_evaluator for expression taking two arguments (CwiseBinaryOp) +// - ternary_evaluator for expression taking three arguments (CwiseTernaryOp) +// - product_evaluator for linear algebra products (Product); special case of binary_evaluator because it requires additional tags for dispatching. +// - mapbase_evaluator for Map, Block, Ref +// - block_evaluator for Block (special dispatching to a mapbase_evaluator or unary_evaluator) + +template< typename T, + typename Arg1Kind = typename evaluator_traits::Kind, + typename Arg2Kind = typename evaluator_traits::Kind, + typename Arg3Kind = typename evaluator_traits::Kind, + typename Arg1Scalar = typename traits::Scalar, + typename Arg2Scalar = typename traits::Scalar, + typename Arg3Scalar = typename traits::Scalar> struct ternary_evaluator; + +template< typename T, + typename LhsKind = typename evaluator_traits::Kind, + typename RhsKind = typename evaluator_traits::Kind, + typename LhsScalar = typename traits::Scalar, + typename RhsScalar = typename traits::Scalar> struct binary_evaluator; + +template< typename T, + typename Kind = typename evaluator_traits::Kind, + typename Scalar = typename T::Scalar> struct unary_evaluator; + +// evaluator_traits contains traits for evaluator + +template +struct evaluator_traits_base +{ + // by default, get evaluator kind and shape from storage + typedef typename storage_kind_to_evaluator_kind::StorageKind>::Kind Kind; + typedef typename storage_kind_to_shape::StorageKind>::Shape Shape; +}; + +// Default evaluator traits +template +struct evaluator_traits : public evaluator_traits_base +{ +}; + +template::Shape > +struct evaluator_assume_aliasing { + static const bool value = false; +}; + +// By default, we assume a unary expression: +template +struct evaluator : public unary_evaluator +{ + typedef unary_evaluator Base; + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const T& xpr) : Base(xpr) {} +}; + + +// TODO: Think about const-correctness +template +struct evaluator + : evaluator +{ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const T& xpr) : evaluator(xpr) {} +}; + +// ---------- base class for all evaluators ---------- + +template +struct evaluator_base +{ + // TODO that's not very nice to have to propagate all these traits. They are currently only needed to handle outer,inner indices. + typedef traits ExpressionTraits; + + enum { + Alignment = 0 + }; + // noncopyable: + // Don't make this class inherit noncopyable as this kills EBO (Empty Base Optimization) + // and make complex evaluator much larger than then should do. + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE evaluator_base() {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ~evaluator_base() {} +private: + EIGEN_DEVICE_FUNC evaluator_base(const evaluator_base&); + EIGEN_DEVICE_FUNC const evaluator_base& operator=(const evaluator_base&); +}; + +// -------------------- Matrix and Array -------------------- +// +// evaluator is a common base class for the +// Matrix and Array evaluators. +// Here we directly specialize evaluator. This is not really a unary expression, and it is, by definition, dense, +// so no need for more sophisticated dispatching. + +// this helper permits to completely eliminate m_outerStride if it is known at compiletime. +template class plainobjectbase_evaluator_data { +public: + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + plainobjectbase_evaluator_data(const Scalar* ptr, Index outerStride) : data(ptr) + { +#ifndef EIGEN_INTERNAL_DEBUGGING + EIGEN_UNUSED_VARIABLE(outerStride); +#endif + eigen_internal_assert(outerStride==OuterStride); + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index outerStride() const EIGEN_NOEXCEPT { return OuterStride; } + const Scalar *data; +}; + +template class plainobjectbase_evaluator_data { +public: + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + plainobjectbase_evaluator_data(const Scalar* ptr, Index outerStride) : data(ptr), m_outerStride(outerStride) {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Index outerStride() const { return m_outerStride; } + const Scalar *data; +protected: + Index m_outerStride; +}; + +template +struct evaluator > + : evaluator_base +{ + typedef PlainObjectBase PlainObjectType; + typedef typename PlainObjectType::Scalar Scalar; + typedef typename PlainObjectType::CoeffReturnType CoeffReturnType; + + enum { + IsRowMajor = PlainObjectType::IsRowMajor, + IsVectorAtCompileTime = PlainObjectType::IsVectorAtCompileTime, + RowsAtCompileTime = PlainObjectType::RowsAtCompileTime, + ColsAtCompileTime = PlainObjectType::ColsAtCompileTime, + + CoeffReadCost = NumTraits::ReadCost, + Flags = traits::EvaluatorFlags, + Alignment = traits::Alignment + }; + enum { + // We do not need to know the outer stride for vectors + OuterStrideAtCompileTime = IsVectorAtCompileTime ? 0 + : int(IsRowMajor) ? ColsAtCompileTime + : RowsAtCompileTime + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + evaluator() + : m_d(0,OuterStrideAtCompileTime) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const PlainObjectType& m) + : m_d(m.data(),IsVectorAtCompileTime ? 0 : m.outerStride()) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + if (IsRowMajor) + return m_d.data[row * m_d.outerStride() + col]; + else + return m_d.data[row + col * m_d.outerStride()]; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_d.data[index]; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + if (IsRowMajor) + return const_cast(m_d.data)[row * m_d.outerStride() + col]; + else + return const_cast(m_d.data)[row + col * m_d.outerStride()]; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return const_cast(m_d.data)[index]; + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + if (IsRowMajor) + return ploadt(m_d.data + row * m_d.outerStride() + col); + else + return ploadt(m_d.data + row + col * m_d.outerStride()); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return ploadt(m_d.data + index); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index row, Index col, const PacketType& x) + { + if (IsRowMajor) + return pstoret + (const_cast(m_d.data) + row * m_d.outerStride() + col, x); + else + return pstoret + (const_cast(m_d.data) + row + col * m_d.outerStride(), x); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index index, const PacketType& x) + { + return pstoret(const_cast(m_d.data) + index, x); + } + +protected: + + plainobjectbase_evaluator_data m_d; +}; + +template +struct evaluator > + : evaluator > > +{ + typedef Matrix XprType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + evaluator() {} + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& m) + : evaluator >(m) + { } +}; + +template +struct evaluator > + : evaluator > > +{ + typedef Array XprType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + evaluator() {} + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& m) + : evaluator >(m) + { } +}; + +// -------------------- Transpose -------------------- + +template +struct unary_evaluator, IndexBased> + : evaluator_base > +{ + typedef Transpose XprType; + + enum { + CoeffReadCost = evaluator::CoeffReadCost, + Flags = evaluator::Flags ^ RowMajorBit, + Alignment = evaluator::Alignment + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& t) : m_argImpl(t.nestedExpression()) {} + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_argImpl.coeff(col, row); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_argImpl.coeff(index); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_argImpl.coeffRef(col, row); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + typename XprType::Scalar& coeffRef(Index index) + { + return m_argImpl.coeffRef(index); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + return m_argImpl.template packet(col, row); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return m_argImpl.template packet(index); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index row, Index col, const PacketType& x) + { + m_argImpl.template writePacket(col, row, x); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index index, const PacketType& x) + { + m_argImpl.template writePacket(index, x); + } + +protected: + evaluator m_argImpl; +}; + +// -------------------- CwiseNullaryOp -------------------- +// Like Matrix and Array, this is not really a unary expression, so we directly specialize evaluator. +// Likewise, there is not need to more sophisticated dispatching here. + +template::value, + bool has_unary = has_unary_operator::value, + bool has_binary = has_binary_operator::value> +struct nullary_wrapper +{ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i, IndexType j) const { return op(i,j); } + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i) const { return op(i); } + + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i, IndexType j) const { return op.template packetOp(i,j); } + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i) const { return op.template packetOp(i); } +}; + +template +struct nullary_wrapper +{ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType=0, IndexType=0) const { return op(); } + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType=0, IndexType=0) const { return op.template packetOp(); } +}; + +template +struct nullary_wrapper +{ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i, IndexType j=0) const { return op(i,j); } + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i, IndexType j=0) const { return op.template packetOp(i,j); } +}; + +// We need the following specialization for vector-only functors assigned to a runtime vector, +// for instance, using linspace and assigning a RowVectorXd to a MatrixXd or even a row of a MatrixXd. +// In this case, i==0 and j is used for the actual iteration. +template +struct nullary_wrapper +{ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i, IndexType j) const { + eigen_assert(i==0 || j==0); + return op(i+j); + } + template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i, IndexType j) const { + eigen_assert(i==0 || j==0); + return op.template packetOp(i+j); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i) const { return op(i); } + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i) const { return op.template packetOp(i); } +}; + +template +struct nullary_wrapper {}; + +#if 0 && EIGEN_COMP_MSVC>0 +// Disable this ugly workaround. This is now handled in traits::match, +// but this piece of code might still become handly if some other weird compilation +// erros pop up again. + +// MSVC exhibits a weird compilation error when +// compiling: +// Eigen::MatrixXf A = MatrixXf::Random(3,3); +// Ref R = 2.f*A; +// and that has_*ary_operator> have not been instantiated yet. +// The "problem" is that evaluator<2.f*A> is instantiated by traits::match<2.f*A> +// and at that time has_*ary_operator returns true regardless of T. +// Then nullary_wrapper is badly instantiated as nullary_wrapper<.,.,true,true,true>. +// The trick is thus to defer the proper instantiation of nullary_wrapper when coeff(), +// and packet() are really instantiated as implemented below: + +// This is a simple wrapper around Index to enforce the re-instantiation of +// has_*ary_operator when needed. +template struct nullary_wrapper_workaround_msvc { + nullary_wrapper_workaround_msvc(const T&); + operator T()const; +}; + +template +struct nullary_wrapper +{ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i, IndexType j) const { + return nullary_wrapper >::value, + has_unary_operator >::value, + has_binary_operator >::value>().operator()(op,i,j); + } + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator()(const NullaryOp& op, IndexType i) const { + return nullary_wrapper >::value, + has_unary_operator >::value, + has_binary_operator >::value>().operator()(op,i); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i, IndexType j) const { + return nullary_wrapper >::value, + has_unary_operator >::value, + has_binary_operator >::value>().template packetOp(op,i,j); + } + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp(const NullaryOp& op, IndexType i) const { + return nullary_wrapper >::value, + has_unary_operator >::value, + has_binary_operator >::value>().template packetOp(op,i); + } +}; +#endif // MSVC workaround + +template +struct evaluator > + : evaluator_base > +{ + typedef CwiseNullaryOp XprType; + typedef typename internal::remove_all::type PlainObjectTypeCleaned; + + enum { + CoeffReadCost = internal::functor_traits::Cost, + + Flags = (evaluator::Flags + & ( HereditaryBits + | (functor_has_linear_access::ret ? LinearAccessBit : 0) + | (functor_traits::PacketAccess ? PacketAccessBit : 0))) + | (functor_traits::IsRepeatable ? 0 : EvalBeforeNestingBit), + Alignment = AlignedMax + }; + + EIGEN_DEVICE_FUNC explicit evaluator(const XprType& n) + : m_functor(n.functor()), m_wrapper() + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::CoeffReturnType CoeffReturnType; + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(IndexType row, IndexType col) const + { + return m_wrapper(m_functor, row, col); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(IndexType index) const + { + return m_wrapper(m_functor,index); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(IndexType row, IndexType col) const + { + return m_wrapper.template packetOp(m_functor, row, col); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(IndexType index) const + { + return m_wrapper.template packetOp(m_functor, index); + } + +protected: + const NullaryOp m_functor; + const internal::nullary_wrapper m_wrapper; +}; + +// -------------------- CwiseUnaryOp -------------------- + +template +struct unary_evaluator, IndexBased > + : evaluator_base > +{ + typedef CwiseUnaryOp XprType; + + enum { + CoeffReadCost = int(evaluator::CoeffReadCost) + int(functor_traits::Cost), + + Flags = evaluator::Flags + & (HereditaryBits | LinearAccessBit | (functor_traits::PacketAccess ? PacketAccessBit : 0)), + Alignment = evaluator::Alignment + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& op) : m_d(op) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(functor_traits::Cost); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_d.func()(m_d.argImpl.coeff(row, col)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_d.func()(m_d.argImpl.coeff(index)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + return m_d.func().packetOp(m_d.argImpl.template packet(row, col)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return m_d.func().packetOp(m_d.argImpl.template packet(index)); + } + +protected: + + // this helper permits to completely eliminate the functor if it is empty + struct Data + { + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Data(const XprType& xpr) : op(xpr.functor()), argImpl(xpr.nestedExpression()) {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const UnaryOp& func() const { return op; } + UnaryOp op; + evaluator argImpl; + }; + + Data m_d; +}; + +// -------------------- CwiseTernaryOp -------------------- + +// this is a ternary expression +template +struct evaluator > + : public ternary_evaluator > +{ + typedef CwiseTernaryOp XprType; + typedef ternary_evaluator > Base; + + EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) : Base(xpr) {} +}; + +template +struct ternary_evaluator, IndexBased, IndexBased> + : evaluator_base > +{ + typedef CwiseTernaryOp XprType; + + enum { + CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), + + Arg1Flags = evaluator::Flags, + Arg2Flags = evaluator::Flags, + Arg3Flags = evaluator::Flags, + SameType = is_same::value && is_same::value, + StorageOrdersAgree = (int(Arg1Flags)&RowMajorBit)==(int(Arg2Flags)&RowMajorBit) && (int(Arg1Flags)&RowMajorBit)==(int(Arg3Flags)&RowMajorBit), + Flags0 = (int(Arg1Flags) | int(Arg2Flags) | int(Arg3Flags)) & ( + HereditaryBits + | (int(Arg1Flags) & int(Arg2Flags) & int(Arg3Flags) & + ( (StorageOrdersAgree ? LinearAccessBit : 0) + | (functor_traits::PacketAccess && StorageOrdersAgree && SameType ? PacketAccessBit : 0) + ) + ) + ), + Flags = (Flags0 & ~RowMajorBit) | (Arg1Flags & RowMajorBit), + Alignment = EIGEN_PLAIN_ENUM_MIN( + EIGEN_PLAIN_ENUM_MIN(evaluator::Alignment, evaluator::Alignment), + evaluator::Alignment) + }; + + EIGEN_DEVICE_FUNC explicit ternary_evaluator(const XprType& xpr) : m_d(xpr) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(functor_traits::Cost); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_d.func()(m_d.arg1Impl.coeff(row, col), m_d.arg2Impl.coeff(row, col), m_d.arg3Impl.coeff(row, col)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_d.func()(m_d.arg1Impl.coeff(index), m_d.arg2Impl.coeff(index), m_d.arg3Impl.coeff(index)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + return m_d.func().packetOp(m_d.arg1Impl.template packet(row, col), + m_d.arg2Impl.template packet(row, col), + m_d.arg3Impl.template packet(row, col)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return m_d.func().packetOp(m_d.arg1Impl.template packet(index), + m_d.arg2Impl.template packet(index), + m_d.arg3Impl.template packet(index)); + } + +protected: + // this helper permits to completely eliminate the functor if it is empty + struct Data + { + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Data(const XprType& xpr) : op(xpr.functor()), arg1Impl(xpr.arg1()), arg2Impl(xpr.arg2()), arg3Impl(xpr.arg3()) {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const TernaryOp& func() const { return op; } + TernaryOp op; + evaluator arg1Impl; + evaluator arg2Impl; + evaluator arg3Impl; + }; + + Data m_d; +}; + +// -------------------- CwiseBinaryOp -------------------- + +// this is a binary expression +template +struct evaluator > + : public binary_evaluator > +{ + typedef CwiseBinaryOp XprType; + typedef binary_evaluator > Base; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& xpr) : Base(xpr) {} +}; + +template +struct binary_evaluator, IndexBased, IndexBased> + : evaluator_base > +{ + typedef CwiseBinaryOp XprType; + + enum { + CoeffReadCost = int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost) + int(functor_traits::Cost), + + LhsFlags = evaluator::Flags, + RhsFlags = evaluator::Flags, + SameType = is_same::value, + StorageOrdersAgree = (int(LhsFlags)&RowMajorBit)==(int(RhsFlags)&RowMajorBit), + Flags0 = (int(LhsFlags) | int(RhsFlags)) & ( + HereditaryBits + | (int(LhsFlags) & int(RhsFlags) & + ( (StorageOrdersAgree ? LinearAccessBit : 0) + | (functor_traits::PacketAccess && StorageOrdersAgree && SameType ? PacketAccessBit : 0) + ) + ) + ), + Flags = (Flags0 & ~RowMajorBit) | (LhsFlags & RowMajorBit), + Alignment = EIGEN_PLAIN_ENUM_MIN(evaluator::Alignment,evaluator::Alignment) + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit binary_evaluator(const XprType& xpr) : m_d(xpr) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(functor_traits::Cost); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_d.func()(m_d.lhsImpl.coeff(row, col), m_d.rhsImpl.coeff(row, col)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_d.func()(m_d.lhsImpl.coeff(index), m_d.rhsImpl.coeff(index)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + return m_d.func().packetOp(m_d.lhsImpl.template packet(row, col), + m_d.rhsImpl.template packet(row, col)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return m_d.func().packetOp(m_d.lhsImpl.template packet(index), + m_d.rhsImpl.template packet(index)); + } + +protected: + + // this helper permits to completely eliminate the functor if it is empty + struct Data + { + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Data(const XprType& xpr) : op(xpr.functor()), lhsImpl(xpr.lhs()), rhsImpl(xpr.rhs()) {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const BinaryOp& func() const { return op; } + BinaryOp op; + evaluator lhsImpl; + evaluator rhsImpl; + }; + + Data m_d; +}; + +// -------------------- CwiseUnaryView -------------------- + +template +struct unary_evaluator, IndexBased> + : evaluator_base > +{ + typedef CwiseUnaryView XprType; + + enum { + CoeffReadCost = int(evaluator::CoeffReadCost) + int(functor_traits::Cost), + + Flags = (evaluator::Flags & (HereditaryBits | LinearAccessBit | DirectAccessBit)), + + Alignment = 0 // FIXME it is not very clear why alignment is necessarily lost... + }; + + EIGEN_DEVICE_FUNC explicit unary_evaluator(const XprType& op) : m_d(op) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(functor_traits::Cost); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_d.func()(m_d.argImpl.coeff(row, col)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_d.func()(m_d.argImpl.coeff(index)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_d.func()(m_d.argImpl.coeffRef(row, col)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return m_d.func()(m_d.argImpl.coeffRef(index)); + } + +protected: + + // this helper permits to completely eliminate the functor if it is empty + struct Data + { + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Data(const XprType& xpr) : op(xpr.functor()), argImpl(xpr.nestedExpression()) {} + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const UnaryOp& func() const { return op; } + UnaryOp op; + evaluator argImpl; + }; + + Data m_d; +}; + +// -------------------- Map -------------------- + +// FIXME perhaps the PlainObjectType could be provided by Derived::PlainObject ? +// but that might complicate template specialization +template +struct mapbase_evaluator; + +template +struct mapbase_evaluator : evaluator_base +{ + typedef Derived XprType; + typedef typename XprType::PointerType PointerType; + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + enum { + IsRowMajor = XprType::RowsAtCompileTime, + ColsAtCompileTime = XprType::ColsAtCompileTime, + CoeffReadCost = NumTraits::ReadCost + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit mapbase_evaluator(const XprType& map) + : m_data(const_cast(map.data())), + m_innerStride(map.innerStride()), + m_outerStride(map.outerStride()) + { + EIGEN_STATIC_ASSERT(EIGEN_IMPLIES(evaluator::Flags&PacketAccessBit, internal::inner_stride_at_compile_time::ret==1), + PACKET_ACCESS_REQUIRES_TO_HAVE_INNER_STRIDE_FIXED_TO_1); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_data[col * colStride() + row * rowStride()]; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_data[index * m_innerStride.value()]; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_data[col * colStride() + row * rowStride()]; + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return m_data[index * m_innerStride.value()]; + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + PointerType ptr = m_data + row * rowStride() + col * colStride(); + return internal::ploadt(ptr); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return internal::ploadt(m_data + index * m_innerStride.value()); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index row, Index col, const PacketType& x) + { + PointerType ptr = m_data + row * rowStride() + col * colStride(); + return internal::pstoret(ptr, x); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index index, const PacketType& x) + { + internal::pstoret(m_data + index * m_innerStride.value(), x); + } +protected: + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rowStride() const EIGEN_NOEXCEPT { + return XprType::IsRowMajor ? m_outerStride.value() : m_innerStride.value(); + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index colStride() const EIGEN_NOEXCEPT { + return XprType::IsRowMajor ? m_innerStride.value() : m_outerStride.value(); + } + + PointerType m_data; + const internal::variable_if_dynamic m_innerStride; + const internal::variable_if_dynamic m_outerStride; +}; + +template +struct evaluator > + : public mapbase_evaluator, PlainObjectType> +{ + typedef Map XprType; + typedef typename XprType::Scalar Scalar; + // TODO: should check for smaller packet types once we can handle multi-sized packet types + typedef typename packet_traits::type PacketScalar; + + enum { + InnerStrideAtCompileTime = StrideType::InnerStrideAtCompileTime == 0 + ? int(PlainObjectType::InnerStrideAtCompileTime) + : int(StrideType::InnerStrideAtCompileTime), + OuterStrideAtCompileTime = StrideType::OuterStrideAtCompileTime == 0 + ? int(PlainObjectType::OuterStrideAtCompileTime) + : int(StrideType::OuterStrideAtCompileTime), + HasNoInnerStride = InnerStrideAtCompileTime == 1, + HasNoOuterStride = StrideType::OuterStrideAtCompileTime == 0, + HasNoStride = HasNoInnerStride && HasNoOuterStride, + IsDynamicSize = PlainObjectType::SizeAtCompileTime==Dynamic, + + PacketAccessMask = bool(HasNoInnerStride) ? ~int(0) : ~int(PacketAccessBit), + LinearAccessMask = bool(HasNoStride) || bool(PlainObjectType::IsVectorAtCompileTime) ? ~int(0) : ~int(LinearAccessBit), + Flags = int( evaluator::Flags) & (LinearAccessMask&PacketAccessMask), + + Alignment = int(MapOptions)&int(AlignedMask) + }; + + EIGEN_DEVICE_FUNC explicit evaluator(const XprType& map) + : mapbase_evaluator(map) + { } +}; + +// -------------------- Ref -------------------- + +template +struct evaluator > + : public mapbase_evaluator, PlainObjectType> +{ + typedef Ref XprType; + + enum { + Flags = evaluator >::Flags, + Alignment = evaluator >::Alignment + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& ref) + : mapbase_evaluator(ref) + { } +}; + +// -------------------- Block -------------------- + +template::ret> struct block_evaluator; + +template +struct evaluator > + : block_evaluator +{ + typedef Block XprType; + typedef typename XprType::Scalar Scalar; + // TODO: should check for smaller packet types once we can handle multi-sized packet types + typedef typename packet_traits::type PacketScalar; + + enum { + CoeffReadCost = evaluator::CoeffReadCost, + + RowsAtCompileTime = traits::RowsAtCompileTime, + ColsAtCompileTime = traits::ColsAtCompileTime, + MaxRowsAtCompileTime = traits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = traits::MaxColsAtCompileTime, + + ArgTypeIsRowMajor = (int(evaluator::Flags)&RowMajorBit) != 0, + IsRowMajor = (MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1) ? 1 + : (MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1) ? 0 + : ArgTypeIsRowMajor, + HasSameStorageOrderAsArgType = (IsRowMajor == ArgTypeIsRowMajor), + InnerSize = IsRowMajor ? int(ColsAtCompileTime) : int(RowsAtCompileTime), + InnerStrideAtCompileTime = HasSameStorageOrderAsArgType + ? int(inner_stride_at_compile_time::ret) + : int(outer_stride_at_compile_time::ret), + OuterStrideAtCompileTime = HasSameStorageOrderAsArgType + ? int(outer_stride_at_compile_time::ret) + : int(inner_stride_at_compile_time::ret), + MaskPacketAccessBit = (InnerStrideAtCompileTime == 1 || HasSameStorageOrderAsArgType) ? PacketAccessBit : 0, + + FlagsLinearAccessBit = (RowsAtCompileTime == 1 || ColsAtCompileTime == 1 || (InnerPanel && (evaluator::Flags&LinearAccessBit))) ? LinearAccessBit : 0, + FlagsRowMajorBit = XprType::Flags&RowMajorBit, + Flags0 = evaluator::Flags & ( (HereditaryBits & ~RowMajorBit) | + DirectAccessBit | + MaskPacketAccessBit), + Flags = Flags0 | FlagsLinearAccessBit | FlagsRowMajorBit, + + PacketAlignment = unpacket_traits::alignment, + Alignment0 = (InnerPanel && (OuterStrideAtCompileTime!=Dynamic) + && (OuterStrideAtCompileTime!=0) + && (((OuterStrideAtCompileTime * int(sizeof(Scalar))) % int(PacketAlignment)) == 0)) ? int(PacketAlignment) : 0, + Alignment = EIGEN_PLAIN_ENUM_MIN(evaluator::Alignment, Alignment0) + }; + typedef block_evaluator block_evaluator_type; + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& block) : block_evaluator_type(block) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } +}; + +// no direct-access => dispatch to a unary evaluator +template +struct block_evaluator + : unary_evaluator > +{ + typedef Block XprType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit block_evaluator(const XprType& block) + : unary_evaluator(block) + {} +}; + +template +struct unary_evaluator, IndexBased> + : evaluator_base > +{ + typedef Block XprType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& block) + : m_argImpl(block.nestedExpression()), + m_startRow(block.startRow()), + m_startCol(block.startCol()), + m_linear_offset(ForwardLinearAccess?(ArgType::IsRowMajor ? block.startRow()*block.nestedExpression().cols() + block.startCol() : block.startCol()*block.nestedExpression().rows() + block.startRow()):0) + { } + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + enum { + RowsAtCompileTime = XprType::RowsAtCompileTime, + ForwardLinearAccess = (InnerPanel || int(XprType::IsRowMajor)==int(ArgType::IsRowMajor)) && bool(evaluator::Flags&LinearAccessBit) + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_argImpl.coeff(m_startRow.value() + row, m_startCol.value() + col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return linear_coeff_impl(index, bool_constant()); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_argImpl.coeffRef(m_startRow.value() + row, m_startCol.value() + col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return linear_coeffRef_impl(index, bool_constant()); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + return m_argImpl.template packet(m_startRow.value() + row, m_startCol.value() + col); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + if (ForwardLinearAccess) + return m_argImpl.template packet(m_linear_offset.value() + index); + else + return packet(RowsAtCompileTime == 1 ? 0 : index, + RowsAtCompileTime == 1 ? index : 0); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index row, Index col, const PacketType& x) + { + return m_argImpl.template writePacket(m_startRow.value() + row, m_startCol.value() + col, x); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index index, const PacketType& x) + { + if (ForwardLinearAccess) + return m_argImpl.template writePacket(m_linear_offset.value() + index, x); + else + return writePacket(RowsAtCompileTime == 1 ? 0 : index, + RowsAtCompileTime == 1 ? index : 0, + x); + } + +protected: + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType linear_coeff_impl(Index index, internal::true_type /* ForwardLinearAccess */) const + { + return m_argImpl.coeff(m_linear_offset.value() + index); + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType linear_coeff_impl(Index index, internal::false_type /* not ForwardLinearAccess */) const + { + return coeff(RowsAtCompileTime == 1 ? 0 : index, RowsAtCompileTime == 1 ? index : 0); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& linear_coeffRef_impl(Index index, internal::true_type /* ForwardLinearAccess */) + { + return m_argImpl.coeffRef(m_linear_offset.value() + index); + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& linear_coeffRef_impl(Index index, internal::false_type /* not ForwardLinearAccess */) + { + return coeffRef(RowsAtCompileTime == 1 ? 0 : index, RowsAtCompileTime == 1 ? index : 0); + } + + evaluator m_argImpl; + const variable_if_dynamic m_startRow; + const variable_if_dynamic m_startCol; + const variable_if_dynamic m_linear_offset; +}; + +// TODO: This evaluator does not actually use the child evaluator; +// all action is via the data() as returned by the Block expression. + +template +struct block_evaluator + : mapbase_evaluator, + typename Block::PlainObject> +{ + typedef Block XprType; + typedef typename XprType::Scalar Scalar; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit block_evaluator(const XprType& block) + : mapbase_evaluator(block) + { + // TODO: for the 3.3 release, this should be turned to an internal assertion, but let's keep it as is for the beta lifetime + eigen_assert(((internal::UIntPtr(block.data()) % EIGEN_PLAIN_ENUM_MAX(1,evaluator::Alignment)) == 0) && "data is not aligned"); + } +}; + + +// -------------------- Select -------------------- +// NOTE shall we introduce a ternary_evaluator? + +// TODO enable vectorization for Select +template +struct evaluator > + : evaluator_base > +{ + typedef Select XprType; + enum { + CoeffReadCost = evaluator::CoeffReadCost + + EIGEN_PLAIN_ENUM_MAX(evaluator::CoeffReadCost, + evaluator::CoeffReadCost), + + Flags = (unsigned int)evaluator::Flags & evaluator::Flags & HereditaryBits, + + Alignment = EIGEN_PLAIN_ENUM_MIN(evaluator::Alignment, evaluator::Alignment) + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& select) + : m_conditionImpl(select.conditionMatrix()), + m_thenImpl(select.thenMatrix()), + m_elseImpl(select.elseMatrix()) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + if (m_conditionImpl.coeff(row, col)) + return m_thenImpl.coeff(row, col); + else + return m_elseImpl.coeff(row, col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + if (m_conditionImpl.coeff(index)) + return m_thenImpl.coeff(index); + else + return m_elseImpl.coeff(index); + } + +protected: + evaluator m_conditionImpl; + evaluator m_thenImpl; + evaluator m_elseImpl; +}; + + +// -------------------- Replicate -------------------- + +template +struct unary_evaluator > + : evaluator_base > +{ + typedef Replicate XprType; + typedef typename XprType::CoeffReturnType CoeffReturnType; + enum { + Factor = (RowFactor==Dynamic || ColFactor==Dynamic) ? Dynamic : RowFactor*ColFactor + }; + typedef typename internal::nested_eval::type ArgTypeNested; + typedef typename internal::remove_all::type ArgTypeNestedCleaned; + + enum { + CoeffReadCost = evaluator::CoeffReadCost, + LinearAccessMask = XprType::IsVectorAtCompileTime ? LinearAccessBit : 0, + Flags = (evaluator::Flags & (HereditaryBits|LinearAccessMask) & ~RowMajorBit) | (traits::Flags & RowMajorBit), + + Alignment = evaluator::Alignment + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& replicate) + : m_arg(replicate.nestedExpression()), + m_argImpl(m_arg), + m_rows(replicate.nestedExpression().rows()), + m_cols(replicate.nestedExpression().cols()) + {} + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + // try to avoid using modulo; this is a pure optimization strategy + const Index actual_row = internal::traits::RowsAtCompileTime==1 ? 0 + : RowFactor==1 ? row + : row % m_rows.value(); + const Index actual_col = internal::traits::ColsAtCompileTime==1 ? 0 + : ColFactor==1 ? col + : col % m_cols.value(); + + return m_argImpl.coeff(actual_row, actual_col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + // try to avoid using modulo; this is a pure optimization strategy + const Index actual_index = internal::traits::RowsAtCompileTime==1 + ? (ColFactor==1 ? index : index%m_cols.value()) + : (RowFactor==1 ? index : index%m_rows.value()); + + return m_argImpl.coeff(actual_index); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + const Index actual_row = internal::traits::RowsAtCompileTime==1 ? 0 + : RowFactor==1 ? row + : row % m_rows.value(); + const Index actual_col = internal::traits::ColsAtCompileTime==1 ? 0 + : ColFactor==1 ? col + : col % m_cols.value(); + + return m_argImpl.template packet(actual_row, actual_col); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + const Index actual_index = internal::traits::RowsAtCompileTime==1 + ? (ColFactor==1 ? index : index%m_cols.value()) + : (RowFactor==1 ? index : index%m_rows.value()); + + return m_argImpl.template packet(actual_index); + } + +protected: + const ArgTypeNested m_arg; + evaluator m_argImpl; + const variable_if_dynamic m_rows; + const variable_if_dynamic m_cols; +}; + +// -------------------- MatrixWrapper and ArrayWrapper -------------------- +// +// evaluator_wrapper_base is a common base class for the +// MatrixWrapper and ArrayWrapper evaluators. + +template +struct evaluator_wrapper_base + : evaluator_base +{ + typedef typename remove_all::type ArgType; + enum { + CoeffReadCost = evaluator::CoeffReadCost, + Flags = evaluator::Flags, + Alignment = evaluator::Alignment + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator_wrapper_base(const ArgType& arg) : m_argImpl(arg) {} + + typedef typename ArgType::Scalar Scalar; + typedef typename ArgType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_argImpl.coeff(row, col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_argImpl.coeff(index); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_argImpl.coeffRef(row, col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return m_argImpl.coeffRef(index); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + return m_argImpl.template packet(row, col); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + return m_argImpl.template packet(index); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index row, Index col, const PacketType& x) + { + m_argImpl.template writePacket(row, col, x); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index index, const PacketType& x) + { + m_argImpl.template writePacket(index, x); + } + +protected: + evaluator m_argImpl; +}; + +template +struct unary_evaluator > + : evaluator_wrapper_base > +{ + typedef MatrixWrapper XprType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& wrapper) + : evaluator_wrapper_base >(wrapper.nestedExpression()) + { } +}; + +template +struct unary_evaluator > + : evaluator_wrapper_base > +{ + typedef ArrayWrapper XprType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& wrapper) + : evaluator_wrapper_base >(wrapper.nestedExpression()) + { } +}; + + +// -------------------- Reverse -------------------- + +// defined in Reverse.h: +template struct reverse_packet_cond; + +template +struct unary_evaluator > + : evaluator_base > +{ + typedef Reverse XprType; + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + enum { + IsRowMajor = XprType::IsRowMajor, + IsColMajor = !IsRowMajor, + ReverseRow = (Direction == Vertical) || (Direction == BothDirections), + ReverseCol = (Direction == Horizontal) || (Direction == BothDirections), + ReversePacket = (Direction == BothDirections) + || ((Direction == Vertical) && IsColMajor) + || ((Direction == Horizontal) && IsRowMajor), + + CoeffReadCost = evaluator::CoeffReadCost, + + // let's enable LinearAccess only with vectorization because of the product overhead + // FIXME enable DirectAccess with negative strides? + Flags0 = evaluator::Flags, + LinearAccess = ( (Direction==BothDirections) && (int(Flags0)&PacketAccessBit) ) + || ((ReverseRow && XprType::ColsAtCompileTime==1) || (ReverseCol && XprType::RowsAtCompileTime==1)) + ? LinearAccessBit : 0, + + Flags = int(Flags0) & (HereditaryBits | PacketAccessBit | LinearAccess), + + Alignment = 0 // FIXME in some rare cases, Alignment could be preserved, like a Vector4f. + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit unary_evaluator(const XprType& reverse) + : m_argImpl(reverse.nestedExpression()), + m_rows(ReverseRow ? reverse.nestedExpression().rows() : 1), + m_cols(ReverseCol ? reverse.nestedExpression().cols() : 1) + { } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_argImpl.coeff(ReverseRow ? m_rows.value() - row - 1 : row, + ReverseCol ? m_cols.value() - col - 1 : col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_argImpl.coeff(m_rows.value() * m_cols.value() - index - 1); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_argImpl.coeffRef(ReverseRow ? m_rows.value() - row - 1 : row, + ReverseCol ? m_cols.value() - col - 1 : col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return m_argImpl.coeffRef(m_rows.value() * m_cols.value() - index - 1); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index row, Index col) const + { + enum { + PacketSize = unpacket_traits::size, + OffsetRow = ReverseRow && IsColMajor ? PacketSize : 1, + OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1 + }; + typedef internal::reverse_packet_cond reverse_packet; + return reverse_packet::run(m_argImpl.template packet( + ReverseRow ? m_rows.value() - row - OffsetRow : row, + ReverseCol ? m_cols.value() - col - OffsetCol : col)); + } + + template + EIGEN_STRONG_INLINE + PacketType packet(Index index) const + { + enum { PacketSize = unpacket_traits::size }; + return preverse(m_argImpl.template packet(m_rows.value() * m_cols.value() - index - PacketSize)); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index row, Index col, const PacketType& x) + { + // FIXME we could factorize some code with packet(i,j) + enum { + PacketSize = unpacket_traits::size, + OffsetRow = ReverseRow && IsColMajor ? PacketSize : 1, + OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1 + }; + typedef internal::reverse_packet_cond reverse_packet; + m_argImpl.template writePacket( + ReverseRow ? m_rows.value() - row - OffsetRow : row, + ReverseCol ? m_cols.value() - col - OffsetCol : col, + reverse_packet::run(x)); + } + + template + EIGEN_STRONG_INLINE + void writePacket(Index index, const PacketType& x) + { + enum { PacketSize = unpacket_traits::size }; + m_argImpl.template writePacket + (m_rows.value() * m_cols.value() - index - PacketSize, preverse(x)); + } + +protected: + evaluator m_argImpl; + + // If we do not reverse rows, then we do not need to know the number of rows; same for columns + // Nonetheless, in this case it is important to set to 1 such that the coeff(index) method works fine for vectors. + const variable_if_dynamic m_rows; + const variable_if_dynamic m_cols; +}; + + +// -------------------- Diagonal -------------------- + +template +struct evaluator > + : evaluator_base > +{ + typedef Diagonal XprType; + + enum { + CoeffReadCost = evaluator::CoeffReadCost, + + Flags = (unsigned int)(evaluator::Flags & (HereditaryBits | DirectAccessBit) & ~RowMajorBit) | LinearAccessBit, + + Alignment = 0 + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit evaluator(const XprType& diagonal) + : m_argImpl(diagonal.nestedExpression()), + m_index(diagonal.index()) + { } + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index) const + { + return m_argImpl.coeff(row + rowOffset(), row + colOffset()); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index index) const + { + return m_argImpl.coeff(index + rowOffset(), index + colOffset()); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index) + { + return m_argImpl.coeffRef(row + rowOffset(), row + colOffset()); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + return m_argImpl.coeffRef(index + rowOffset(), index + colOffset()); + } + +protected: + evaluator m_argImpl; + const internal::variable_if_dynamicindex m_index; + +private: + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rowOffset() const { return m_index.value() > 0 ? 0 : -m_index.value(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index colOffset() const { return m_index.value() > 0 ? m_index.value() : 0; } +}; + + +//---------------------------------------------------------------------- +// deprecated code +//---------------------------------------------------------------------- + +// -------------------- EvalToTemp -------------------- + +// expression class for evaluating nested expression to a temporary + +template class EvalToTemp; + +template +struct traits > + : public traits +{ }; + +template +class EvalToTemp + : public dense_xpr_base >::type +{ + public: + + typedef typename dense_xpr_base::type Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(EvalToTemp) + + explicit EvalToTemp(const ArgType& arg) + : m_arg(arg) + { } + + const ArgType& arg() const + { + return m_arg; + } + + EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT + { + return m_arg.rows(); + } + + EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT + { + return m_arg.cols(); + } + + private: + const ArgType& m_arg; +}; + +template +struct evaluator > + : public evaluator +{ + typedef EvalToTemp XprType; + typedef typename ArgType::PlainObject PlainObject; + typedef evaluator Base; + + EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) + : m_result(xpr.arg()) + { + ::new (static_cast(this)) Base(m_result); + } + + // This constructor is used when nesting an EvalTo evaluator in another evaluator + EIGEN_DEVICE_FUNC evaluator(const ArgType& arg) + : m_result(arg) + { + ::new (static_cast(this)) Base(m_result); + } + +protected: + PlainObject m_result; +}; + +} // namespace internal + +} // end namespace Eigen + +#endif // EIGEN_COREEVALUATORS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CoreIterators.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CoreIterators.h new file mode 100644 index 0000000..b967196 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CoreIterators.h @@ -0,0 +1,132 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2014 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_COREITERATORS_H +#define EIGEN_COREITERATORS_H + +namespace Eigen { + +/* This file contains the respective InnerIterator definition of the expressions defined in Eigen/Core + */ + +namespace internal { + +template +class inner_iterator_selector; + +} + +/** \class InnerIterator + * \brief An InnerIterator allows to loop over the element of any matrix expression. + * + * \warning To be used with care because an evaluator is constructed every time an InnerIterator iterator is constructed. + * + * TODO: add a usage example + */ +template +class InnerIterator +{ +protected: + typedef internal::inner_iterator_selector::Kind> IteratorType; + typedef internal::evaluator EvaluatorType; + typedef typename internal::traits::Scalar Scalar; +public: + /** Construct an iterator over the \a outerId -th row or column of \a xpr */ + InnerIterator(const XprType &xpr, const Index &outerId) + : m_eval(xpr), m_iter(m_eval, outerId, xpr.innerSize()) + {} + + /// \returns the value of the current coefficient. + EIGEN_STRONG_INLINE Scalar value() const { return m_iter.value(); } + /** Increment the iterator \c *this to the next non-zero coefficient. + * Explicit zeros are not skipped over. To skip explicit zeros, see class SparseView + */ + EIGEN_STRONG_INLINE InnerIterator& operator++() { m_iter.operator++(); return *this; } + EIGEN_STRONG_INLINE InnerIterator& operator+=(Index i) { m_iter.operator+=(i); return *this; } + EIGEN_STRONG_INLINE InnerIterator operator+(Index i) + { InnerIterator result(*this); result+=i; return result; } + + + /// \returns the column or row index of the current coefficient. + EIGEN_STRONG_INLINE Index index() const { return m_iter.index(); } + /// \returns the row index of the current coefficient. + EIGEN_STRONG_INLINE Index row() const { return m_iter.row(); } + /// \returns the column index of the current coefficient. + EIGEN_STRONG_INLINE Index col() const { return m_iter.col(); } + /// \returns \c true if the iterator \c *this still references a valid coefficient. + EIGEN_STRONG_INLINE operator bool() const { return m_iter; } + +protected: + EvaluatorType m_eval; + IteratorType m_iter; +private: + // If you get here, then you're not using the right InnerIterator type, e.g.: + // SparseMatrix A; + // SparseMatrix::InnerIterator it(A,0); + template InnerIterator(const EigenBase&,Index outer); +}; + +namespace internal { + +// Generic inner iterator implementation for dense objects +template +class inner_iterator_selector +{ +protected: + typedef evaluator EvaluatorType; + typedef typename traits::Scalar Scalar; + enum { IsRowMajor = (XprType::Flags&RowMajorBit)==RowMajorBit }; + +public: + EIGEN_STRONG_INLINE inner_iterator_selector(const EvaluatorType &eval, const Index &outerId, const Index &innerSize) + : m_eval(eval), m_inner(0), m_outer(outerId), m_end(innerSize) + {} + + EIGEN_STRONG_INLINE Scalar value() const + { + return (IsRowMajor) ? m_eval.coeff(m_outer, m_inner) + : m_eval.coeff(m_inner, m_outer); + } + + EIGEN_STRONG_INLINE inner_iterator_selector& operator++() { m_inner++; return *this; } + + EIGEN_STRONG_INLINE Index index() const { return m_inner; } + inline Index row() const { return IsRowMajor ? m_outer : index(); } + inline Index col() const { return IsRowMajor ? index() : m_outer; } + + EIGEN_STRONG_INLINE operator bool() const { return m_inner < m_end && m_inner>=0; } + +protected: + const EvaluatorType& m_eval; + Index m_inner; + const Index m_outer; + const Index m_end; +}; + +// For iterator-based evaluator, inner-iterator is already implemented as +// evaluator<>::InnerIterator +template +class inner_iterator_selector + : public evaluator::InnerIterator +{ +protected: + typedef typename evaluator::InnerIterator Base; + typedef evaluator EvaluatorType; + +public: + EIGEN_STRONG_INLINE inner_iterator_selector(const EvaluatorType &eval, const Index &outerId, const Index &/*innerSize*/) + : Base(eval, outerId) + {} +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_COREITERATORS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseBinaryOp.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseBinaryOp.h new file mode 100644 index 0000000..2202b1c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseBinaryOp.h @@ -0,0 +1,183 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2014 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CWISE_BINARY_OP_H +#define EIGEN_CWISE_BINARY_OP_H + +namespace Eigen { + +namespace internal { +template +struct traits > +{ + // we must not inherit from traits since it has + // the potential to cause problems with MSVC + typedef typename remove_all::type Ancestor; + typedef typename traits::XprKind XprKind; + enum { + RowsAtCompileTime = traits::RowsAtCompileTime, + ColsAtCompileTime = traits::ColsAtCompileTime, + MaxRowsAtCompileTime = traits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = traits::MaxColsAtCompileTime + }; + + // even though we require Lhs and Rhs to have the same scalar type (see CwiseBinaryOp constructor), + // we still want to handle the case when the result type is different. + typedef typename result_of< + BinaryOp( + const typename Lhs::Scalar&, + const typename Rhs::Scalar& + ) + >::type Scalar; + typedef typename cwise_promote_storage_type::StorageKind, + typename traits::StorageKind, + BinaryOp>::ret StorageKind; + typedef typename promote_index_type::StorageIndex, + typename traits::StorageIndex>::type StorageIndex; + typedef typename Lhs::Nested LhsNested; + typedef typename Rhs::Nested RhsNested; + typedef typename remove_reference::type _LhsNested; + typedef typename remove_reference::type _RhsNested; + enum { + Flags = cwise_promote_storage_order::StorageKind,typename traits::StorageKind,_LhsNested::Flags & RowMajorBit,_RhsNested::Flags & RowMajorBit>::value + }; +}; +} // end namespace internal + +template +class CwiseBinaryOpImpl; + +/** \class CwiseBinaryOp + * \ingroup Core_Module + * + * \brief Generic expression where a coefficient-wise binary operator is applied to two expressions + * + * \tparam BinaryOp template functor implementing the operator + * \tparam LhsType the type of the left-hand side + * \tparam RhsType the type of the right-hand side + * + * This class represents an expression where a coefficient-wise binary operator is applied to two expressions. + * It is the return type of binary operators, by which we mean only those binary operators where + * both the left-hand side and the right-hand side are Eigen expressions. + * For example, the return type of matrix1+matrix2 is a CwiseBinaryOp. + * + * Most of the time, this is the only way that it is used, so you typically don't have to name + * CwiseBinaryOp types explicitly. + * + * \sa MatrixBase::binaryExpr(const MatrixBase &,const CustomBinaryOp &) const, class CwiseUnaryOp, class CwiseNullaryOp + */ +template +class CwiseBinaryOp : + public CwiseBinaryOpImpl< + BinaryOp, LhsType, RhsType, + typename internal::cwise_promote_storage_type::StorageKind, + typename internal::traits::StorageKind, + BinaryOp>::ret>, + internal::no_assignment_operator +{ + public: + + typedef typename internal::remove_all::type Functor; + typedef typename internal::remove_all::type Lhs; + typedef typename internal::remove_all::type Rhs; + + typedef typename CwiseBinaryOpImpl< + BinaryOp, LhsType, RhsType, + typename internal::cwise_promote_storage_type::StorageKind, + typename internal::traits::StorageKind, + BinaryOp>::ret>::Base Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(CwiseBinaryOp) + + typedef typename internal::ref_selector::type LhsNested; + typedef typename internal::ref_selector::type RhsNested; + typedef typename internal::remove_reference::type _LhsNested; + typedef typename internal::remove_reference::type _RhsNested; + +#if EIGEN_COMP_MSVC && EIGEN_HAS_CXX11 + //Required for Visual Studio or the Copy constructor will probably not get inlined! + EIGEN_STRONG_INLINE + CwiseBinaryOp(const CwiseBinaryOp&) = default; +#endif + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CwiseBinaryOp(const Lhs& aLhs, const Rhs& aRhs, const BinaryOp& func = BinaryOp()) + : m_lhs(aLhs), m_rhs(aRhs), m_functor(func) + { + EIGEN_CHECK_BINARY_COMPATIBILIY(BinaryOp,typename Lhs::Scalar,typename Rhs::Scalar); + // require the sizes to match + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Lhs, Rhs) + eigen_assert(aLhs.rows() == aRhs.rows() && aLhs.cols() == aRhs.cols()); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rows() const EIGEN_NOEXCEPT { + // return the fixed size type if available to enable compile time optimizations + return internal::traits::type>::RowsAtCompileTime==Dynamic ? m_rhs.rows() : m_lhs.rows(); + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index cols() const EIGEN_NOEXCEPT { + // return the fixed size type if available to enable compile time optimizations + return internal::traits::type>::ColsAtCompileTime==Dynamic ? m_rhs.cols() : m_lhs.cols(); + } + + /** \returns the left hand side nested expression */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const _LhsNested& lhs() const { return m_lhs; } + /** \returns the right hand side nested expression */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const _RhsNested& rhs() const { return m_rhs; } + /** \returns the functor representing the binary operation */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const BinaryOp& functor() const { return m_functor; } + + protected: + LhsNested m_lhs; + RhsNested m_rhs; + const BinaryOp m_functor; +}; + +// Generic API dispatcher +template +class CwiseBinaryOpImpl + : public internal::generic_xpr_base >::type +{ +public: + typedef typename internal::generic_xpr_base >::type Base; +}; + +/** replaces \c *this by \c *this - \a other. + * + * \returns a reference to \c *this + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & +MatrixBase::operator-=(const MatrixBase &other) +{ + call_assignment(derived(), other.derived(), internal::sub_assign_op()); + return derived(); +} + +/** replaces \c *this by \c *this + \a other. + * + * \returns a reference to \c *this + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & +MatrixBase::operator+=(const MatrixBase& other) +{ + call_assignment(derived(), other.derived(), internal::add_assign_op()); + return derived(); +} + +} // end namespace Eigen + +#endif // EIGEN_CWISE_BINARY_OP_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseNullaryOp.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseNullaryOp.h new file mode 100644 index 0000000..289ec51 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseNullaryOp.h @@ -0,0 +1,1001 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CWISE_NULLARY_OP_H +#define EIGEN_CWISE_NULLARY_OP_H + +namespace Eigen { + +namespace internal { +template +struct traits > : traits +{ + enum { + Flags = traits::Flags & RowMajorBit + }; +}; + +} // namespace internal + +/** \class CwiseNullaryOp + * \ingroup Core_Module + * + * \brief Generic expression of a matrix where all coefficients are defined by a functor + * + * \tparam NullaryOp template functor implementing the operator + * \tparam PlainObjectType the underlying plain matrix/array type + * + * This class represents an expression of a generic nullary operator. + * It is the return type of the Ones(), Zero(), Constant(), Identity() and Random() methods, + * and most of the time this is the only way it is used. + * + * However, if you want to write a function returning such an expression, you + * will need to use this class. + * + * The functor NullaryOp must expose one of the following method: + + + + +
\c operator()() if the procedural generation does not depend on the coefficient entries (e.g., random numbers)
\c operator()(Index i)if the procedural generation makes sense for vectors only and that it depends on the coefficient index \c i (e.g., linspace)
\c operator()(Index i,Index j)if the procedural generation depends on the matrix coordinates \c i, \c j (e.g., to generate a checkerboard with 0 and 1)
+ * It is also possible to expose the last two operators if the generation makes sense for matrices but can be optimized for vectors. + * + * See DenseBase::NullaryExpr(Index,const CustomNullaryOp&) for an example binding + * C++11 random number generators. + * + * A nullary expression can also be used to implement custom sophisticated matrix manipulations + * that cannot be covered by the existing set of natively supported matrix manipulations. + * See this \ref TopicCustomizing_NullaryExpr "page" for some examples and additional explanations + * on the behavior of CwiseNullaryOp. + * + * \sa class CwiseUnaryOp, class CwiseBinaryOp, DenseBase::NullaryExpr + */ +template +class CwiseNullaryOp : public internal::dense_xpr_base< CwiseNullaryOp >::type, internal::no_assignment_operator +{ + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(CwiseNullaryOp) + + EIGEN_DEVICE_FUNC + CwiseNullaryOp(Index rows, Index cols, const NullaryOp& func = NullaryOp()) + : m_rows(rows), m_cols(cols), m_functor(func) + { + eigen_assert(rows >= 0 + && (RowsAtCompileTime == Dynamic || RowsAtCompileTime == rows) + && cols >= 0 + && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols)); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rows() const { return m_rows.value(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index cols() const { return m_cols.value(); } + + /** \returns the functor representing the nullary operation */ + EIGEN_DEVICE_FUNC + const NullaryOp& functor() const { return m_functor; } + + protected: + const internal::variable_if_dynamic m_rows; + const internal::variable_if_dynamic m_cols; + const NullaryOp m_functor; +}; + + +/** \returns an expression of a matrix defined by a custom functor \a func + * + * The parameters \a rows and \a cols are the number of rows and of columns of + * the returned matrix. Must be compatible with this MatrixBase type. + * + * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, + * it is redundant to pass \a rows and \a cols as arguments, so Zero() should be used + * instead. + * + * The template parameter \a CustomNullaryOp is the type of the functor. + * + * \sa class CwiseNullaryOp + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +#ifndef EIGEN_PARSED_BY_DOXYGEN +const CwiseNullaryOp::PlainObject> +#else +const CwiseNullaryOp +#endif +DenseBase::NullaryExpr(Index rows, Index cols, const CustomNullaryOp& func) +{ + return CwiseNullaryOp(rows, cols, func); +} + +/** \returns an expression of a matrix defined by a custom functor \a func + * + * The parameter \a size is the size of the returned vector. + * Must be compatible with this MatrixBase type. + * + * \only_for_vectors + * + * This variant is meant to be used for dynamic-size vector types. For fixed-size types, + * it is redundant to pass \a size as argument, so Zero() should be used + * instead. + * + * The template parameter \a CustomNullaryOp is the type of the functor. + * + * Here is an example with C++11 random generators: \include random_cpp11.cpp + * Output: \verbinclude random_cpp11.out + * + * \sa class CwiseNullaryOp + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +#ifndef EIGEN_PARSED_BY_DOXYGEN +const CwiseNullaryOp::PlainObject> +#else +const CwiseNullaryOp +#endif +DenseBase::NullaryExpr(Index size, const CustomNullaryOp& func) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + if(RowsAtCompileTime == 1) return CwiseNullaryOp(1, size, func); + else return CwiseNullaryOp(size, 1, func); +} + +/** \returns an expression of a matrix defined by a custom functor \a func + * + * This variant is only for fixed-size DenseBase types. For dynamic-size types, you + * need to use the variants taking size arguments. + * + * The template parameter \a CustomNullaryOp is the type of the functor. + * + * \sa class CwiseNullaryOp + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +#ifndef EIGEN_PARSED_BY_DOXYGEN +const CwiseNullaryOp::PlainObject> +#else +const CwiseNullaryOp +#endif +DenseBase::NullaryExpr(const CustomNullaryOp& func) +{ + return CwiseNullaryOp(RowsAtCompileTime, ColsAtCompileTime, func); +} + +/** \returns an expression of a constant matrix of value \a value + * + * The parameters \a rows and \a cols are the number of rows and of columns of + * the returned matrix. Must be compatible with this DenseBase type. + * + * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, + * it is redundant to pass \a rows and \a cols as arguments, so Zero() should be used + * instead. + * + * The template parameter \a CustomNullaryOp is the type of the functor. + * + * \sa class CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Constant(Index rows, Index cols, const Scalar& value) +{ + return DenseBase::NullaryExpr(rows, cols, internal::scalar_constant_op(value)); +} + +/** \returns an expression of a constant matrix of value \a value + * + * The parameter \a size is the size of the returned vector. + * Must be compatible with this DenseBase type. + * + * \only_for_vectors + * + * This variant is meant to be used for dynamic-size vector types. For fixed-size types, + * it is redundant to pass \a size as argument, so Zero() should be used + * instead. + * + * The template parameter \a CustomNullaryOp is the type of the functor. + * + * \sa class CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Constant(Index size, const Scalar& value) +{ + return DenseBase::NullaryExpr(size, internal::scalar_constant_op(value)); +} + +/** \returns an expression of a constant matrix of value \a value + * + * This variant is only for fixed-size DenseBase types. For dynamic-size types, you + * need to use the variants taking size arguments. + * + * The template parameter \a CustomNullaryOp is the type of the functor. + * + * \sa class CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Constant(const Scalar& value) +{ + EIGEN_STATIC_ASSERT_FIXED_SIZE(Derived) + return DenseBase::NullaryExpr(RowsAtCompileTime, ColsAtCompileTime, internal::scalar_constant_op(value)); +} + +/** \deprecated because of accuracy loss. In Eigen 3.3, it is an alias for LinSpaced(Index,const Scalar&,const Scalar&) + * + * \only_for_vectors + * + * Example: \include DenseBase_LinSpaced_seq_deprecated.cpp + * Output: \verbinclude DenseBase_LinSpaced_seq_deprecated.out + * + * \sa LinSpaced(Index,const Scalar&, const Scalar&), setLinSpaced(Index,const Scalar&,const Scalar&) + */ +template +EIGEN_DEPRECATED EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::RandomAccessLinSpacedReturnType +DenseBase::LinSpaced(Sequential_t, Index size, const Scalar& low, const Scalar& high) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + return DenseBase::NullaryExpr(size, internal::linspaced_op(low,high,size)); +} + +/** \deprecated because of accuracy loss. In Eigen 3.3, it is an alias for LinSpaced(const Scalar&,const Scalar&) + * + * \sa LinSpaced(const Scalar&, const Scalar&) + */ +template +EIGEN_DEPRECATED EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::RandomAccessLinSpacedReturnType +DenseBase::LinSpaced(Sequential_t, const Scalar& low, const Scalar& high) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + EIGEN_STATIC_ASSERT_FIXED_SIZE(Derived) + return DenseBase::NullaryExpr(Derived::SizeAtCompileTime, internal::linspaced_op(low,high,Derived::SizeAtCompileTime)); +} + +/** + * \brief Sets a linearly spaced vector. + * + * The function generates 'size' equally spaced values in the closed interval [low,high]. + * When size is set to 1, a vector of length 1 containing 'high' is returned. + * + * \only_for_vectors + * + * Example: \include DenseBase_LinSpaced.cpp + * Output: \verbinclude DenseBase_LinSpaced.out + * + * For integer scalar types, an even spacing is possible if and only if the length of the range, + * i.e., \c high-low is a scalar multiple of \c size-1, or if \c size is a scalar multiple of the + * number of values \c high-low+1 (meaning each value can be repeated the same number of time). + * If one of these two considions is not satisfied, then \c high is lowered to the largest value + * satisfying one of this constraint. + * Here are some examples: + * + * Example: \include DenseBase_LinSpacedInt.cpp + * Output: \verbinclude DenseBase_LinSpacedInt.out + * + * \sa setLinSpaced(Index,const Scalar&,const Scalar&), CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::RandomAccessLinSpacedReturnType +DenseBase::LinSpaced(Index size, const Scalar& low, const Scalar& high) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + return DenseBase::NullaryExpr(size, internal::linspaced_op(low,high,size)); +} + +/** + * \copydoc DenseBase::LinSpaced(Index, const Scalar&, const Scalar&) + * Special version for fixed size types which does not require the size parameter. + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::RandomAccessLinSpacedReturnType +DenseBase::LinSpaced(const Scalar& low, const Scalar& high) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + EIGEN_STATIC_ASSERT_FIXED_SIZE(Derived) + return DenseBase::NullaryExpr(Derived::SizeAtCompileTime, internal::linspaced_op(low,high,Derived::SizeAtCompileTime)); +} + +/** \returns true if all coefficients in this matrix are approximately equal to \a val, to within precision \a prec */ +template +EIGEN_DEVICE_FUNC bool DenseBase::isApproxToConstant +(const Scalar& val, const RealScalar& prec) const +{ + typename internal::nested_eval::type self(derived()); + for(Index j = 0; j < cols(); ++j) + for(Index i = 0; i < rows(); ++i) + if(!internal::isApprox(self.coeff(i, j), val, prec)) + return false; + return true; +} + +/** This is just an alias for isApproxToConstant(). + * + * \returns true if all coefficients in this matrix are approximately equal to \a value, to within precision \a prec */ +template +EIGEN_DEVICE_FUNC bool DenseBase::isConstant +(const Scalar& val, const RealScalar& prec) const +{ + return isApproxToConstant(val, prec); +} + +/** Alias for setConstant(): sets all coefficients in this expression to \a val. + * + * \sa setConstant(), Constant(), class CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void DenseBase::fill(const Scalar& val) +{ + setConstant(val); +} + +/** Sets all coefficients in this expression to value \a val. + * + * \sa fill(), setConstant(Index,const Scalar&), setConstant(Index,Index,const Scalar&), setZero(), setOnes(), Constant(), class CwiseNullaryOp, setZero(), setOnes() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase::setConstant(const Scalar& val) +{ + return derived() = Constant(rows(), cols(), val); +} + +/** Resizes to the given \a size, and sets all coefficients in this expression to the given value \a val. + * + * \only_for_vectors + * + * Example: \include Matrix_setConstant_int.cpp + * Output: \verbinclude Matrix_setConstant_int.out + * + * \sa MatrixBase::setConstant(const Scalar&), setConstant(Index,Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setConstant(Index size, const Scalar& val) +{ + resize(size); + return setConstant(val); +} + +/** Resizes to the given size, and sets all coefficients in this expression to the given value \a val. + * + * \param rows the new number of rows + * \param cols the new number of columns + * \param val the value to which all coefficients are set + * + * Example: \include Matrix_setConstant_int_int.cpp + * Output: \verbinclude Matrix_setConstant_int_int.out + * + * \sa MatrixBase::setConstant(const Scalar&), setConstant(Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setConstant(Index rows, Index cols, const Scalar& val) +{ + resize(rows, cols); + return setConstant(val); +} + +/** Resizes to the given size, changing only the number of columns, and sets all + * coefficients in this expression to the given value \a val. For the parameter + * of type NoChange_t, just pass the special value \c NoChange. + * + * \sa MatrixBase::setConstant(const Scalar&), setConstant(Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setConstant(NoChange_t, Index cols, const Scalar& val) +{ + return setConstant(rows(), cols, val); +} + +/** Resizes to the given size, changing only the number of rows, and sets all + * coefficients in this expression to the given value \a val. For the parameter + * of type NoChange_t, just pass the special value \c NoChange. + * + * \sa MatrixBase::setConstant(const Scalar&), setConstant(Index,const Scalar&), class CwiseNullaryOp, MatrixBase::Constant(const Scalar&) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setConstant(Index rows, NoChange_t, const Scalar& val) +{ + return setConstant(rows, cols(), val); +} + + +/** + * \brief Sets a linearly spaced vector. + * + * The function generates 'size' equally spaced values in the closed interval [low,high]. + * When size is set to 1, a vector of length 1 containing 'high' is returned. + * + * \only_for_vectors + * + * Example: \include DenseBase_setLinSpaced.cpp + * Output: \verbinclude DenseBase_setLinSpaced.out + * + * For integer scalar types, do not miss the explanations on the definition + * of \link LinSpaced(Index,const Scalar&,const Scalar&) even spacing \endlink. + * + * \sa LinSpaced(Index,const Scalar&,const Scalar&), CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase::setLinSpaced(Index newSize, const Scalar& low, const Scalar& high) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + return derived() = Derived::NullaryExpr(newSize, internal::linspaced_op(low,high,newSize)); +} + +/** + * \brief Sets a linearly spaced vector. + * + * The function fills \c *this with equally spaced values in the closed interval [low,high]. + * When size is set to 1, a vector of length 1 containing 'high' is returned. + * + * \only_for_vectors + * + * For integer scalar types, do not miss the explanations on the definition + * of \link LinSpaced(Index,const Scalar&,const Scalar&) even spacing \endlink. + * + * \sa LinSpaced(Index,const Scalar&,const Scalar&), setLinSpaced(Index, const Scalar&, const Scalar&), CwiseNullaryOp + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase::setLinSpaced(const Scalar& low, const Scalar& high) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + return setLinSpaced(size(), low, high); +} + +// zero: + +/** \returns an expression of a zero matrix. + * + * The parameters \a rows and \a cols are the number of rows and of columns of + * the returned matrix. Must be compatible with this MatrixBase type. + * + * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, + * it is redundant to pass \a rows and \a cols as arguments, so Zero() should be used + * instead. + * + * Example: \include MatrixBase_zero_int_int.cpp + * Output: \verbinclude MatrixBase_zero_int_int.out + * + * \sa Zero(), Zero(Index) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Zero(Index rows, Index cols) +{ + return Constant(rows, cols, Scalar(0)); +} + +/** \returns an expression of a zero vector. + * + * The parameter \a size is the size of the returned vector. + * Must be compatible with this MatrixBase type. + * + * \only_for_vectors + * + * This variant is meant to be used for dynamic-size vector types. For fixed-size types, + * it is redundant to pass \a size as argument, so Zero() should be used + * instead. + * + * Example: \include MatrixBase_zero_int.cpp + * Output: \verbinclude MatrixBase_zero_int.out + * + * \sa Zero(), Zero(Index,Index) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Zero(Index size) +{ + return Constant(size, Scalar(0)); +} + +/** \returns an expression of a fixed-size zero matrix or vector. + * + * This variant is only for fixed-size MatrixBase types. For dynamic-size types, you + * need to use the variants taking size arguments. + * + * Example: \include MatrixBase_zero.cpp + * Output: \verbinclude MatrixBase_zero.out + * + * \sa Zero(Index), Zero(Index,Index) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Zero() +{ + return Constant(Scalar(0)); +} + +/** \returns true if *this is approximately equal to the zero matrix, + * within the precision given by \a prec. + * + * Example: \include MatrixBase_isZero.cpp + * Output: \verbinclude MatrixBase_isZero.out + * + * \sa class CwiseNullaryOp, Zero() + */ +template +EIGEN_DEVICE_FUNC bool DenseBase::isZero(const RealScalar& prec) const +{ + typename internal::nested_eval::type self(derived()); + for(Index j = 0; j < cols(); ++j) + for(Index i = 0; i < rows(); ++i) + if(!internal::isMuchSmallerThan(self.coeff(i, j), static_cast(1), prec)) + return false; + return true; +} + +/** Sets all coefficients in this expression to zero. + * + * Example: \include MatrixBase_setZero.cpp + * Output: \verbinclude MatrixBase_setZero.out + * + * \sa class CwiseNullaryOp, Zero() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase::setZero() +{ + return setConstant(Scalar(0)); +} + +/** Resizes to the given \a size, and sets all coefficients in this expression to zero. + * + * \only_for_vectors + * + * Example: \include Matrix_setZero_int.cpp + * Output: \verbinclude Matrix_setZero_int.out + * + * \sa DenseBase::setZero(), setZero(Index,Index), class CwiseNullaryOp, DenseBase::Zero() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setZero(Index newSize) +{ + resize(newSize); + return setConstant(Scalar(0)); +} + +/** Resizes to the given size, and sets all coefficients in this expression to zero. + * + * \param rows the new number of rows + * \param cols the new number of columns + * + * Example: \include Matrix_setZero_int_int.cpp + * Output: \verbinclude Matrix_setZero_int_int.out + * + * \sa DenseBase::setZero(), setZero(Index), class CwiseNullaryOp, DenseBase::Zero() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setZero(Index rows, Index cols) +{ + resize(rows, cols); + return setConstant(Scalar(0)); +} + +/** Resizes to the given size, changing only the number of columns, and sets all + * coefficients in this expression to zero. For the parameter of type NoChange_t, + * just pass the special value \c NoChange. + * + * \sa DenseBase::setZero(), setZero(Index), setZero(Index, Index), setZero(Index, NoChange_t), class CwiseNullaryOp, DenseBase::Zero() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setZero(NoChange_t, Index cols) +{ + return setZero(rows(), cols); +} + +/** Resizes to the given size, changing only the number of rows, and sets all + * coefficients in this expression to zero. For the parameter of type NoChange_t, + * just pass the special value \c NoChange. + * + * \sa DenseBase::setZero(), setZero(Index), setZero(Index, Index), setZero(NoChange_t, Index), class CwiseNullaryOp, DenseBase::Zero() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setZero(Index rows, NoChange_t) +{ + return setZero(rows, cols()); +} + +// ones: + +/** \returns an expression of a matrix where all coefficients equal one. + * + * The parameters \a rows and \a cols are the number of rows and of columns of + * the returned matrix. Must be compatible with this MatrixBase type. + * + * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, + * it is redundant to pass \a rows and \a cols as arguments, so Ones() should be used + * instead. + * + * Example: \include MatrixBase_ones_int_int.cpp + * Output: \verbinclude MatrixBase_ones_int_int.out + * + * \sa Ones(), Ones(Index), isOnes(), class Ones + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Ones(Index rows, Index cols) +{ + return Constant(rows, cols, Scalar(1)); +} + +/** \returns an expression of a vector where all coefficients equal one. + * + * The parameter \a newSize is the size of the returned vector. + * Must be compatible with this MatrixBase type. + * + * \only_for_vectors + * + * This variant is meant to be used for dynamic-size vector types. For fixed-size types, + * it is redundant to pass \a size as argument, so Ones() should be used + * instead. + * + * Example: \include MatrixBase_ones_int.cpp + * Output: \verbinclude MatrixBase_ones_int.out + * + * \sa Ones(), Ones(Index,Index), isOnes(), class Ones + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Ones(Index newSize) +{ + return Constant(newSize, Scalar(1)); +} + +/** \returns an expression of a fixed-size matrix or vector where all coefficients equal one. + * + * This variant is only for fixed-size MatrixBase types. For dynamic-size types, you + * need to use the variants taking size arguments. + * + * Example: \include MatrixBase_ones.cpp + * Output: \verbinclude MatrixBase_ones.out + * + * \sa Ones(Index), Ones(Index,Index), isOnes(), class Ones + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename DenseBase::ConstantReturnType +DenseBase::Ones() +{ + return Constant(Scalar(1)); +} + +/** \returns true if *this is approximately equal to the matrix where all coefficients + * are equal to 1, within the precision given by \a prec. + * + * Example: \include MatrixBase_isOnes.cpp + * Output: \verbinclude MatrixBase_isOnes.out + * + * \sa class CwiseNullaryOp, Ones() + */ +template +EIGEN_DEVICE_FUNC bool DenseBase::isOnes +(const RealScalar& prec) const +{ + return isApproxToConstant(Scalar(1), prec); +} + +/** Sets all coefficients in this expression to one. + * + * Example: \include MatrixBase_setOnes.cpp + * Output: \verbinclude MatrixBase_setOnes.out + * + * \sa class CwiseNullaryOp, Ones() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase::setOnes() +{ + return setConstant(Scalar(1)); +} + +/** Resizes to the given \a newSize, and sets all coefficients in this expression to one. + * + * \only_for_vectors + * + * Example: \include Matrix_setOnes_int.cpp + * Output: \verbinclude Matrix_setOnes_int.out + * + * \sa MatrixBase::setOnes(), setOnes(Index,Index), class CwiseNullaryOp, MatrixBase::Ones() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setOnes(Index newSize) +{ + resize(newSize); + return setConstant(Scalar(1)); +} + +/** Resizes to the given size, and sets all coefficients in this expression to one. + * + * \param rows the new number of rows + * \param cols the new number of columns + * + * Example: \include Matrix_setOnes_int_int.cpp + * Output: \verbinclude Matrix_setOnes_int_int.out + * + * \sa MatrixBase::setOnes(), setOnes(Index), class CwiseNullaryOp, MatrixBase::Ones() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setOnes(Index rows, Index cols) +{ + resize(rows, cols); + return setConstant(Scalar(1)); +} + +/** Resizes to the given size, changing only the number of rows, and sets all + * coefficients in this expression to one. For the parameter of type NoChange_t, + * just pass the special value \c NoChange. + * + * \sa MatrixBase::setOnes(), setOnes(Index), setOnes(Index, Index), setOnes(NoChange_t, Index), class CwiseNullaryOp, MatrixBase::Ones() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setOnes(Index rows, NoChange_t) +{ + return setOnes(rows, cols()); +} + +/** Resizes to the given size, changing only the number of columns, and sets all + * coefficients in this expression to one. For the parameter of type NoChange_t, + * just pass the special value \c NoChange. + * + * \sa MatrixBase::setOnes(), setOnes(Index), setOnes(Index, Index), setOnes(Index, NoChange_t) class CwiseNullaryOp, MatrixBase::Ones() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setOnes(NoChange_t, Index cols) +{ + return setOnes(rows(), cols); +} + +// Identity: + +/** \returns an expression of the identity matrix (not necessarily square). + * + * The parameters \a rows and \a cols are the number of rows and of columns of + * the returned matrix. Must be compatible with this MatrixBase type. + * + * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, + * it is redundant to pass \a rows and \a cols as arguments, so Identity() should be used + * instead. + * + * Example: \include MatrixBase_identity_int_int.cpp + * Output: \verbinclude MatrixBase_identity_int_int.out + * + * \sa Identity(), setIdentity(), isIdentity() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::IdentityReturnType +MatrixBase::Identity(Index rows, Index cols) +{ + return DenseBase::NullaryExpr(rows, cols, internal::scalar_identity_op()); +} + +/** \returns an expression of the identity matrix (not necessarily square). + * + * This variant is only for fixed-size MatrixBase types. For dynamic-size types, you + * need to use the variant taking size arguments. + * + * Example: \include MatrixBase_identity.cpp + * Output: \verbinclude MatrixBase_identity.out + * + * \sa Identity(Index,Index), setIdentity(), isIdentity() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::IdentityReturnType +MatrixBase::Identity() +{ + EIGEN_STATIC_ASSERT_FIXED_SIZE(Derived) + return MatrixBase::NullaryExpr(RowsAtCompileTime, ColsAtCompileTime, internal::scalar_identity_op()); +} + +/** \returns true if *this is approximately equal to the identity matrix + * (not necessarily square), + * within the precision given by \a prec. + * + * Example: \include MatrixBase_isIdentity.cpp + * Output: \verbinclude MatrixBase_isIdentity.out + * + * \sa class CwiseNullaryOp, Identity(), Identity(Index,Index), setIdentity() + */ +template +bool MatrixBase::isIdentity +(const RealScalar& prec) const +{ + typename internal::nested_eval::type self(derived()); + for(Index j = 0; j < cols(); ++j) + { + for(Index i = 0; i < rows(); ++i) + { + if(i == j) + { + if(!internal::isApprox(self.coeff(i, j), static_cast(1), prec)) + return false; + } + else + { + if(!internal::isMuchSmallerThan(self.coeff(i, j), static_cast(1), prec)) + return false; + } + } + } + return true; +} + +namespace internal { + +template=16)> +struct setIdentity_impl +{ + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE Derived& run(Derived& m) + { + return m = Derived::Identity(m.rows(), m.cols()); + } +}; + +template +struct setIdentity_impl +{ + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE Derived& run(Derived& m) + { + m.setZero(); + const Index size = numext::mini(m.rows(), m.cols()); + for(Index i = 0; i < size; ++i) m.coeffRef(i,i) = typename Derived::Scalar(1); + return m; + } +}; + +} // end namespace internal + +/** Writes the identity expression (not necessarily square) into *this. + * + * Example: \include MatrixBase_setIdentity.cpp + * Output: \verbinclude MatrixBase_setIdentity.out + * + * \sa class CwiseNullaryOp, Identity(), Identity(Index,Index), isIdentity() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& MatrixBase::setIdentity() +{ + return internal::setIdentity_impl::run(derived()); +} + +/** \brief Resizes to the given size, and writes the identity expression (not necessarily square) into *this. + * + * \param rows the new number of rows + * \param cols the new number of columns + * + * Example: \include Matrix_setIdentity_int_int.cpp + * Output: \verbinclude Matrix_setIdentity_int_int.out + * + * \sa MatrixBase::setIdentity(), class CwiseNullaryOp, MatrixBase::Identity() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& MatrixBase::setIdentity(Index rows, Index cols) +{ + derived().resize(rows, cols); + return setIdentity(); +} + +/** \returns an expression of the i-th unit (basis) vector. + * + * \only_for_vectors + * + * \sa MatrixBase::Unit(Index), MatrixBase::UnitX(), MatrixBase::UnitY(), MatrixBase::UnitZ(), MatrixBase::UnitW() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::BasisReturnType MatrixBase::Unit(Index newSize, Index i) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + return BasisReturnType(SquareMatrixType::Identity(newSize,newSize), i); +} + +/** \returns an expression of the i-th unit (basis) vector. + * + * \only_for_vectors + * + * This variant is for fixed-size vector only. + * + * \sa MatrixBase::Unit(Index,Index), MatrixBase::UnitX(), MatrixBase::UnitY(), MatrixBase::UnitZ(), MatrixBase::UnitW() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::BasisReturnType MatrixBase::Unit(Index i) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + return BasisReturnType(SquareMatrixType::Identity(),i); +} + +/** \returns an expression of the X axis unit vector (1{,0}^*) + * + * \only_for_vectors + * + * \sa MatrixBase::Unit(Index,Index), MatrixBase::Unit(Index), MatrixBase::UnitY(), MatrixBase::UnitZ(), MatrixBase::UnitW() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::BasisReturnType MatrixBase::UnitX() +{ return Derived::Unit(0); } + +/** \returns an expression of the Y axis unit vector (0,1{,0}^*) + * + * \only_for_vectors + * + * \sa MatrixBase::Unit(Index,Index), MatrixBase::Unit(Index), MatrixBase::UnitY(), MatrixBase::UnitZ(), MatrixBase::UnitW() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::BasisReturnType MatrixBase::UnitY() +{ return Derived::Unit(1); } + +/** \returns an expression of the Z axis unit vector (0,0,1{,0}^*) + * + * \only_for_vectors + * + * \sa MatrixBase::Unit(Index,Index), MatrixBase::Unit(Index), MatrixBase::UnitY(), MatrixBase::UnitZ(), MatrixBase::UnitW() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::BasisReturnType MatrixBase::UnitZ() +{ return Derived::Unit(2); } + +/** \returns an expression of the W axis unit vector (0,0,0,1) + * + * \only_for_vectors + * + * \sa MatrixBase::Unit(Index,Index), MatrixBase::Unit(Index), MatrixBase::UnitY(), MatrixBase::UnitZ(), MatrixBase::UnitW() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::BasisReturnType MatrixBase::UnitW() +{ return Derived::Unit(3); } + +/** \brief Set the coefficients of \c *this to the i-th unit (basis) vector + * + * \param i index of the unique coefficient to be set to 1 + * + * \only_for_vectors + * + * \sa MatrixBase::setIdentity(), class CwiseNullaryOp, MatrixBase::Unit(Index,Index) + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& MatrixBase::setUnit(Index i) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived); + eigen_assert(i +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& MatrixBase::setUnit(Index newSize, Index i) +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived); + eigen_assert(i +// Copyright (C) 2006-2008 Benoit Jacob +// Copyright (C) 2016 Eugene Brevdo +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CWISE_TERNARY_OP_H +#define EIGEN_CWISE_TERNARY_OP_H + +namespace Eigen { + +namespace internal { +template +struct traits > { + // we must not inherit from traits since it has + // the potential to cause problems with MSVC + typedef typename remove_all::type Ancestor; + typedef typename traits::XprKind XprKind; + enum { + RowsAtCompileTime = traits::RowsAtCompileTime, + ColsAtCompileTime = traits::ColsAtCompileTime, + MaxRowsAtCompileTime = traits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = traits::MaxColsAtCompileTime + }; + + // even though we require Arg1, Arg2, and Arg3 to have the same scalar type + // (see CwiseTernaryOp constructor), + // we still want to handle the case when the result type is different. + typedef typename result_of::type Scalar; + + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::StorageIndex StorageIndex; + + typedef typename Arg1::Nested Arg1Nested; + typedef typename Arg2::Nested Arg2Nested; + typedef typename Arg3::Nested Arg3Nested; + typedef typename remove_reference::type _Arg1Nested; + typedef typename remove_reference::type _Arg2Nested; + typedef typename remove_reference::type _Arg3Nested; + enum { Flags = _Arg1Nested::Flags & RowMajorBit }; +}; +} // end namespace internal + +template +class CwiseTernaryOpImpl; + +/** \class CwiseTernaryOp + * \ingroup Core_Module + * + * \brief Generic expression where a coefficient-wise ternary operator is + * applied to two expressions + * + * \tparam TernaryOp template functor implementing the operator + * \tparam Arg1Type the type of the first argument + * \tparam Arg2Type the type of the second argument + * \tparam Arg3Type the type of the third argument + * + * This class represents an expression where a coefficient-wise ternary + * operator is applied to three expressions. + * It is the return type of ternary operators, by which we mean only those + * ternary operators where + * all three arguments are Eigen expressions. + * For example, the return type of betainc(matrix1, matrix2, matrix3) is a + * CwiseTernaryOp. + * + * Most of the time, this is the only way that it is used, so you typically + * don't have to name + * CwiseTernaryOp types explicitly. + * + * \sa MatrixBase::ternaryExpr(const MatrixBase &, const + * MatrixBase &, const CustomTernaryOp &) const, class CwiseBinaryOp, + * class CwiseUnaryOp, class CwiseNullaryOp + */ +template +class CwiseTernaryOp : public CwiseTernaryOpImpl< + TernaryOp, Arg1Type, Arg2Type, Arg3Type, + typename internal::traits::StorageKind>, + internal::no_assignment_operator +{ + public: + typedef typename internal::remove_all::type Arg1; + typedef typename internal::remove_all::type Arg2; + typedef typename internal::remove_all::type Arg3; + + typedef typename CwiseTernaryOpImpl< + TernaryOp, Arg1Type, Arg2Type, Arg3Type, + typename internal::traits::StorageKind>::Base Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(CwiseTernaryOp) + + typedef typename internal::ref_selector::type Arg1Nested; + typedef typename internal::ref_selector::type Arg2Nested; + typedef typename internal::ref_selector::type Arg3Nested; + typedef typename internal::remove_reference::type _Arg1Nested; + typedef typename internal::remove_reference::type _Arg2Nested; + typedef typename internal::remove_reference::type _Arg3Nested; + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CwiseTernaryOp(const Arg1& a1, const Arg2& a2, + const Arg3& a3, + const TernaryOp& func = TernaryOp()) + : m_arg1(a1), m_arg2(a2), m_arg3(a3), m_functor(func) { + // require the sizes to match + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Arg1, Arg2) + EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(Arg1, Arg3) + + // The index types should match + EIGEN_STATIC_ASSERT((internal::is_same< + typename internal::traits::StorageKind, + typename internal::traits::StorageKind>::value), + STORAGE_KIND_MUST_MATCH) + EIGEN_STATIC_ASSERT((internal::is_same< + typename internal::traits::StorageKind, + typename internal::traits::StorageKind>::value), + STORAGE_KIND_MUST_MATCH) + + eigen_assert(a1.rows() == a2.rows() && a1.cols() == a2.cols() && + a1.rows() == a3.rows() && a1.cols() == a3.cols()); + } + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Index rows() const { + // return the fixed size type if available to enable compile time + // optimizations + if (internal::traits::type>:: + RowsAtCompileTime == Dynamic && + internal::traits::type>:: + RowsAtCompileTime == Dynamic) + return m_arg3.rows(); + else if (internal::traits::type>:: + RowsAtCompileTime == Dynamic && + internal::traits::type>:: + RowsAtCompileTime == Dynamic) + return m_arg2.rows(); + else + return m_arg1.rows(); + } + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Index cols() const { + // return the fixed size type if available to enable compile time + // optimizations + if (internal::traits::type>:: + ColsAtCompileTime == Dynamic && + internal::traits::type>:: + ColsAtCompileTime == Dynamic) + return m_arg3.cols(); + else if (internal::traits::type>:: + ColsAtCompileTime == Dynamic && + internal::traits::type>:: + ColsAtCompileTime == Dynamic) + return m_arg2.cols(); + else + return m_arg1.cols(); + } + + /** \returns the first argument nested expression */ + EIGEN_DEVICE_FUNC + const _Arg1Nested& arg1() const { return m_arg1; } + /** \returns the first argument nested expression */ + EIGEN_DEVICE_FUNC + const _Arg2Nested& arg2() const { return m_arg2; } + /** \returns the third argument nested expression */ + EIGEN_DEVICE_FUNC + const _Arg3Nested& arg3() const { return m_arg3; } + /** \returns the functor representing the ternary operation */ + EIGEN_DEVICE_FUNC + const TernaryOp& functor() const { return m_functor; } + + protected: + Arg1Nested m_arg1; + Arg2Nested m_arg2; + Arg3Nested m_arg3; + const TernaryOp m_functor; +}; + +// Generic API dispatcher +template +class CwiseTernaryOpImpl + : public internal::generic_xpr_base< + CwiseTernaryOp >::type { + public: + typedef typename internal::generic_xpr_base< + CwiseTernaryOp >::type Base; +}; + +} // end namespace Eigen + +#endif // EIGEN_CWISE_TERNARY_OP_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseUnaryOp.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseUnaryOp.h new file mode 100644 index 0000000..e68c4f7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseUnaryOp.h @@ -0,0 +1,103 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2014 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CWISE_UNARY_OP_H +#define EIGEN_CWISE_UNARY_OP_H + +namespace Eigen { + +namespace internal { +template +struct traits > + : traits +{ + typedef typename result_of< + UnaryOp(const typename XprType::Scalar&) + >::type Scalar; + typedef typename XprType::Nested XprTypeNested; + typedef typename remove_reference::type _XprTypeNested; + enum { + Flags = _XprTypeNested::Flags & RowMajorBit + }; +}; +} + +template +class CwiseUnaryOpImpl; + +/** \class CwiseUnaryOp + * \ingroup Core_Module + * + * \brief Generic expression where a coefficient-wise unary operator is applied to an expression + * + * \tparam UnaryOp template functor implementing the operator + * \tparam XprType the type of the expression to which we are applying the unary operator + * + * This class represents an expression where a unary operator is applied to an expression. + * It is the return type of all operations taking exactly 1 input expression, regardless of the + * presence of other inputs such as scalars. For example, the operator* in the expression 3*matrix + * is considered unary, because only the right-hand side is an expression, and its + * return type is a specialization of CwiseUnaryOp. + * + * Most of the time, this is the only way that it is used, so you typically don't have to name + * CwiseUnaryOp types explicitly. + * + * \sa MatrixBase::unaryExpr(const CustomUnaryOp &) const, class CwiseBinaryOp, class CwiseNullaryOp + */ +template +class CwiseUnaryOp : public CwiseUnaryOpImpl::StorageKind>, internal::no_assignment_operator +{ + public: + + typedef typename CwiseUnaryOpImpl::StorageKind>::Base Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(CwiseUnaryOp) + typedef typename internal::ref_selector::type XprTypeNested; + typedef typename internal::remove_all::type NestedExpression; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit CwiseUnaryOp(const XprType& xpr, const UnaryOp& func = UnaryOp()) + : m_xpr(xpr), m_functor(func) {} + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rows() const EIGEN_NOEXCEPT { return m_xpr.rows(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index cols() const EIGEN_NOEXCEPT { return m_xpr.cols(); } + + /** \returns the functor representing the unary operation */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const UnaryOp& functor() const { return m_functor; } + + /** \returns the nested expression */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const typename internal::remove_all::type& + nestedExpression() const { return m_xpr; } + + /** \returns the nested expression */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + typename internal::remove_all::type& + nestedExpression() { return m_xpr; } + + protected: + XprTypeNested m_xpr; + const UnaryOp m_functor; +}; + +// Generic API dispatcher +template +class CwiseUnaryOpImpl + : public internal::generic_xpr_base >::type +{ +public: + typedef typename internal::generic_xpr_base >::type Base; +}; + +} // end namespace Eigen + +#endif // EIGEN_CWISE_UNARY_OP_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseUnaryView.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseUnaryView.h new file mode 100644 index 0000000..a06d762 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/CwiseUnaryView.h @@ -0,0 +1,132 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_CWISE_UNARY_VIEW_H +#define EIGEN_CWISE_UNARY_VIEW_H + +namespace Eigen { + +namespace internal { +template +struct traits > + : traits +{ + typedef typename result_of< + ViewOp(const typename traits::Scalar&) + >::type Scalar; + typedef typename MatrixType::Nested MatrixTypeNested; + typedef typename remove_all::type _MatrixTypeNested; + enum { + FlagsLvalueBit = is_lvalue::value ? LvalueBit : 0, + Flags = traits<_MatrixTypeNested>::Flags & (RowMajorBit | FlagsLvalueBit | DirectAccessBit), // FIXME DirectAccessBit should not be handled by expressions + MatrixTypeInnerStride = inner_stride_at_compile_time::ret, + // need to cast the sizeof's from size_t to int explicitly, otherwise: + // "error: no integral type can represent all of the enumerator values + InnerStrideAtCompileTime = MatrixTypeInnerStride == Dynamic + ? int(Dynamic) + : int(MatrixTypeInnerStride) * int(sizeof(typename traits::Scalar) / sizeof(Scalar)), + OuterStrideAtCompileTime = outer_stride_at_compile_time::ret == Dynamic + ? int(Dynamic) + : outer_stride_at_compile_time::ret * int(sizeof(typename traits::Scalar) / sizeof(Scalar)) + }; +}; +} + +template +class CwiseUnaryViewImpl; + +/** \class CwiseUnaryView + * \ingroup Core_Module + * + * \brief Generic lvalue expression of a coefficient-wise unary operator of a matrix or a vector + * + * \tparam ViewOp template functor implementing the view + * \tparam MatrixType the type of the matrix we are applying the unary operator + * + * This class represents a lvalue expression of a generic unary view operator of a matrix or a vector. + * It is the return type of real() and imag(), and most of the time this is the only way it is used. + * + * \sa MatrixBase::unaryViewExpr(const CustomUnaryOp &) const, class CwiseUnaryOp + */ +template +class CwiseUnaryView : public CwiseUnaryViewImpl::StorageKind> +{ + public: + + typedef typename CwiseUnaryViewImpl::StorageKind>::Base Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(CwiseUnaryView) + typedef typename internal::ref_selector::non_const_type MatrixTypeNested; + typedef typename internal::remove_all::type NestedExpression; + + explicit EIGEN_DEVICE_FUNC inline CwiseUnaryView(MatrixType& mat, const ViewOp& func = ViewOp()) + : m_matrix(mat), m_functor(func) {} + + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(CwiseUnaryView) + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); } + + /** \returns the functor representing unary operation */ + EIGEN_DEVICE_FUNC const ViewOp& functor() const { return m_functor; } + + /** \returns the nested expression */ + EIGEN_DEVICE_FUNC const typename internal::remove_all::type& + nestedExpression() const { return m_matrix; } + + /** \returns the nested expression */ + EIGEN_DEVICE_FUNC typename internal::remove_reference::type& + nestedExpression() { return m_matrix; } + + protected: + MatrixTypeNested m_matrix; + ViewOp m_functor; +}; + +// Generic API dispatcher +template +class CwiseUnaryViewImpl + : public internal::generic_xpr_base >::type +{ +public: + typedef typename internal::generic_xpr_base >::type Base; +}; + +template +class CwiseUnaryViewImpl + : public internal::dense_xpr_base< CwiseUnaryView >::type +{ + public: + + typedef CwiseUnaryView Derived; + typedef typename internal::dense_xpr_base< CwiseUnaryView >::type Base; + + EIGEN_DENSE_PUBLIC_INTERFACE(Derived) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(CwiseUnaryViewImpl) + + EIGEN_DEVICE_FUNC inline Scalar* data() { return &(this->coeffRef(0)); } + EIGEN_DEVICE_FUNC inline const Scalar* data() const { return &(this->coeff(0)); } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR inline Index innerStride() const + { + return derived().nestedExpression().innerStride() * sizeof(typename internal::traits::Scalar) / sizeof(Scalar); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR inline Index outerStride() const + { + return derived().nestedExpression().outerStride() * sizeof(typename internal::traits::Scalar) / sizeof(Scalar); + } + protected: + EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(CwiseUnaryViewImpl) +}; + +} // end namespace Eigen + +#endif // EIGEN_CWISE_UNARY_VIEW_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseBase.h new file mode 100644 index 0000000..9b16db6 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseBase.h @@ -0,0 +1,701 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2007-2010 Benoit Jacob +// Copyright (C) 2008-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DENSEBASE_H +#define EIGEN_DENSEBASE_H + +namespace Eigen { + +namespace internal { + +// The index type defined by EIGEN_DEFAULT_DENSE_INDEX_TYPE must be a signed type. +// This dummy function simply aims at checking that at compile time. +static inline void check_DenseIndex_is_signed() { + EIGEN_STATIC_ASSERT(NumTraits::IsSigned,THE_INDEX_TYPE_MUST_BE_A_SIGNED_TYPE) +} + +} // end namespace internal + +/** \class DenseBase + * \ingroup Core_Module + * + * \brief Base class for all dense matrices, vectors, and arrays + * + * This class is the base that is inherited by all dense objects (matrix, vector, arrays, + * and related expression types). The common Eigen API for dense objects is contained in this class. + * + * \tparam Derived is the derived type, e.g., a matrix type or an expression. + * + * This class can be extended with the help of the plugin mechanism described on the page + * \ref TopicCustomizing_Plugins by defining the preprocessor symbol \c EIGEN_DENSEBASE_PLUGIN. + * + * \sa \blank \ref TopicClassHierarchy + */ +template class DenseBase +#ifndef EIGEN_PARSED_BY_DOXYGEN + : public DenseCoeffsBase::value> +#else + : public DenseCoeffsBase +#endif // not EIGEN_PARSED_BY_DOXYGEN +{ + public: + + /** Inner iterator type to iterate over the coefficients of a row or column. + * \sa class InnerIterator + */ + typedef Eigen::InnerIterator InnerIterator; + + typedef typename internal::traits::StorageKind StorageKind; + + /** + * \brief The type used to store indices + * \details This typedef is relevant for types that store multiple indices such as + * PermutationMatrix or Transpositions, otherwise it defaults to Eigen::Index + * \sa \blank \ref TopicPreprocessorDirectives, Eigen::Index, SparseMatrixBase. + */ + typedef typename internal::traits::StorageIndex StorageIndex; + + /** The numeric type of the expression' coefficients, e.g. float, double, int or std::complex, etc. */ + typedef typename internal::traits::Scalar Scalar; + + /** The numeric type of the expression' coefficients, e.g. float, double, int or std::complex, etc. + * + * It is an alias for the Scalar type */ + typedef Scalar value_type; + + typedef typename NumTraits::Real RealScalar; + typedef DenseCoeffsBase::value> Base; + + using Base::derived; + using Base::const_cast_derived; + using Base::rows; + using Base::cols; + using Base::size; + using Base::rowIndexByOuterInner; + using Base::colIndexByOuterInner; + using Base::coeff; + using Base::coeffByOuterInner; + using Base::operator(); + using Base::operator[]; + using Base::x; + using Base::y; + using Base::z; + using Base::w; + using Base::stride; + using Base::innerStride; + using Base::outerStride; + using Base::rowStride; + using Base::colStride; + typedef typename Base::CoeffReturnType CoeffReturnType; + + enum { + + RowsAtCompileTime = internal::traits::RowsAtCompileTime, + /**< The number of rows at compile-time. This is just a copy of the value provided + * by the \a Derived type. If a value is not known at compile-time, + * it is set to the \a Dynamic constant. + * \sa MatrixBase::rows(), MatrixBase::cols(), ColsAtCompileTime, SizeAtCompileTime */ + + ColsAtCompileTime = internal::traits::ColsAtCompileTime, + /**< The number of columns at compile-time. This is just a copy of the value provided + * by the \a Derived type. If a value is not known at compile-time, + * it is set to the \a Dynamic constant. + * \sa MatrixBase::rows(), MatrixBase::cols(), RowsAtCompileTime, SizeAtCompileTime */ + + + SizeAtCompileTime = (internal::size_at_compile_time::RowsAtCompileTime, + internal::traits::ColsAtCompileTime>::ret), + /**< This is equal to the number of coefficients, i.e. the number of + * rows times the number of columns, or to \a Dynamic if this is not + * known at compile-time. \sa RowsAtCompileTime, ColsAtCompileTime */ + + MaxRowsAtCompileTime = internal::traits::MaxRowsAtCompileTime, + /**< This value is equal to the maximum possible number of rows that this expression + * might have. If this expression might have an arbitrarily high number of rows, + * this value is set to \a Dynamic. + * + * This value is useful to know when evaluating an expression, in order to determine + * whether it is possible to avoid doing a dynamic memory allocation. + * + * \sa RowsAtCompileTime, MaxColsAtCompileTime, MaxSizeAtCompileTime + */ + + MaxColsAtCompileTime = internal::traits::MaxColsAtCompileTime, + /**< This value is equal to the maximum possible number of columns that this expression + * might have. If this expression might have an arbitrarily high number of columns, + * this value is set to \a Dynamic. + * + * This value is useful to know when evaluating an expression, in order to determine + * whether it is possible to avoid doing a dynamic memory allocation. + * + * \sa ColsAtCompileTime, MaxRowsAtCompileTime, MaxSizeAtCompileTime + */ + + MaxSizeAtCompileTime = (internal::size_at_compile_time::MaxRowsAtCompileTime, + internal::traits::MaxColsAtCompileTime>::ret), + /**< This value is equal to the maximum possible number of coefficients that this expression + * might have. If this expression might have an arbitrarily high number of coefficients, + * this value is set to \a Dynamic. + * + * This value is useful to know when evaluating an expression, in order to determine + * whether it is possible to avoid doing a dynamic memory allocation. + * + * \sa SizeAtCompileTime, MaxRowsAtCompileTime, MaxColsAtCompileTime + */ + + IsVectorAtCompileTime = internal::traits::RowsAtCompileTime == 1 + || internal::traits::ColsAtCompileTime == 1, + /**< This is set to true if either the number of rows or the number of + * columns is known at compile-time to be equal to 1. Indeed, in that case, + * we are dealing with a column-vector (if there is only one column) or with + * a row-vector (if there is only one row). */ + + NumDimensions = int(MaxSizeAtCompileTime) == 1 ? 0 : bool(IsVectorAtCompileTime) ? 1 : 2, + /**< This value is equal to Tensor::NumDimensions, i.e. 0 for scalars, 1 for vectors, + * and 2 for matrices. + */ + + Flags = internal::traits::Flags, + /**< This stores expression \ref flags flags which may or may not be inherited by new expressions + * constructed from this one. See the \ref flags "list of flags". + */ + + IsRowMajor = int(Flags) & RowMajorBit, /**< True if this expression has row-major storage order. */ + + InnerSizeAtCompileTime = int(IsVectorAtCompileTime) ? int(SizeAtCompileTime) + : int(IsRowMajor) ? int(ColsAtCompileTime) : int(RowsAtCompileTime), + + InnerStrideAtCompileTime = internal::inner_stride_at_compile_time::ret, + OuterStrideAtCompileTime = internal::outer_stride_at_compile_time::ret + }; + + typedef typename internal::find_best_packet::type PacketScalar; + + enum { IsPlainObjectBase = 0 }; + + /** The plain matrix type corresponding to this expression. + * \sa PlainObject */ + typedef Matrix::Scalar, + internal::traits::RowsAtCompileTime, + internal::traits::ColsAtCompileTime, + AutoAlign | (internal::traits::Flags&RowMajorBit ? RowMajor : ColMajor), + internal::traits::MaxRowsAtCompileTime, + internal::traits::MaxColsAtCompileTime + > PlainMatrix; + + /** The plain array type corresponding to this expression. + * \sa PlainObject */ + typedef Array::Scalar, + internal::traits::RowsAtCompileTime, + internal::traits::ColsAtCompileTime, + AutoAlign | (internal::traits::Flags&RowMajorBit ? RowMajor : ColMajor), + internal::traits::MaxRowsAtCompileTime, + internal::traits::MaxColsAtCompileTime + > PlainArray; + + /** \brief The plain matrix or array type corresponding to this expression. + * + * This is not necessarily exactly the return type of eval(). In the case of plain matrices, + * the return type of eval() is a const reference to a matrix, not a matrix! It is however guaranteed + * that the return type of eval() is either PlainObject or const PlainObject&. + */ + typedef typename internal::conditional::XprKind,MatrixXpr >::value, + PlainMatrix, PlainArray>::type PlainObject; + + /** \returns the number of nonzero coefficients which is in practice the number + * of stored coefficients. */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index nonZeros() const { return size(); } + + /** \returns the outer size. + * + * \note For a vector, this returns just 1. For a matrix (non-vector), this is the major dimension + * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of columns for a + * column-major matrix, and the number of rows for a row-major matrix. */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + Index outerSize() const + { + return IsVectorAtCompileTime ? 1 + : int(IsRowMajor) ? this->rows() : this->cols(); + } + + /** \returns the inner size. + * + * \note For a vector, this is just the size. For a matrix (non-vector), this is the minor dimension + * with respect to the \ref TopicStorageOrders "storage order", i.e., the number of rows for a + * column-major matrix, and the number of columns for a row-major matrix. */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + Index innerSize() const + { + return IsVectorAtCompileTime ? this->size() + : int(IsRowMajor) ? this->cols() : this->rows(); + } + + /** Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are + * Matrix::resize() and Array::resize(). The present method only asserts that the new size equals the old size, and does + * nothing else. + */ + EIGEN_DEVICE_FUNC + void resize(Index newSize) + { + EIGEN_ONLY_USED_FOR_DEBUG(newSize); + eigen_assert(newSize == this->size() + && "DenseBase::resize() does not actually allow to resize."); + } + /** Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are + * Matrix::resize() and Array::resize(). The present method only asserts that the new size equals the old size, and does + * nothing else. + */ + EIGEN_DEVICE_FUNC + void resize(Index rows, Index cols) + { + EIGEN_ONLY_USED_FOR_DEBUG(rows); + EIGEN_ONLY_USED_FOR_DEBUG(cols); + eigen_assert(rows == this->rows() && cols == this->cols() + && "DenseBase::resize() does not actually allow to resize."); + } + +#ifndef EIGEN_PARSED_BY_DOXYGEN + /** \internal Represents a matrix with all coefficients equal to one another*/ + typedef CwiseNullaryOp,PlainObject> ConstantReturnType; + /** \internal \deprecated Represents a vector with linearly spaced coefficients that allows sequential access only. */ + EIGEN_DEPRECATED typedef CwiseNullaryOp,PlainObject> SequentialLinSpacedReturnType; + /** \internal Represents a vector with linearly spaced coefficients that allows random access. */ + typedef CwiseNullaryOp,PlainObject> RandomAccessLinSpacedReturnType; + /** \internal the return type of MatrixBase::eigenvalues() */ + typedef Matrix::Scalar>::Real, internal::traits::ColsAtCompileTime, 1> EigenvaluesReturnType; + +#endif // not EIGEN_PARSED_BY_DOXYGEN + + /** Copies \a other into *this. \returns a reference to *this. */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator=(const DenseBase& other); + + /** Special case of the template operator=, in order to prevent the compiler + * from generating a default operator= (issue hit with g++ 4.1) + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator=(const DenseBase& other); + + template + EIGEN_DEVICE_FUNC + Derived& operator=(const EigenBase &other); + + template + EIGEN_DEVICE_FUNC + Derived& operator+=(const EigenBase &other); + + template + EIGEN_DEVICE_FUNC + Derived& operator-=(const EigenBase &other); + + template + EIGEN_DEVICE_FUNC + Derived& operator=(const ReturnByValue& func); + + /** \internal + * Copies \a other into *this without evaluating other. \returns a reference to *this. */ + template + /** \deprecated */ + EIGEN_DEPRECATED EIGEN_DEVICE_FUNC + Derived& lazyAssign(const DenseBase& other); + + EIGEN_DEVICE_FUNC + CommaInitializer operator<< (const Scalar& s); + + template + /** \deprecated it now returns \c *this */ + EIGEN_DEPRECATED + const Derived& flagged() const + { return derived(); } + + template + EIGEN_DEVICE_FUNC + CommaInitializer operator<< (const DenseBase& other); + + typedef Transpose TransposeReturnType; + EIGEN_DEVICE_FUNC + TransposeReturnType transpose(); + typedef typename internal::add_const >::type ConstTransposeReturnType; + EIGEN_DEVICE_FUNC + ConstTransposeReturnType transpose() const; + EIGEN_DEVICE_FUNC + void transposeInPlace(); + + EIGEN_DEVICE_FUNC static const ConstantReturnType + Constant(Index rows, Index cols, const Scalar& value); + EIGEN_DEVICE_FUNC static const ConstantReturnType + Constant(Index size, const Scalar& value); + EIGEN_DEVICE_FUNC static const ConstantReturnType + Constant(const Scalar& value); + + EIGEN_DEPRECATED EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType + LinSpaced(Sequential_t, Index size, const Scalar& low, const Scalar& high); + EIGEN_DEPRECATED EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType + LinSpaced(Sequential_t, const Scalar& low, const Scalar& high); + + EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType + LinSpaced(Index size, const Scalar& low, const Scalar& high); + EIGEN_DEVICE_FUNC static const RandomAccessLinSpacedReturnType + LinSpaced(const Scalar& low, const Scalar& high); + + template EIGEN_DEVICE_FUNC + static const CwiseNullaryOp + NullaryExpr(Index rows, Index cols, const CustomNullaryOp& func); + template EIGEN_DEVICE_FUNC + static const CwiseNullaryOp + NullaryExpr(Index size, const CustomNullaryOp& func); + template EIGEN_DEVICE_FUNC + static const CwiseNullaryOp + NullaryExpr(const CustomNullaryOp& func); + + EIGEN_DEVICE_FUNC static const ConstantReturnType Zero(Index rows, Index cols); + EIGEN_DEVICE_FUNC static const ConstantReturnType Zero(Index size); + EIGEN_DEVICE_FUNC static const ConstantReturnType Zero(); + EIGEN_DEVICE_FUNC static const ConstantReturnType Ones(Index rows, Index cols); + EIGEN_DEVICE_FUNC static const ConstantReturnType Ones(Index size); + EIGEN_DEVICE_FUNC static const ConstantReturnType Ones(); + + EIGEN_DEVICE_FUNC void fill(const Scalar& value); + EIGEN_DEVICE_FUNC Derived& setConstant(const Scalar& value); + EIGEN_DEVICE_FUNC Derived& setLinSpaced(Index size, const Scalar& low, const Scalar& high); + EIGEN_DEVICE_FUNC Derived& setLinSpaced(const Scalar& low, const Scalar& high); + EIGEN_DEVICE_FUNC Derived& setZero(); + EIGEN_DEVICE_FUNC Derived& setOnes(); + EIGEN_DEVICE_FUNC Derived& setRandom(); + + template EIGEN_DEVICE_FUNC + bool isApprox(const DenseBase& other, + const RealScalar& prec = NumTraits::dummy_precision()) const; + EIGEN_DEVICE_FUNC + bool isMuchSmallerThan(const RealScalar& other, + const RealScalar& prec = NumTraits::dummy_precision()) const; + template EIGEN_DEVICE_FUNC + bool isMuchSmallerThan(const DenseBase& other, + const RealScalar& prec = NumTraits::dummy_precision()) const; + + EIGEN_DEVICE_FUNC bool isApproxToConstant(const Scalar& value, const RealScalar& prec = NumTraits::dummy_precision()) const; + EIGEN_DEVICE_FUNC bool isConstant(const Scalar& value, const RealScalar& prec = NumTraits::dummy_precision()) const; + EIGEN_DEVICE_FUNC bool isZero(const RealScalar& prec = NumTraits::dummy_precision()) const; + EIGEN_DEVICE_FUNC bool isOnes(const RealScalar& prec = NumTraits::dummy_precision()) const; + + inline bool hasNaN() const; + inline bool allFinite() const; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator*=(const Scalar& other); + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator/=(const Scalar& other); + + typedef typename internal::add_const_on_value_type::type>::type EvalReturnType; + /** \returns the matrix or vector obtained by evaluating this expression. + * + * Notice that in the case of a plain matrix or vector (not an expression) this function just returns + * a const reference, in order to avoid a useless copy. + * + * \warning Be careful with eval() and the auto C++ keyword, as detailed in this \link TopicPitfalls_auto_keyword page \endlink. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE EvalReturnType eval() const + { + // Even though MSVC does not honor strong inlining when the return type + // is a dynamic matrix, we desperately need strong inlining for fixed + // size types on MSVC. + return typename internal::eval::type(derived()); + } + + /** swaps *this with the expression \a other. + * + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void swap(const DenseBase& other) + { + EIGEN_STATIC_ASSERT(!OtherDerived::IsPlainObjectBase,THIS_EXPRESSION_IS_NOT_A_LVALUE__IT_IS_READ_ONLY); + eigen_assert(rows()==other.rows() && cols()==other.cols()); + call_assignment(derived(), other.const_cast_derived(), internal::swap_assign_op()); + } + + /** swaps *this with the matrix or array \a other. + * + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void swap(PlainObjectBase& other) + { + eigen_assert(rows()==other.rows() && cols()==other.cols()); + call_assignment(derived(), other.derived(), internal::swap_assign_op()); + } + + EIGEN_DEVICE_FUNC inline const NestByValue nestByValue() const; + EIGEN_DEVICE_FUNC inline const ForceAlignedAccess forceAlignedAccess() const; + EIGEN_DEVICE_FUNC inline ForceAlignedAccess forceAlignedAccess(); + template EIGEN_DEVICE_FUNC + inline const typename internal::conditional,Derived&>::type forceAlignedAccessIf() const; + template EIGEN_DEVICE_FUNC + inline typename internal::conditional,Derived&>::type forceAlignedAccessIf(); + + EIGEN_DEVICE_FUNC Scalar sum() const; + EIGEN_DEVICE_FUNC Scalar mean() const; + EIGEN_DEVICE_FUNC Scalar trace() const; + + EIGEN_DEVICE_FUNC Scalar prod() const; + + template + EIGEN_DEVICE_FUNC typename internal::traits::Scalar minCoeff() const; + template + EIGEN_DEVICE_FUNC typename internal::traits::Scalar maxCoeff() const; + + + // By default, the fastest version with undefined NaN propagation semantics is + // used. + // TODO(rmlarsen): Replace with default template argument when we move to + // c++11 or beyond. + EIGEN_DEVICE_FUNC inline typename internal::traits::Scalar minCoeff() const { + return minCoeff(); + } + EIGEN_DEVICE_FUNC inline typename internal::traits::Scalar maxCoeff() const { + return maxCoeff(); + } + + template + EIGEN_DEVICE_FUNC + typename internal::traits::Scalar minCoeff(IndexType* row, IndexType* col) const; + template + EIGEN_DEVICE_FUNC + typename internal::traits::Scalar maxCoeff(IndexType* row, IndexType* col) const; + template + EIGEN_DEVICE_FUNC + typename internal::traits::Scalar minCoeff(IndexType* index) const; + template + EIGEN_DEVICE_FUNC + typename internal::traits::Scalar maxCoeff(IndexType* index) const; + + // TODO(rmlarsen): Replace these methods with a default template argument. + template + EIGEN_DEVICE_FUNC inline + typename internal::traits::Scalar minCoeff(IndexType* row, IndexType* col) const { + return minCoeff(row, col); + } + template + EIGEN_DEVICE_FUNC inline + typename internal::traits::Scalar maxCoeff(IndexType* row, IndexType* col) const { + return maxCoeff(row, col); + } + template + EIGEN_DEVICE_FUNC inline + typename internal::traits::Scalar minCoeff(IndexType* index) const { + return minCoeff(index); + } + template + EIGEN_DEVICE_FUNC inline + typename internal::traits::Scalar maxCoeff(IndexType* index) const { + return maxCoeff(index); + } + + template + EIGEN_DEVICE_FUNC + Scalar redux(const BinaryOp& func) const; + + template + EIGEN_DEVICE_FUNC + void visit(Visitor& func) const; + + /** \returns a WithFormat proxy object allowing to print a matrix the with given + * format \a fmt. + * + * See class IOFormat for some examples. + * + * \sa class IOFormat, class WithFormat + */ + inline const WithFormat format(const IOFormat& fmt) const + { + return WithFormat(derived(), fmt); + } + + /** \returns the unique coefficient of a 1x1 expression */ + EIGEN_DEVICE_FUNC + CoeffReturnType value() const + { + EIGEN_STATIC_ASSERT_SIZE_1x1(Derived) + eigen_assert(this->rows() == 1 && this->cols() == 1); + return derived().coeff(0,0); + } + + EIGEN_DEVICE_FUNC bool all() const; + EIGEN_DEVICE_FUNC bool any() const; + EIGEN_DEVICE_FUNC Index count() const; + + typedef VectorwiseOp RowwiseReturnType; + typedef const VectorwiseOp ConstRowwiseReturnType; + typedef VectorwiseOp ColwiseReturnType; + typedef const VectorwiseOp ConstColwiseReturnType; + + /** \returns a VectorwiseOp wrapper of *this for broadcasting and partial reductions + * + * Example: \include MatrixBase_rowwise.cpp + * Output: \verbinclude MatrixBase_rowwise.out + * + * \sa colwise(), class VectorwiseOp, \ref TutorialReductionsVisitorsBroadcasting + */ + //Code moved here due to a CUDA compiler bug + EIGEN_DEVICE_FUNC inline ConstRowwiseReturnType rowwise() const { + return ConstRowwiseReturnType(derived()); + } + EIGEN_DEVICE_FUNC RowwiseReturnType rowwise(); + + /** \returns a VectorwiseOp wrapper of *this broadcasting and partial reductions + * + * Example: \include MatrixBase_colwise.cpp + * Output: \verbinclude MatrixBase_colwise.out + * + * \sa rowwise(), class VectorwiseOp, \ref TutorialReductionsVisitorsBroadcasting + */ + EIGEN_DEVICE_FUNC inline ConstColwiseReturnType colwise() const { + return ConstColwiseReturnType(derived()); + } + EIGEN_DEVICE_FUNC ColwiseReturnType colwise(); + + typedef CwiseNullaryOp,PlainObject> RandomReturnType; + static const RandomReturnType Random(Index rows, Index cols); + static const RandomReturnType Random(Index size); + static const RandomReturnType Random(); + + template + inline EIGEN_DEVICE_FUNC const Select + select(const DenseBase& thenMatrix, + const DenseBase& elseMatrix) const; + + template + inline EIGEN_DEVICE_FUNC const Select + select(const DenseBase& thenMatrix, const typename ThenDerived::Scalar& elseScalar) const; + + template + inline EIGEN_DEVICE_FUNC const Select + select(const typename ElseDerived::Scalar& thenScalar, const DenseBase& elseMatrix) const; + + template RealScalar lpNorm() const; + + template + EIGEN_DEVICE_FUNC + const Replicate replicate() const; + /** + * \return an expression of the replication of \c *this + * + * Example: \include MatrixBase_replicate_int_int.cpp + * Output: \verbinclude MatrixBase_replicate_int_int.out + * + * \sa VectorwiseOp::replicate(), DenseBase::replicate(), class Replicate + */ + //Code moved here due to a CUDA compiler bug + EIGEN_DEVICE_FUNC + const Replicate replicate(Index rowFactor, Index colFactor) const + { + return Replicate(derived(), rowFactor, colFactor); + } + + typedef Reverse ReverseReturnType; + typedef const Reverse ConstReverseReturnType; + EIGEN_DEVICE_FUNC ReverseReturnType reverse(); + /** This is the const version of reverse(). */ + //Code moved here due to a CUDA compiler bug + EIGEN_DEVICE_FUNC ConstReverseReturnType reverse() const + { + return ConstReverseReturnType(derived()); + } + EIGEN_DEVICE_FUNC void reverseInPlace(); + + #ifdef EIGEN_PARSED_BY_DOXYGEN + /** STL-like RandomAccessIterator + * iterator type as returned by the begin() and end() methods. + */ + typedef random_access_iterator_type iterator; + /** This is the const version of iterator (aka read-only) */ + typedef random_access_iterator_type const_iterator; + #else + typedef typename internal::conditional< (Flags&DirectAccessBit)==DirectAccessBit, + internal::pointer_based_stl_iterator, + internal::generic_randaccess_stl_iterator + >::type iterator_type; + + typedef typename internal::conditional< (Flags&DirectAccessBit)==DirectAccessBit, + internal::pointer_based_stl_iterator, + internal::generic_randaccess_stl_iterator + >::type const_iterator_type; + + // Stl-style iterators are supported only for vectors. + + typedef typename internal::conditional< IsVectorAtCompileTime, + iterator_type, + void + >::type iterator; + + typedef typename internal::conditional< IsVectorAtCompileTime, + const_iterator_type, + void + >::type const_iterator; + #endif + + inline iterator begin(); + inline const_iterator begin() const; + inline const_iterator cbegin() const; + inline iterator end(); + inline const_iterator end() const; + inline const_iterator cend() const; + +#define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::DenseBase +#define EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL +#define EIGEN_DOC_BLOCK_ADDONS_INNER_PANEL_IF(COND) +#define EIGEN_DOC_UNARY_ADDONS(X,Y) +# include "../plugins/CommonCwiseUnaryOps.h" +# include "../plugins/BlockMethods.h" +# include "../plugins/IndexedViewMethods.h" +# include "../plugins/ReshapedMethods.h" +# ifdef EIGEN_DENSEBASE_PLUGIN +# include EIGEN_DENSEBASE_PLUGIN +# endif +#undef EIGEN_CURRENT_STORAGE_BASE_CLASS +#undef EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL +#undef EIGEN_DOC_BLOCK_ADDONS_INNER_PANEL_IF +#undef EIGEN_DOC_UNARY_ADDONS + + // disable the use of evalTo for dense objects with a nice compilation error + template + EIGEN_DEVICE_FUNC + inline void evalTo(Dest& ) const + { + EIGEN_STATIC_ASSERT((internal::is_same::value),THE_EVAL_EVALTO_FUNCTION_SHOULD_NEVER_BE_CALLED_FOR_DENSE_OBJECTS); + } + + protected: + EIGEN_DEFAULT_COPY_CONSTRUCTOR(DenseBase) + /** Default constructor. Do nothing. */ + EIGEN_DEVICE_FUNC DenseBase() + { + /* Just checks for self-consistency of the flags. + * Only do it when debugging Eigen, as this borders on paranoia and could slow compilation down + */ +#ifdef EIGEN_INTERNAL_DEBUGGING + EIGEN_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, int(IsRowMajor)) + && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, int(!IsRowMajor))), + INVALID_STORAGE_ORDER_FOR_THIS_VECTOR_EXPRESSION) +#endif + } + + private: + EIGEN_DEVICE_FUNC explicit DenseBase(int); + EIGEN_DEVICE_FUNC DenseBase(int,int); + template EIGEN_DEVICE_FUNC explicit DenseBase(const DenseBase&); +}; + +} // end namespace Eigen + +#endif // EIGEN_DENSEBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseCoeffsBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseCoeffsBase.h new file mode 100644 index 0000000..37fcdb5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseCoeffsBase.h @@ -0,0 +1,685 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2010 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DENSECOEFFSBASE_H +#define EIGEN_DENSECOEFFSBASE_H + +namespace Eigen { + +namespace internal { +template struct add_const_on_value_type_if_arithmetic +{ + typedef typename conditional::value, T, typename add_const_on_value_type::type>::type type; +}; +} + +/** \brief Base class providing read-only coefficient access to matrices and arrays. + * \ingroup Core_Module + * \tparam Derived Type of the derived class + * + * \note #ReadOnlyAccessors Constant indicating read-only access + * + * This class defines the \c operator() \c const function and friends, which can be used to read specific + * entries of a matrix or array. + * + * \sa DenseCoeffsBase, DenseCoeffsBase, + * \ref TopicClassHierarchy + */ +template +class DenseCoeffsBase : public EigenBase +{ + public: + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::packet_traits::type PacketScalar; + + // Explanation for this CoeffReturnType typedef. + // - This is the return type of the coeff() method. + // - The LvalueBit means exactly that we can offer a coeffRef() method, which means exactly that we can get references + // to coeffs, which means exactly that we can have coeff() return a const reference (as opposed to returning a value). + // - The is_artihmetic check is required since "const int", "const double", etc. will cause warnings on some systems + // while the declaration of "const T", where T is a non arithmetic type does not. Always returning "const Scalar&" is + // not possible, since the underlying expressions might not offer a valid address the reference could be referring to. + typedef typename internal::conditional::Flags&LvalueBit), + const Scalar&, + typename internal::conditional::value, Scalar, const Scalar>::type + >::type CoeffReturnType; + + typedef typename internal::add_const_on_value_type_if_arithmetic< + typename internal::packet_traits::type + >::type PacketReturnType; + + typedef EigenBase Base; + using Base::rows; + using Base::cols; + using Base::size; + using Base::derived; + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Index rowIndexByOuterInner(Index outer, Index inner) const + { + return int(Derived::RowsAtCompileTime) == 1 ? 0 + : int(Derived::ColsAtCompileTime) == 1 ? inner + : int(Derived::Flags)&RowMajorBit ? outer + : inner; + } + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Index colIndexByOuterInner(Index outer, Index inner) const + { + return int(Derived::ColsAtCompileTime) == 1 ? 0 + : int(Derived::RowsAtCompileTime) == 1 ? inner + : int(Derived::Flags)&RowMajorBit ? inner + : outer; + } + + /** Short version: don't use this function, use + * \link operator()(Index,Index) const \endlink instead. + * + * Long version: this function is similar to + * \link operator()(Index,Index) const \endlink, but without the assertion. + * Use this for limiting the performance cost of debugging code when doing + * repeated coefficient access. Only use this when it is guaranteed that the + * parameters \a row and \a col are in range. + * + * If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this + * function equivalent to \link operator()(Index,Index) const \endlink. + * + * \sa operator()(Index,Index) const, coeffRef(Index,Index), coeff(Index) const + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType coeff(Index row, Index col) const + { + eigen_internal_assert(row >= 0 && row < rows() + && col >= 0 && col < cols()); + return internal::evaluator(derived()).coeff(row,col); + } + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType coeffByOuterInner(Index outer, Index inner) const + { + return coeff(rowIndexByOuterInner(outer, inner), + colIndexByOuterInner(outer, inner)); + } + + /** \returns the coefficient at given the given row and column. + * + * \sa operator()(Index,Index), operator[](Index) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType operator()(Index row, Index col) const + { + eigen_assert(row >= 0 && row < rows() + && col >= 0 && col < cols()); + return coeff(row, col); + } + + /** Short version: don't use this function, use + * \link operator[](Index) const \endlink instead. + * + * Long version: this function is similar to + * \link operator[](Index) const \endlink, but without the assertion. + * Use this for limiting the performance cost of debugging code when doing + * repeated coefficient access. Only use this when it is guaranteed that the + * parameter \a index is in range. + * + * If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this + * function equivalent to \link operator[](Index) const \endlink. + * + * \sa operator[](Index) const, coeffRef(Index), coeff(Index,Index) const + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + coeff(Index index) const + { + EIGEN_STATIC_ASSERT(internal::evaluator::Flags & LinearAccessBit, + THIS_COEFFICIENT_ACCESSOR_TAKING_ONE_ACCESS_IS_ONLY_FOR_EXPRESSIONS_ALLOWING_LINEAR_ACCESS) + eigen_internal_assert(index >= 0 && index < size()); + return internal::evaluator(derived()).coeff(index); + } + + + /** \returns the coefficient at given index. + * + * This method is allowed only for vector expressions, and for matrix expressions having the LinearAccessBit. + * + * \sa operator[](Index), operator()(Index,Index) const, x() const, y() const, + * z() const, w() const + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + operator[](Index index) const + { + EIGEN_STATIC_ASSERT(Derived::IsVectorAtCompileTime, + THE_BRACKET_OPERATOR_IS_ONLY_FOR_VECTORS__USE_THE_PARENTHESIS_OPERATOR_INSTEAD) + eigen_assert(index >= 0 && index < size()); + return coeff(index); + } + + /** \returns the coefficient at given index. + * + * This is synonymous to operator[](Index) const. + * + * This method is allowed only for vector expressions, and for matrix expressions having the LinearAccessBit. + * + * \sa operator[](Index), operator()(Index,Index) const, x() const, y() const, + * z() const, w() const + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + operator()(Index index) const + { + eigen_assert(index >= 0 && index < size()); + return coeff(index); + } + + /** equivalent to operator[](0). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + x() const { return (*this)[0]; } + + /** equivalent to operator[](1). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + y() const + { + EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=2, OUT_OF_RANGE_ACCESS); + return (*this)[1]; + } + + /** equivalent to operator[](2). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + z() const + { + EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=3, OUT_OF_RANGE_ACCESS); + return (*this)[2]; + } + + /** equivalent to operator[](3). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE CoeffReturnType + w() const + { + EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=4, OUT_OF_RANGE_ACCESS); + return (*this)[3]; + } + + /** \internal + * \returns the packet of coefficients starting at the given row and column. It is your responsibility + * to ensure that a packet really starts there. This method is only available on expressions having the + * PacketAccessBit. + * + * The \a LoadMode parameter may have the value \a #Aligned or \a #Unaligned. Its effect is to select + * the appropriate vectorization instruction. Aligned access is faster, but is only possible for packets + * starting at an address which is a multiple of the packet size. + */ + + template + EIGEN_STRONG_INLINE PacketReturnType packet(Index row, Index col) const + { + typedef typename internal::packet_traits::type DefaultPacketType; + eigen_internal_assert(row >= 0 && row < rows() && col >= 0 && col < cols()); + return internal::evaluator(derived()).template packet(row,col); + } + + + /** \internal */ + template + EIGEN_STRONG_INLINE PacketReturnType packetByOuterInner(Index outer, Index inner) const + { + return packet(rowIndexByOuterInner(outer, inner), + colIndexByOuterInner(outer, inner)); + } + + /** \internal + * \returns the packet of coefficients starting at the given index. It is your responsibility + * to ensure that a packet really starts there. This method is only available on expressions having the + * PacketAccessBit and the LinearAccessBit. + * + * The \a LoadMode parameter may have the value \a #Aligned or \a #Unaligned. Its effect is to select + * the appropriate vectorization instruction. Aligned access is faster, but is only possible for packets + * starting at an address which is a multiple of the packet size. + */ + + template + EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const + { + EIGEN_STATIC_ASSERT(internal::evaluator::Flags & LinearAccessBit, + THIS_COEFFICIENT_ACCESSOR_TAKING_ONE_ACCESS_IS_ONLY_FOR_EXPRESSIONS_ALLOWING_LINEAR_ACCESS) + typedef typename internal::packet_traits::type DefaultPacketType; + eigen_internal_assert(index >= 0 && index < size()); + return internal::evaluator(derived()).template packet(index); + } + + protected: + // explanation: DenseBase is doing "using ..." on the methods from DenseCoeffsBase. + // But some methods are only available in the DirectAccess case. + // So we add dummy methods here with these names, so that "using... " doesn't fail. + // It's not private so that the child class DenseBase can access them, and it's not public + // either since it's an implementation detail, so has to be protected. + void coeffRef(); + void coeffRefByOuterInner(); + void writePacket(); + void writePacketByOuterInner(); + void copyCoeff(); + void copyCoeffByOuterInner(); + void copyPacket(); + void copyPacketByOuterInner(); + void stride(); + void innerStride(); + void outerStride(); + void rowStride(); + void colStride(); +}; + +/** \brief Base class providing read/write coefficient access to matrices and arrays. + * \ingroup Core_Module + * \tparam Derived Type of the derived class + * + * \note #WriteAccessors Constant indicating read/write access + * + * This class defines the non-const \c operator() function and friends, which can be used to write specific + * entries of a matrix or array. This class inherits DenseCoeffsBase which + * defines the const variant for reading specific entries. + * + * \sa DenseCoeffsBase, \ref TopicClassHierarchy + */ +template +class DenseCoeffsBase : public DenseCoeffsBase +{ + public: + + typedef DenseCoeffsBase Base; + + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::packet_traits::type PacketScalar; + typedef typename NumTraits::Real RealScalar; + + using Base::coeff; + using Base::rows; + using Base::cols; + using Base::size; + using Base::derived; + using Base::rowIndexByOuterInner; + using Base::colIndexByOuterInner; + using Base::operator[]; + using Base::operator(); + using Base::x; + using Base::y; + using Base::z; + using Base::w; + + /** Short version: don't use this function, use + * \link operator()(Index,Index) \endlink instead. + * + * Long version: this function is similar to + * \link operator()(Index,Index) \endlink, but without the assertion. + * Use this for limiting the performance cost of debugging code when doing + * repeated coefficient access. Only use this when it is guaranteed that the + * parameters \a row and \a col are in range. + * + * If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this + * function equivalent to \link operator()(Index,Index) \endlink. + * + * \sa operator()(Index,Index), coeff(Index, Index) const, coeffRef(Index) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& coeffRef(Index row, Index col) + { + eigen_internal_assert(row >= 0 && row < rows() + && col >= 0 && col < cols()); + return internal::evaluator(derived()).coeffRef(row,col); + } + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + coeffRefByOuterInner(Index outer, Index inner) + { + return coeffRef(rowIndexByOuterInner(outer, inner), + colIndexByOuterInner(outer, inner)); + } + + /** \returns a reference to the coefficient at given the given row and column. + * + * \sa operator[](Index) + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + operator()(Index row, Index col) + { + eigen_assert(row >= 0 && row < rows() + && col >= 0 && col < cols()); + return coeffRef(row, col); + } + + + /** Short version: don't use this function, use + * \link operator[](Index) \endlink instead. + * + * Long version: this function is similar to + * \link operator[](Index) \endlink, but without the assertion. + * Use this for limiting the performance cost of debugging code when doing + * repeated coefficient access. Only use this when it is guaranteed that the + * parameters \a row and \a col are in range. + * + * If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this + * function equivalent to \link operator[](Index) \endlink. + * + * \sa operator[](Index), coeff(Index) const, coeffRef(Index,Index) + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + coeffRef(Index index) + { + EIGEN_STATIC_ASSERT(internal::evaluator::Flags & LinearAccessBit, + THIS_COEFFICIENT_ACCESSOR_TAKING_ONE_ACCESS_IS_ONLY_FOR_EXPRESSIONS_ALLOWING_LINEAR_ACCESS) + eigen_internal_assert(index >= 0 && index < size()); + return internal::evaluator(derived()).coeffRef(index); + } + + /** \returns a reference to the coefficient at given index. + * + * This method is allowed only for vector expressions, and for matrix expressions having the LinearAccessBit. + * + * \sa operator[](Index) const, operator()(Index,Index), x(), y(), z(), w() + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + operator[](Index index) + { + EIGEN_STATIC_ASSERT(Derived::IsVectorAtCompileTime, + THE_BRACKET_OPERATOR_IS_ONLY_FOR_VECTORS__USE_THE_PARENTHESIS_OPERATOR_INSTEAD) + eigen_assert(index >= 0 && index < size()); + return coeffRef(index); + } + + /** \returns a reference to the coefficient at given index. + * + * This is synonymous to operator[](Index). + * + * This method is allowed only for vector expressions, and for matrix expressions having the LinearAccessBit. + * + * \sa operator[](Index) const, operator()(Index,Index), x(), y(), z(), w() + */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + operator()(Index index) + { + eigen_assert(index >= 0 && index < size()); + return coeffRef(index); + } + + /** equivalent to operator[](0). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + x() { return (*this)[0]; } + + /** equivalent to operator[](1). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + y() + { + EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=2, OUT_OF_RANGE_ACCESS); + return (*this)[1]; + } + + /** equivalent to operator[](2). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + z() + { + EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=3, OUT_OF_RANGE_ACCESS); + return (*this)[2]; + } + + /** equivalent to operator[](3). */ + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& + w() + { + EIGEN_STATIC_ASSERT(Derived::SizeAtCompileTime==-1 || Derived::SizeAtCompileTime>=4, OUT_OF_RANGE_ACCESS); + return (*this)[3]; + } +}; + +/** \brief Base class providing direct read-only coefficient access to matrices and arrays. + * \ingroup Core_Module + * \tparam Derived Type of the derived class + * + * \note #DirectAccessors Constant indicating direct access + * + * This class defines functions to work with strides which can be used to access entries directly. This class + * inherits DenseCoeffsBase which defines functions to access entries read-only using + * \c operator() . + * + * \sa \blank \ref TopicClassHierarchy + */ +template +class DenseCoeffsBase : public DenseCoeffsBase +{ + public: + + typedef DenseCoeffsBase Base; + typedef typename internal::traits::Scalar Scalar; + typedef typename NumTraits::Real RealScalar; + + using Base::rows; + using Base::cols; + using Base::size; + using Base::derived; + + /** \returns the pointer increment between two consecutive elements within a slice in the inner direction. + * + * \sa outerStride(), rowStride(), colStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const + { + return derived().innerStride(); + } + + /** \returns the pointer increment between two consecutive inner slices (for example, between two consecutive columns + * in a column-major matrix). + * + * \sa innerStride(), rowStride(), colStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const + { + return derived().outerStride(); + } + + // FIXME shall we remove it ? + EIGEN_CONSTEXPR inline Index stride() const + { + return Derived::IsVectorAtCompileTime ? innerStride() : outerStride(); + } + + /** \returns the pointer increment between two consecutive rows. + * + * \sa innerStride(), outerStride(), colStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rowStride() const + { + return Derived::IsRowMajor ? outerStride() : innerStride(); + } + + /** \returns the pointer increment between two consecutive columns. + * + * \sa innerStride(), outerStride(), rowStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index colStride() const + { + return Derived::IsRowMajor ? innerStride() : outerStride(); + } +}; + +/** \brief Base class providing direct read/write coefficient access to matrices and arrays. + * \ingroup Core_Module + * \tparam Derived Type of the derived class + * + * \note #DirectWriteAccessors Constant indicating direct access + * + * This class defines functions to work with strides which can be used to access entries directly. This class + * inherits DenseCoeffsBase which defines functions to access entries read/write using + * \c operator(). + * + * \sa \blank \ref TopicClassHierarchy + */ +template +class DenseCoeffsBase + : public DenseCoeffsBase +{ + public: + + typedef DenseCoeffsBase Base; + typedef typename internal::traits::Scalar Scalar; + typedef typename NumTraits::Real RealScalar; + + using Base::rows; + using Base::cols; + using Base::size; + using Base::derived; + + /** \returns the pointer increment between two consecutive elements within a slice in the inner direction. + * + * \sa outerStride(), rowStride(), colStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT + { + return derived().innerStride(); + } + + /** \returns the pointer increment between two consecutive inner slices (for example, between two consecutive columns + * in a column-major matrix). + * + * \sa innerStride(), rowStride(), colStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT + { + return derived().outerStride(); + } + + // FIXME shall we remove it ? + EIGEN_CONSTEXPR inline Index stride() const EIGEN_NOEXCEPT + { + return Derived::IsVectorAtCompileTime ? innerStride() : outerStride(); + } + + /** \returns the pointer increment between two consecutive rows. + * + * \sa innerStride(), outerStride(), colStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rowStride() const EIGEN_NOEXCEPT + { + return Derived::IsRowMajor ? outerStride() : innerStride(); + } + + /** \returns the pointer increment between two consecutive columns. + * + * \sa innerStride(), outerStride(), rowStride() + */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index colStride() const EIGEN_NOEXCEPT + { + return Derived::IsRowMajor ? innerStride() : outerStride(); + } +}; + +namespace internal { + +template +struct first_aligned_impl +{ + static EIGEN_CONSTEXPR inline Index run(const Derived&) EIGEN_NOEXCEPT + { return 0; } +}; + +template +struct first_aligned_impl +{ + static inline Index run(const Derived& m) + { + return internal::first_aligned(m.data(), m.size()); + } +}; + +/** \internal \returns the index of the first element of the array stored by \a m that is properly aligned with respect to \a Alignment for vectorization. + * + * \tparam Alignment requested alignment in Bytes. + * + * There is also the variant first_aligned(const Scalar*, Integer) defined in Memory.h. See it for more + * documentation. + */ +template +static inline Index first_aligned(const DenseBase& m) +{ + enum { ReturnZero = (int(evaluator::Alignment) >= Alignment) || !(Derived::Flags & DirectAccessBit) }; + return first_aligned_impl::run(m.derived()); +} + +template +static inline Index first_default_aligned(const DenseBase& m) +{ + typedef typename Derived::Scalar Scalar; + typedef typename packet_traits::type DefaultPacketType; + return internal::first_aligned::alignment),Derived>(m); +} + +template::ret> +struct inner_stride_at_compile_time +{ + enum { ret = traits::InnerStrideAtCompileTime }; +}; + +template +struct inner_stride_at_compile_time +{ + enum { ret = 0 }; +}; + +template::ret> +struct outer_stride_at_compile_time +{ + enum { ret = traits::OuterStrideAtCompileTime }; +}; + +template +struct outer_stride_at_compile_time +{ + enum { ret = 0 }; +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_DENSECOEFFSBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseStorage.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseStorage.h new file mode 100644 index 0000000..08ef6c5 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DenseStorage.h @@ -0,0 +1,652 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2006-2009 Benoit Jacob +// Copyright (C) 2010-2013 Hauke Heibel +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MATRIXSTORAGE_H +#define EIGEN_MATRIXSTORAGE_H + +#ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN + #define EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(X) X; EIGEN_DENSE_STORAGE_CTOR_PLUGIN; +#else + #define EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(X) +#endif + +namespace Eigen { + +namespace internal { + +struct constructor_without_unaligned_array_assert {}; + +template +EIGEN_DEVICE_FUNC +void check_static_allocation_size() +{ + // if EIGEN_STACK_ALLOCATION_LIMIT is defined to 0, then no limit + #if EIGEN_STACK_ALLOCATION_LIMIT + EIGEN_STATIC_ASSERT(Size * sizeof(T) <= EIGEN_STACK_ALLOCATION_LIMIT, OBJECT_ALLOCATED_ON_STACK_IS_TOO_BIG); + #endif +} + +/** \internal + * Static array. If the MatrixOrArrayOptions require auto-alignment, the array will be automatically aligned: + * to 16 bytes boundary if the total size is a multiple of 16 bytes. + */ +template ::value > +struct plain_array +{ + T array[Size]; + + EIGEN_DEVICE_FUNC + plain_array() + { + check_static_allocation_size(); + } + + EIGEN_DEVICE_FUNC + plain_array(constructor_without_unaligned_array_assert) + { + check_static_allocation_size(); + } +}; + +#if defined(EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT) + #define EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(sizemask) +#elif EIGEN_GNUC_AT_LEAST(4,7) + // GCC 4.7 is too aggressive in its optimizations and remove the alignment test based on the fact the array is declared to be aligned. + // See this bug report: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53900 + // Hiding the origin of the array pointer behind a function argument seems to do the trick even if the function is inlined: + template + EIGEN_ALWAYS_INLINE PtrType eigen_unaligned_array_assert_workaround_gcc47(PtrType array) { return array; } + #define EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(sizemask) \ + eigen_assert((internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (sizemask)) == 0 \ + && "this assertion is explained here: " \ + "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" \ + " **** READ THIS WEB PAGE !!! ****"); +#else + #define EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(sizemask) \ + eigen_assert((internal::UIntPtr(array) & (sizemask)) == 0 \ + && "this assertion is explained here: " \ + "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" \ + " **** READ THIS WEB PAGE !!! ****"); +#endif + +template +struct plain_array +{ + EIGEN_ALIGN_TO_BOUNDARY(8) T array[Size]; + + EIGEN_DEVICE_FUNC + plain_array() + { + EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(7); + check_static_allocation_size(); + } + + EIGEN_DEVICE_FUNC + plain_array(constructor_without_unaligned_array_assert) + { + check_static_allocation_size(); + } +}; + +template +struct plain_array +{ + EIGEN_ALIGN_TO_BOUNDARY(16) T array[Size]; + + EIGEN_DEVICE_FUNC + plain_array() + { + EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(15); + check_static_allocation_size(); + } + + EIGEN_DEVICE_FUNC + plain_array(constructor_without_unaligned_array_assert) + { + check_static_allocation_size(); + } +}; + +template +struct plain_array +{ + EIGEN_ALIGN_TO_BOUNDARY(32) T array[Size]; + + EIGEN_DEVICE_FUNC + plain_array() + { + EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(31); + check_static_allocation_size(); + } + + EIGEN_DEVICE_FUNC + plain_array(constructor_without_unaligned_array_assert) + { + check_static_allocation_size(); + } +}; + +template +struct plain_array +{ + EIGEN_ALIGN_TO_BOUNDARY(64) T array[Size]; + + EIGEN_DEVICE_FUNC + plain_array() + { + EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(63); + check_static_allocation_size(); + } + + EIGEN_DEVICE_FUNC + plain_array(constructor_without_unaligned_array_assert) + { + check_static_allocation_size(); + } +}; + +template +struct plain_array +{ + T array[1]; + EIGEN_DEVICE_FUNC plain_array() {} + EIGEN_DEVICE_FUNC plain_array(constructor_without_unaligned_array_assert) {} +}; + +struct plain_array_helper { + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + static void copy(const plain_array& src, const Eigen::Index size, + plain_array& dst) { + smart_copy(src.array, src.array + size, dst.array); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + static void swap(plain_array& a, const Eigen::Index a_size, + plain_array& b, const Eigen::Index b_size) { + if (a_size < b_size) { + std::swap_ranges(b.array, b.array + a_size, a.array); + smart_move(b.array + a_size, b.array + b_size, a.array + a_size); + } else if (a_size > b_size) { + std::swap_ranges(a.array, a.array + b_size, b.array); + smart_move(a.array + b_size, a.array + a_size, b.array + b_size); + } else { + std::swap_ranges(a.array, a.array + a_size, b.array); + } + } +}; + +} // end namespace internal + +/** \internal + * + * \class DenseStorage + * \ingroup Core_Module + * + * \brief Stores the data of a matrix + * + * This class stores the data of fixed-size, dynamic-size or mixed matrices + * in a way as compact as possible. + * + * \sa Matrix + */ +template class DenseStorage; + +// purely fixed-size matrix +template class DenseStorage +{ + internal::plain_array m_data; + public: + EIGEN_DEVICE_FUNC DenseStorage() { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(Index size = Size) + } + EIGEN_DEVICE_FUNC + explicit DenseStorage(internal::constructor_without_unaligned_array_assert) + : m_data(internal::constructor_without_unaligned_array_assert()) {} +#if !EIGEN_HAS_CXX11 || defined(EIGEN_DENSE_STORAGE_CTOR_PLUGIN) + EIGEN_DEVICE_FUNC + DenseStorage(const DenseStorage& other) : m_data(other.m_data) { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(Index size = Size) + } +#else + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage&) = default; +#endif +#if !EIGEN_HAS_CXX11 + EIGEN_DEVICE_FUNC + DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) m_data = other.m_data; + return *this; + } +#else + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage&) = default; +#endif +#if EIGEN_HAS_RVALUE_REFERENCES +#if !EIGEN_HAS_CXX11 + EIGEN_DEVICE_FUNC DenseStorage(DenseStorage&& other) EIGEN_NOEXCEPT + : m_data(std::move(other.m_data)) + { + } + EIGEN_DEVICE_FUNC DenseStorage& operator=(DenseStorage&& other) EIGEN_NOEXCEPT + { + if (this != &other) + m_data = std::move(other.m_data); + return *this; + } +#else + EIGEN_DEVICE_FUNC DenseStorage(DenseStorage&&) = default; + EIGEN_DEVICE_FUNC DenseStorage& operator=(DenseStorage&&) = default; +#endif +#endif + EIGEN_DEVICE_FUNC DenseStorage(Index size, Index rows, Index cols) { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + eigen_internal_assert(size==rows*cols && rows==_Rows && cols==_Cols); + EIGEN_UNUSED_VARIABLE(size); + EIGEN_UNUSED_VARIABLE(rows); + EIGEN_UNUSED_VARIABLE(cols); + } + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) { + numext::swap(m_data, other.m_data); + } + EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index rows(void) EIGEN_NOEXCEPT {return _Rows;} + EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index cols(void) EIGEN_NOEXCEPT {return _Cols;} + EIGEN_DEVICE_FUNC void conservativeResize(Index,Index,Index) {} + EIGEN_DEVICE_FUNC void resize(Index,Index,Index) {} + EIGEN_DEVICE_FUNC const T *data() const { return m_data.array; } + EIGEN_DEVICE_FUNC T *data() { return m_data.array; } +}; + +// null matrix +template class DenseStorage +{ + public: + EIGEN_DEVICE_FUNC DenseStorage() {} + EIGEN_DEVICE_FUNC explicit DenseStorage(internal::constructor_without_unaligned_array_assert) {} + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage&) {} + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage&) { return *this; } + EIGEN_DEVICE_FUNC DenseStorage(Index,Index,Index) {} + EIGEN_DEVICE_FUNC void swap(DenseStorage& ) {} + EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index rows(void) EIGEN_NOEXCEPT {return _Rows;} + EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index cols(void) EIGEN_NOEXCEPT {return _Cols;} + EIGEN_DEVICE_FUNC void conservativeResize(Index,Index,Index) {} + EIGEN_DEVICE_FUNC void resize(Index,Index,Index) {} + EIGEN_DEVICE_FUNC const T *data() const { return 0; } + EIGEN_DEVICE_FUNC T *data() { return 0; } +}; + +// more specializations for null matrices; these are necessary to resolve ambiguities +template class DenseStorage +: public DenseStorage { }; + +template class DenseStorage +: public DenseStorage { }; + +template class DenseStorage +: public DenseStorage { }; + +// dynamic-size matrix with fixed-size storage +template class DenseStorage +{ + internal::plain_array m_data; + Index m_rows; + Index m_cols; + public: + EIGEN_DEVICE_FUNC DenseStorage() : m_rows(0), m_cols(0) {} + EIGEN_DEVICE_FUNC explicit DenseStorage(internal::constructor_without_unaligned_array_assert) + : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0), m_cols(0) {} + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage& other) + : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(other.m_rows), m_cols(other.m_cols) + { + internal::plain_array_helper::copy(other.m_data, m_rows * m_cols, m_data); + } + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) + { + m_rows = other.m_rows; + m_cols = other.m_cols; + internal::plain_array_helper::copy(other.m_data, m_rows * m_cols, m_data); + } + return *this; + } + EIGEN_DEVICE_FUNC DenseStorage(Index, Index rows, Index cols) : m_rows(rows), m_cols(cols) {} + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) + { + internal::plain_array_helper::swap(m_data, m_rows * m_cols, other.m_data, other.m_rows * other.m_cols); + numext::swap(m_rows,other.m_rows); + numext::swap(m_cols,other.m_cols); + } + EIGEN_DEVICE_FUNC Index rows() const {return m_rows;} + EIGEN_DEVICE_FUNC Index cols() const {return m_cols;} + EIGEN_DEVICE_FUNC void conservativeResize(Index, Index rows, Index cols) { m_rows = rows; m_cols = cols; } + EIGEN_DEVICE_FUNC void resize(Index, Index rows, Index cols) { m_rows = rows; m_cols = cols; } + EIGEN_DEVICE_FUNC const T *data() const { return m_data.array; } + EIGEN_DEVICE_FUNC T *data() { return m_data.array; } +}; + +// dynamic-size matrix with fixed-size storage and fixed width +template class DenseStorage +{ + internal::plain_array m_data; + Index m_rows; + public: + EIGEN_DEVICE_FUNC DenseStorage() : m_rows(0) {} + EIGEN_DEVICE_FUNC explicit DenseStorage(internal::constructor_without_unaligned_array_assert) + : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(0) {} + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage& other) + : m_data(internal::constructor_without_unaligned_array_assert()), m_rows(other.m_rows) + { + internal::plain_array_helper::copy(other.m_data, m_rows * _Cols, m_data); + } + + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) + { + m_rows = other.m_rows; + internal::plain_array_helper::copy(other.m_data, m_rows * _Cols, m_data); + } + return *this; + } + EIGEN_DEVICE_FUNC DenseStorage(Index, Index rows, Index) : m_rows(rows) {} + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) + { + internal::plain_array_helper::swap(m_data, m_rows * _Cols, other.m_data, other.m_rows * _Cols); + numext::swap(m_rows, other.m_rows); + } + EIGEN_DEVICE_FUNC Index rows(void) const EIGEN_NOEXCEPT {return m_rows;} + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols(void) const EIGEN_NOEXCEPT {return _Cols;} + EIGEN_DEVICE_FUNC void conservativeResize(Index, Index rows, Index) { m_rows = rows; } + EIGEN_DEVICE_FUNC void resize(Index, Index rows, Index) { m_rows = rows; } + EIGEN_DEVICE_FUNC const T *data() const { return m_data.array; } + EIGEN_DEVICE_FUNC T *data() { return m_data.array; } +}; + +// dynamic-size matrix with fixed-size storage and fixed height +template class DenseStorage +{ + internal::plain_array m_data; + Index m_cols; + public: + EIGEN_DEVICE_FUNC DenseStorage() : m_cols(0) {} + EIGEN_DEVICE_FUNC explicit DenseStorage(internal::constructor_without_unaligned_array_assert) + : m_data(internal::constructor_without_unaligned_array_assert()), m_cols(0) {} + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage& other) + : m_data(internal::constructor_without_unaligned_array_assert()), m_cols(other.m_cols) + { + internal::plain_array_helper::copy(other.m_data, _Rows * m_cols, m_data); + } + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) + { + m_cols = other.m_cols; + internal::plain_array_helper::copy(other.m_data, _Rows * m_cols, m_data); + } + return *this; + } + EIGEN_DEVICE_FUNC DenseStorage(Index, Index, Index cols) : m_cols(cols) {} + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) { + internal::plain_array_helper::swap(m_data, _Rows * m_cols, other.m_data, _Rows * other.m_cols); + numext::swap(m_cols, other.m_cols); + } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows(void) const EIGEN_NOEXCEPT {return _Rows;} + EIGEN_DEVICE_FUNC Index cols(void) const EIGEN_NOEXCEPT {return m_cols;} + EIGEN_DEVICE_FUNC void conservativeResize(Index, Index, Index cols) { m_cols = cols; } + EIGEN_DEVICE_FUNC void resize(Index, Index, Index cols) { m_cols = cols; } + EIGEN_DEVICE_FUNC const T *data() const { return m_data.array; } + EIGEN_DEVICE_FUNC T *data() { return m_data.array; } +}; + +// purely dynamic matrix. +template class DenseStorage +{ + T *m_data; + Index m_rows; + Index m_cols; + public: + EIGEN_DEVICE_FUNC DenseStorage() : m_data(0), m_rows(0), m_cols(0) {} + EIGEN_DEVICE_FUNC explicit DenseStorage(internal::constructor_without_unaligned_array_assert) + : m_data(0), m_rows(0), m_cols(0) {} + EIGEN_DEVICE_FUNC DenseStorage(Index size, Index rows, Index cols) + : m_data(internal::conditional_aligned_new_auto(size)), m_rows(rows), m_cols(cols) + { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + eigen_internal_assert(size==rows*cols && rows>=0 && cols >=0); + } + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage& other) + : m_data(internal::conditional_aligned_new_auto(other.m_rows*other.m_cols)) + , m_rows(other.m_rows) + , m_cols(other.m_cols) + { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(Index size = m_rows*m_cols) + internal::smart_copy(other.m_data, other.m_data+other.m_rows*other.m_cols, m_data); + } + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) + { + DenseStorage tmp(other); + this->swap(tmp); + } + return *this; + } +#if EIGEN_HAS_RVALUE_REFERENCES + EIGEN_DEVICE_FUNC + DenseStorage(DenseStorage&& other) EIGEN_NOEXCEPT + : m_data(std::move(other.m_data)) + , m_rows(std::move(other.m_rows)) + , m_cols(std::move(other.m_cols)) + { + other.m_data = nullptr; + other.m_rows = 0; + other.m_cols = 0; + } + EIGEN_DEVICE_FUNC + DenseStorage& operator=(DenseStorage&& other) EIGEN_NOEXCEPT + { + numext::swap(m_data, other.m_data); + numext::swap(m_rows, other.m_rows); + numext::swap(m_cols, other.m_cols); + return *this; + } +#endif + EIGEN_DEVICE_FUNC ~DenseStorage() { internal::conditional_aligned_delete_auto(m_data, m_rows*m_cols); } + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) + { + numext::swap(m_data,other.m_data); + numext::swap(m_rows,other.m_rows); + numext::swap(m_cols,other.m_cols); + } + EIGEN_DEVICE_FUNC Index rows(void) const EIGEN_NOEXCEPT {return m_rows;} + EIGEN_DEVICE_FUNC Index cols(void) const EIGEN_NOEXCEPT {return m_cols;} + void conservativeResize(Index size, Index rows, Index cols) + { + m_data = internal::conditional_aligned_realloc_new_auto(m_data, size, m_rows*m_cols); + m_rows = rows; + m_cols = cols; + } + EIGEN_DEVICE_FUNC void resize(Index size, Index rows, Index cols) + { + if(size != m_rows*m_cols) + { + internal::conditional_aligned_delete_auto(m_data, m_rows*m_cols); + if (size>0) // >0 and not simply !=0 to let the compiler knows that size cannot be negative + m_data = internal::conditional_aligned_new_auto(size); + else + m_data = 0; + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + } + m_rows = rows; + m_cols = cols; + } + EIGEN_DEVICE_FUNC const T *data() const { return m_data; } + EIGEN_DEVICE_FUNC T *data() { return m_data; } +}; + +// matrix with dynamic width and fixed height (so that matrix has dynamic size). +template class DenseStorage +{ + T *m_data; + Index m_cols; + public: + EIGEN_DEVICE_FUNC DenseStorage() : m_data(0), m_cols(0) {} + explicit DenseStorage(internal::constructor_without_unaligned_array_assert) : m_data(0), m_cols(0) {} + EIGEN_DEVICE_FUNC DenseStorage(Index size, Index rows, Index cols) : m_data(internal::conditional_aligned_new_auto(size)), m_cols(cols) + { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + eigen_internal_assert(size==rows*cols && rows==_Rows && cols >=0); + EIGEN_UNUSED_VARIABLE(rows); + } + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage& other) + : m_data(internal::conditional_aligned_new_auto(_Rows*other.m_cols)) + , m_cols(other.m_cols) + { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(Index size = m_cols*_Rows) + internal::smart_copy(other.m_data, other.m_data+_Rows*m_cols, m_data); + } + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) + { + DenseStorage tmp(other); + this->swap(tmp); + } + return *this; + } +#if EIGEN_HAS_RVALUE_REFERENCES + EIGEN_DEVICE_FUNC + DenseStorage(DenseStorage&& other) EIGEN_NOEXCEPT + : m_data(std::move(other.m_data)) + , m_cols(std::move(other.m_cols)) + { + other.m_data = nullptr; + other.m_cols = 0; + } + EIGEN_DEVICE_FUNC + DenseStorage& operator=(DenseStorage&& other) EIGEN_NOEXCEPT + { + numext::swap(m_data, other.m_data); + numext::swap(m_cols, other.m_cols); + return *this; + } +#endif + EIGEN_DEVICE_FUNC ~DenseStorage() { internal::conditional_aligned_delete_auto(m_data, _Rows*m_cols); } + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) { + numext::swap(m_data,other.m_data); + numext::swap(m_cols,other.m_cols); + } + EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index rows(void) EIGEN_NOEXCEPT {return _Rows;} + EIGEN_DEVICE_FUNC Index cols(void) const EIGEN_NOEXCEPT {return m_cols;} + EIGEN_DEVICE_FUNC void conservativeResize(Index size, Index, Index cols) + { + m_data = internal::conditional_aligned_realloc_new_auto(m_data, size, _Rows*m_cols); + m_cols = cols; + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index size, Index, Index cols) + { + if(size != _Rows*m_cols) + { + internal::conditional_aligned_delete_auto(m_data, _Rows*m_cols); + if (size>0) // >0 and not simply !=0 to let the compiler knows that size cannot be negative + m_data = internal::conditional_aligned_new_auto(size); + else + m_data = 0; + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + } + m_cols = cols; + } + EIGEN_DEVICE_FUNC const T *data() const { return m_data; } + EIGEN_DEVICE_FUNC T *data() { return m_data; } +}; + +// matrix with dynamic height and fixed width (so that matrix has dynamic size). +template class DenseStorage +{ + T *m_data; + Index m_rows; + public: + EIGEN_DEVICE_FUNC DenseStorage() : m_data(0), m_rows(0) {} + explicit DenseStorage(internal::constructor_without_unaligned_array_assert) : m_data(0), m_rows(0) {} + EIGEN_DEVICE_FUNC DenseStorage(Index size, Index rows, Index cols) : m_data(internal::conditional_aligned_new_auto(size)), m_rows(rows) + { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + eigen_internal_assert(size==rows*cols && rows>=0 && cols == _Cols); + EIGEN_UNUSED_VARIABLE(cols); + } + EIGEN_DEVICE_FUNC DenseStorage(const DenseStorage& other) + : m_data(internal::conditional_aligned_new_auto(other.m_rows*_Cols)) + , m_rows(other.m_rows) + { + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN(Index size = m_rows*_Cols) + internal::smart_copy(other.m_data, other.m_data+other.m_rows*_Cols, m_data); + } + EIGEN_DEVICE_FUNC DenseStorage& operator=(const DenseStorage& other) + { + if (this != &other) + { + DenseStorage tmp(other); + this->swap(tmp); + } + return *this; + } +#if EIGEN_HAS_RVALUE_REFERENCES + EIGEN_DEVICE_FUNC + DenseStorage(DenseStorage&& other) EIGEN_NOEXCEPT + : m_data(std::move(other.m_data)) + , m_rows(std::move(other.m_rows)) + { + other.m_data = nullptr; + other.m_rows = 0; + } + EIGEN_DEVICE_FUNC + DenseStorage& operator=(DenseStorage&& other) EIGEN_NOEXCEPT + { + numext::swap(m_data, other.m_data); + numext::swap(m_rows, other.m_rows); + return *this; + } +#endif + EIGEN_DEVICE_FUNC ~DenseStorage() { internal::conditional_aligned_delete_auto(m_data, _Cols*m_rows); } + EIGEN_DEVICE_FUNC void swap(DenseStorage& other) { + numext::swap(m_data,other.m_data); + numext::swap(m_rows,other.m_rows); + } + EIGEN_DEVICE_FUNC Index rows(void) const EIGEN_NOEXCEPT {return m_rows;} + EIGEN_DEVICE_FUNC static EIGEN_CONSTEXPR Index cols(void) {return _Cols;} + void conservativeResize(Index size, Index rows, Index) + { + m_data = internal::conditional_aligned_realloc_new_auto(m_data, size, m_rows*_Cols); + m_rows = rows; + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index size, Index rows, Index) + { + if(size != m_rows*_Cols) + { + internal::conditional_aligned_delete_auto(m_data, _Cols*m_rows); + if (size>0) // >0 and not simply !=0 to let the compiler knows that size cannot be negative + m_data = internal::conditional_aligned_new_auto(size); + else + m_data = 0; + EIGEN_INTERNAL_DENSE_STORAGE_CTOR_PLUGIN({}) + } + m_rows = rows; + } + EIGEN_DEVICE_FUNC const T *data() const { return m_data; } + EIGEN_DEVICE_FUNC T *data() { return m_data; } +}; + +} // end namespace Eigen + +#endif // EIGEN_MATRIX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Diagonal.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Diagonal.h new file mode 100644 index 0000000..3112d2c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Diagonal.h @@ -0,0 +1,258 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2007-2009 Benoit Jacob +// Copyright (C) 2009-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DIAGONAL_H +#define EIGEN_DIAGONAL_H + +namespace Eigen { + +/** \class Diagonal + * \ingroup Core_Module + * + * \brief Expression of a diagonal/subdiagonal/superdiagonal in a matrix + * + * \param MatrixType the type of the object in which we are taking a sub/main/super diagonal + * \param DiagIndex the index of the sub/super diagonal. The default is 0 and it means the main diagonal. + * A positive value means a superdiagonal, a negative value means a subdiagonal. + * You can also use DynamicIndex so the index can be set at runtime. + * + * The matrix is not required to be square. + * + * This class represents an expression of the main diagonal, or any sub/super diagonal + * of a square matrix. It is the return type of MatrixBase::diagonal() and MatrixBase::diagonal(Index) and most of the + * time this is the only way it is used. + * + * \sa MatrixBase::diagonal(), MatrixBase::diagonal(Index) + */ + +namespace internal { +template +struct traits > + : traits +{ + typedef typename ref_selector::type MatrixTypeNested; + typedef typename remove_reference::type _MatrixTypeNested; + typedef typename MatrixType::StorageKind StorageKind; + enum { + RowsAtCompileTime = (int(DiagIndex) == DynamicIndex || int(MatrixType::SizeAtCompileTime) == Dynamic) ? Dynamic + : (EIGEN_PLAIN_ENUM_MIN(MatrixType::RowsAtCompileTime - EIGEN_PLAIN_ENUM_MAX(-DiagIndex, 0), + MatrixType::ColsAtCompileTime - EIGEN_PLAIN_ENUM_MAX( DiagIndex, 0))), + ColsAtCompileTime = 1, + MaxRowsAtCompileTime = int(MatrixType::MaxSizeAtCompileTime) == Dynamic ? Dynamic + : DiagIndex == DynamicIndex ? EIGEN_SIZE_MIN_PREFER_FIXED(MatrixType::MaxRowsAtCompileTime, + MatrixType::MaxColsAtCompileTime) + : (EIGEN_PLAIN_ENUM_MIN(MatrixType::MaxRowsAtCompileTime - EIGEN_PLAIN_ENUM_MAX(-DiagIndex, 0), + MatrixType::MaxColsAtCompileTime - EIGEN_PLAIN_ENUM_MAX( DiagIndex, 0))), + MaxColsAtCompileTime = 1, + MaskLvalueBit = is_lvalue::value ? LvalueBit : 0, + Flags = (unsigned int)_MatrixTypeNested::Flags & (RowMajorBit | MaskLvalueBit | DirectAccessBit) & ~RowMajorBit, // FIXME DirectAccessBit should not be handled by expressions + MatrixTypeOuterStride = outer_stride_at_compile_time::ret, + InnerStrideAtCompileTime = MatrixTypeOuterStride == Dynamic ? Dynamic : MatrixTypeOuterStride+1, + OuterStrideAtCompileTime = 0 + }; +}; +} + +template class Diagonal + : public internal::dense_xpr_base< Diagonal >::type +{ + public: + + enum { DiagIndex = _DiagIndex }; + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Diagonal) + + EIGEN_DEVICE_FUNC + explicit inline Diagonal(MatrixType& matrix, Index a_index = DiagIndex) : m_matrix(matrix), m_index(a_index) + { + eigen_assert( a_index <= m_matrix.cols() && -a_index <= m_matrix.rows() ); + } + + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Diagonal) + + EIGEN_DEVICE_FUNC + inline Index rows() const + { + return m_index.value()<0 ? numext::mini(m_matrix.cols(),m_matrix.rows()+m_index.value()) + : numext::mini(m_matrix.rows(),m_matrix.cols()-m_index.value()); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return 1; } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT { + return m_matrix.outerStride() + 1; + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT { return 0; } + + typedef typename internal::conditional< + internal::is_lvalue::value, + Scalar, + const Scalar + >::type ScalarWithConstIfNotLvalue; + + EIGEN_DEVICE_FUNC + inline ScalarWithConstIfNotLvalue* data() { return &(m_matrix.coeffRef(rowOffset(), colOffset())); } + EIGEN_DEVICE_FUNC + inline const Scalar* data() const { return &(m_matrix.coeffRef(rowOffset(), colOffset())); } + + EIGEN_DEVICE_FUNC + inline Scalar& coeffRef(Index row, Index) + { + EIGEN_STATIC_ASSERT_LVALUE(MatrixType) + return m_matrix.coeffRef(row+rowOffset(), row+colOffset()); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index row, Index) const + { + return m_matrix.coeffRef(row+rowOffset(), row+colOffset()); + } + + EIGEN_DEVICE_FUNC + inline CoeffReturnType coeff(Index row, Index) const + { + return m_matrix.coeff(row+rowOffset(), row+colOffset()); + } + + EIGEN_DEVICE_FUNC + inline Scalar& coeffRef(Index idx) + { + EIGEN_STATIC_ASSERT_LVALUE(MatrixType) + return m_matrix.coeffRef(idx+rowOffset(), idx+colOffset()); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index idx) const + { + return m_matrix.coeffRef(idx+rowOffset(), idx+colOffset()); + } + + EIGEN_DEVICE_FUNC + inline CoeffReturnType coeff(Index idx) const + { + return m_matrix.coeff(idx+rowOffset(), idx+colOffset()); + } + + EIGEN_DEVICE_FUNC + inline const typename internal::remove_all::type& + nestedExpression() const + { + return m_matrix; + } + + EIGEN_DEVICE_FUNC + inline Index index() const + { + return m_index.value(); + } + + protected: + typename internal::ref_selector::non_const_type m_matrix; + const internal::variable_if_dynamicindex m_index; + + private: + // some compilers may fail to optimize std::max etc in case of compile-time constants... + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index absDiagIndex() const EIGEN_NOEXCEPT { return m_index.value()>0 ? m_index.value() : -m_index.value(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rowOffset() const EIGEN_NOEXCEPT { return m_index.value()>0 ? 0 : -m_index.value(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index colOffset() const EIGEN_NOEXCEPT { return m_index.value()>0 ? m_index.value() : 0; } + // trigger a compile-time error if someone try to call packet + template typename MatrixType::PacketReturnType packet(Index) const; + template typename MatrixType::PacketReturnType packet(Index,Index) const; +}; + +/** \returns an expression of the main diagonal of the matrix \c *this + * + * \c *this is not required to be square. + * + * Example: \include MatrixBase_diagonal.cpp + * Output: \verbinclude MatrixBase_diagonal.out + * + * \sa class Diagonal */ +template +EIGEN_DEVICE_FUNC inline typename MatrixBase::DiagonalReturnType +MatrixBase::diagonal() +{ + return DiagonalReturnType(derived()); +} + +/** This is the const version of diagonal(). */ +template +EIGEN_DEVICE_FUNC inline typename MatrixBase::ConstDiagonalReturnType +MatrixBase::diagonal() const +{ + return ConstDiagonalReturnType(derived()); +} + +/** \returns an expression of the \a DiagIndex-th sub or super diagonal of the matrix \c *this + * + * \c *this is not required to be square. + * + * The template parameter \a DiagIndex represent a super diagonal if \a DiagIndex > 0 + * and a sub diagonal otherwise. \a DiagIndex == 0 is equivalent to the main diagonal. + * + * Example: \include MatrixBase_diagonal_int.cpp + * Output: \verbinclude MatrixBase_diagonal_int.out + * + * \sa MatrixBase::diagonal(), class Diagonal */ +template +EIGEN_DEVICE_FUNC inline typename MatrixBase::DiagonalDynamicIndexReturnType +MatrixBase::diagonal(Index index) +{ + return DiagonalDynamicIndexReturnType(derived(), index); +} + +/** This is the const version of diagonal(Index). */ +template +EIGEN_DEVICE_FUNC inline typename MatrixBase::ConstDiagonalDynamicIndexReturnType +MatrixBase::diagonal(Index index) const +{ + return ConstDiagonalDynamicIndexReturnType(derived(), index); +} + +/** \returns an expression of the \a DiagIndex-th sub or super diagonal of the matrix \c *this + * + * \c *this is not required to be square. + * + * The template parameter \a DiagIndex represent a super diagonal if \a DiagIndex > 0 + * and a sub diagonal otherwise. \a DiagIndex == 0 is equivalent to the main diagonal. + * + * Example: \include MatrixBase_diagonal_template_int.cpp + * Output: \verbinclude MatrixBase_diagonal_template_int.out + * + * \sa MatrixBase::diagonal(), class Diagonal */ +template +template +EIGEN_DEVICE_FUNC +inline typename MatrixBase::template DiagonalIndexReturnType::Type +MatrixBase::diagonal() +{ + return typename DiagonalIndexReturnType::Type(derived()); +} + +/** This is the const version of diagonal(). */ +template +template +EIGEN_DEVICE_FUNC +inline typename MatrixBase::template ConstDiagonalIndexReturnType::Type +MatrixBase::diagonal() const +{ + return typename ConstDiagonalIndexReturnType::Type(derived()); +} + +} // end namespace Eigen + +#endif // EIGEN_DIAGONAL_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DiagonalMatrix.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DiagonalMatrix.h new file mode 100644 index 0000000..542685c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DiagonalMatrix.h @@ -0,0 +1,391 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// Copyright (C) 2007-2009 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DIAGONALMATRIX_H +#define EIGEN_DIAGONALMATRIX_H + +namespace Eigen { + +#ifndef EIGEN_PARSED_BY_DOXYGEN +template +class DiagonalBase : public EigenBase +{ + public: + typedef typename internal::traits::DiagonalVectorType DiagonalVectorType; + typedef typename DiagonalVectorType::Scalar Scalar; + typedef typename DiagonalVectorType::RealScalar RealScalar; + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::StorageIndex StorageIndex; + + enum { + RowsAtCompileTime = DiagonalVectorType::SizeAtCompileTime, + ColsAtCompileTime = DiagonalVectorType::SizeAtCompileTime, + MaxRowsAtCompileTime = DiagonalVectorType::MaxSizeAtCompileTime, + MaxColsAtCompileTime = DiagonalVectorType::MaxSizeAtCompileTime, + IsVectorAtCompileTime = 0, + Flags = NoPreferredStorageOrderBit + }; + + typedef Matrix DenseMatrixType; + typedef DenseMatrixType DenseType; + typedef DiagonalMatrix PlainObject; + + EIGEN_DEVICE_FUNC + inline const Derived& derived() const { return *static_cast(this); } + EIGEN_DEVICE_FUNC + inline Derived& derived() { return *static_cast(this); } + + EIGEN_DEVICE_FUNC + DenseMatrixType toDenseMatrix() const { return derived(); } + + EIGEN_DEVICE_FUNC + inline const DiagonalVectorType& diagonal() const { return derived().diagonal(); } + EIGEN_DEVICE_FUNC + inline DiagonalVectorType& diagonal() { return derived().diagonal(); } + + EIGEN_DEVICE_FUNC + inline Index rows() const { return diagonal().size(); } + EIGEN_DEVICE_FUNC + inline Index cols() const { return diagonal().size(); } + + template + EIGEN_DEVICE_FUNC + const Product + operator*(const MatrixBase &matrix) const + { + return Product(derived(),matrix.derived()); + } + + typedef DiagonalWrapper, const DiagonalVectorType> > InverseReturnType; + EIGEN_DEVICE_FUNC + inline const InverseReturnType + inverse() const + { + return InverseReturnType(diagonal().cwiseInverse()); + } + + EIGEN_DEVICE_FUNC + inline const DiagonalWrapper + operator*(const Scalar& scalar) const + { + return DiagonalWrapper(diagonal() * scalar); + } + EIGEN_DEVICE_FUNC + friend inline const DiagonalWrapper + operator*(const Scalar& scalar, const DiagonalBase& other) + { + return DiagonalWrapper(scalar * other.diagonal()); + } + + template + EIGEN_DEVICE_FUNC + #ifdef EIGEN_PARSED_BY_DOXYGEN + inline unspecified_expression_type + #else + inline const DiagonalWrapper + #endif + operator+(const DiagonalBase& other) const + { + return (diagonal() + other.diagonal()).asDiagonal(); + } + + template + EIGEN_DEVICE_FUNC + #ifdef EIGEN_PARSED_BY_DOXYGEN + inline unspecified_expression_type + #else + inline const DiagonalWrapper + #endif + operator-(const DiagonalBase& other) const + { + return (diagonal() - other.diagonal()).asDiagonal(); + } +}; + +#endif + +/** \class DiagonalMatrix + * \ingroup Core_Module + * + * \brief Represents a diagonal matrix with its storage + * + * \param _Scalar the type of coefficients + * \param SizeAtCompileTime the dimension of the matrix, or Dynamic + * \param MaxSizeAtCompileTime the dimension of the matrix, or Dynamic. This parameter is optional and defaults + * to SizeAtCompileTime. Most of the time, you do not need to specify it. + * + * \sa class DiagonalWrapper + */ + +namespace internal { +template +struct traits > + : traits > +{ + typedef Matrix<_Scalar,SizeAtCompileTime,1,0,MaxSizeAtCompileTime,1> DiagonalVectorType; + typedef DiagonalShape StorageKind; + enum { + Flags = LvalueBit | NoPreferredStorageOrderBit + }; +}; +} +template +class DiagonalMatrix + : public DiagonalBase > +{ + public: + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename internal::traits::DiagonalVectorType DiagonalVectorType; + typedef const DiagonalMatrix& Nested; + typedef _Scalar Scalar; + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::StorageIndex StorageIndex; + #endif + + protected: + + DiagonalVectorType m_diagonal; + + public: + + /** const version of diagonal(). */ + EIGEN_DEVICE_FUNC + inline const DiagonalVectorType& diagonal() const { return m_diagonal; } + /** \returns a reference to the stored vector of diagonal coefficients. */ + EIGEN_DEVICE_FUNC + inline DiagonalVectorType& diagonal() { return m_diagonal; } + + /** Default constructor without initialization */ + EIGEN_DEVICE_FUNC + inline DiagonalMatrix() {} + + /** Constructs a diagonal matrix with given dimension */ + EIGEN_DEVICE_FUNC + explicit inline DiagonalMatrix(Index dim) : m_diagonal(dim) {} + + /** 2D constructor. */ + EIGEN_DEVICE_FUNC + inline DiagonalMatrix(const Scalar& x, const Scalar& y) : m_diagonal(x,y) {} + + /** 3D constructor. */ + EIGEN_DEVICE_FUNC + inline DiagonalMatrix(const Scalar& x, const Scalar& y, const Scalar& z) : m_diagonal(x,y,z) {} + + #if EIGEN_HAS_CXX11 + /** \brief Construct a diagonal matrix with fixed size from an arbitrary number of coefficients. \cpp11 + * + * There exists C++98 anologue constructors for fixed-size diagonal matrices having 2 or 3 coefficients. + * + * \warning To construct a diagonal matrix of fixed size, the number of values passed to this + * constructor must match the fixed dimension of \c *this. + * + * \sa DiagonalMatrix(const Scalar&, const Scalar&) + * \sa DiagonalMatrix(const Scalar&, const Scalar&, const Scalar&) + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + DiagonalMatrix(const Scalar& a0, const Scalar& a1, const Scalar& a2, const ArgTypes&... args) + : m_diagonal(a0, a1, a2, args...) {} + + /** \brief Constructs a DiagonalMatrix and initializes it by elements given by an initializer list of initializer + * lists \cpp11 + */ + EIGEN_DEVICE_FUNC + explicit EIGEN_STRONG_INLINE DiagonalMatrix(const std::initializer_list>& list) + : m_diagonal(list) {} + #endif // EIGEN_HAS_CXX11 + + /** Copy constructor. */ + template + EIGEN_DEVICE_FUNC + inline DiagonalMatrix(const DiagonalBase& other) : m_diagonal(other.diagonal()) {} + + #ifndef EIGEN_PARSED_BY_DOXYGEN + /** copy constructor. prevent a default copy constructor from hiding the other templated constructor */ + inline DiagonalMatrix(const DiagonalMatrix& other) : m_diagonal(other.diagonal()) {} + #endif + + /** generic constructor from expression of the diagonal coefficients */ + template + EIGEN_DEVICE_FUNC + explicit inline DiagonalMatrix(const MatrixBase& other) : m_diagonal(other) + {} + + /** Copy operator. */ + template + EIGEN_DEVICE_FUNC + DiagonalMatrix& operator=(const DiagonalBase& other) + { + m_diagonal = other.diagonal(); + return *this; + } + + #ifndef EIGEN_PARSED_BY_DOXYGEN + /** This is a special case of the templated operator=. Its purpose is to + * prevent a default operator= from hiding the templated operator=. + */ + EIGEN_DEVICE_FUNC + DiagonalMatrix& operator=(const DiagonalMatrix& other) + { + m_diagonal = other.diagonal(); + return *this; + } + #endif + + /** Resizes to given size. */ + EIGEN_DEVICE_FUNC + inline void resize(Index size) { m_diagonal.resize(size); } + /** Sets all coefficients to zero. */ + EIGEN_DEVICE_FUNC + inline void setZero() { m_diagonal.setZero(); } + /** Resizes and sets all coefficients to zero. */ + EIGEN_DEVICE_FUNC + inline void setZero(Index size) { m_diagonal.setZero(size); } + /** Sets this matrix to be the identity matrix of the current size. */ + EIGEN_DEVICE_FUNC + inline void setIdentity() { m_diagonal.setOnes(); } + /** Sets this matrix to be the identity matrix of the given size. */ + EIGEN_DEVICE_FUNC + inline void setIdentity(Index size) { m_diagonal.setOnes(size); } +}; + +/** \class DiagonalWrapper + * \ingroup Core_Module + * + * \brief Expression of a diagonal matrix + * + * \param _DiagonalVectorType the type of the vector of diagonal coefficients + * + * This class is an expression of a diagonal matrix, but not storing its own vector of diagonal coefficients, + * instead wrapping an existing vector expression. It is the return type of MatrixBase::asDiagonal() + * and most of the time this is the only way that it is used. + * + * \sa class DiagonalMatrix, class DiagonalBase, MatrixBase::asDiagonal() + */ + +namespace internal { +template +struct traits > +{ + typedef _DiagonalVectorType DiagonalVectorType; + typedef typename DiagonalVectorType::Scalar Scalar; + typedef typename DiagonalVectorType::StorageIndex StorageIndex; + typedef DiagonalShape StorageKind; + typedef typename traits::XprKind XprKind; + enum { + RowsAtCompileTime = DiagonalVectorType::SizeAtCompileTime, + ColsAtCompileTime = DiagonalVectorType::SizeAtCompileTime, + MaxRowsAtCompileTime = DiagonalVectorType::MaxSizeAtCompileTime, + MaxColsAtCompileTime = DiagonalVectorType::MaxSizeAtCompileTime, + Flags = (traits::Flags & LvalueBit) | NoPreferredStorageOrderBit + }; +}; +} + +template +class DiagonalWrapper + : public DiagonalBase >, internal::no_assignment_operator +{ + public: + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef _DiagonalVectorType DiagonalVectorType; + typedef DiagonalWrapper Nested; + #endif + + /** Constructor from expression of diagonal coefficients to wrap. */ + EIGEN_DEVICE_FUNC + explicit inline DiagonalWrapper(DiagonalVectorType& a_diagonal) : m_diagonal(a_diagonal) {} + + /** \returns a const reference to the wrapped expression of diagonal coefficients. */ + EIGEN_DEVICE_FUNC + const DiagonalVectorType& diagonal() const { return m_diagonal; } + + protected: + typename DiagonalVectorType::Nested m_diagonal; +}; + +/** \returns a pseudo-expression of a diagonal matrix with *this as vector of diagonal coefficients + * + * \only_for_vectors + * + * Example: \include MatrixBase_asDiagonal.cpp + * Output: \verbinclude MatrixBase_asDiagonal.out + * + * \sa class DiagonalWrapper, class DiagonalMatrix, diagonal(), isDiagonal() + **/ +template +EIGEN_DEVICE_FUNC inline const DiagonalWrapper +MatrixBase::asDiagonal() const +{ + return DiagonalWrapper(derived()); +} + +/** \returns true if *this is approximately equal to a diagonal matrix, + * within the precision given by \a prec. + * + * Example: \include MatrixBase_isDiagonal.cpp + * Output: \verbinclude MatrixBase_isDiagonal.out + * + * \sa asDiagonal() + */ +template +bool MatrixBase::isDiagonal(const RealScalar& prec) const +{ + if(cols() != rows()) return false; + RealScalar maxAbsOnDiagonal = static_cast(-1); + for(Index j = 0; j < cols(); ++j) + { + RealScalar absOnDiagonal = numext::abs(coeff(j,j)); + if(absOnDiagonal > maxAbsOnDiagonal) maxAbsOnDiagonal = absOnDiagonal; + } + for(Index j = 0; j < cols(); ++j) + for(Index i = 0; i < j; ++i) + { + if(!internal::isMuchSmallerThan(coeff(i, j), maxAbsOnDiagonal, prec)) return false; + if(!internal::isMuchSmallerThan(coeff(j, i), maxAbsOnDiagonal, prec)) return false; + } + return true; +} + +namespace internal { + +template<> struct storage_kind_to_shape { typedef DiagonalShape Shape; }; + +struct Diagonal2Dense {}; + +template<> struct AssignmentKind { typedef Diagonal2Dense Kind; }; + +// Diagonal matrix to Dense assignment +template< typename DstXprType, typename SrcXprType, typename Functor> +struct Assignment +{ + static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &/*func*/) + { + Index dstRows = src.rows(); + Index dstCols = src.cols(); + if((dst.rows()!=dstRows) || (dst.cols()!=dstCols)) + dst.resize(dstRows, dstCols); + + dst.setZero(); + dst.diagonal() = src.diagonal(); + } + + static void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &/*func*/) + { dst.diagonal() += src.diagonal(); } + + static void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &/*func*/) + { dst.diagonal() -= src.diagonal(); } +}; + +} // namespace internal + +} // end namespace Eigen + +#endif // EIGEN_DIAGONALMATRIX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DiagonalProduct.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DiagonalProduct.h new file mode 100644 index 0000000..7911d1c --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/DiagonalProduct.h @@ -0,0 +1,28 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2007-2009 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DIAGONALPRODUCT_H +#define EIGEN_DIAGONALPRODUCT_H + +namespace Eigen { + +/** \returns the diagonal matrix product of \c *this by the diagonal matrix \a diagonal. + */ +template +template +EIGEN_DEVICE_FUNC inline const Product +MatrixBase::operator*(const DiagonalBase &a_diagonal) const +{ + return Product(derived(),a_diagonal.derived()); +} + +} // end namespace Eigen + +#endif // EIGEN_DIAGONALPRODUCT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Dot.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Dot.h new file mode 100644 index 0000000..5c3441b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Dot.h @@ -0,0 +1,318 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2008, 2010 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DOT_H +#define EIGEN_DOT_H + +namespace Eigen { + +namespace internal { + +// helper function for dot(). The problem is that if we put that in the body of dot(), then upon calling dot +// with mismatched types, the compiler emits errors about failing to instantiate cwiseProduct BEFORE +// looking at the static assertions. Thus this is a trick to get better compile errors. +template +struct dot_nocheck +{ + typedef scalar_conj_product_op::Scalar,typename traits::Scalar> conj_prod; + typedef typename conj_prod::result_type ResScalar; + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE + static ResScalar run(const MatrixBase& a, const MatrixBase& b) + { + return a.template binaryExpr(b).sum(); + } +}; + +template +struct dot_nocheck +{ + typedef scalar_conj_product_op::Scalar,typename traits::Scalar> conj_prod; + typedef typename conj_prod::result_type ResScalar; + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE + static ResScalar run(const MatrixBase& a, const MatrixBase& b) + { + return a.transpose().template binaryExpr(b).sum(); + } +}; + +} // end namespace internal + +/** \fn MatrixBase::dot + * \returns the dot product of *this with other. + * + * \only_for_vectors + * + * \note If the scalar type is complex numbers, then this function returns the hermitian + * (sesquilinear) dot product, conjugate-linear in the first variable and linear in the + * second variable. + * + * \sa squaredNorm(), norm() + */ +template +template +EIGEN_DEVICE_FUNC +EIGEN_STRONG_INLINE +typename ScalarBinaryOpTraits::Scalar,typename internal::traits::Scalar>::ReturnType +MatrixBase::dot(const MatrixBase& other) const +{ + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + EIGEN_STATIC_ASSERT_VECTOR_ONLY(OtherDerived) + EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(Derived,OtherDerived) +#if !(defined(EIGEN_NO_STATIC_ASSERT) && defined(EIGEN_NO_DEBUG)) + typedef internal::scalar_conj_product_op func; + EIGEN_CHECK_BINARY_COMPATIBILIY(func,Scalar,typename OtherDerived::Scalar); +#endif + + eigen_assert(size() == other.size()); + + return internal::dot_nocheck::run(*this, other); +} + +//---------- implementation of L2 norm and related functions ---------- + +/** \returns, for vectors, the squared \em l2 norm of \c *this, and for matrices the squared Frobenius norm. + * In both cases, it consists in the sum of the square of all the matrix entries. + * For vectors, this is also equals to the dot product of \c *this with itself. + * + * \sa dot(), norm(), lpNorm() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename NumTraits::Scalar>::Real MatrixBase::squaredNorm() const +{ + return numext::real((*this).cwiseAbs2().sum()); +} + +/** \returns, for vectors, the \em l2 norm of \c *this, and for matrices the Frobenius norm. + * In both cases, it consists in the square root of the sum of the square of all the matrix entries. + * For vectors, this is also equals to the square root of the dot product of \c *this with itself. + * + * \sa lpNorm(), dot(), squaredNorm() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename NumTraits::Scalar>::Real MatrixBase::norm() const +{ + return numext::sqrt(squaredNorm()); +} + +/** \returns an expression of the quotient of \c *this by its own norm. + * + * \warning If the input vector is too small (i.e., this->norm()==0), + * then this function returns a copy of the input. + * + * \only_for_vectors + * + * \sa norm(), normalize() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::PlainObject +MatrixBase::normalized() const +{ + typedef typename internal::nested_eval::type _Nested; + _Nested n(derived()); + RealScalar z = n.squaredNorm(); + // NOTE: after extensive benchmarking, this conditional does not impact performance, at least on recent x86 CPU + if(z>RealScalar(0)) + return n / numext::sqrt(z); + else + return n; +} + +/** Normalizes the vector, i.e. divides it by its own norm. + * + * \only_for_vectors + * + * \warning If the input vector is too small (i.e., this->norm()==0), then \c *this is left unchanged. + * + * \sa norm(), normalized() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void MatrixBase::normalize() +{ + RealScalar z = squaredNorm(); + // NOTE: after extensive benchmarking, this conditional does not impact performance, at least on recent x86 CPU + if(z>RealScalar(0)) + derived() /= numext::sqrt(z); +} + +/** \returns an expression of the quotient of \c *this by its own norm while avoiding underflow and overflow. + * + * \only_for_vectors + * + * This method is analogue to the normalized() method, but it reduces the risk of + * underflow and overflow when computing the norm. + * + * \warning If the input vector is too small (i.e., this->norm()==0), + * then this function returns a copy of the input. + * + * \sa stableNorm(), stableNormalize(), normalized() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const typename MatrixBase::PlainObject +MatrixBase::stableNormalized() const +{ + typedef typename internal::nested_eval::type _Nested; + _Nested n(derived()); + RealScalar w = n.cwiseAbs().maxCoeff(); + RealScalar z = (n/w).squaredNorm(); + if(z>RealScalar(0)) + return n / (numext::sqrt(z)*w); + else + return n; +} + +/** Normalizes the vector while avoid underflow and overflow + * + * \only_for_vectors + * + * This method is analogue to the normalize() method, but it reduces the risk of + * underflow and overflow when computing the norm. + * + * \warning If the input vector is too small (i.e., this->norm()==0), then \c *this is left unchanged. + * + * \sa stableNorm(), stableNormalized(), normalize() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void MatrixBase::stableNormalize() +{ + RealScalar w = cwiseAbs().maxCoeff(); + RealScalar z = (derived()/w).squaredNorm(); + if(z>RealScalar(0)) + derived() /= numext::sqrt(z)*w; +} + +//---------- implementation of other norms ---------- + +namespace internal { + +template +struct lpNorm_selector +{ + typedef typename NumTraits::Scalar>::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const MatrixBase& m) + { + EIGEN_USING_STD(pow) + return pow(m.cwiseAbs().array().pow(p).sum(), RealScalar(1)/p); + } +}; + +template +struct lpNorm_selector +{ + EIGEN_DEVICE_FUNC + static inline typename NumTraits::Scalar>::Real run(const MatrixBase& m) + { + return m.cwiseAbs().sum(); + } +}; + +template +struct lpNorm_selector +{ + EIGEN_DEVICE_FUNC + static inline typename NumTraits::Scalar>::Real run(const MatrixBase& m) + { + return m.norm(); + } +}; + +template +struct lpNorm_selector +{ + typedef typename NumTraits::Scalar>::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const MatrixBase& m) + { + if(Derived::SizeAtCompileTime==0 || (Derived::SizeAtCompileTime==Dynamic && m.size()==0)) + return RealScalar(0); + return m.cwiseAbs().maxCoeff(); + } +}; + +} // end namespace internal + +/** \returns the \b coefficient-wise \f$ \ell^p \f$ norm of \c *this, that is, returns the p-th root of the sum of the p-th powers of the absolute values + * of the coefficients of \c *this. If \a p is the special value \a Eigen::Infinity, this function returns the \f$ \ell^\infty \f$ + * norm, that is the maximum of the absolute values of the coefficients of \c *this. + * + * In all cases, if \c *this is empty, then the value 0 is returned. + * + * \note For matrices, this function does not compute the operator-norm. That is, if \c *this is a matrix, then its coefficients are interpreted as a 1D vector. Nonetheless, you can easily compute the 1-norm and \f$\infty\f$-norm matrix operator norms using \link TutorialReductionsVisitorsBroadcastingReductionsNorm partial reductions \endlink. + * + * \sa norm() + */ +template +template +#ifndef EIGEN_PARSED_BY_DOXYGEN +EIGEN_DEVICE_FUNC inline typename NumTraits::Scalar>::Real +#else +EIGEN_DEVICE_FUNC MatrixBase::RealScalar +#endif +MatrixBase::lpNorm() const +{ + return internal::lpNorm_selector::run(*this); +} + +//---------- implementation of isOrthogonal / isUnitary ---------- + +/** \returns true if *this is approximately orthogonal to \a other, + * within the precision given by \a prec. + * + * Example: \include MatrixBase_isOrthogonal.cpp + * Output: \verbinclude MatrixBase_isOrthogonal.out + */ +template +template +bool MatrixBase::isOrthogonal +(const MatrixBase& other, const RealScalar& prec) const +{ + typename internal::nested_eval::type nested(derived()); + typename internal::nested_eval::type otherNested(other.derived()); + return numext::abs2(nested.dot(otherNested)) <= prec * prec * nested.squaredNorm() * otherNested.squaredNorm(); +} + +/** \returns true if *this is approximately an unitary matrix, + * within the precision given by \a prec. In the case where the \a Scalar + * type is real numbers, a unitary matrix is an orthogonal matrix, whence the name. + * + * \note This can be used to check whether a family of vectors forms an orthonormal basis. + * Indeed, \c m.isUnitary() returns true if and only if the columns (equivalently, the rows) of m form an + * orthonormal basis. + * + * Example: \include MatrixBase_isUnitary.cpp + * Output: \verbinclude MatrixBase_isUnitary.out + */ +template +bool MatrixBase::isUnitary(const RealScalar& prec) const +{ + typename internal::nested_eval::type self(derived()); + for(Index i = 0; i < cols(); ++i) + { + if(!internal::isApprox(self.col(i).squaredNorm(), static_cast(1), prec)) + return false; + for(Index j = 0; j < i; ++j) + if(!internal::isMuchSmallerThan(self.col(i).dot(self.col(j)), static_cast(1), prec)) + return false; + } + return true; +} + +} // end namespace Eigen + +#endif // EIGEN_DOT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/EigenBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/EigenBase.h new file mode 100644 index 0000000..6b3c7d3 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/EigenBase.h @@ -0,0 +1,160 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Benoit Jacob +// Copyright (C) 2009 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_EIGENBASE_H +#define EIGEN_EIGENBASE_H + +namespace Eigen { + +/** \class EigenBase + * \ingroup Core_Module + * + * Common base class for all classes T such that MatrixBase has an operator=(T) and a constructor MatrixBase(T). + * + * In other words, an EigenBase object is an object that can be copied into a MatrixBase. + * + * Besides MatrixBase-derived classes, this also includes special matrix classes such as diagonal matrices, etc. + * + * Notice that this class is trivial, it is only used to disambiguate overloaded functions. + * + * \sa \blank \ref TopicClassHierarchy + */ +template struct EigenBase +{ +// typedef typename internal::plain_matrix_type::type PlainObject; + + /** \brief The interface type of indices + * \details To change this, \c \#define the preprocessor symbol \c EIGEN_DEFAULT_DENSE_INDEX_TYPE. + * \sa StorageIndex, \ref TopicPreprocessorDirectives. + * DEPRECATED: Since Eigen 3.3, its usage is deprecated. Use Eigen::Index instead. + * Deprecation is not marked with a doxygen comment because there are too many existing usages to add the deprecation attribute. + */ + typedef Eigen::Index Index; + + // FIXME is it needed? + typedef typename internal::traits::StorageKind StorageKind; + + /** \returns a reference to the derived object */ + EIGEN_DEVICE_FUNC + Derived& derived() { return *static_cast(this); } + /** \returns a const reference to the derived object */ + EIGEN_DEVICE_FUNC + const Derived& derived() const { return *static_cast(this); } + + EIGEN_DEVICE_FUNC + inline Derived& const_cast_derived() const + { return *static_cast(const_cast(this)); } + EIGEN_DEVICE_FUNC + inline const Derived& const_derived() const + { return *static_cast(this); } + + /** \returns the number of rows. \sa cols(), RowsAtCompileTime */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return derived().rows(); } + /** \returns the number of columns. \sa rows(), ColsAtCompileTime*/ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return derived().cols(); } + /** \returns the number of coefficients, which is rows()*cols(). + * \sa rows(), cols(), SizeAtCompileTime. */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index size() const EIGEN_NOEXCEPT { return rows() * cols(); } + + /** \internal Don't use it, but do the equivalent: \code dst = *this; \endcode */ + template + EIGEN_DEVICE_FUNC + inline void evalTo(Dest& dst) const + { derived().evalTo(dst); } + + /** \internal Don't use it, but do the equivalent: \code dst += *this; \endcode */ + template + EIGEN_DEVICE_FUNC + inline void addTo(Dest& dst) const + { + // This is the default implementation, + // derived class can reimplement it in a more optimized way. + typename Dest::PlainObject res(rows(),cols()); + evalTo(res); + dst += res; + } + + /** \internal Don't use it, but do the equivalent: \code dst -= *this; \endcode */ + template + EIGEN_DEVICE_FUNC + inline void subTo(Dest& dst) const + { + // This is the default implementation, + // derived class can reimplement it in a more optimized way. + typename Dest::PlainObject res(rows(),cols()); + evalTo(res); + dst -= res; + } + + /** \internal Don't use it, but do the equivalent: \code dst.applyOnTheRight(*this); \endcode */ + template + EIGEN_DEVICE_FUNC inline void applyThisOnTheRight(Dest& dst) const + { + // This is the default implementation, + // derived class can reimplement it in a more optimized way. + dst = dst * this->derived(); + } + + /** \internal Don't use it, but do the equivalent: \code dst.applyOnTheLeft(*this); \endcode */ + template + EIGEN_DEVICE_FUNC inline void applyThisOnTheLeft(Dest& dst) const + { + // This is the default implementation, + // derived class can reimplement it in a more optimized way. + dst = this->derived() * dst; + } + +}; + +/*************************************************************************** +* Implementation of matrix base methods +***************************************************************************/ + +/** \brief Copies the generic expression \a other into *this. + * + * \details The expression must provide a (templated) evalTo(Derived& dst) const + * function which does the actual job. In practice, this allows any user to write + * its own special matrix without having to modify MatrixBase + * + * \returns a reference to *this. + */ +template +template +EIGEN_DEVICE_FUNC +Derived& DenseBase::operator=(const EigenBase &other) +{ + call_assignment(derived(), other.derived()); + return derived(); +} + +template +template +EIGEN_DEVICE_FUNC +Derived& DenseBase::operator+=(const EigenBase &other) +{ + call_assignment(derived(), other.derived(), internal::add_assign_op()); + return derived(); +} + +template +template +EIGEN_DEVICE_FUNC +Derived& DenseBase::operator-=(const EigenBase &other) +{ + call_assignment(derived(), other.derived(), internal::sub_assign_op()); + return derived(); +} + +} // end namespace Eigen + +#endif // EIGEN_EIGENBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ForceAlignedAccess.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ForceAlignedAccess.h new file mode 100644 index 0000000..817a43a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ForceAlignedAccess.h @@ -0,0 +1,150 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_FORCEALIGNEDACCESS_H +#define EIGEN_FORCEALIGNEDACCESS_H + +namespace Eigen { + +/** \class ForceAlignedAccess + * \ingroup Core_Module + * + * \brief Enforce aligned packet loads and stores regardless of what is requested + * + * \param ExpressionType the type of the object of which we are forcing aligned packet access + * + * This class is the return type of MatrixBase::forceAlignedAccess() + * and most of the time this is the only way it is used. + * + * \sa MatrixBase::forceAlignedAccess() + */ + +namespace internal { +template +struct traits > : public traits +{}; +} + +template class ForceAlignedAccess + : public internal::dense_xpr_base< ForceAlignedAccess >::type +{ + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(ForceAlignedAccess) + + EIGEN_DEVICE_FUNC explicit inline ForceAlignedAccess(const ExpressionType& matrix) : m_expression(matrix) {} + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return m_expression.rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return m_expression.cols(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT { return m_expression.outerStride(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT { return m_expression.innerStride(); } + + EIGEN_DEVICE_FUNC inline const CoeffReturnType coeff(Index row, Index col) const + { + return m_expression.coeff(row, col); + } + + EIGEN_DEVICE_FUNC inline Scalar& coeffRef(Index row, Index col) + { + return m_expression.const_cast_derived().coeffRef(row, col); + } + + EIGEN_DEVICE_FUNC inline const CoeffReturnType coeff(Index index) const + { + return m_expression.coeff(index); + } + + EIGEN_DEVICE_FUNC inline Scalar& coeffRef(Index index) + { + return m_expression.const_cast_derived().coeffRef(index); + } + + template + inline const PacketScalar packet(Index row, Index col) const + { + return m_expression.template packet(row, col); + } + + template + inline void writePacket(Index row, Index col, const PacketScalar& x) + { + m_expression.const_cast_derived().template writePacket(row, col, x); + } + + template + inline const PacketScalar packet(Index index) const + { + return m_expression.template packet(index); + } + + template + inline void writePacket(Index index, const PacketScalar& x) + { + m_expression.const_cast_derived().template writePacket(index, x); + } + + EIGEN_DEVICE_FUNC operator const ExpressionType&() const { return m_expression; } + + protected: + const ExpressionType& m_expression; + + private: + ForceAlignedAccess& operator=(const ForceAlignedAccess&); +}; + +/** \returns an expression of *this with forced aligned access + * \sa forceAlignedAccessIf(),class ForceAlignedAccess + */ +template +inline const ForceAlignedAccess +MatrixBase::forceAlignedAccess() const +{ + return ForceAlignedAccess(derived()); +} + +/** \returns an expression of *this with forced aligned access + * \sa forceAlignedAccessIf(), class ForceAlignedAccess + */ +template +inline ForceAlignedAccess +MatrixBase::forceAlignedAccess() +{ + return ForceAlignedAccess(derived()); +} + +/** \returns an expression of *this with forced aligned access if \a Enable is true. + * \sa forceAlignedAccess(), class ForceAlignedAccess + */ +template +template +inline typename internal::add_const_on_value_type,Derived&>::type>::type +MatrixBase::forceAlignedAccessIf() const +{ + return derived(); // FIXME This should not work but apparently is never used +} + +/** \returns an expression of *this with forced aligned access if \a Enable is true. + * \sa forceAlignedAccess(), class ForceAlignedAccess + */ +template +template +inline typename internal::conditional,Derived&>::type +MatrixBase::forceAlignedAccessIf() +{ + return derived(); // FIXME This should not work but apparently is never used +} + +} // end namespace Eigen + +#endif // EIGEN_FORCEALIGNEDACCESS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Fuzzy.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Fuzzy.h new file mode 100644 index 0000000..43aa49b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Fuzzy.h @@ -0,0 +1,155 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2008 Benoit Jacob +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_FUZZY_H +#define EIGEN_FUZZY_H + +namespace Eigen { + +namespace internal +{ + +template::IsInteger> +struct isApprox_selector +{ + EIGEN_DEVICE_FUNC + static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) + { + typename internal::nested_eval::type nested(x); + typename internal::nested_eval::type otherNested(y); + return (nested - otherNested).cwiseAbs2().sum() <= prec * prec * numext::mini(nested.cwiseAbs2().sum(), otherNested.cwiseAbs2().sum()); + } +}; + +template +struct isApprox_selector +{ + EIGEN_DEVICE_FUNC + static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar&) + { + return x.matrix() == y.matrix(); + } +}; + +template::IsInteger> +struct isMuchSmallerThan_object_selector +{ + EIGEN_DEVICE_FUNC + static bool run(const Derived& x, const OtherDerived& y, const typename Derived::RealScalar& prec) + { + return x.cwiseAbs2().sum() <= numext::abs2(prec) * y.cwiseAbs2().sum(); + } +}; + +template +struct isMuchSmallerThan_object_selector +{ + EIGEN_DEVICE_FUNC + static bool run(const Derived& x, const OtherDerived&, const typename Derived::RealScalar&) + { + return x.matrix() == Derived::Zero(x.rows(), x.cols()).matrix(); + } +}; + +template::IsInteger> +struct isMuchSmallerThan_scalar_selector +{ + EIGEN_DEVICE_FUNC + static bool run(const Derived& x, const typename Derived::RealScalar& y, const typename Derived::RealScalar& prec) + { + return x.cwiseAbs2().sum() <= numext::abs2(prec * y); + } +}; + +template +struct isMuchSmallerThan_scalar_selector +{ + EIGEN_DEVICE_FUNC + static bool run(const Derived& x, const typename Derived::RealScalar&, const typename Derived::RealScalar&) + { + return x.matrix() == Derived::Zero(x.rows(), x.cols()).matrix(); + } +}; + +} // end namespace internal + + +/** \returns \c true if \c *this is approximately equal to \a other, within the precision + * determined by \a prec. + * + * \note The fuzzy compares are done multiplicatively. Two vectors \f$ v \f$ and \f$ w \f$ + * are considered to be approximately equal within precision \f$ p \f$ if + * \f[ \Vert v - w \Vert \leqslant p\,\min(\Vert v\Vert, \Vert w\Vert). \f] + * For matrices, the comparison is done using the Hilbert-Schmidt norm (aka Frobenius norm + * L2 norm). + * + * \note Because of the multiplicativeness of this comparison, one can't use this function + * to check whether \c *this is approximately equal to the zero matrix or vector. + * Indeed, \c isApprox(zero) returns false unless \c *this itself is exactly the zero matrix + * or vector. If you want to test whether \c *this is zero, use internal::isMuchSmallerThan(const + * RealScalar&, RealScalar) instead. + * + * \sa internal::isMuchSmallerThan(const RealScalar&, RealScalar) const + */ +template +template +EIGEN_DEVICE_FUNC bool DenseBase::isApprox( + const DenseBase& other, + const RealScalar& prec +) const +{ + return internal::isApprox_selector::run(derived(), other.derived(), prec); +} + +/** \returns \c true if the norm of \c *this is much smaller than \a other, + * within the precision determined by \a prec. + * + * \note The fuzzy compares are done multiplicatively. A vector \f$ v \f$ is + * considered to be much smaller than \f$ x \f$ within precision \f$ p \f$ if + * \f[ \Vert v \Vert \leqslant p\,\vert x\vert. \f] + * + * For matrices, the comparison is done using the Hilbert-Schmidt norm. For this reason, + * the value of the reference scalar \a other should come from the Hilbert-Schmidt norm + * of a reference matrix of same dimensions. + * + * \sa isApprox(), isMuchSmallerThan(const DenseBase&, RealScalar) const + */ +template +EIGEN_DEVICE_FUNC bool DenseBase::isMuchSmallerThan( + const typename NumTraits::Real& other, + const RealScalar& prec +) const +{ + return internal::isMuchSmallerThan_scalar_selector::run(derived(), other, prec); +} + +/** \returns \c true if the norm of \c *this is much smaller than the norm of \a other, + * within the precision determined by \a prec. + * + * \note The fuzzy compares are done multiplicatively. A vector \f$ v \f$ is + * considered to be much smaller than a vector \f$ w \f$ within precision \f$ p \f$ if + * \f[ \Vert v \Vert \leqslant p\,\Vert w\Vert. \f] + * For matrices, the comparison is done using the Hilbert-Schmidt norm. + * + * \sa isApprox(), isMuchSmallerThan(const RealScalar&, RealScalar) const + */ +template +template +EIGEN_DEVICE_FUNC bool DenseBase::isMuchSmallerThan( + const DenseBase& other, + const RealScalar& prec +) const +{ + return internal::isMuchSmallerThan_object_selector::run(derived(), other.derived(), prec); +} + +} // end namespace Eigen + +#endif // EIGEN_FUZZY_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GeneralProduct.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GeneralProduct.h new file mode 100644 index 0000000..6906aa7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GeneralProduct.h @@ -0,0 +1,465 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2008 Benoit Jacob +// Copyright (C) 2008-2011 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_GENERAL_PRODUCT_H +#define EIGEN_GENERAL_PRODUCT_H + +namespace Eigen { + +enum { + Large = 2, + Small = 3 +}; + +// Define the threshold value to fallback from the generic matrix-matrix product +// implementation (heavy) to the lightweight coeff-based product one. +// See generic_product_impl +// in products/GeneralMatrixMatrix.h for more details. +// TODO This threshold should also be used in the compile-time selector below. +#ifndef EIGEN_GEMM_TO_COEFFBASED_THRESHOLD +// This default value has been obtained on a Haswell architecture. +#define EIGEN_GEMM_TO_COEFFBASED_THRESHOLD 20 +#endif + +namespace internal { + +template struct product_type_selector; + +template struct product_size_category +{ + enum { + #ifndef EIGEN_GPU_COMPILE_PHASE + is_large = MaxSize == Dynamic || + Size >= EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD || + (Size==Dynamic && MaxSize>=EIGEN_CACHEFRIENDLY_PRODUCT_THRESHOLD), + #else + is_large = 0, + #endif + value = is_large ? Large + : Size == 1 ? 1 + : Small + }; +}; + +template struct product_type +{ + typedef typename remove_all::type _Lhs; + typedef typename remove_all::type _Rhs; + enum { + MaxRows = traits<_Lhs>::MaxRowsAtCompileTime, + Rows = traits<_Lhs>::RowsAtCompileTime, + MaxCols = traits<_Rhs>::MaxColsAtCompileTime, + Cols = traits<_Rhs>::ColsAtCompileTime, + MaxDepth = EIGEN_SIZE_MIN_PREFER_FIXED(traits<_Lhs>::MaxColsAtCompileTime, + traits<_Rhs>::MaxRowsAtCompileTime), + Depth = EIGEN_SIZE_MIN_PREFER_FIXED(traits<_Lhs>::ColsAtCompileTime, + traits<_Rhs>::RowsAtCompileTime) + }; + + // the splitting into different lines of code here, introducing the _select enums and the typedef below, + // is to work around an internal compiler error with gcc 4.1 and 4.2. +private: + enum { + rows_select = product_size_category::value, + cols_select = product_size_category::value, + depth_select = product_size_category::value + }; + typedef product_type_selector selector; + +public: + enum { + value = selector::ret, + ret = selector::ret + }; +#ifdef EIGEN_DEBUG_PRODUCT + static void debug() + { + EIGEN_DEBUG_VAR(Rows); + EIGEN_DEBUG_VAR(Cols); + EIGEN_DEBUG_VAR(Depth); + EIGEN_DEBUG_VAR(rows_select); + EIGEN_DEBUG_VAR(cols_select); + EIGEN_DEBUG_VAR(depth_select); + EIGEN_DEBUG_VAR(value); + } +#endif +}; + +/* The following allows to select the kind of product at compile time + * based on the three dimensions of the product. + * This is a compile time mapping from {1,Small,Large}^3 -> {product types} */ +// FIXME I'm not sure the current mapping is the ideal one. +template struct product_type_selector { enum { ret = OuterProduct }; }; +template struct product_type_selector { enum { ret = LazyCoeffBasedProductMode }; }; +template struct product_type_selector<1, N, 1> { enum { ret = LazyCoeffBasedProductMode }; }; +template struct product_type_selector<1, 1, Depth> { enum { ret = InnerProduct }; }; +template<> struct product_type_selector<1, 1, 1> { enum { ret = InnerProduct }; }; +template<> struct product_type_selector { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector<1, Small,Small> { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = LazyCoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = LazyCoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = LazyCoeffBasedProductMode }; }; +template<> struct product_type_selector<1, Large,Small> { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector<1, Large,Large> { enum { ret = GemvProduct }; }; +template<> struct product_type_selector<1, Small,Large> { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = GemvProduct }; }; +template<> struct product_type_selector { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = GemmProduct }; }; +template<> struct product_type_selector { enum { ret = GemmProduct }; }; +template<> struct product_type_selector { enum { ret = GemmProduct }; }; +template<> struct product_type_selector { enum { ret = GemmProduct }; }; +template<> struct product_type_selector { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = CoeffBasedProductMode }; }; +template<> struct product_type_selector { enum { ret = GemmProduct }; }; + +} // end namespace internal + +/*********************************************************************** +* Implementation of Inner Vector Vector Product +***********************************************************************/ + +// FIXME : maybe the "inner product" could return a Scalar +// instead of a 1x1 matrix ?? +// Pro: more natural for the user +// Cons: this could be a problem if in a meta unrolled algorithm a matrix-matrix +// product ends up to a row-vector times col-vector product... To tackle this use +// case, we could have a specialization for Block with: operator=(Scalar x); + +/*********************************************************************** +* Implementation of Outer Vector Vector Product +***********************************************************************/ + +/*********************************************************************** +* Implementation of General Matrix Vector Product +***********************************************************************/ + +/* According to the shape/flags of the matrix we have to distinghish 3 different cases: + * 1 - the matrix is col-major, BLAS compatible and M is large => call fast BLAS-like colmajor routine + * 2 - the matrix is row-major, BLAS compatible and N is large => call fast BLAS-like rowmajor routine + * 3 - all other cases are handled using a simple loop along the outer-storage direction. + * Therefore we need a lower level meta selector. + * Furthermore, if the matrix is the rhs, then the product has to be transposed. + */ +namespace internal { + +template +struct gemv_dense_selector; + +} // end namespace internal + +namespace internal { + +template struct gemv_static_vector_if; + +template +struct gemv_static_vector_if +{ + EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Scalar* data() { eigen_internal_assert(false && "should never be called"); return 0; } +}; + +template +struct gemv_static_vector_if +{ + EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Scalar* data() { return 0; } +}; + +template +struct gemv_static_vector_if +{ + enum { + ForceAlignment = internal::packet_traits::Vectorizable, + PacketSize = internal::packet_traits::size + }; + #if EIGEN_MAX_STATIC_ALIGN_BYTES!=0 + internal::plain_array m_data; + EIGEN_STRONG_INLINE Scalar* data() { return m_data.array; } + #else + // Some architectures cannot align on the stack, + // => let's manually enforce alignment by allocating more data and return the address of the first aligned element. + internal::plain_array m_data; + EIGEN_STRONG_INLINE Scalar* data() { + return ForceAlignment + ? reinterpret_cast((internal::UIntPtr(m_data.array) & ~(std::size_t(EIGEN_MAX_ALIGN_BYTES-1))) + EIGEN_MAX_ALIGN_BYTES) + : m_data.array; + } + #endif +}; + +// The vector is on the left => transposition +template +struct gemv_dense_selector +{ + template + static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) + { + Transpose destT(dest); + enum { OtherStorageOrder = StorageOrder == RowMajor ? ColMajor : RowMajor }; + gemv_dense_selector + ::run(rhs.transpose(), lhs.transpose(), destT, alpha); + } +}; + +template<> struct gemv_dense_selector +{ + template + static inline void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) + { + typedef typename Lhs::Scalar LhsScalar; + typedef typename Rhs::Scalar RhsScalar; + typedef typename Dest::Scalar ResScalar; + typedef typename Dest::RealScalar RealScalar; + + typedef internal::blas_traits LhsBlasTraits; + typedef typename LhsBlasTraits::DirectLinearAccessType ActualLhsType; + typedef internal::blas_traits RhsBlasTraits; + typedef typename RhsBlasTraits::DirectLinearAccessType ActualRhsType; + + typedef Map, EIGEN_PLAIN_ENUM_MIN(AlignedMax,internal::packet_traits::size)> MappedDest; + + ActualLhsType actualLhs = LhsBlasTraits::extract(lhs); + ActualRhsType actualRhs = RhsBlasTraits::extract(rhs); + + ResScalar actualAlpha = combine_scalar_factors(alpha, lhs, rhs); + + // make sure Dest is a compile-time vector type (bug 1166) + typedef typename conditional::type ActualDest; + + enum { + // FIXME find a way to allow an inner stride on the result if packet_traits::size==1 + // on, the other hand it is good for the cache to pack the vector anyways... + EvalToDestAtCompileTime = (ActualDest::InnerStrideAtCompileTime==1), + ComplexByReal = (NumTraits::IsComplex) && (!NumTraits::IsComplex), + MightCannotUseDest = ((!EvalToDestAtCompileTime) || ComplexByReal) && (ActualDest::MaxSizeAtCompileTime!=0) + }; + + typedef const_blas_data_mapper LhsMapper; + typedef const_blas_data_mapper RhsMapper; + RhsScalar compatibleAlpha = get_factor::run(actualAlpha); + + if(!MightCannotUseDest) + { + // shortcut if we are sure to be able to use dest directly, + // this ease the compiler to generate cleaner and more optimzized code for most common cases + general_matrix_vector_product + ::run( + actualLhs.rows(), actualLhs.cols(), + LhsMapper(actualLhs.data(), actualLhs.outerStride()), + RhsMapper(actualRhs.data(), actualRhs.innerStride()), + dest.data(), 1, + compatibleAlpha); + } + else + { + gemv_static_vector_if static_dest; + + const bool alphaIsCompatible = (!ComplexByReal) || (numext::imag(actualAlpha)==RealScalar(0)); + const bool evalToDest = EvalToDestAtCompileTime && alphaIsCompatible; + + ei_declare_aligned_stack_constructed_variable(ResScalar,actualDestPtr,dest.size(), + evalToDest ? dest.data() : static_dest.data()); + + if(!evalToDest) + { + #ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN + Index size = dest.size(); + EIGEN_DENSE_STORAGE_CTOR_PLUGIN + #endif + if(!alphaIsCompatible) + { + MappedDest(actualDestPtr, dest.size()).setZero(); + compatibleAlpha = RhsScalar(1); + } + else + MappedDest(actualDestPtr, dest.size()) = dest; + } + + general_matrix_vector_product + ::run( + actualLhs.rows(), actualLhs.cols(), + LhsMapper(actualLhs.data(), actualLhs.outerStride()), + RhsMapper(actualRhs.data(), actualRhs.innerStride()), + actualDestPtr, 1, + compatibleAlpha); + + if (!evalToDest) + { + if(!alphaIsCompatible) + dest.matrix() += actualAlpha * MappedDest(actualDestPtr, dest.size()); + else + dest = MappedDest(actualDestPtr, dest.size()); + } + } + } +}; + +template<> struct gemv_dense_selector +{ + template + static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) + { + typedef typename Lhs::Scalar LhsScalar; + typedef typename Rhs::Scalar RhsScalar; + typedef typename Dest::Scalar ResScalar; + + typedef internal::blas_traits LhsBlasTraits; + typedef typename LhsBlasTraits::DirectLinearAccessType ActualLhsType; + typedef internal::blas_traits RhsBlasTraits; + typedef typename RhsBlasTraits::DirectLinearAccessType ActualRhsType; + typedef typename internal::remove_all::type ActualRhsTypeCleaned; + + typename add_const::type actualLhs = LhsBlasTraits::extract(lhs); + typename add_const::type actualRhs = RhsBlasTraits::extract(rhs); + + ResScalar actualAlpha = combine_scalar_factors(alpha, lhs, rhs); + + enum { + // FIXME find a way to allow an inner stride on the result if packet_traits::size==1 + // on, the other hand it is good for the cache to pack the vector anyways... + DirectlyUseRhs = ActualRhsTypeCleaned::InnerStrideAtCompileTime==1 || ActualRhsTypeCleaned::MaxSizeAtCompileTime==0 + }; + + gemv_static_vector_if static_rhs; + + ei_declare_aligned_stack_constructed_variable(RhsScalar,actualRhsPtr,actualRhs.size(), + DirectlyUseRhs ? const_cast(actualRhs.data()) : static_rhs.data()); + + if(!DirectlyUseRhs) + { + #ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN + Index size = actualRhs.size(); + EIGEN_DENSE_STORAGE_CTOR_PLUGIN + #endif + Map(actualRhsPtr, actualRhs.size()) = actualRhs; + } + + typedef const_blas_data_mapper LhsMapper; + typedef const_blas_data_mapper RhsMapper; + general_matrix_vector_product + ::run( + actualLhs.rows(), actualLhs.cols(), + LhsMapper(actualLhs.data(), actualLhs.outerStride()), + RhsMapper(actualRhsPtr, 1), + dest.data(), dest.col(0).innerStride(), //NOTE if dest is not a vector at compile-time, then dest.innerStride() might be wrong. (bug 1166) + actualAlpha); + } +}; + +template<> struct gemv_dense_selector +{ + template + static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) + { + EIGEN_STATIC_ASSERT((!nested_eval::Evaluate),EIGEN_INTERNAL_COMPILATION_ERROR_OR_YOU_MADE_A_PROGRAMMING_MISTAKE); + // TODO if rhs is large enough it might be beneficial to make sure that dest is sequentially stored in memory, otherwise use a temp + typename nested_eval::type actual_rhs(rhs); + const Index size = rhs.rows(); + for(Index k=0; k struct gemv_dense_selector +{ + template + static void run(const Lhs &lhs, const Rhs &rhs, Dest& dest, const typename Dest::Scalar& alpha) + { + EIGEN_STATIC_ASSERT((!nested_eval::Evaluate),EIGEN_INTERNAL_COMPILATION_ERROR_OR_YOU_MADE_A_PROGRAMMING_MISTAKE); + typename nested_eval::type actual_rhs(rhs); + const Index rows = dest.rows(); + for(Index i=0; i +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +const Product +MatrixBase::operator*(const MatrixBase &other) const +{ + // A note regarding the function declaration: In MSVC, this function will sometimes + // not be inlined since DenseStorage is an unwindable object for dynamic + // matrices and product types are holding a member to store the result. + // Thus it does not help tagging this function with EIGEN_STRONG_INLINE. + enum { + ProductIsValid = Derived::ColsAtCompileTime==Dynamic + || OtherDerived::RowsAtCompileTime==Dynamic + || int(Derived::ColsAtCompileTime)==int(OtherDerived::RowsAtCompileTime), + AreVectors = Derived::IsVectorAtCompileTime && OtherDerived::IsVectorAtCompileTime, + SameSizes = EIGEN_PREDICATE_SAME_MATRIX_SIZE(Derived,OtherDerived) + }; + // note to the lost user: + // * for a dot product use: v1.dot(v2) + // * for a coeff-wise product use: v1.cwiseProduct(v2) + EIGEN_STATIC_ASSERT(ProductIsValid || !(AreVectors && SameSizes), + INVALID_VECTOR_VECTOR_PRODUCT__IF_YOU_WANTED_A_DOT_OR_COEFF_WISE_PRODUCT_YOU_MUST_USE_THE_EXPLICIT_FUNCTIONS) + EIGEN_STATIC_ASSERT(ProductIsValid || !(SameSizes && !AreVectors), + INVALID_MATRIX_PRODUCT__IF_YOU_WANTED_A_COEFF_WISE_PRODUCT_YOU_MUST_USE_THE_EXPLICIT_FUNCTION) + EIGEN_STATIC_ASSERT(ProductIsValid || SameSizes, INVALID_MATRIX_PRODUCT) +#ifdef EIGEN_DEBUG_PRODUCT + internal::product_type::debug(); +#endif + + return Product(derived(), other.derived()); +} + +/** \returns an expression of the matrix product of \c *this and \a other without implicit evaluation. + * + * The returned product will behave like any other expressions: the coefficients of the product will be + * computed once at a time as requested. This might be useful in some extremely rare cases when only + * a small and no coherent fraction of the result's coefficients have to be computed. + * + * \warning This version of the matrix product can be much much slower. So use it only if you know + * what you are doing and that you measured a true speed improvement. + * + * \sa operator*(const MatrixBase&) + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +const Product +MatrixBase::lazyProduct(const MatrixBase &other) const +{ + enum { + ProductIsValid = Derived::ColsAtCompileTime==Dynamic + || OtherDerived::RowsAtCompileTime==Dynamic + || int(Derived::ColsAtCompileTime)==int(OtherDerived::RowsAtCompileTime), + AreVectors = Derived::IsVectorAtCompileTime && OtherDerived::IsVectorAtCompileTime, + SameSizes = EIGEN_PREDICATE_SAME_MATRIX_SIZE(Derived,OtherDerived) + }; + // note to the lost user: + // * for a dot product use: v1.dot(v2) + // * for a coeff-wise product use: v1.cwiseProduct(v2) + EIGEN_STATIC_ASSERT(ProductIsValid || !(AreVectors && SameSizes), + INVALID_VECTOR_VECTOR_PRODUCT__IF_YOU_WANTED_A_DOT_OR_COEFF_WISE_PRODUCT_YOU_MUST_USE_THE_EXPLICIT_FUNCTIONS) + EIGEN_STATIC_ASSERT(ProductIsValid || !(SameSizes && !AreVectors), + INVALID_MATRIX_PRODUCT__IF_YOU_WANTED_A_COEFF_WISE_PRODUCT_YOU_MUST_USE_THE_EXPLICIT_FUNCTION) + EIGEN_STATIC_ASSERT(ProductIsValid || SameSizes, INVALID_MATRIX_PRODUCT) + + return Product(derived(), other.derived()); +} + +} // end namespace Eigen + +#endif // EIGEN_PRODUCT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GenericPacketMath.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GenericPacketMath.h new file mode 100644 index 0000000..cf677a1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GenericPacketMath.h @@ -0,0 +1,1040 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_GENERIC_PACKET_MATH_H +#define EIGEN_GENERIC_PACKET_MATH_H + +namespace Eigen { + +namespace internal { + +/** \internal + * \file GenericPacketMath.h + * + * Default implementation for types not supported by the vectorization. + * In practice these functions are provided to make easier the writing + * of generic vectorized code. + */ + +#ifndef EIGEN_DEBUG_ALIGNED_LOAD +#define EIGEN_DEBUG_ALIGNED_LOAD +#endif + +#ifndef EIGEN_DEBUG_UNALIGNED_LOAD +#define EIGEN_DEBUG_UNALIGNED_LOAD +#endif + +#ifndef EIGEN_DEBUG_ALIGNED_STORE +#define EIGEN_DEBUG_ALIGNED_STORE +#endif + +#ifndef EIGEN_DEBUG_UNALIGNED_STORE +#define EIGEN_DEBUG_UNALIGNED_STORE +#endif + +struct default_packet_traits +{ + enum { + HasHalfPacket = 0, + + HasAdd = 1, + HasSub = 1, + HasShift = 1, + HasMul = 1, + HasNegate = 1, + HasAbs = 1, + HasArg = 0, + HasAbs2 = 1, + HasAbsDiff = 0, + HasMin = 1, + HasMax = 1, + HasConj = 1, + HasSetLinear = 1, + HasBlend = 0, + // This flag is used to indicate whether packet comparison is supported. + // pcmp_eq, pcmp_lt and pcmp_le should be defined for it to be true. + HasCmp = 0, + + HasDiv = 0, + HasSqrt = 0, + HasRsqrt = 0, + HasExp = 0, + HasExpm1 = 0, + HasLog = 0, + HasLog1p = 0, + HasLog10 = 0, + HasPow = 0, + + HasSin = 0, + HasCos = 0, + HasTan = 0, + HasASin = 0, + HasACos = 0, + HasATan = 0, + HasSinh = 0, + HasCosh = 0, + HasTanh = 0, + HasLGamma = 0, + HasDiGamma = 0, + HasZeta = 0, + HasPolygamma = 0, + HasErf = 0, + HasErfc = 0, + HasNdtri = 0, + HasBessel = 0, + HasIGamma = 0, + HasIGammaDerA = 0, + HasGammaSampleDerAlpha = 0, + HasIGammac = 0, + HasBetaInc = 0, + + HasRound = 0, + HasRint = 0, + HasFloor = 0, + HasCeil = 0, + HasSign = 0 + }; +}; + +template struct packet_traits : default_packet_traits +{ + typedef T type; + typedef T half; + enum { + Vectorizable = 0, + size = 1, + AlignedOnScalar = 0, + HasHalfPacket = 0 + }; + enum { + HasAdd = 0, + HasSub = 0, + HasMul = 0, + HasNegate = 0, + HasAbs = 0, + HasAbs2 = 0, + HasMin = 0, + HasMax = 0, + HasConj = 0, + HasSetLinear = 0 + }; +}; + +template struct packet_traits : packet_traits { }; + +template struct unpacket_traits +{ + typedef T type; + typedef T half; + enum + { + size = 1, + alignment = 1, + vectorizable = false, + masked_load_available=false, + masked_store_available=false + }; +}; + +template struct unpacket_traits : unpacket_traits { }; + +template struct type_casting_traits { + enum { + VectorizedCast = 0, + SrcCoeffRatio = 1, + TgtCoeffRatio = 1 + }; +}; + +/** \internal Wrapper to ensure that multiple packet types can map to the same + same underlying vector type. */ +template +struct eigen_packet_wrapper +{ + EIGEN_ALWAYS_INLINE operator T&() { return m_val; } + EIGEN_ALWAYS_INLINE operator const T&() const { return m_val; } + EIGEN_ALWAYS_INLINE eigen_packet_wrapper() {} + EIGEN_ALWAYS_INLINE eigen_packet_wrapper(const T &v) : m_val(v) {} + EIGEN_ALWAYS_INLINE eigen_packet_wrapper& operator=(const T &v) { + m_val = v; + return *this; + } + + T m_val; +}; + + +/** \internal A convenience utility for determining if the type is a scalar. + * This is used to enable some generic packet implementations. + */ +template +struct is_scalar { + typedef typename unpacket_traits::type Scalar; + enum { + value = internal::is_same::value + }; +}; + +/** \internal \returns static_cast(a) (coeff-wise) */ +template +EIGEN_DEVICE_FUNC inline TgtPacket +pcast(const SrcPacket& a) { + return static_cast(a); +} +template +EIGEN_DEVICE_FUNC inline TgtPacket +pcast(const SrcPacket& a, const SrcPacket& /*b*/) { + return static_cast(a); +} +template +EIGEN_DEVICE_FUNC inline TgtPacket +pcast(const SrcPacket& a, const SrcPacket& /*b*/, const SrcPacket& /*c*/, const SrcPacket& /*d*/) { + return static_cast(a); +} +template +EIGEN_DEVICE_FUNC inline TgtPacket +pcast(const SrcPacket& a, const SrcPacket& /*b*/, const SrcPacket& /*c*/, const SrcPacket& /*d*/, + const SrcPacket& /*e*/, const SrcPacket& /*f*/, const SrcPacket& /*g*/, const SrcPacket& /*h*/) { + return static_cast(a); +} + +/** \internal \returns reinterpret_cast(a) */ +template +EIGEN_DEVICE_FUNC inline Target +preinterpret(const Packet& a); /* { return reinterpret_cast(a); } */ + +/** \internal \returns a + b (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +padd(const Packet& a, const Packet& b) { return a+b; } +// Avoid compiler warning for boolean algebra. +template<> EIGEN_DEVICE_FUNC inline bool +padd(const bool& a, const bool& b) { return a || b; } + +/** \internal \returns a - b (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +psub(const Packet& a, const Packet& b) { return a-b; } + +/** \internal \returns -a (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +pnegate(const Packet& a) { return -a; } + +template<> EIGEN_DEVICE_FUNC inline bool +pnegate(const bool& a) { return !a; } + +/** \internal \returns conj(a) (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +pconj(const Packet& a) { return numext::conj(a); } + +/** \internal \returns a * b (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +pmul(const Packet& a, const Packet& b) { return a*b; } +// Avoid compiler warning for boolean algebra. +template<> EIGEN_DEVICE_FUNC inline bool +pmul(const bool& a, const bool& b) { return a && b; } + +/** \internal \returns a / b (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +pdiv(const Packet& a, const Packet& b) { return a/b; } + +// In the generic case, memset to all one bits. +template +struct ptrue_impl { + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& /*a*/){ + Packet b; + memset(static_cast(&b), 0xff, sizeof(Packet)); + return b; + } +}; + +// For non-trivial scalars, set to Scalar(1) (i.e. a non-zero value). +// Although this is technically not a valid bitmask, the scalar path for pselect +// uses a comparison to zero, so this should still work in most cases. We don't +// have another option, since the scalar type requires initialization. +template +struct ptrue_impl::value && NumTraits::RequireInitialization>::type > { + static EIGEN_DEVICE_FUNC inline T run(const T& /*a*/){ + return T(1); + } +}; + +/** \internal \returns one bits. */ +template EIGEN_DEVICE_FUNC inline Packet +ptrue(const Packet& a) { + return ptrue_impl::run(a); +} + +// In the general case, memset to zero. +template +struct pzero_impl { + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& /*a*/) { + Packet b; + memset(static_cast(&b), 0x00, sizeof(Packet)); + return b; + } +}; + +// For scalars, explicitly set to Scalar(0), since the underlying representation +// for zero may not consist of all-zero bits. +template +struct pzero_impl::value>::type> { + static EIGEN_DEVICE_FUNC inline T run(const T& /*a*/) { + return T(0); + } +}; + +/** \internal \returns packet of zeros */ +template EIGEN_DEVICE_FUNC inline Packet +pzero(const Packet& a) { + return pzero_impl::run(a); +} + +/** \internal \returns a <= b as a bit mask */ +template EIGEN_DEVICE_FUNC inline Packet +pcmp_le(const Packet& a, const Packet& b) { return a<=b ? ptrue(a) : pzero(a); } + +/** \internal \returns a < b as a bit mask */ +template EIGEN_DEVICE_FUNC inline Packet +pcmp_lt(const Packet& a, const Packet& b) { return a EIGEN_DEVICE_FUNC inline Packet +pcmp_eq(const Packet& a, const Packet& b) { return a==b ? ptrue(a) : pzero(a); } + +/** \internal \returns a < b or a==NaN or b==NaN as a bit mask */ +template EIGEN_DEVICE_FUNC inline Packet +pcmp_lt_or_nan(const Packet& a, const Packet& b) { return a>=b ? pzero(a) : ptrue(a); } + +template +struct bit_and { + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a, const T& b) const { + return a & b; + } +}; + +template +struct bit_or { + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a, const T& b) const { + return a | b; + } +}; + +template +struct bit_xor { + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a, const T& b) const { + return a ^ b; + } +}; + +template +struct bit_not { + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE T operator()(const T& a) const { + return ~a; + } +}; + +// Use operators &, |, ^, ~. +template +struct operator_bitwise_helper { + EIGEN_DEVICE_FUNC static inline T bitwise_and(const T& a, const T& b) { return bit_and()(a, b); } + EIGEN_DEVICE_FUNC static inline T bitwise_or(const T& a, const T& b) { return bit_or()(a, b); } + EIGEN_DEVICE_FUNC static inline T bitwise_xor(const T& a, const T& b) { return bit_xor()(a, b); } + EIGEN_DEVICE_FUNC static inline T bitwise_not(const T& a) { return bit_not()(a); } +}; + +// Apply binary operations byte-by-byte +template +struct bytewise_bitwise_helper { + EIGEN_DEVICE_FUNC static inline T bitwise_and(const T& a, const T& b) { + return binary(a, b, bit_and()); + } + EIGEN_DEVICE_FUNC static inline T bitwise_or(const T& a, const T& b) { + return binary(a, b, bit_or()); + } + EIGEN_DEVICE_FUNC static inline T bitwise_xor(const T& a, const T& b) { + return binary(a, b, bit_xor()); + } + EIGEN_DEVICE_FUNC static inline T bitwise_not(const T& a) { + return unary(a,bit_not()); + } + + private: + template + EIGEN_DEVICE_FUNC static inline T unary(const T& a, Op op) { + const unsigned char* a_ptr = reinterpret_cast(&a); + T c; + unsigned char* c_ptr = reinterpret_cast(&c); + for (size_t i = 0; i < sizeof(T); ++i) { + *c_ptr++ = op(*a_ptr++); + } + return c; + } + + template + EIGEN_DEVICE_FUNC static inline T binary(const T& a, const T& b, Op op) { + const unsigned char* a_ptr = reinterpret_cast(&a); + const unsigned char* b_ptr = reinterpret_cast(&b); + T c; + unsigned char* c_ptr = reinterpret_cast(&c); + for (size_t i = 0; i < sizeof(T); ++i) { + *c_ptr++ = op(*a_ptr++, *b_ptr++); + } + return c; + } +}; + +// In the general case, use byte-by-byte manipulation. +template +struct bitwise_helper : public bytewise_bitwise_helper {}; + +// For integers or non-trivial scalars, use binary operators. +template +struct bitwise_helper::value && (NumTraits::IsInteger || NumTraits::RequireInitialization)>::type + > : public operator_bitwise_helper {}; + +/** \internal \returns the bitwise and of \a a and \a b */ +template EIGEN_DEVICE_FUNC inline Packet +pand(const Packet& a, const Packet& b) { + return bitwise_helper::bitwise_and(a, b); +} + +/** \internal \returns the bitwise or of \a a and \a b */ +template EIGEN_DEVICE_FUNC inline Packet +por(const Packet& a, const Packet& b) { + return bitwise_helper::bitwise_or(a, b); +} + +/** \internal \returns the bitwise xor of \a a and \a b */ +template EIGEN_DEVICE_FUNC inline Packet +pxor(const Packet& a, const Packet& b) { + return bitwise_helper::bitwise_xor(a, b); +} + +/** \internal \returns the bitwise not of \a a */ +template EIGEN_DEVICE_FUNC inline Packet +pnot(const Packet& a) { + return bitwise_helper::bitwise_not(a); +} + +/** \internal \returns the bitwise and of \a a and not \a b */ +template EIGEN_DEVICE_FUNC inline Packet +pandnot(const Packet& a, const Packet& b) { return pand(a, pnot(b)); } + +// In the general case, use bitwise select. +template +struct pselect_impl { + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& mask, const Packet& a, const Packet& b) { + return por(pand(a,mask),pandnot(b,mask)); + } +}; + +// For scalars, use ternary select. +template +struct pselect_impl::value>::type > { + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& mask, const Packet& a, const Packet& b) { + return numext::equal_strict(mask, Packet(0)) ? b : a; + } +}; + +/** \internal \returns \a or \b for each field in packet according to \mask */ +template EIGEN_DEVICE_FUNC inline Packet +pselect(const Packet& mask, const Packet& a, const Packet& b) { + return pselect_impl::run(mask, a, b); +} + +template<> EIGEN_DEVICE_FUNC inline bool pselect( + const bool& cond, const bool& a, const bool& b) { + return cond ? a : b; +} + +/** \internal \returns the min or of \a a and \a b (coeff-wise) + If either \a a or \a b are NaN, the result is implementation defined. */ +template +struct pminmax_impl { + template + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& a, const Packet& b, Op op) { + return op(a,b); + } +}; + +/** \internal \returns the min or max of \a a and \a b (coeff-wise) + If either \a a or \a b are NaN, NaN is returned. */ +template<> +struct pminmax_impl { + template + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& a, const Packet& b, Op op) { + Packet not_nan_mask_a = pcmp_eq(a, a); + Packet not_nan_mask_b = pcmp_eq(b, b); + return pselect(not_nan_mask_a, + pselect(not_nan_mask_b, op(a, b), b), + a); + } +}; + +/** \internal \returns the min or max of \a a and \a b (coeff-wise) + If both \a a and \a b are NaN, NaN is returned. + Equivalent to std::fmin(a, b). */ +template<> +struct pminmax_impl { + template + static EIGEN_DEVICE_FUNC inline Packet run(const Packet& a, const Packet& b, Op op) { + Packet not_nan_mask_a = pcmp_eq(a, a); + Packet not_nan_mask_b = pcmp_eq(b, b); + return pselect(not_nan_mask_a, + pselect(not_nan_mask_b, op(a, b), a), + b); + } +}; + + +#ifndef SYCL_DEVICE_ONLY +#define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) Func +#else +#define EIGEN_BINARY_OP_NAN_PROPAGATION(Type, Func) \ +[](const Type& a, const Type& b) { \ + return Func(a, b);} +#endif + +/** \internal \returns the min of \a a and \a b (coeff-wise). + If \a a or \b b is NaN, the return value is implementation defined. */ +template EIGEN_DEVICE_FUNC inline Packet +pmin(const Packet& a, const Packet& b) { return numext::mini(a,b); } + +/** \internal \returns the min of \a a and \a b (coeff-wise). + NaNPropagation determines the NaN propagation semantics. */ +template +EIGEN_DEVICE_FUNC inline Packet pmin(const Packet& a, const Packet& b) { + return pminmax_impl::run(a, b, EIGEN_BINARY_OP_NAN_PROPAGATION(Packet, (pmin))); +} + +/** \internal \returns the max of \a a and \a b (coeff-wise) + If \a a or \b b is NaN, the return value is implementation defined. */ +template EIGEN_DEVICE_FUNC inline Packet +pmax(const Packet& a, const Packet& b) { return numext::maxi(a, b); } + +/** \internal \returns the max of \a a and \a b (coeff-wise). + NaNPropagation determines the NaN propagation semantics. */ +template +EIGEN_DEVICE_FUNC inline Packet pmax(const Packet& a, const Packet& b) { + return pminmax_impl::run(a, b, EIGEN_BINARY_OP_NAN_PROPAGATION(Packet,(pmax))); +} + +/** \internal \returns the absolute value of \a a */ +template EIGEN_DEVICE_FUNC inline Packet +pabs(const Packet& a) { return numext::abs(a); } +template<> EIGEN_DEVICE_FUNC inline unsigned int +pabs(const unsigned int& a) { return a; } +template<> EIGEN_DEVICE_FUNC inline unsigned long +pabs(const unsigned long& a) { return a; } +template<> EIGEN_DEVICE_FUNC inline unsigned long long +pabs(const unsigned long long& a) { return a; } + +/** \internal \returns the addsub value of \a a,b */ +template EIGEN_DEVICE_FUNC inline Packet +paddsub(const Packet& a, const Packet& b) { + return pselect(peven_mask(a), padd(a, b), psub(a, b)); + } + +/** \internal \returns the phase angle of \a a */ +template EIGEN_DEVICE_FUNC inline Packet +parg(const Packet& a) { using numext::arg; return arg(a); } + + +/** \internal \returns \a a logically shifted by N bits to the right */ +template EIGEN_DEVICE_FUNC inline int +parithmetic_shift_right(const int& a) { return a >> N; } +template EIGEN_DEVICE_FUNC inline long int +parithmetic_shift_right(const long int& a) { return a >> N; } + +/** \internal \returns \a a arithmetically shifted by N bits to the right */ +template EIGEN_DEVICE_FUNC inline int +plogical_shift_right(const int& a) { return static_cast(static_cast(a) >> N); } +template EIGEN_DEVICE_FUNC inline long int +plogical_shift_right(const long int& a) { return static_cast(static_cast(a) >> N); } + +/** \internal \returns \a a shifted by N bits to the left */ +template EIGEN_DEVICE_FUNC inline int +plogical_shift_left(const int& a) { return a << N; } +template EIGEN_DEVICE_FUNC inline long int +plogical_shift_left(const long int& a) { return a << N; } + +/** \internal \returns the significant and exponent of the underlying floating point numbers + * See https://en.cppreference.com/w/cpp/numeric/math/frexp + */ +template +EIGEN_DEVICE_FUNC inline Packet pfrexp(const Packet& a, Packet& exponent) { + int exp; + EIGEN_USING_STD(frexp); + Packet result = static_cast(frexp(a, &exp)); + exponent = static_cast(exp); + return result; +} + +/** \internal \returns a * 2^((int)exponent) + * See https://en.cppreference.com/w/cpp/numeric/math/ldexp + */ +template EIGEN_DEVICE_FUNC inline Packet +pldexp(const Packet &a, const Packet &exponent) { + EIGEN_USING_STD(ldexp) + return static_cast(ldexp(a, static_cast(exponent))); +} + +/** \internal \returns the min of \a a and \a b (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +pabsdiff(const Packet& a, const Packet& b) { return pselect(pcmp_lt(a, b), psub(b, a), psub(a, b)); } + +/** \internal \returns a packet version of \a *from, from must be 16 bytes aligned */ +template EIGEN_DEVICE_FUNC inline Packet +pload(const typename unpacket_traits::type* from) { return *from; } + +/** \internal \returns a packet version of \a *from, (un-aligned load) */ +template EIGEN_DEVICE_FUNC inline Packet +ploadu(const typename unpacket_traits::type* from) { return *from; } + +/** \internal \returns a packet version of \a *from, (un-aligned masked load) + * There is no generic implementation. We only have implementations for specialized + * cases. Generic case should not be called. + */ +template EIGEN_DEVICE_FUNC inline +typename enable_if::masked_load_available, Packet>::type +ploadu(const typename unpacket_traits::type* from, typename unpacket_traits::mask_t umask); + +/** \internal \returns a packet with constant coefficients \a a, e.g.: (a,a,a,a) */ +template EIGEN_DEVICE_FUNC inline Packet +pset1(const typename unpacket_traits::type& a) { return a; } + +/** \internal \returns a packet with constant coefficients set from bits */ +template EIGEN_DEVICE_FUNC inline Packet +pset1frombits(BitsType a); + +/** \internal \returns a packet with constant coefficients \a a[0], e.g.: (a[0],a[0],a[0],a[0]) */ +template EIGEN_DEVICE_FUNC inline Packet +pload1(const typename unpacket_traits::type *a) { return pset1(*a); } + +/** \internal \returns a packet with elements of \a *from duplicated. + * For instance, for a packet of 8 elements, 4 scalars will be read from \a *from and + * duplicated to form: {from[0],from[0],from[1],from[1],from[2],from[2],from[3],from[3]} + * Currently, this function is only used for scalar * complex products. + */ +template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet +ploaddup(const typename unpacket_traits::type* from) { return *from; } + +/** \internal \returns a packet with elements of \a *from quadrupled. + * For instance, for a packet of 8 elements, 2 scalars will be read from \a *from and + * replicated to form: {from[0],from[0],from[0],from[0],from[1],from[1],from[1],from[1]} + * Currently, this function is only used in matrix products. + * For packet-size smaller or equal to 4, this function is equivalent to pload1 + */ +template EIGEN_DEVICE_FUNC inline Packet +ploadquad(const typename unpacket_traits::type* from) +{ return pload1(from); } + +/** \internal equivalent to + * \code + * a0 = pload1(a+0); + * a1 = pload1(a+1); + * a2 = pload1(a+2); + * a3 = pload1(a+3); + * \endcode + * \sa pset1, pload1, ploaddup, pbroadcast2 + */ +template EIGEN_DEVICE_FUNC +inline void pbroadcast4(const typename unpacket_traits::type *a, + Packet& a0, Packet& a1, Packet& a2, Packet& a3) +{ + a0 = pload1(a+0); + a1 = pload1(a+1); + a2 = pload1(a+2); + a3 = pload1(a+3); +} + +/** \internal equivalent to + * \code + * a0 = pload1(a+0); + * a1 = pload1(a+1); + * \endcode + * \sa pset1, pload1, ploaddup, pbroadcast4 + */ +template EIGEN_DEVICE_FUNC +inline void pbroadcast2(const typename unpacket_traits::type *a, + Packet& a0, Packet& a1) +{ + a0 = pload1(a+0); + a1 = pload1(a+1); +} + +/** \internal \brief Returns a packet with coefficients (a,a+1,...,a+packet_size-1). */ +template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Packet +plset(const typename unpacket_traits::type& a) { return a; } + +/** \internal \returns a packet with constant coefficients \a a, e.g.: (x, 0, x, 0), + where x is the value of all 1-bits. */ +template EIGEN_DEVICE_FUNC inline Packet +peven_mask(const Packet& /*a*/) { + typedef typename unpacket_traits::type Scalar; + const size_t n = unpacket_traits::size; + EIGEN_ALIGN_TO_BOUNDARY(sizeof(Packet)) Scalar elements[n]; + for(size_t i = 0; i < n; ++i) { + memset(elements+i, ((i & 1) == 0 ? 0xff : 0), sizeof(Scalar)); + } + return ploadu(elements); +} + + +/** \internal copy the packet \a from to \a *to, \a to must be 16 bytes aligned */ +template EIGEN_DEVICE_FUNC inline void pstore(Scalar* to, const Packet& from) +{ (*to) = from; } + +/** \internal copy the packet \a from to \a *to, (un-aligned store) */ +template EIGEN_DEVICE_FUNC inline void pstoreu(Scalar* to, const Packet& from) +{ (*to) = from; } + +/** \internal copy the packet \a from to \a *to, (un-aligned store with a mask) + * There is no generic implementation. We only have implementations for specialized + * cases. Generic case should not be called. + */ +template +EIGEN_DEVICE_FUNC inline +typename enable_if::masked_store_available, void>::type +pstoreu(Scalar* to, const Packet& from, typename unpacket_traits::mask_t umask); + + template EIGEN_DEVICE_FUNC inline Packet pgather(const Scalar* from, Index /*stride*/) + { return ploadu(from); } + + template EIGEN_DEVICE_FUNC inline void pscatter(Scalar* to, const Packet& from, Index /*stride*/) + { pstore(to, from); } + +/** \internal tries to do cache prefetching of \a addr */ +template EIGEN_DEVICE_FUNC inline void prefetch(const Scalar* addr) +{ +#if defined(EIGEN_HIP_DEVICE_COMPILE) + // do nothing +#elif defined(EIGEN_CUDA_ARCH) +#if defined(__LP64__) || EIGEN_OS_WIN64 + // 64-bit pointer operand constraint for inlined asm + asm(" prefetch.L1 [ %1 ];" : "=l"(addr) : "l"(addr)); +#else + // 32-bit pointer operand constraint for inlined asm + asm(" prefetch.L1 [ %1 ];" : "=r"(addr) : "r"(addr)); +#endif +#elif (!EIGEN_COMP_MSVC) && (EIGEN_COMP_GNUC || EIGEN_COMP_CLANG || EIGEN_COMP_ICC) + __builtin_prefetch(addr); +#endif +} + +/** \internal \returns the reversed elements of \a a*/ +template EIGEN_DEVICE_FUNC inline Packet preverse(const Packet& a) +{ return a; } + +/** \internal \returns \a a with real and imaginary part flipped (for complex type only) */ +template EIGEN_DEVICE_FUNC inline Packet pcplxflip(const Packet& a) +{ + return Packet(numext::imag(a),numext::real(a)); +} + +/************************** +* Special math functions +***************************/ + +/** \internal \returns the sine of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet psin(const Packet& a) { EIGEN_USING_STD(sin); return sin(a); } + +/** \internal \returns the cosine of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pcos(const Packet& a) { EIGEN_USING_STD(cos); return cos(a); } + +/** \internal \returns the tan of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet ptan(const Packet& a) { EIGEN_USING_STD(tan); return tan(a); } + +/** \internal \returns the arc sine of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pasin(const Packet& a) { EIGEN_USING_STD(asin); return asin(a); } + +/** \internal \returns the arc cosine of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pacos(const Packet& a) { EIGEN_USING_STD(acos); return acos(a); } + +/** \internal \returns the arc tangent of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet patan(const Packet& a) { EIGEN_USING_STD(atan); return atan(a); } + +/** \internal \returns the hyperbolic sine of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet psinh(const Packet& a) { EIGEN_USING_STD(sinh); return sinh(a); } + +/** \internal \returns the hyperbolic cosine of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pcosh(const Packet& a) { EIGEN_USING_STD(cosh); return cosh(a); } + +/** \internal \returns the hyperbolic tan of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet ptanh(const Packet& a) { EIGEN_USING_STD(tanh); return tanh(a); } + +/** \internal \returns the exp of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pexp(const Packet& a) { EIGEN_USING_STD(exp); return exp(a); } + +/** \internal \returns the expm1 of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pexpm1(const Packet& a) { return numext::expm1(a); } + +/** \internal \returns the log of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet plog(const Packet& a) { EIGEN_USING_STD(log); return log(a); } + +/** \internal \returns the log1p of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet plog1p(const Packet& a) { return numext::log1p(a); } + +/** \internal \returns the log10 of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet plog10(const Packet& a) { EIGEN_USING_STD(log10); return log10(a); } + +/** \internal \returns the log10 of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet plog2(const Packet& a) { + typedef typename internal::unpacket_traits::type Scalar; + return pmul(pset1(Scalar(EIGEN_LOG2E)), plog(a)); +} + +/** \internal \returns the square-root of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet psqrt(const Packet& a) { return numext::sqrt(a); } + +/** \internal \returns the reciprocal square-root of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet prsqrt(const Packet& a) { + typedef typename internal::unpacket_traits::type Scalar; + return pdiv(pset1(Scalar(1)), psqrt(a)); +} + +/** \internal \returns the rounded value of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pround(const Packet& a) { using numext::round; return round(a); } + +/** \internal \returns the floor of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pfloor(const Packet& a) { using numext::floor; return floor(a); } + +/** \internal \returns the rounded value of \a a (coeff-wise) with current + * rounding mode */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet print(const Packet& a) { using numext::rint; return rint(a); } + +/** \internal \returns the ceil of \a a (coeff-wise) */ +template EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS +Packet pceil(const Packet& a) { using numext::ceil; return ceil(a); } + +/** \internal \returns the first element of a packet */ +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type +pfirst(const Packet& a) +{ return a; } + +/** \internal \returns the sum of the elements of upper and lower half of \a a if \a a is larger than 4. + * For a packet {a0, a1, a2, a3, a4, a5, a6, a7}, it returns a half packet {a0+a4, a1+a5, a2+a6, a3+a7} + * For packet-size smaller or equal to 4, this boils down to a noop. + */ +template +EIGEN_DEVICE_FUNC inline typename conditional<(unpacket_traits::size%8)==0,typename unpacket_traits::half,Packet>::type +predux_half_dowto4(const Packet& a) +{ return a; } + +// Slow generic implementation of Packet reduction. +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type +predux_helper(const Packet& a, Op op) { + typedef typename unpacket_traits::type Scalar; + const size_t n = unpacket_traits::size; + EIGEN_ALIGN_TO_BOUNDARY(sizeof(Packet)) Scalar elements[n]; + pstoreu(elements, a); + for(size_t k = n / 2; k > 0; k /= 2) { + for(size_t i = 0; i < k; ++i) { + elements[i] = op(elements[i], elements[i + k]); + } + } + return elements[0]; +} + +/** \internal \returns the sum of the elements of \a a*/ +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type +predux(const Packet& a) +{ + return a; +} + +/** \internal \returns the product of the elements of \a a */ +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type predux_mul( + const Packet& a) { + typedef typename unpacket_traits::type Scalar; + return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmul))); +} + +/** \internal \returns the min of the elements of \a a */ +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type predux_min( + const Packet &a) { + typedef typename unpacket_traits::type Scalar; + return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmin))); +} + +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type predux_min( + const Packet& a) { + typedef typename unpacket_traits::type Scalar; + return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmin))); +} + +/** \internal \returns the min of the elements of \a a */ +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type predux_max( + const Packet &a) { + typedef typename unpacket_traits::type Scalar; + return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmax))); +} + +template +EIGEN_DEVICE_FUNC inline typename unpacket_traits::type predux_max( + const Packet& a) { + typedef typename unpacket_traits::type Scalar; + return predux_helper(a, EIGEN_BINARY_OP_NAN_PROPAGATION(Scalar, (pmax))); +} + +#undef EIGEN_BINARY_OP_NAN_PROPAGATION + +/** \internal \returns true if all coeffs of \a a means "true" + * It is supposed to be called on values returned by pcmp_*. + */ +// not needed yet +// template EIGEN_DEVICE_FUNC inline bool predux_all(const Packet& a) +// { return bool(a); } + +/** \internal \returns true if any coeffs of \a a means "true" + * It is supposed to be called on values returned by pcmp_*. + */ +template EIGEN_DEVICE_FUNC inline bool predux_any(const Packet& a) +{ + // Dirty but generic implementation where "true" is assumed to be non 0 and all the sames. + // It is expected that "true" is either: + // - Scalar(1) + // - bits full of ones (NaN for floats), + // - or first bit equals to 1 (1 for ints, smallest denormal for floats). + // For all these cases, taking the sum is just fine, and this boils down to a no-op for scalars. + typedef typename unpacket_traits::type Scalar; + return numext::not_equal_strict(predux(a), Scalar(0)); +} + +/*************************************************************************** +* The following functions might not have to be overwritten for vectorized types +***************************************************************************/ + +/** \internal copy a packet with constant coefficient \a a (e.g., [a,a,a,a]) to \a *to. \a to must be 16 bytes aligned */ +// NOTE: this function must really be templated on the packet type (think about different packet types for the same scalar type) +template +inline void pstore1(typename unpacket_traits::type* to, const typename unpacket_traits::type& a) +{ + pstore(to, pset1(a)); +} + +/** \internal \returns a * b + c (coeff-wise) */ +template EIGEN_DEVICE_FUNC inline Packet +pmadd(const Packet& a, + const Packet& b, + const Packet& c) +{ return padd(pmul(a, b),c); } + +/** \internal \returns a packet version of \a *from. + * The pointer \a from must be aligned on a \a Alignment bytes boundary. */ +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet ploadt(const typename unpacket_traits::type* from) +{ + if(Alignment >= unpacket_traits::alignment) + return pload(from); + else + return ploadu(from); +} + +/** \internal copy the packet \a from to \a *to. + * The pointer \a from must be aligned on a \a Alignment bytes boundary. */ +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void pstoret(Scalar* to, const Packet& from) +{ + if(Alignment >= unpacket_traits::alignment) + pstore(to, from); + else + pstoreu(to, from); +} + +/** \internal \returns a packet version of \a *from. + * Unlike ploadt, ploadt_ro takes advantage of the read-only memory path on the + * hardware if available to speedup the loading of data that won't be modified + * by the current computation. + */ +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Packet ploadt_ro(const typename unpacket_traits::type* from) +{ + return ploadt(from); +} + +/*************************************************************************** +* Fast complex products (GCC generates a function call which is very slow) +***************************************************************************/ + +// Eigen+CUDA does not support complexes. +#if !defined(EIGEN_GPUCC) + +template<> inline std::complex pmul(const std::complex& a, const std::complex& b) +{ return std::complex(a.real()*b.real() - a.imag()*b.imag(), a.imag()*b.real() + a.real()*b.imag()); } + +template<> inline std::complex pmul(const std::complex& a, const std::complex& b) +{ return std::complex(a.real()*b.real() - a.imag()*b.imag(), a.imag()*b.real() + a.real()*b.imag()); } + +#endif + + +/*************************************************************************** + * PacketBlock, that is a collection of N packets where the number of words + * in the packet is a multiple of N. +***************************************************************************/ +template ::size> struct PacketBlock { + Packet packet[N]; +}; + +template EIGEN_DEVICE_FUNC inline void +ptranspose(PacketBlock& /*kernel*/) { + // Nothing to do in the scalar case, i.e. a 1x1 matrix. +} + +/*************************************************************************** + * Selector, i.e. vector of N boolean values used to select (i.e. blend) + * words from 2 packets. +***************************************************************************/ +template struct Selector { + bool select[N]; +}; + +template EIGEN_DEVICE_FUNC inline Packet +pblend(const Selector::size>& ifPacket, const Packet& thenPacket, const Packet& elsePacket) { + return ifPacket.select[0] ? thenPacket : elsePacket; +} + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_GENERIC_PACKET_MATH_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GlobalFunctions.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GlobalFunctions.h new file mode 100644 index 0000000..629af94 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/GlobalFunctions.h @@ -0,0 +1,194 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2010-2016 Gael Guennebaud +// Copyright (C) 2010 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_GLOBAL_FUNCTIONS_H +#define EIGEN_GLOBAL_FUNCTIONS_H + +#ifdef EIGEN_PARSED_BY_DOXYGEN + +#define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(NAME,FUNCTOR,DOC_OP,DOC_DETAILS) \ + /** \returns an expression of the coefficient-wise DOC_OP of \a x + + DOC_DETAILS + + \sa Math functions, class CwiseUnaryOp + */ \ + template \ + inline const Eigen::CwiseUnaryOp, const Derived> \ + NAME(const Eigen::ArrayBase& x); + +#else + +#define EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(NAME,FUNCTOR,DOC_OP,DOC_DETAILS) \ + template \ + inline const Eigen::CwiseUnaryOp, const Derived> \ + (NAME)(const Eigen::ArrayBase& x) { \ + return Eigen::CwiseUnaryOp, const Derived>(x.derived()); \ + } + +#endif // EIGEN_PARSED_BY_DOXYGEN + +#define EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(NAME,FUNCTOR) \ + \ + template \ + struct NAME##_retval > \ + { \ + typedef const Eigen::CwiseUnaryOp, const Derived> type; \ + }; \ + template \ + struct NAME##_impl > \ + { \ + static inline typename NAME##_retval >::type run(const Eigen::ArrayBase& x) \ + { \ + return typename NAME##_retval >::type(x.derived()); \ + } \ + }; + +namespace Eigen +{ + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(real,scalar_real_op,real part,\sa ArrayBase::real) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(imag,scalar_imag_op,imaginary part,\sa ArrayBase::imag) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(conj,scalar_conjugate_op,complex conjugate,\sa ArrayBase::conjugate) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(inverse,scalar_inverse_op,inverse,\sa ArrayBase::inverse) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(sin,scalar_sin_op,sine,\sa ArrayBase::sin) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(cos,scalar_cos_op,cosine,\sa ArrayBase::cos) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(tan,scalar_tan_op,tangent,\sa ArrayBase::tan) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(atan,scalar_atan_op,arc-tangent,\sa ArrayBase::atan) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(asin,scalar_asin_op,arc-sine,\sa ArrayBase::asin) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(acos,scalar_acos_op,arc-consine,\sa ArrayBase::acos) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(sinh,scalar_sinh_op,hyperbolic sine,\sa ArrayBase::sinh) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(cosh,scalar_cosh_op,hyperbolic cosine,\sa ArrayBase::cosh) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(tanh,scalar_tanh_op,hyperbolic tangent,\sa ArrayBase::tanh) +#if EIGEN_HAS_CXX11_MATH + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(asinh,scalar_asinh_op,inverse hyperbolic sine,\sa ArrayBase::asinh) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(acosh,scalar_acosh_op,inverse hyperbolic cosine,\sa ArrayBase::acosh) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(atanh,scalar_atanh_op,inverse hyperbolic tangent,\sa ArrayBase::atanh) +#endif + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(logistic,scalar_logistic_op,logistic function,\sa ArrayBase::logistic) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(lgamma,scalar_lgamma_op,natural logarithm of the gamma function,\sa ArrayBase::lgamma) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(digamma,scalar_digamma_op,derivative of lgamma,\sa ArrayBase::digamma) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(erf,scalar_erf_op,error function,\sa ArrayBase::erf) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(erfc,scalar_erfc_op,complement error function,\sa ArrayBase::erfc) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(ndtri,scalar_ndtri_op,inverse normal distribution function,\sa ArrayBase::ndtri) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(exp,scalar_exp_op,exponential,\sa ArrayBase::exp) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(expm1,scalar_expm1_op,exponential of a value minus 1,\sa ArrayBase::expm1) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log,scalar_log_op,natural logarithm,\sa Eigen::log10 DOXCOMMA ArrayBase::log) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log1p,scalar_log1p_op,natural logarithm of 1 plus the value,\sa ArrayBase::log1p) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log10,scalar_log10_op,base 10 logarithm,\sa Eigen::log DOXCOMMA ArrayBase::log10) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(log2,scalar_log2_op,base 2 logarithm,\sa Eigen::log DOXCOMMA ArrayBase::log2) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(abs,scalar_abs_op,absolute value,\sa ArrayBase::abs DOXCOMMA MatrixBase::cwiseAbs) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(abs2,scalar_abs2_op,squared absolute value,\sa ArrayBase::abs2 DOXCOMMA MatrixBase::cwiseAbs2) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(arg,scalar_arg_op,complex argument,\sa ArrayBase::arg DOXCOMMA MatrixBase::cwiseArg) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(sqrt,scalar_sqrt_op,square root,\sa ArrayBase::sqrt DOXCOMMA MatrixBase::cwiseSqrt) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(rsqrt,scalar_rsqrt_op,reciprocal square root,\sa ArrayBase::rsqrt) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(square,scalar_square_op,square (power 2),\sa Eigen::abs2 DOXCOMMA Eigen::pow DOXCOMMA ArrayBase::square) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(cube,scalar_cube_op,cube (power 3),\sa Eigen::pow DOXCOMMA ArrayBase::cube) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(rint,scalar_rint_op,nearest integer,\sa Eigen::floor DOXCOMMA Eigen::ceil DOXCOMMA ArrayBase::round) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(round,scalar_round_op,nearest integer,\sa Eigen::floor DOXCOMMA Eigen::ceil DOXCOMMA ArrayBase::round) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(floor,scalar_floor_op,nearest integer not greater than the giben value,\sa Eigen::ceil DOXCOMMA ArrayBase::floor) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(ceil,scalar_ceil_op,nearest integer not less than the giben value,\sa Eigen::floor DOXCOMMA ArrayBase::ceil) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(isnan,scalar_isnan_op,not-a-number test,\sa Eigen::isinf DOXCOMMA Eigen::isfinite DOXCOMMA ArrayBase::isnan) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(isinf,scalar_isinf_op,infinite value test,\sa Eigen::isnan DOXCOMMA Eigen::isfinite DOXCOMMA ArrayBase::isinf) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(isfinite,scalar_isfinite_op,finite value test,\sa Eigen::isinf DOXCOMMA Eigen::isnan DOXCOMMA ArrayBase::isfinite) + EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(sign,scalar_sign_op,sign (or 0),\sa ArrayBase::sign) + + /** \returns an expression of the coefficient-wise power of \a x to the given constant \a exponent. + * + * \tparam ScalarExponent is the scalar type of \a exponent. It must be compatible with the scalar type of the given expression (\c Derived::Scalar). + * + * \sa ArrayBase::pow() + * + * \relates ArrayBase + */ +#ifdef EIGEN_PARSED_BY_DOXYGEN + template + inline const CwiseBinaryOp,Derived,Constant > + pow(const Eigen::ArrayBase& x, const ScalarExponent& exponent); +#else + template + EIGEN_DEVICE_FUNC inline + EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE( + const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived,typename internal::promote_scalar_arg::type,pow)) + pow(const Eigen::ArrayBase& x, const ScalarExponent& exponent) + { + typedef typename internal::promote_scalar_arg::type PromotedExponent; + return EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived,PromotedExponent,pow)(x.derived(), + typename internal::plain_constant_type::type(x.derived().rows(), x.derived().cols(), internal::scalar_constant_op(exponent))); + } +#endif + + /** \returns an expression of the coefficient-wise power of \a x to the given array of \a exponents. + * + * This function computes the coefficient-wise power. + * + * Example: \include Cwise_array_power_array.cpp + * Output: \verbinclude Cwise_array_power_array.out + * + * \sa ArrayBase::pow() + * + * \relates ArrayBase + */ + template + inline const Eigen::CwiseBinaryOp, const Derived, const ExponentDerived> + pow(const Eigen::ArrayBase& x, const Eigen::ArrayBase& exponents) + { + return Eigen::CwiseBinaryOp, const Derived, const ExponentDerived>( + x.derived(), + exponents.derived() + ); + } + + /** \returns an expression of the coefficient-wise power of the scalar \a x to the given array of \a exponents. + * + * This function computes the coefficient-wise power between a scalar and an array of exponents. + * + * \tparam Scalar is the scalar type of \a x. It must be compatible with the scalar type of the given array expression (\c Derived::Scalar). + * + * Example: \include Cwise_scalar_power_array.cpp + * Output: \verbinclude Cwise_scalar_power_array.out + * + * \sa ArrayBase::pow() + * + * \relates ArrayBase + */ +#ifdef EIGEN_PARSED_BY_DOXYGEN + template + inline const CwiseBinaryOp,Constant,Derived> + pow(const Scalar& x,const Eigen::ArrayBase& x); +#else + template + EIGEN_DEVICE_FUNC inline + EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE( + const EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(typename internal::promote_scalar_arg::type,Derived,pow)) + pow(const Scalar& x, const Eigen::ArrayBase& exponents) { + typedef typename internal::promote_scalar_arg::type PromotedScalar; + return EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(PromotedScalar,Derived,pow)( + typename internal::plain_constant_type::type(exponents.derived().rows(), exponents.derived().cols(), internal::scalar_constant_op(x)), exponents.derived()); + } +#endif + + + namespace internal + { + EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(real,scalar_real_op) + EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(imag,scalar_imag_op) + EIGEN_ARRAY_DECLARE_GLOBAL_EIGEN_UNARY(abs2,scalar_abs2_op) + } +} + +// TODO: cleanly disable those functions that are not supported on Array (numext::real_ref, internal::random, internal::isApprox...) + +#endif // EIGEN_GLOBAL_FUNCTIONS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/IO.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/IO.h new file mode 100644 index 0000000..e81c315 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/IO.h @@ -0,0 +1,258 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2008 Benoit Jacob +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_IO_H +#define EIGEN_IO_H + +namespace Eigen { + +enum { DontAlignCols = 1 }; +enum { StreamPrecision = -1, + FullPrecision = -2 }; + +namespace internal { +template +std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& fmt); +} + +/** \class IOFormat + * \ingroup Core_Module + * + * \brief Stores a set of parameters controlling the way matrices are printed + * + * List of available parameters: + * - \b precision number of digits for floating point values, or one of the special constants \c StreamPrecision and \c FullPrecision. + * The default is the special value \c StreamPrecision which means to use the + * stream's own precision setting, as set for instance using \c cout.precision(3). The other special value + * \c FullPrecision means that the number of digits will be computed to match the full precision of each floating-point + * type. + * - \b flags an OR-ed combination of flags, the default value is 0, the only currently available flag is \c DontAlignCols which + * allows to disable the alignment of columns, resulting in faster code. + * - \b coeffSeparator string printed between two coefficients of the same row + * - \b rowSeparator string printed between two rows + * - \b rowPrefix string printed at the beginning of each row + * - \b rowSuffix string printed at the end of each row + * - \b matPrefix string printed at the beginning of the matrix + * - \b matSuffix string printed at the end of the matrix + * - \b fill character printed to fill the empty space in aligned columns + * + * Example: \include IOFormat.cpp + * Output: \verbinclude IOFormat.out + * + * \sa DenseBase::format(), class WithFormat + */ +struct IOFormat +{ + /** Default constructor, see class IOFormat for the meaning of the parameters */ + IOFormat(int _precision = StreamPrecision, int _flags = 0, + const std::string& _coeffSeparator = " ", + const std::string& _rowSeparator = "\n", const std::string& _rowPrefix="", const std::string& _rowSuffix="", + const std::string& _matPrefix="", const std::string& _matSuffix="", const char _fill=' ') + : matPrefix(_matPrefix), matSuffix(_matSuffix), rowPrefix(_rowPrefix), rowSuffix(_rowSuffix), rowSeparator(_rowSeparator), + rowSpacer(""), coeffSeparator(_coeffSeparator), fill(_fill), precision(_precision), flags(_flags) + { + // TODO check if rowPrefix, rowSuffix or rowSeparator contains a newline + // don't add rowSpacer if columns are not to be aligned + if((flags & DontAlignCols)) + return; + int i = int(matSuffix.length())-1; + while (i>=0 && matSuffix[i]!='\n') + { + rowSpacer += ' '; + i--; + } + } + std::string matPrefix, matSuffix; + std::string rowPrefix, rowSuffix, rowSeparator, rowSpacer; + std::string coeffSeparator; + char fill; + int precision; + int flags; +}; + +/** \class WithFormat + * \ingroup Core_Module + * + * \brief Pseudo expression providing matrix output with given format + * + * \tparam ExpressionType the type of the object on which IO stream operations are performed + * + * This class represents an expression with stream operators controlled by a given IOFormat. + * It is the return type of DenseBase::format() + * and most of the time this is the only way it is used. + * + * See class IOFormat for some examples. + * + * \sa DenseBase::format(), class IOFormat + */ +template +class WithFormat +{ + public: + + WithFormat(const ExpressionType& matrix, const IOFormat& format) + : m_matrix(matrix), m_format(format) + {} + + friend std::ostream & operator << (std::ostream & s, const WithFormat& wf) + { + return internal::print_matrix(s, wf.m_matrix.eval(), wf.m_format); + } + + protected: + typename ExpressionType::Nested m_matrix; + IOFormat m_format; +}; + +namespace internal { + +// NOTE: This helper is kept for backward compatibility with previous code specializing +// this internal::significant_decimals_impl structure. In the future we should directly +// call digits10() which has been introduced in July 2016 in 3.3. +template +struct significant_decimals_impl +{ + static inline int run() + { + return NumTraits::digits10(); + } +}; + +/** \internal + * print the matrix \a _m to the output stream \a s using the output format \a fmt */ +template +std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& fmt) +{ + using internal::is_same; + using internal::conditional; + + if(_m.size() == 0) + { + s << fmt.matPrefix << fmt.matSuffix; + return s; + } + + typename Derived::Nested m = _m; + typedef typename Derived::Scalar Scalar; + typedef typename + conditional< + is_same::value || + is_same::value || + is_same::value || + is_same::value, + int, + typename conditional< + is_same >::value || + is_same >::value || + is_same >::value || + is_same >::value, + std::complex, + const Scalar& + >::type + >::type PrintType; + + Index width = 0; + + std::streamsize explicit_precision; + if(fmt.precision == StreamPrecision) + { + explicit_precision = 0; + } + else if(fmt.precision == FullPrecision) + { + if (NumTraits::IsInteger) + { + explicit_precision = 0; + } + else + { + explicit_precision = significant_decimals_impl::run(); + } + } + else + { + explicit_precision = fmt.precision; + } + + std::streamsize old_precision = 0; + if(explicit_precision) old_precision = s.precision(explicit_precision); + + bool align_cols = !(fmt.flags & DontAlignCols); + if(align_cols) + { + // compute the largest width + for(Index j = 0; j < m.cols(); ++j) + for(Index i = 0; i < m.rows(); ++i) + { + std::stringstream sstr; + sstr.copyfmt(s); + sstr << static_cast(m.coeff(i,j)); + width = std::max(width, Index(sstr.str().length())); + } + } + std::streamsize old_width = s.width(); + char old_fill_character = s.fill(); + s << fmt.matPrefix; + for(Index i = 0; i < m.rows(); ++i) + { + if (i) + s << fmt.rowSpacer; + s << fmt.rowPrefix; + if(width) { + s.fill(fmt.fill); + s.width(width); + } + s << static_cast(m.coeff(i, 0)); + for(Index j = 1; j < m.cols(); ++j) + { + s << fmt.coeffSeparator; + if(width) { + s.fill(fmt.fill); + s.width(width); + } + s << static_cast(m.coeff(i, j)); + } + s << fmt.rowSuffix; + if( i < m.rows() - 1) + s << fmt.rowSeparator; + } + s << fmt.matSuffix; + if(explicit_precision) s.precision(old_precision); + if(width) { + s.fill(old_fill_character); + s.width(old_width); + } + return s; +} + +} // end namespace internal + +/** \relates DenseBase + * + * Outputs the matrix, to the given stream. + * + * If you wish to print the matrix with a format different than the default, use DenseBase::format(). + * + * It is also possible to change the default format by defining EIGEN_DEFAULT_IO_FORMAT before including Eigen headers. + * If not defined, this will automatically be defined to Eigen::IOFormat(), that is the Eigen::IOFormat with default parameters. + * + * \sa DenseBase::format() + */ +template +std::ostream & operator << +(std::ostream & s, + const DenseBase & m) +{ + return internal::print_matrix(s, m.eval(), EIGEN_DEFAULT_IO_FORMAT); +} + +} // end namespace Eigen + +#endif // EIGEN_IO_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/IndexedView.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/IndexedView.h new file mode 100644 index 0000000..0847625 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/IndexedView.h @@ -0,0 +1,237 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2017 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_INDEXED_VIEW_H +#define EIGEN_INDEXED_VIEW_H + +namespace Eigen { + +namespace internal { + +template +struct traits > + : traits +{ + enum { + RowsAtCompileTime = int(array_size::value), + ColsAtCompileTime = int(array_size::value), + MaxRowsAtCompileTime = RowsAtCompileTime != Dynamic ? int(RowsAtCompileTime) : Dynamic, + MaxColsAtCompileTime = ColsAtCompileTime != Dynamic ? int(ColsAtCompileTime) : Dynamic, + + XprTypeIsRowMajor = (int(traits::Flags)&RowMajorBit) != 0, + IsRowMajor = (MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1 + : (MaxColsAtCompileTime==1&&MaxRowsAtCompileTime!=1) ? 0 + : XprTypeIsRowMajor, + + RowIncr = int(get_compile_time_incr::value), + ColIncr = int(get_compile_time_incr::value), + InnerIncr = IsRowMajor ? ColIncr : RowIncr, + OuterIncr = IsRowMajor ? RowIncr : ColIncr, + + HasSameStorageOrderAsXprType = (IsRowMajor == XprTypeIsRowMajor), + XprInnerStride = HasSameStorageOrderAsXprType ? int(inner_stride_at_compile_time::ret) : int(outer_stride_at_compile_time::ret), + XprOuterstride = HasSameStorageOrderAsXprType ? int(outer_stride_at_compile_time::ret) : int(inner_stride_at_compile_time::ret), + + InnerSize = XprTypeIsRowMajor ? ColsAtCompileTime : RowsAtCompileTime, + IsBlockAlike = InnerIncr==1 && OuterIncr==1, + IsInnerPannel = HasSameStorageOrderAsXprType && is_same,typename conditional::type>::value, + + InnerStrideAtCompileTime = InnerIncr<0 || InnerIncr==DynamicIndex || XprInnerStride==Dynamic ? Dynamic : XprInnerStride * InnerIncr, + OuterStrideAtCompileTime = OuterIncr<0 || OuterIncr==DynamicIndex || XprOuterstride==Dynamic ? Dynamic : XprOuterstride * OuterIncr, + + ReturnAsScalar = is_same::value && is_same::value, + ReturnAsBlock = (!ReturnAsScalar) && IsBlockAlike, + ReturnAsIndexedView = (!ReturnAsScalar) && (!ReturnAsBlock), + + // FIXME we deal with compile-time strides if and only if we have DirectAccessBit flag, + // but this is too strict regarding negative strides... + DirectAccessMask = (int(InnerIncr)!=UndefinedIncr && int(OuterIncr)!=UndefinedIncr && InnerIncr>=0 && OuterIncr>=0) ? DirectAccessBit : 0, + FlagsRowMajorBit = IsRowMajor ? RowMajorBit : 0, + FlagsLvalueBit = is_lvalue::value ? LvalueBit : 0, + FlagsLinearAccessBit = (RowsAtCompileTime == 1 || ColsAtCompileTime == 1) ? LinearAccessBit : 0, + Flags = (traits::Flags & (HereditaryBits | DirectAccessMask )) | FlagsLvalueBit | FlagsRowMajorBit | FlagsLinearAccessBit + }; + + typedef Block BlockType; +}; + +} + +template +class IndexedViewImpl; + + +/** \class IndexedView + * \ingroup Core_Module + * + * \brief Expression of a non-sequential sub-matrix defined by arbitrary sequences of row and column indices + * + * \tparam XprType the type of the expression in which we are taking the intersections of sub-rows and sub-columns + * \tparam RowIndices the type of the object defining the sequence of row indices + * \tparam ColIndices the type of the object defining the sequence of column indices + * + * This class represents an expression of a sub-matrix (or sub-vector) defined as the intersection + * of sub-sets of rows and columns, that are themself defined by generic sequences of row indices \f$ \{r_0,r_1,..r_{m-1}\} \f$ + * and column indices \f$ \{c_0,c_1,..c_{n-1} \}\f$. Let \f$ A \f$ be the nested matrix, then the resulting matrix \f$ B \f$ has \c m + * rows and \c n columns, and its entries are given by: \f$ B(i,j) = A(r_i,c_j) \f$. + * + * The \c RowIndices and \c ColIndices types must be compatible with the following API: + * \code + * operator[](Index) const; + * Index size() const; + * \endcode + * + * Typical supported types thus include: + * - std::vector + * - std::valarray + * - std::array + * - Plain C arrays: int[N] + * - Eigen::ArrayXi + * - decltype(ArrayXi::LinSpaced(...)) + * - Any view/expressions of the previous types + * - Eigen::ArithmeticSequence + * - Eigen::internal::AllRange (helper for Eigen::all) + * - Eigen::internal::SingleRange (helper for single index) + * - etc. + * + * In typical usages of %Eigen, this class should never be used directly. It is the return type of + * DenseBase::operator()(const RowIndices&, const ColIndices&). + * + * \sa class Block + */ +template +class IndexedView : public IndexedViewImpl::StorageKind> +{ +public: + typedef typename IndexedViewImpl::StorageKind>::Base Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(IndexedView) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(IndexedView) + + typedef typename internal::ref_selector::non_const_type MatrixTypeNested; + typedef typename internal::remove_all::type NestedExpression; + + template + IndexedView(XprType& xpr, const T0& rowIndices, const T1& colIndices) + : m_xpr(xpr), m_rowIndices(rowIndices), m_colIndices(colIndices) + {} + + /** \returns number of rows */ + Index rows() const { return internal::size(m_rowIndices); } + + /** \returns number of columns */ + Index cols() const { return internal::size(m_colIndices); } + + /** \returns the nested expression */ + const typename internal::remove_all::type& + nestedExpression() const { return m_xpr; } + + /** \returns the nested expression */ + typename internal::remove_reference::type& + nestedExpression() { return m_xpr; } + + /** \returns a const reference to the object storing/generating the row indices */ + const RowIndices& rowIndices() const { return m_rowIndices; } + + /** \returns a const reference to the object storing/generating the column indices */ + const ColIndices& colIndices() const { return m_colIndices; } + +protected: + MatrixTypeNested m_xpr; + RowIndices m_rowIndices; + ColIndices m_colIndices; +}; + + +// Generic API dispatcher +template +class IndexedViewImpl + : public internal::generic_xpr_base >::type +{ +public: + typedef typename internal::generic_xpr_base >::type Base; +}; + +namespace internal { + + +template +struct unary_evaluator, IndexBased> + : evaluator_base > +{ + typedef IndexedView XprType; + + enum { + CoeffReadCost = evaluator::CoeffReadCost /* TODO + cost of row/col index */, + + FlagsLinearAccessBit = (traits::RowsAtCompileTime == 1 || traits::ColsAtCompileTime == 1) ? LinearAccessBit : 0, + + FlagsRowMajorBit = traits::FlagsRowMajorBit, + + Flags = (evaluator::Flags & (HereditaryBits & ~RowMajorBit /*| LinearAccessBit | DirectAccessBit*/)) | FlagsLinearAccessBit | FlagsRowMajorBit, + + Alignment = 0 + }; + + EIGEN_DEVICE_FUNC explicit unary_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_xpr(xpr) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeff(Index row, Index col) const + { + return m_argImpl.coeff(m_xpr.rowIndices()[row], m_xpr.colIndices()[col]); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index row, Index col) + { + return m_argImpl.coeffRef(m_xpr.rowIndices()[row], m_xpr.colIndices()[col]); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Scalar& coeffRef(Index index) + { + EIGEN_STATIC_ASSERT_LVALUE(XprType) + Index row = XprType::RowsAtCompileTime == 1 ? 0 : index; + Index col = XprType::RowsAtCompileTime == 1 ? index : 0; + return m_argImpl.coeffRef( m_xpr.rowIndices()[row], m_xpr.colIndices()[col]); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const Scalar& coeffRef(Index index) const + { + Index row = XprType::RowsAtCompileTime == 1 ? 0 : index; + Index col = XprType::RowsAtCompileTime == 1 ? index : 0; + return m_argImpl.coeffRef( m_xpr.rowIndices()[row], m_xpr.colIndices()[col]); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const CoeffReturnType coeff(Index index) const + { + Index row = XprType::RowsAtCompileTime == 1 ? 0 : index; + Index col = XprType::RowsAtCompileTime == 1 ? index : 0; + return m_argImpl.coeff( m_xpr.rowIndices()[row], m_xpr.colIndices()[col]); + } + +protected: + + evaluator m_argImpl; + const XprType& m_xpr; + +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_INDEXED_VIEW_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Inverse.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Inverse.h new file mode 100644 index 0000000..c514438 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Inverse.h @@ -0,0 +1,117 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2014-2019 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_INVERSE_H +#define EIGEN_INVERSE_H + +namespace Eigen { + +template class InverseImpl; + +namespace internal { + +template +struct traits > + : traits +{ + typedef typename XprType::PlainObject PlainObject; + typedef traits BaseTraits; + enum { + Flags = BaseTraits::Flags & RowMajorBit + }; +}; + +} // end namespace internal + +/** \class Inverse + * + * \brief Expression of the inverse of another expression + * + * \tparam XprType the type of the expression we are taking the inverse + * + * This class represents an abstract expression of A.inverse() + * and most of the time this is the only way it is used. + * + */ +template +class Inverse : public InverseImpl::StorageKind> +{ +public: + typedef typename XprType::StorageIndex StorageIndex; + typedef typename XprType::Scalar Scalar; + typedef typename internal::ref_selector::type XprTypeNested; + typedef typename internal::remove_all::type XprTypeNestedCleaned; + typedef typename internal::ref_selector::type Nested; + typedef typename internal::remove_all::type NestedExpression; + + explicit EIGEN_DEVICE_FUNC Inverse(const XprType &xpr) + : m_xpr(xpr) + {} + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT { return m_xpr.cols(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT { return m_xpr.rows(); } + + EIGEN_DEVICE_FUNC const XprTypeNestedCleaned& nestedExpression() const { return m_xpr; } + +protected: + XprTypeNested m_xpr; +}; + +// Generic API dispatcher +template +class InverseImpl + : public internal::generic_xpr_base >::type +{ +public: + typedef typename internal::generic_xpr_base >::type Base; + typedef typename XprType::Scalar Scalar; +private: + + Scalar coeff(Index row, Index col) const; + Scalar coeff(Index i) const; +}; + +namespace internal { + +/** \internal + * \brief Default evaluator for Inverse expression. + * + * This default evaluator for Inverse expression simply evaluate the inverse into a temporary + * by a call to internal::call_assignment_no_alias. + * Therefore, inverse implementers only have to specialize Assignment, ...> for + * there own nested expression. + * + * \sa class Inverse + */ +template +struct unary_evaluator > + : public evaluator::PlainObject> +{ + typedef Inverse InverseType; + typedef typename InverseType::PlainObject PlainObject; + typedef evaluator Base; + + enum { Flags = Base::Flags | EvalBeforeNestingBit }; + + unary_evaluator(const InverseType& inv_xpr) + : m_result(inv_xpr.rows(), inv_xpr.cols()) + { + ::new (static_cast(this)) Base(m_result); + internal::call_assignment_no_alias(m_result, inv_xpr); + } + +protected: + PlainObject m_result; +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_INVERSE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Map.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Map.h new file mode 100644 index 0000000..218cc15 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Map.h @@ -0,0 +1,171 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2007-2010 Benoit Jacob +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MAP_H +#define EIGEN_MAP_H + +namespace Eigen { + +namespace internal { +template +struct traits > + : public traits +{ + typedef traits TraitsBase; + enum { + PlainObjectTypeInnerSize = ((traits::Flags&RowMajorBit)==RowMajorBit) + ? PlainObjectType::ColsAtCompileTime + : PlainObjectType::RowsAtCompileTime, + + InnerStrideAtCompileTime = StrideType::InnerStrideAtCompileTime == 0 + ? int(PlainObjectType::InnerStrideAtCompileTime) + : int(StrideType::InnerStrideAtCompileTime), + OuterStrideAtCompileTime = StrideType::OuterStrideAtCompileTime == 0 + ? (InnerStrideAtCompileTime==Dynamic || PlainObjectTypeInnerSize==Dynamic + ? Dynamic + : int(InnerStrideAtCompileTime) * int(PlainObjectTypeInnerSize)) + : int(StrideType::OuterStrideAtCompileTime), + Alignment = int(MapOptions)&int(AlignedMask), + Flags0 = TraitsBase::Flags & (~NestByRefBit), + Flags = is_lvalue::value ? int(Flags0) : (int(Flags0) & ~LvalueBit) + }; +private: + enum { Options }; // Expressions don't have Options +}; +} + +/** \class Map + * \ingroup Core_Module + * + * \brief A matrix or vector expression mapping an existing array of data. + * + * \tparam PlainObjectType the equivalent matrix type of the mapped data + * \tparam MapOptions specifies the pointer alignment in bytes. It can be: \c #Aligned128, \c #Aligned64, \c #Aligned32, \c #Aligned16, \c #Aligned8 or \c #Unaligned. + * The default is \c #Unaligned. + * \tparam StrideType optionally specifies strides. By default, Map assumes the memory layout + * of an ordinary, contiguous array. This can be overridden by specifying strides. + * The type passed here must be a specialization of the Stride template, see examples below. + * + * This class represents a matrix or vector expression mapping an existing array of data. + * It can be used to let Eigen interface without any overhead with non-Eigen data structures, + * such as plain C arrays or structures from other libraries. By default, it assumes that the + * data is laid out contiguously in memory. You can however override this by explicitly specifying + * inner and outer strides. + * + * Here's an example of simply mapping a contiguous array as a \ref TopicStorageOrders "column-major" matrix: + * \include Map_simple.cpp + * Output: \verbinclude Map_simple.out + * + * If you need to map non-contiguous arrays, you can do so by specifying strides: + * + * Here's an example of mapping an array as a vector, specifying an inner stride, that is, the pointer + * increment between two consecutive coefficients. Here, we're specifying the inner stride as a compile-time + * fixed value. + * \include Map_inner_stride.cpp + * Output: \verbinclude Map_inner_stride.out + * + * Here's an example of mapping an array while specifying an outer stride. Here, since we're mapping + * as a column-major matrix, 'outer stride' means the pointer increment between two consecutive columns. + * Here, we're specifying the outer stride as a runtime parameter. Note that here \c OuterStride<> is + * a short version of \c OuterStride because the default template parameter of OuterStride + * is \c Dynamic + * \include Map_outer_stride.cpp + * Output: \verbinclude Map_outer_stride.out + * + * For more details and for an example of specifying both an inner and an outer stride, see class Stride. + * + * \b Tip: to change the array of data mapped by a Map object, you can use the C++ + * placement new syntax: + * + * Example: \include Map_placement_new.cpp + * Output: \verbinclude Map_placement_new.out + * + * This class is the return type of PlainObjectBase::Map() but can also be used directly. + * + * \sa PlainObjectBase::Map(), \ref TopicStorageOrders + */ +template class Map + : public MapBase > +{ + public: + + typedef MapBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Map) + + typedef typename Base::PointerType PointerType; + typedef PointerType PointerArgType; + EIGEN_DEVICE_FUNC + inline PointerType cast_to_pointer_type(PointerArgType ptr) { return ptr; } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const + { + return StrideType::InnerStrideAtCompileTime != 0 ? m_stride.inner() : 1; + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const + { + return StrideType::OuterStrideAtCompileTime != 0 ? m_stride.outer() + : internal::traits::OuterStrideAtCompileTime != Dynamic ? Index(internal::traits::OuterStrideAtCompileTime) + : IsVectorAtCompileTime ? (this->size() * innerStride()) + : int(Flags)&RowMajorBit ? (this->cols() * innerStride()) + : (this->rows() * innerStride()); + } + + /** Constructor in the fixed-size case. + * + * \param dataPtr pointer to the array to map + * \param stride optional Stride object, passing the strides. + */ + EIGEN_DEVICE_FUNC + explicit inline Map(PointerArgType dataPtr, const StrideType& stride = StrideType()) + : Base(cast_to_pointer_type(dataPtr)), m_stride(stride) + { + PlainObjectType::Base::_check_template_params(); + } + + /** Constructor in the dynamic-size vector case. + * + * \param dataPtr pointer to the array to map + * \param size the size of the vector expression + * \param stride optional Stride object, passing the strides. + */ + EIGEN_DEVICE_FUNC + inline Map(PointerArgType dataPtr, Index size, const StrideType& stride = StrideType()) + : Base(cast_to_pointer_type(dataPtr), size), m_stride(stride) + { + PlainObjectType::Base::_check_template_params(); + } + + /** Constructor in the dynamic-size matrix case. + * + * \param dataPtr pointer to the array to map + * \param rows the number of rows of the matrix expression + * \param cols the number of columns of the matrix expression + * \param stride optional Stride object, passing the strides. + */ + EIGEN_DEVICE_FUNC + inline Map(PointerArgType dataPtr, Index rows, Index cols, const StrideType& stride = StrideType()) + : Base(cast_to_pointer_type(dataPtr), rows, cols), m_stride(stride) + { + PlainObjectType::Base::_check_template_params(); + } + + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Map) + + protected: + StrideType m_stride; +}; + + +} // end namespace Eigen + +#endif // EIGEN_MAP_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MapBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MapBase.h new file mode 100644 index 0000000..d856447 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MapBase.h @@ -0,0 +1,310 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2007-2010 Benoit Jacob +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MAPBASE_H +#define EIGEN_MAPBASE_H + +#define EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS(Derived) \ + EIGEN_STATIC_ASSERT((int(internal::evaluator::Flags) & LinearAccessBit) || Derived::IsVectorAtCompileTime, \ + YOU_ARE_TRYING_TO_USE_AN_INDEX_BASED_ACCESSOR_ON_AN_EXPRESSION_THAT_DOES_NOT_SUPPORT_THAT) + +namespace Eigen { + +/** \ingroup Core_Module + * + * \brief Base class for dense Map and Block expression with direct access + * + * This base class provides the const low-level accessors (e.g. coeff, coeffRef) of dense + * Map and Block objects with direct access. + * Typical users do not have to directly deal with this class. + * + * This class can be extended by through the macro plugin \c EIGEN_MAPBASE_PLUGIN. + * See \link TopicCustomizing_Plugins customizing Eigen \endlink for details. + * + * The \c Derived class has to provide the following two methods describing the memory layout: + * \code Index innerStride() const; \endcode + * \code Index outerStride() const; \endcode + * + * \sa class Map, class Block + */ +template class MapBase + : public internal::dense_xpr_base::type +{ + public: + + typedef typename internal::dense_xpr_base::type Base; + enum { + RowsAtCompileTime = internal::traits::RowsAtCompileTime, + ColsAtCompileTime = internal::traits::ColsAtCompileTime, + InnerStrideAtCompileTime = internal::traits::InnerStrideAtCompileTime, + SizeAtCompileTime = Base::SizeAtCompileTime + }; + + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::packet_traits::type PacketScalar; + typedef typename NumTraits::Real RealScalar; + typedef typename internal::conditional< + bool(internal::is_lvalue::value), + Scalar *, + const Scalar *>::type + PointerType; + + using Base::derived; +// using Base::RowsAtCompileTime; +// using Base::ColsAtCompileTime; +// using Base::SizeAtCompileTime; + using Base::MaxRowsAtCompileTime; + using Base::MaxColsAtCompileTime; + using Base::MaxSizeAtCompileTime; + using Base::IsVectorAtCompileTime; + using Base::Flags; + using Base::IsRowMajor; + + using Base::rows; + using Base::cols; + using Base::size; + using Base::coeff; + using Base::coeffRef; + using Base::lazyAssign; + using Base::eval; + + using Base::innerStride; + using Base::outerStride; + using Base::rowStride; + using Base::colStride; + + // bug 217 - compile error on ICC 11.1 + using Base::operator=; + + typedef typename Base::CoeffReturnType CoeffReturnType; + + /** \copydoc DenseBase::rows() */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return m_rows.value(); } + /** \copydoc DenseBase::cols() */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return m_cols.value(); } + + /** Returns a pointer to the first coefficient of the matrix or vector. + * + * \note When addressing this data, make sure to honor the strides returned by innerStride() and outerStride(). + * + * \sa innerStride(), outerStride() + */ + EIGEN_DEVICE_FUNC inline const Scalar* data() const { return m_data; } + + /** \copydoc PlainObjectBase::coeff(Index,Index) const */ + EIGEN_DEVICE_FUNC + inline const Scalar& coeff(Index rowId, Index colId) const + { + return m_data[colId * colStride() + rowId * rowStride()]; + } + + /** \copydoc PlainObjectBase::coeff(Index) const */ + EIGEN_DEVICE_FUNC + inline const Scalar& coeff(Index index) const + { + EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS(Derived) + return m_data[index * innerStride()]; + } + + /** \copydoc PlainObjectBase::coeffRef(Index,Index) const */ + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index rowId, Index colId) const + { + return this->m_data[colId * colStride() + rowId * rowStride()]; + } + + /** \copydoc PlainObjectBase::coeffRef(Index) const */ + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index index) const + { + EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS(Derived) + return this->m_data[index * innerStride()]; + } + + /** \internal */ + template + inline PacketScalar packet(Index rowId, Index colId) const + { + return internal::ploadt + (m_data + (colId * colStride() + rowId * rowStride())); + } + + /** \internal */ + template + inline PacketScalar packet(Index index) const + { + EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS(Derived) + return internal::ploadt(m_data + index * innerStride()); + } + + /** \internal Constructor for fixed size matrices or vectors */ + EIGEN_DEVICE_FUNC + explicit inline MapBase(PointerType dataPtr) : m_data(dataPtr), m_rows(RowsAtCompileTime), m_cols(ColsAtCompileTime) + { + EIGEN_STATIC_ASSERT_FIXED_SIZE(Derived) + checkSanity(); + } + + /** \internal Constructor for dynamically sized vectors */ + EIGEN_DEVICE_FUNC + inline MapBase(PointerType dataPtr, Index vecSize) + : m_data(dataPtr), + m_rows(RowsAtCompileTime == Dynamic ? vecSize : Index(RowsAtCompileTime)), + m_cols(ColsAtCompileTime == Dynamic ? vecSize : Index(ColsAtCompileTime)) + { + EIGEN_STATIC_ASSERT_VECTOR_ONLY(Derived) + eigen_assert(vecSize >= 0); + eigen_assert(dataPtr == 0 || SizeAtCompileTime == Dynamic || SizeAtCompileTime == vecSize); + checkSanity(); + } + + /** \internal Constructor for dynamically sized matrices */ + EIGEN_DEVICE_FUNC + inline MapBase(PointerType dataPtr, Index rows, Index cols) + : m_data(dataPtr), m_rows(rows), m_cols(cols) + { + eigen_assert( (dataPtr == 0) + || ( rows >= 0 && (RowsAtCompileTime == Dynamic || RowsAtCompileTime == rows) + && cols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols))); + checkSanity(); + } + + #ifdef EIGEN_MAPBASE_PLUGIN + #include EIGEN_MAPBASE_PLUGIN + #endif + + protected: + EIGEN_DEFAULT_COPY_CONSTRUCTOR(MapBase) + EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(MapBase) + + template + EIGEN_DEVICE_FUNC + void checkSanity(typename internal::enable_if<(internal::traits::Alignment>0),void*>::type = 0) const + { +#if EIGEN_MAX_ALIGN_BYTES>0 + // innerStride() is not set yet when this function is called, so we optimistically assume the lowest plausible value: + const Index minInnerStride = InnerStrideAtCompileTime == Dynamic ? 1 : Index(InnerStrideAtCompileTime); + EIGEN_ONLY_USED_FOR_DEBUG(minInnerStride); + eigen_assert(( ((internal::UIntPtr(m_data) % internal::traits::Alignment) == 0) + || (cols() * rows() * minInnerStride * sizeof(Scalar)) < internal::traits::Alignment ) && "data is not aligned"); +#endif + } + + template + EIGEN_DEVICE_FUNC + void checkSanity(typename internal::enable_if::Alignment==0,void*>::type = 0) const + {} + + PointerType m_data; + const internal::variable_if_dynamic m_rows; + const internal::variable_if_dynamic m_cols; +}; + +/** \ingroup Core_Module + * + * \brief Base class for non-const dense Map and Block expression with direct access + * + * This base class provides the non-const low-level accessors (e.g. coeff and coeffRef) of + * dense Map and Block objects with direct access. + * It inherits MapBase which defines the const variant for reading specific entries. + * + * \sa class Map, class Block + */ +template class MapBase + : public MapBase +{ + typedef MapBase ReadOnlyMapBase; + public: + + typedef MapBase Base; + + typedef typename Base::Scalar Scalar; + typedef typename Base::PacketScalar PacketScalar; + typedef typename Base::StorageIndex StorageIndex; + typedef typename Base::PointerType PointerType; + + using Base::derived; + using Base::rows; + using Base::cols; + using Base::size; + using Base::coeff; + using Base::coeffRef; + + using Base::innerStride; + using Base::outerStride; + using Base::rowStride; + using Base::colStride; + + typedef typename internal::conditional< + internal::is_lvalue::value, + Scalar, + const Scalar + >::type ScalarWithConstIfNotLvalue; + + EIGEN_DEVICE_FUNC + inline const Scalar* data() const { return this->m_data; } + EIGEN_DEVICE_FUNC + inline ScalarWithConstIfNotLvalue* data() { return this->m_data; } // no const-cast here so non-const-correct code will give a compile error + + EIGEN_DEVICE_FUNC + inline ScalarWithConstIfNotLvalue& coeffRef(Index row, Index col) + { + return this->m_data[col * colStride() + row * rowStride()]; + } + + EIGEN_DEVICE_FUNC + inline ScalarWithConstIfNotLvalue& coeffRef(Index index) + { + EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS(Derived) + return this->m_data[index * innerStride()]; + } + + template + inline void writePacket(Index row, Index col, const PacketScalar& val) + { + internal::pstoret + (this->m_data + (col * colStride() + row * rowStride()), val); + } + + template + inline void writePacket(Index index, const PacketScalar& val) + { + EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS(Derived) + internal::pstoret + (this->m_data + index * innerStride(), val); + } + + EIGEN_DEVICE_FUNC explicit inline MapBase(PointerType dataPtr) : Base(dataPtr) {} + EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index vecSize) : Base(dataPtr, vecSize) {} + EIGEN_DEVICE_FUNC inline MapBase(PointerType dataPtr, Index rows, Index cols) : Base(dataPtr, rows, cols) {} + + EIGEN_DEVICE_FUNC + Derived& operator=(const MapBase& other) + { + ReadOnlyMapBase::Base::operator=(other); + return derived(); + } + + // In theory we could simply refer to Base:Base::operator=, but MSVC does not like Base::Base, + // see bugs 821 and 920. + using ReadOnlyMapBase::Base::operator=; + protected: + EIGEN_DEFAULT_COPY_CONSTRUCTOR(MapBase) + EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(MapBase) +}; + +#undef EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS + +} // end namespace Eigen + +#endif // EIGEN_MAPBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MathFunctions.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MathFunctions.h new file mode 100644 index 0000000..61b78f4 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MathFunctions.h @@ -0,0 +1,2057 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2010 Benoit Jacob +// Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MATHFUNCTIONS_H +#define EIGEN_MATHFUNCTIONS_H + +// TODO this should better be moved to NumTraits +// Source: WolframAlpha +#define EIGEN_PI 3.141592653589793238462643383279502884197169399375105820974944592307816406L +#define EIGEN_LOG2E 1.442695040888963407359924681001892137426645954152985934135449406931109219L +#define EIGEN_LN2 0.693147180559945309417232121458176568075500134360255254120680009493393621L + +namespace Eigen { + +// On WINCE, std::abs is defined for int only, so let's defined our own overloads: +// This issue has been confirmed with MSVC 2008 only, but the issue might exist for more recent versions too. +#if EIGEN_OS_WINCE && EIGEN_COMP_MSVC && EIGEN_COMP_MSVC<=1500 +long abs(long x) { return (labs(x)); } +double abs(double x) { return (fabs(x)); } +float abs(float x) { return (fabsf(x)); } +long double abs(long double x) { return (fabsl(x)); } +#endif + +namespace internal { + +/** \internal \class global_math_functions_filtering_base + * + * What it does: + * Defines a typedef 'type' as follows: + * - if type T has a member typedef Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl, then + * global_math_functions_filtering_base::type is a typedef for it. + * - otherwise, global_math_functions_filtering_base::type is a typedef for T. + * + * How it's used: + * To allow to defined the global math functions (like sin...) in certain cases, like the Array expressions. + * When you do sin(array1+array2), the object array1+array2 has a complicated expression type, all what you want to know + * is that it inherits ArrayBase. So we implement a partial specialization of sin_impl for ArrayBase. + * So we must make sure to use sin_impl > and not sin_impl, otherwise our partial specialization + * won't be used. How does sin know that? That's exactly what global_math_functions_filtering_base tells it. + * + * How it's implemented: + * SFINAE in the style of enable_if. Highly susceptible of breaking compilers. With GCC, it sure does work, but if you replace + * the typename dummy by an integer template parameter, it doesn't work anymore! + */ + +template +struct global_math_functions_filtering_base +{ + typedef T type; +}; + +template struct always_void { typedef void type; }; + +template +struct global_math_functions_filtering_base + ::type + > +{ + typedef typename T::Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl type; +}; + +#define EIGEN_MATHFUNC_IMPL(func, scalar) Eigen::internal::func##_impl::type> +#define EIGEN_MATHFUNC_RETVAL(func, scalar) typename Eigen::internal::func##_retval::type>::type + +/**************************************************************************** +* Implementation of real * +****************************************************************************/ + +template::IsComplex> +struct real_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + return x; + } +}; + +template +struct real_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + using std::real; + return real(x); + } +}; + +template struct real_impl : real_default_impl {}; + +#if defined(EIGEN_GPU_COMPILE_PHASE) +template +struct real_impl > +{ + typedef T RealScalar; + EIGEN_DEVICE_FUNC + static inline T run(const std::complex& x) + { + return x.real(); + } +}; +#endif + +template +struct real_retval +{ + typedef typename NumTraits::Real type; +}; + +/**************************************************************************** +* Implementation of imag * +****************************************************************************/ + +template::IsComplex> +struct imag_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar&) + { + return RealScalar(0); + } +}; + +template +struct imag_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + using std::imag; + return imag(x); + } +}; + +template struct imag_impl : imag_default_impl {}; + +#if defined(EIGEN_GPU_COMPILE_PHASE) +template +struct imag_impl > +{ + typedef T RealScalar; + EIGEN_DEVICE_FUNC + static inline T run(const std::complex& x) + { + return x.imag(); + } +}; +#endif + +template +struct imag_retval +{ + typedef typename NumTraits::Real type; +}; + +/**************************************************************************** +* Implementation of real_ref * +****************************************************************************/ + +template +struct real_ref_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar& run(Scalar& x) + { + return reinterpret_cast(&x)[0]; + } + EIGEN_DEVICE_FUNC + static inline const RealScalar& run(const Scalar& x) + { + return reinterpret_cast(&x)[0]; + } +}; + +template +struct real_ref_retval +{ + typedef typename NumTraits::Real & type; +}; + +/**************************************************************************** +* Implementation of imag_ref * +****************************************************************************/ + +template +struct imag_ref_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar& run(Scalar& x) + { + return reinterpret_cast(&x)[1]; + } + EIGEN_DEVICE_FUNC + static inline const RealScalar& run(const Scalar& x) + { + return reinterpret_cast(&x)[1]; + } +}; + +template +struct imag_ref_default_impl +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline Scalar run(Scalar&) + { + return Scalar(0); + } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline const Scalar run(const Scalar&) + { + return Scalar(0); + } +}; + +template +struct imag_ref_impl : imag_ref_default_impl::IsComplex> {}; + +template +struct imag_ref_retval +{ + typedef typename NumTraits::Real & type; +}; + +/**************************************************************************** +* Implementation of conj * +****************************************************************************/ + +template::IsComplex> +struct conj_default_impl +{ + EIGEN_DEVICE_FUNC + static inline Scalar run(const Scalar& x) + { + return x; + } +}; + +template +struct conj_default_impl +{ + EIGEN_DEVICE_FUNC + static inline Scalar run(const Scalar& x) + { + using std::conj; + return conj(x); + } +}; + +template::IsComplex> +struct conj_impl : conj_default_impl {}; + +template +struct conj_retval +{ + typedef Scalar type; +}; + +/**************************************************************************** +* Implementation of abs2 * +****************************************************************************/ + +template +struct abs2_impl_default +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + return x*x; + } +}; + +template +struct abs2_impl_default // IsComplex +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + return x.real()*x.real() + x.imag()*x.imag(); + } +}; + +template +struct abs2_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + return abs2_impl_default::IsComplex>::run(x); + } +}; + +template +struct abs2_retval +{ + typedef typename NumTraits::Real type; +}; + +/**************************************************************************** +* Implementation of sqrt/rsqrt * +****************************************************************************/ + +template +struct sqrt_impl +{ + EIGEN_DEVICE_FUNC + static EIGEN_ALWAYS_INLINE Scalar run(const Scalar& x) + { + EIGEN_USING_STD(sqrt); + return sqrt(x); + } +}; + +// Complex sqrt defined in MathFunctionsImpl.h. +template EIGEN_DEVICE_FUNC std::complex complex_sqrt(const std::complex& a_x); + +// Custom implementation is faster than `std::sqrt`, works on +// GPU, and correctly handles special cases (unlike MSVC). +template +struct sqrt_impl > +{ + EIGEN_DEVICE_FUNC + static EIGEN_ALWAYS_INLINE std::complex run(const std::complex& x) + { + return complex_sqrt(x); + } +}; + +template +struct sqrt_retval +{ + typedef Scalar type; +}; + +// Default implementation relies on numext::sqrt, at bottom of file. +template +struct rsqrt_impl; + +// Complex rsqrt defined in MathFunctionsImpl.h. +template EIGEN_DEVICE_FUNC std::complex complex_rsqrt(const std::complex& a_x); + +template +struct rsqrt_impl > +{ + EIGEN_DEVICE_FUNC + static EIGEN_ALWAYS_INLINE std::complex run(const std::complex& x) + { + return complex_rsqrt(x); + } +}; + +template +struct rsqrt_retval +{ + typedef Scalar type; +}; + +/**************************************************************************** +* Implementation of norm1 * +****************************************************************************/ + +template +struct norm1_default_impl; + +template +struct norm1_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + EIGEN_USING_STD(abs); + return abs(x.real()) + abs(x.imag()); + } +}; + +template +struct norm1_default_impl +{ + EIGEN_DEVICE_FUNC + static inline Scalar run(const Scalar& x) + { + EIGEN_USING_STD(abs); + return abs(x); + } +}; + +template +struct norm1_impl : norm1_default_impl::IsComplex> {}; + +template +struct norm1_retval +{ + typedef typename NumTraits::Real type; +}; + +/**************************************************************************** +* Implementation of hypot * +****************************************************************************/ + +template struct hypot_impl; + +template +struct hypot_retval +{ + typedef typename NumTraits::Real type; +}; + +/**************************************************************************** +* Implementation of cast * +****************************************************************************/ + +template +struct cast_impl +{ + EIGEN_DEVICE_FUNC + static inline NewType run(const OldType& x) + { + return static_cast(x); + } +}; + +// Casting from S -> Complex leads to an implicit conversion from S to T, +// generating warnings on clang. Here we explicitly cast the real component. +template +struct cast_impl::IsComplex && NumTraits::IsComplex + >::type> +{ + EIGEN_DEVICE_FUNC + static inline NewType run(const OldType& x) + { + typedef typename NumTraits::Real NewReal; + return static_cast(static_cast(x)); + } +}; + +// here, for once, we're plainly returning NewType: we don't want cast to do weird things. + +template +EIGEN_DEVICE_FUNC +inline NewType cast(const OldType& x) +{ + return cast_impl::run(x); +} + +/**************************************************************************** +* Implementation of round * +****************************************************************************/ + +template +struct round_impl +{ + EIGEN_DEVICE_FUNC + static inline Scalar run(const Scalar& x) + { + EIGEN_STATIC_ASSERT((!NumTraits::IsComplex), NUMERIC_TYPE_MUST_BE_REAL) +#if EIGEN_HAS_CXX11_MATH + EIGEN_USING_STD(round); +#endif + return Scalar(round(x)); + } +}; + +#if !EIGEN_HAS_CXX11_MATH +#if EIGEN_HAS_C99_MATH +// Use ::roundf for float. +template<> +struct round_impl { + EIGEN_DEVICE_FUNC + static inline float run(const float& x) + { + return ::roundf(x); + } +}; +#else +template +struct round_using_floor_ceil_impl +{ + EIGEN_DEVICE_FUNC + static inline Scalar run(const Scalar& x) + { + EIGEN_STATIC_ASSERT((!NumTraits::IsComplex), NUMERIC_TYPE_MUST_BE_REAL) + // Without C99 round/roundf, resort to floor/ceil. + EIGEN_USING_STD(floor); + EIGEN_USING_STD(ceil); + // If not enough precision to resolve a decimal at all, return the input. + // Otherwise, adding 0.5 can trigger an increment by 1. + const Scalar limit = Scalar(1ull << (NumTraits::digits() - 1)); + if (x >= limit || x <= -limit) { + return x; + } + return (x > Scalar(0)) ? Scalar(floor(x + Scalar(0.5))) : Scalar(ceil(x - Scalar(0.5))); + } +}; + +template<> +struct round_impl : round_using_floor_ceil_impl {}; + +template<> +struct round_impl : round_using_floor_ceil_impl {}; +#endif // EIGEN_HAS_C99_MATH +#endif // !EIGEN_HAS_CXX11_MATH + +template +struct round_retval +{ + typedef Scalar type; +}; + +/**************************************************************************** +* Implementation of rint * +****************************************************************************/ + +template +struct rint_impl { + EIGEN_DEVICE_FUNC + static inline Scalar run(const Scalar& x) + { + EIGEN_STATIC_ASSERT((!NumTraits::IsComplex), NUMERIC_TYPE_MUST_BE_REAL) +#if EIGEN_HAS_CXX11_MATH + EIGEN_USING_STD(rint); +#endif + return rint(x); + } +}; + +#if !EIGEN_HAS_CXX11_MATH +template<> +struct rint_impl { + EIGEN_DEVICE_FUNC + static inline double run(const double& x) + { + return ::rint(x); + } +}; +template<> +struct rint_impl { + EIGEN_DEVICE_FUNC + static inline float run(const float& x) + { + return ::rintf(x); + } +}; +#endif + +template +struct rint_retval +{ + typedef Scalar type; +}; + +/**************************************************************************** +* Implementation of arg * +****************************************************************************/ + +// Visual Studio 2017 has a bug where arg(float) returns 0 for negative inputs. +// This seems to be fixed in VS 2019. +#if EIGEN_HAS_CXX11_MATH && (!EIGEN_COMP_MSVC || EIGEN_COMP_MSVC >= 1920) +// std::arg is only defined for types of std::complex, or integer types or float/double/long double +template::IsComplex || is_integral::value + || is_same::value || is_same::value + || is_same::value > +struct arg_default_impl; + +template +struct arg_default_impl { + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + #if defined(EIGEN_HIP_DEVICE_COMPILE) + // HIP does not seem to have a native device side implementation for the math routine "arg" + using std::arg; + #else + EIGEN_USING_STD(arg); + #endif + return static_cast(arg(x)); + } +}; + +// Must be non-complex floating-point type (e.g. half/bfloat16). +template +struct arg_default_impl { + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + return (x < Scalar(0)) ? RealScalar(EIGEN_PI) : RealScalar(0); + } +}; +#else +template::IsComplex> +struct arg_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + return (x < RealScalar(0)) ? RealScalar(EIGEN_PI) : RealScalar(0); + } +}; + +template +struct arg_default_impl +{ + typedef typename NumTraits::Real RealScalar; + EIGEN_DEVICE_FUNC + static inline RealScalar run(const Scalar& x) + { + EIGEN_USING_STD(arg); + return arg(x); + } +}; +#endif +template struct arg_impl : arg_default_impl {}; + +template +struct arg_retval +{ + typedef typename NumTraits::Real type; +}; + +/**************************************************************************** +* Implementation of expm1 * +****************************************************************************/ + +// This implementation is based on GSL Math's expm1. +namespace std_fallback { + // fallback expm1 implementation in case there is no expm1(Scalar) function in namespace of Scalar, + // or that there is no suitable std::expm1 function available. Implementation + // attributed to Kahan. See: http://www.plunk.org/~hatch/rightway.php. + template + EIGEN_DEVICE_FUNC inline Scalar expm1(const Scalar& x) { + EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar) + typedef typename NumTraits::Real RealScalar; + + EIGEN_USING_STD(exp); + Scalar u = exp(x); + if (numext::equal_strict(u, Scalar(1))) { + return x; + } + Scalar um1 = u - RealScalar(1); + if (numext::equal_strict(um1, Scalar(-1))) { + return RealScalar(-1); + } + + EIGEN_USING_STD(log); + Scalar logu = log(u); + return numext::equal_strict(u, logu) ? u : (u - RealScalar(1)) * x / logu; + } +} + +template +struct expm1_impl { + EIGEN_DEVICE_FUNC static inline Scalar run(const Scalar& x) + { + EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar) + #if EIGEN_HAS_CXX11_MATH + using std::expm1; + #else + using std_fallback::expm1; + #endif + return expm1(x); + } +}; + +template +struct expm1_retval +{ + typedef Scalar type; +}; + +/**************************************************************************** +* Implementation of log * +****************************************************************************/ + +// Complex log defined in MathFunctionsImpl.h. +template EIGEN_DEVICE_FUNC std::complex complex_log(const std::complex& z); + +template +struct log_impl { + EIGEN_DEVICE_FUNC static inline Scalar run(const Scalar& x) + { + EIGEN_USING_STD(log); + return static_cast(log(x)); + } +}; + +template +struct log_impl > { + EIGEN_DEVICE_FUNC static inline std::complex run(const std::complex& z) + { + return complex_log(z); + } +}; + +/**************************************************************************** +* Implementation of log1p * +****************************************************************************/ + +namespace std_fallback { + // fallback log1p implementation in case there is no log1p(Scalar) function in namespace of Scalar, + // or that there is no suitable std::log1p function available + template + EIGEN_DEVICE_FUNC inline Scalar log1p(const Scalar& x) { + EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar) + typedef typename NumTraits::Real RealScalar; + EIGEN_USING_STD(log); + Scalar x1p = RealScalar(1) + x; + Scalar log_1p = log_impl::run(x1p); + const bool is_small = numext::equal_strict(x1p, Scalar(1)); + const bool is_inf = numext::equal_strict(x1p, log_1p); + return (is_small || is_inf) ? x : x * (log_1p / (x1p - RealScalar(1))); + } +} + +template +struct log1p_impl { + EIGEN_DEVICE_FUNC static inline Scalar run(const Scalar& x) + { + EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar) + #if EIGEN_HAS_CXX11_MATH + using std::log1p; + #else + using std_fallback::log1p; + #endif + return log1p(x); + } +}; + +// Specialization for complex types that are not supported by std::log1p. +template +struct log1p_impl > { + EIGEN_DEVICE_FUNC static inline std::complex run( + const std::complex& x) { + EIGEN_STATIC_ASSERT_NON_INTEGER(RealScalar) + return std_fallback::log1p(x); + } +}; + +template +struct log1p_retval +{ + typedef Scalar type; +}; + +/**************************************************************************** +* Implementation of pow * +****************************************************************************/ + +template::IsInteger&&NumTraits::IsInteger> +struct pow_impl +{ + //typedef Scalar retval; + typedef typename ScalarBinaryOpTraits >::ReturnType result_type; + static EIGEN_DEVICE_FUNC inline result_type run(const ScalarX& x, const ScalarY& y) + { + EIGEN_USING_STD(pow); + return pow(x, y); + } +}; + +template +struct pow_impl +{ + typedef ScalarX result_type; + static EIGEN_DEVICE_FUNC inline ScalarX run(ScalarX x, ScalarY y) + { + ScalarX res(1); + eigen_assert(!NumTraits::IsSigned || y >= 0); + if(y & 1) res *= x; + y >>= 1; + while(y) + { + x *= x; + if(y&1) res *= x; + y >>= 1; + } + return res; + } +}; + +/**************************************************************************** +* Implementation of random * +****************************************************************************/ + +template +struct random_default_impl {}; + +template +struct random_impl : random_default_impl::IsComplex, NumTraits::IsInteger> {}; + +template +struct random_retval +{ + typedef Scalar type; +}; + +template inline EIGEN_MATHFUNC_RETVAL(random, Scalar) random(const Scalar& x, const Scalar& y); +template inline EIGEN_MATHFUNC_RETVAL(random, Scalar) random(); + +template +struct random_default_impl +{ + static inline Scalar run(const Scalar& x, const Scalar& y) + { + return x + (y-x) * Scalar(std::rand()) / Scalar(RAND_MAX); + } + static inline Scalar run() + { + return run(Scalar(NumTraits::IsSigned ? -1 : 0), Scalar(1)); + } +}; + +enum { + meta_floor_log2_terminate, + meta_floor_log2_move_up, + meta_floor_log2_move_down, + meta_floor_log2_bogus +}; + +template struct meta_floor_log2_selector +{ + enum { middle = (lower + upper) / 2, + value = (upper <= lower + 1) ? int(meta_floor_log2_terminate) + : (n < (1 << middle)) ? int(meta_floor_log2_move_down) + : (n==0) ? int(meta_floor_log2_bogus) + : int(meta_floor_log2_move_up) + }; +}; + +template::value> +struct meta_floor_log2 {}; + +template +struct meta_floor_log2 +{ + enum { value = meta_floor_log2::middle>::value }; +}; + +template +struct meta_floor_log2 +{ + enum { value = meta_floor_log2::middle, upper>::value }; +}; + +template +struct meta_floor_log2 +{ + enum { value = (n >= ((unsigned int)(1) << (lower+1))) ? lower+1 : lower }; +}; + +template +struct meta_floor_log2 +{ + // no value, error at compile time +}; + +template +struct random_default_impl +{ + static inline Scalar run(const Scalar& x, const Scalar& y) + { + if (y <= x) + return x; + // ScalarU is the unsigned counterpart of Scalar, possibly Scalar itself. + typedef typename make_unsigned::type ScalarU; + // ScalarX is the widest of ScalarU and unsigned int. + // We'll deal only with ScalarX and unsigned int below thus avoiding signed + // types and arithmetic and signed overflows (which are undefined behavior). + typedef typename conditional<(ScalarU(-1) > unsigned(-1)), ScalarU, unsigned>::type ScalarX; + // The following difference doesn't overflow, provided our integer types are two's + // complement and have the same number of padding bits in signed and unsigned variants. + // This is the case in most modern implementations of C++. + ScalarX range = ScalarX(y) - ScalarX(x); + ScalarX offset = 0; + ScalarX divisor = 1; + ScalarX multiplier = 1; + const unsigned rand_max = RAND_MAX; + if (range <= rand_max) divisor = (rand_max + 1) / (range + 1); + else multiplier = 1 + range / (rand_max + 1); + // Rejection sampling. + do { + offset = (unsigned(std::rand()) * multiplier) / divisor; + } while (offset > range); + return Scalar(ScalarX(x) + offset); + } + + static inline Scalar run() + { +#ifdef EIGEN_MAKING_DOCS + return run(Scalar(NumTraits::IsSigned ? -10 : 0), Scalar(10)); +#else + enum { rand_bits = meta_floor_log2<(unsigned int)(RAND_MAX)+1>::value, + scalar_bits = sizeof(Scalar) * CHAR_BIT, + shift = EIGEN_PLAIN_ENUM_MAX(0, int(rand_bits) - int(scalar_bits)), + offset = NumTraits::IsSigned ? (1 << (EIGEN_PLAIN_ENUM_MIN(rand_bits,scalar_bits)-1)) : 0 + }; + return Scalar((std::rand() >> shift) - offset); +#endif + } +}; + +template +struct random_default_impl +{ + static inline Scalar run(const Scalar& x, const Scalar& y) + { + return Scalar(random(x.real(), y.real()), + random(x.imag(), y.imag())); + } + static inline Scalar run() + { + typedef typename NumTraits::Real RealScalar; + return Scalar(random(), random()); + } +}; + +template +inline EIGEN_MATHFUNC_RETVAL(random, Scalar) random(const Scalar& x, const Scalar& y) +{ + return EIGEN_MATHFUNC_IMPL(random, Scalar)::run(x, y); +} + +template +inline EIGEN_MATHFUNC_RETVAL(random, Scalar) random() +{ + return EIGEN_MATHFUNC_IMPL(random, Scalar)::run(); +} + +// Implementation of is* functions + +// std::is* do not work with fast-math and gcc, std::is* are available on MSVC 2013 and newer, as well as in clang. +#if (EIGEN_HAS_CXX11_MATH && !(EIGEN_COMP_GNUC_STRICT && __FINITE_MATH_ONLY__)) || (EIGEN_COMP_MSVC>=1800) || (EIGEN_COMP_CLANG) +#define EIGEN_USE_STD_FPCLASSIFY 1 +#else +#define EIGEN_USE_STD_FPCLASSIFY 0 +#endif + +template +EIGEN_DEVICE_FUNC +typename internal::enable_if::value,bool>::type +isnan_impl(const T&) { return false; } + +template +EIGEN_DEVICE_FUNC +typename internal::enable_if::value,bool>::type +isinf_impl(const T&) { return false; } + +template +EIGEN_DEVICE_FUNC +typename internal::enable_if::value,bool>::type +isfinite_impl(const T&) { return true; } + +template +EIGEN_DEVICE_FUNC +typename internal::enable_if<(!internal::is_integral::value)&&(!NumTraits::IsComplex),bool>::type +isfinite_impl(const T& x) +{ + #if defined(EIGEN_GPU_COMPILE_PHASE) + return (::isfinite)(x); + #elif EIGEN_USE_STD_FPCLASSIFY + using std::isfinite; + return isfinite EIGEN_NOT_A_MACRO (x); + #else + return x<=NumTraits::highest() && x>=NumTraits::lowest(); + #endif +} + +template +EIGEN_DEVICE_FUNC +typename internal::enable_if<(!internal::is_integral::value)&&(!NumTraits::IsComplex),bool>::type +isinf_impl(const T& x) +{ + #if defined(EIGEN_GPU_COMPILE_PHASE) + return (::isinf)(x); + #elif EIGEN_USE_STD_FPCLASSIFY + using std::isinf; + return isinf EIGEN_NOT_A_MACRO (x); + #else + return x>NumTraits::highest() || x::lowest(); + #endif +} + +template +EIGEN_DEVICE_FUNC +typename internal::enable_if<(!internal::is_integral::value)&&(!NumTraits::IsComplex),bool>::type +isnan_impl(const T& x) +{ + #if defined(EIGEN_GPU_COMPILE_PHASE) + return (::isnan)(x); + #elif EIGEN_USE_STD_FPCLASSIFY + using std::isnan; + return isnan EIGEN_NOT_A_MACRO (x); + #else + return x != x; + #endif +} + +#if (!EIGEN_USE_STD_FPCLASSIFY) + +#if EIGEN_COMP_MSVC + +template EIGEN_DEVICE_FUNC bool isinf_msvc_helper(T x) +{ + return _fpclass(x)==_FPCLASS_NINF || _fpclass(x)==_FPCLASS_PINF; +} + +//MSVC defines a _isnan builtin function, but for double only +EIGEN_DEVICE_FUNC inline bool isnan_impl(const long double& x) { return _isnan(x)!=0; } +EIGEN_DEVICE_FUNC inline bool isnan_impl(const double& x) { return _isnan(x)!=0; } +EIGEN_DEVICE_FUNC inline bool isnan_impl(const float& x) { return _isnan(x)!=0; } + +EIGEN_DEVICE_FUNC inline bool isinf_impl(const long double& x) { return isinf_msvc_helper(x); } +EIGEN_DEVICE_FUNC inline bool isinf_impl(const double& x) { return isinf_msvc_helper(x); } +EIGEN_DEVICE_FUNC inline bool isinf_impl(const float& x) { return isinf_msvc_helper(x); } + +#elif (defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ && EIGEN_COMP_GNUC) + +#if EIGEN_GNUC_AT_LEAST(5,0) + #define EIGEN_TMP_NOOPT_ATTRIB EIGEN_DEVICE_FUNC inline __attribute__((optimize("no-finite-math-only"))) +#else + // NOTE the inline qualifier and noinline attribute are both needed: the former is to avoid linking issue (duplicate symbol), + // while the second prevent too aggressive optimizations in fast-math mode: + #define EIGEN_TMP_NOOPT_ATTRIB EIGEN_DEVICE_FUNC inline __attribute__((noinline,optimize("no-finite-math-only"))) +#endif + +template<> EIGEN_TMP_NOOPT_ATTRIB bool isnan_impl(const long double& x) { return __builtin_isnan(x); } +template<> EIGEN_TMP_NOOPT_ATTRIB bool isnan_impl(const double& x) { return __builtin_isnan(x); } +template<> EIGEN_TMP_NOOPT_ATTRIB bool isnan_impl(const float& x) { return __builtin_isnan(x); } +template<> EIGEN_TMP_NOOPT_ATTRIB bool isinf_impl(const double& x) { return __builtin_isinf(x); } +template<> EIGEN_TMP_NOOPT_ATTRIB bool isinf_impl(const float& x) { return __builtin_isinf(x); } +template<> EIGEN_TMP_NOOPT_ATTRIB bool isinf_impl(const long double& x) { return __builtin_isinf(x); } + +#undef EIGEN_TMP_NOOPT_ATTRIB + +#endif + +#endif + +// The following overload are defined at the end of this file +template EIGEN_DEVICE_FUNC bool isfinite_impl(const std::complex& x); +template EIGEN_DEVICE_FUNC bool isnan_impl(const std::complex& x); +template EIGEN_DEVICE_FUNC bool isinf_impl(const std::complex& x); + +template T generic_fast_tanh_float(const T& a_x); +} // end namespace internal + +/**************************************************************************** +* Generic math functions * +****************************************************************************/ + +namespace numext { + +#if (!defined(EIGEN_GPUCC) || defined(EIGEN_CONSTEXPR_ARE_DEVICE_FUNC)) +template +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE T mini(const T& x, const T& y) +{ + EIGEN_USING_STD(min) + return min EIGEN_NOT_A_MACRO (x,y); +} + +template +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE T maxi(const T& x, const T& y) +{ + EIGEN_USING_STD(max) + return max EIGEN_NOT_A_MACRO (x,y); +} +#else +template +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE T mini(const T& x, const T& y) +{ + return y < x ? y : x; +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE float mini(const float& x, const float& y) +{ + return fminf(x, y); +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE double mini(const double& x, const double& y) +{ + return fmin(x, y); +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE long double mini(const long double& x, const long double& y) +{ +#if defined(EIGEN_HIPCC) + // no "fminl" on HIP yet + return (x < y) ? x : y; +#else + return fminl(x, y); +#endif +} + +template +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE T maxi(const T& x, const T& y) +{ + return x < y ? y : x; +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE float maxi(const float& x, const float& y) +{ + return fmaxf(x, y); +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE double maxi(const double& x, const double& y) +{ + return fmax(x, y); +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE long double maxi(const long double& x, const long double& y) +{ +#if defined(EIGEN_HIPCC) + // no "fmaxl" on HIP yet + return (x > y) ? x : y; +#else + return fmaxl(x, y); +#endif +} +#endif + +#if defined(SYCL_DEVICE_ONLY) + + +#define SYCL_SPECIALIZE_SIGNED_INTEGER_TYPES_BINARY(NAME, FUNC) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_char) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_short) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_int) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_long) +#define SYCL_SPECIALIZE_SIGNED_INTEGER_TYPES_UNARY(NAME, FUNC) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_char) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_short) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_int) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_long) +#define SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_BINARY(NAME, FUNC) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_uchar) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_ushort) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_uint) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_ulong) +#define SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_UNARY(NAME, FUNC) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_uchar) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_ushort) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_uint) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_ulong) +#define SYCL_SPECIALIZE_INTEGER_TYPES_BINARY(NAME, FUNC) \ + SYCL_SPECIALIZE_SIGNED_INTEGER_TYPES_BINARY(NAME, FUNC) \ + SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_BINARY(NAME, FUNC) +#define SYCL_SPECIALIZE_INTEGER_TYPES_UNARY(NAME, FUNC) \ + SYCL_SPECIALIZE_SIGNED_INTEGER_TYPES_UNARY(NAME, FUNC) \ + SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_UNARY(NAME, FUNC) +#define SYCL_SPECIALIZE_FLOATING_TYPES_BINARY(NAME, FUNC) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, cl::sycl::cl_float) \ + SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC,cl::sycl::cl_double) +#define SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(NAME, FUNC) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, cl::sycl::cl_float) \ + SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC,cl::sycl::cl_double) +#define SYCL_SPECIALIZE_FLOATING_TYPES_UNARY_FUNC_RET_TYPE(NAME, FUNC, RET_TYPE) \ + SYCL_SPECIALIZE_GEN_UNARY_FUNC(NAME, FUNC, RET_TYPE, cl::sycl::cl_float) \ + SYCL_SPECIALIZE_GEN_UNARY_FUNC(NAME, FUNC, RET_TYPE, cl::sycl::cl_double) + +#define SYCL_SPECIALIZE_GEN_UNARY_FUNC(NAME, FUNC, RET_TYPE, ARG_TYPE) \ +template<> \ + EIGEN_DEVICE_FUNC \ + EIGEN_ALWAYS_INLINE RET_TYPE NAME(const ARG_TYPE& x) { \ + return cl::sycl::FUNC(x); \ + } + +#define SYCL_SPECIALIZE_UNARY_FUNC(NAME, FUNC, TYPE) \ + SYCL_SPECIALIZE_GEN_UNARY_FUNC(NAME, FUNC, TYPE, TYPE) + +#define SYCL_SPECIALIZE_GEN1_BINARY_FUNC(NAME, FUNC, RET_TYPE, ARG_TYPE1, ARG_TYPE2) \ + template<> \ + EIGEN_DEVICE_FUNC \ + EIGEN_ALWAYS_INLINE RET_TYPE NAME(const ARG_TYPE1& x, const ARG_TYPE2& y) { \ + return cl::sycl::FUNC(x, y); \ + } + +#define SYCL_SPECIALIZE_GEN2_BINARY_FUNC(NAME, FUNC, RET_TYPE, ARG_TYPE) \ + SYCL_SPECIALIZE_GEN1_BINARY_FUNC(NAME, FUNC, RET_TYPE, ARG_TYPE, ARG_TYPE) + +#define SYCL_SPECIALIZE_BINARY_FUNC(NAME, FUNC, TYPE) \ + SYCL_SPECIALIZE_GEN2_BINARY_FUNC(NAME, FUNC, TYPE, TYPE) + +SYCL_SPECIALIZE_INTEGER_TYPES_BINARY(mini, min) +SYCL_SPECIALIZE_FLOATING_TYPES_BINARY(mini, fmin) +SYCL_SPECIALIZE_INTEGER_TYPES_BINARY(maxi, max) +SYCL_SPECIALIZE_FLOATING_TYPES_BINARY(maxi, fmax) + +#endif + + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(real, Scalar) real(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(real, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline typename internal::add_const_on_value_type< EIGEN_MATHFUNC_RETVAL(real_ref, Scalar) >::type real_ref(const Scalar& x) +{ + return internal::real_ref_impl::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(real_ref, Scalar) real_ref(Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(real_ref, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(imag, Scalar) imag(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(imag, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(arg, Scalar) arg(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(arg, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline typename internal::add_const_on_value_type< EIGEN_MATHFUNC_RETVAL(imag_ref, Scalar) >::type imag_ref(const Scalar& x) +{ + return internal::imag_ref_impl::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(imag_ref, Scalar) imag_ref(Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(imag_ref, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(conj, Scalar) conj(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(conj, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(abs2, Scalar) abs2(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(abs2, Scalar)::run(x); +} + +EIGEN_DEVICE_FUNC +inline bool abs2(bool x) { return x; } + +template +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE T absdiff(const T& x, const T& y) +{ + return x > y ? x - y : y - x; +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE float absdiff(const float& x, const float& y) +{ + return fabsf(x - y); +} +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE double absdiff(const double& x, const double& y) +{ + return fabs(x - y); +} + +#if !defined(EIGEN_GPUCC) +// HIP and CUDA do not support long double. +template<> +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE long double absdiff(const long double& x, const long double& y) { + return fabsl(x - y); +} +#endif + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(norm1, Scalar) norm1(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(norm1, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(hypot, Scalar) hypot(const Scalar& x, const Scalar& y) +{ + return EIGEN_MATHFUNC_IMPL(hypot, Scalar)::run(x, y); +} + +#if defined(SYCL_DEVICE_ONLY) + SYCL_SPECIALIZE_FLOATING_TYPES_BINARY(hypot, hypot) +#endif + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(log1p, Scalar) log1p(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(log1p, Scalar)::run(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(log1p, log1p) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float log1p(const float &x) { return ::log1pf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double log1p(const double &x) { return ::log1p(x); } +#endif + +template +EIGEN_DEVICE_FUNC +inline typename internal::pow_impl::result_type pow(const ScalarX& x, const ScalarY& y) +{ + return internal::pow_impl::run(x, y); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_BINARY(pow, pow) +#endif + +template EIGEN_DEVICE_FUNC bool (isnan) (const T &x) { return internal::isnan_impl(x); } +template EIGEN_DEVICE_FUNC bool (isinf) (const T &x) { return internal::isinf_impl(x); } +template EIGEN_DEVICE_FUNC bool (isfinite)(const T &x) { return internal::isfinite_impl(x); } + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY_FUNC_RET_TYPE(isnan, isnan, bool) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY_FUNC_RET_TYPE(isinf, isinf, bool) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY_FUNC_RET_TYPE(isfinite, isfinite, bool) +#endif + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(rint, Scalar) rint(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(rint, Scalar)::run(x); +} + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(round, Scalar) round(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(round, Scalar)::run(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(round, round) +#endif + +template +EIGEN_DEVICE_FUNC +T (floor)(const T& x) +{ + EIGEN_USING_STD(floor) + return floor(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(floor, floor) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float floor(const float &x) { return ::floorf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double floor(const double &x) { return ::floor(x); } +#endif + +template +EIGEN_DEVICE_FUNC +T (ceil)(const T& x) +{ + EIGEN_USING_STD(ceil); + return ceil(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(ceil, ceil) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float ceil(const float &x) { return ::ceilf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double ceil(const double &x) { return ::ceil(x); } +#endif + + +/** Log base 2 for 32 bits positive integers. + * Conveniently returns 0 for x==0. */ +inline int log2(int x) +{ + eigen_assert(x>=0); + unsigned int v(x); + static const int table[32] = { 0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, 18, 22, 25, 3, 30, 8, 12, 20, 28, 15, 17, 24, 7, 19, 27, 23, 6, 26, 5, 4, 31 }; + v |= v >> 1; + v |= v >> 2; + v |= v >> 4; + v |= v >> 8; + v |= v >> 16; + return table[(v * 0x07C4ACDDU) >> 27]; +} + +/** \returns the square root of \a x. + * + * It is essentially equivalent to + * \code using std::sqrt; return sqrt(x); \endcode + * but slightly faster for float/double and some compilers (e.g., gcc), thanks to + * specializations when SSE is enabled. + * + * It's usage is justified in performance critical functions, like norm/normalize. + */ +template +EIGEN_DEVICE_FUNC +EIGEN_ALWAYS_INLINE EIGEN_MATHFUNC_RETVAL(sqrt, Scalar) sqrt(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(sqrt, Scalar)::run(x); +} + +// Boolean specialization, avoids implicit float to bool conversion (-Wimplicit-conversion-floating-point-to-bool). +template<> +EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_DEVICE_FUNC +bool sqrt(const bool &x) { return x; } + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(sqrt, sqrt) +#endif + +/** \returns the reciprocal square root of \a x. **/ +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T rsqrt(const T& x) +{ + return internal::rsqrt_impl::run(x); +} + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T log(const T &x) { + return internal::log_impl::run(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(log, log) +#endif + + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float log(const float &x) { return ::logf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double log(const double &x) { return ::log(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +typename internal::enable_if::IsSigned || NumTraits::IsComplex,typename NumTraits::Real>::type +abs(const T &x) { + EIGEN_USING_STD(abs); + return abs(x); +} + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +typename internal::enable_if::IsSigned || NumTraits::IsComplex),typename NumTraits::Real>::type +abs(const T &x) { + return x; +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_INTEGER_TYPES_UNARY(abs, abs) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(abs, fabs) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float abs(const float &x) { return ::fabsf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double abs(const double &x) { return ::fabs(x); } + +template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float abs(const std::complex& x) { + return ::hypotf(x.real(), x.imag()); +} + +template <> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double abs(const std::complex& x) { + return ::hypot(x.real(), x.imag()); +} +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T exp(const T &x) { + EIGEN_USING_STD(exp); + return exp(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(exp, exp) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float exp(const float &x) { return ::expf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double exp(const double &x) { return ::exp(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +std::complex exp(const std::complex& x) { + float com = ::expf(x.real()); + float res_real = com * ::cosf(x.imag()); + float res_imag = com * ::sinf(x.imag()); + return std::complex(res_real, res_imag); +} + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +std::complex exp(const std::complex& x) { + double com = ::exp(x.real()); + double res_real = com * ::cos(x.imag()); + double res_imag = com * ::sin(x.imag()); + return std::complex(res_real, res_imag); +} +#endif + +template +EIGEN_DEVICE_FUNC +inline EIGEN_MATHFUNC_RETVAL(expm1, Scalar) expm1(const Scalar& x) +{ + return EIGEN_MATHFUNC_IMPL(expm1, Scalar)::run(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(expm1, expm1) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float expm1(const float &x) { return ::expm1f(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double expm1(const double &x) { return ::expm1(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T cos(const T &x) { + EIGEN_USING_STD(cos); + return cos(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(cos,cos) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float cos(const float &x) { return ::cosf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double cos(const double &x) { return ::cos(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T sin(const T &x) { + EIGEN_USING_STD(sin); + return sin(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(sin, sin) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float sin(const float &x) { return ::sinf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double sin(const double &x) { return ::sin(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T tan(const T &x) { + EIGEN_USING_STD(tan); + return tan(x); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(tan, tan) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float tan(const float &x) { return ::tanf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double tan(const double &x) { return ::tan(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T acos(const T &x) { + EIGEN_USING_STD(acos); + return acos(x); +} + +#if EIGEN_HAS_CXX11_MATH +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T acosh(const T &x) { + EIGEN_USING_STD(acosh); + return static_cast(acosh(x)); +} +#endif + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(acos, acos) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(acosh, acosh) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float acos(const float &x) { return ::acosf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double acos(const double &x) { return ::acos(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T asin(const T &x) { + EIGEN_USING_STD(asin); + return asin(x); +} + +#if EIGEN_HAS_CXX11_MATH +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T asinh(const T &x) { + EIGEN_USING_STD(asinh); + return static_cast(asinh(x)); +} +#endif + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(asin, asin) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(asinh, asinh) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float asin(const float &x) { return ::asinf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double asin(const double &x) { return ::asin(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T atan(const T &x) { + EIGEN_USING_STD(atan); + return static_cast(atan(x)); +} + +#if EIGEN_HAS_CXX11_MATH +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T atanh(const T &x) { + EIGEN_USING_STD(atanh); + return static_cast(atanh(x)); +} +#endif + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(atan, atan) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(atanh, atanh) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float atan(const float &x) { return ::atanf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double atan(const double &x) { return ::atan(x); } +#endif + + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T cosh(const T &x) { + EIGEN_USING_STD(cosh); + return static_cast(cosh(x)); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(cosh, cosh) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float cosh(const float &x) { return ::coshf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double cosh(const double &x) { return ::cosh(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T sinh(const T &x) { + EIGEN_USING_STD(sinh); + return static_cast(sinh(x)); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(sinh, sinh) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float sinh(const float &x) { return ::sinhf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double sinh(const double &x) { return ::sinh(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T tanh(const T &x) { + EIGEN_USING_STD(tanh); + return tanh(x); +} + +#if (!defined(EIGEN_GPUCC)) && EIGEN_FAST_MATH && !defined(SYCL_DEVICE_ONLY) +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float tanh(float x) { return internal::generic_fast_tanh_float(x); } +#endif + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_UNARY(tanh, tanh) +#endif + +#if defined(EIGEN_GPUCC) +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float tanh(const float &x) { return ::tanhf(x); } + +template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double tanh(const double &x) { return ::tanh(x); } +#endif + +template +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +T fmod(const T& a, const T& b) { + EIGEN_USING_STD(fmod); + return fmod(a, b); +} + +#if defined(SYCL_DEVICE_ONLY) +SYCL_SPECIALIZE_FLOATING_TYPES_BINARY(fmod, fmod) +#endif + +#if defined(EIGEN_GPUCC) +template <> +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +float fmod(const float& a, const float& b) { + return ::fmodf(a, b); +} + +template <> +EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE +double fmod(const double& a, const double& b) { + return ::fmod(a, b); +} +#endif + +#if defined(SYCL_DEVICE_ONLY) +#undef SYCL_SPECIALIZE_SIGNED_INTEGER_TYPES_BINARY +#undef SYCL_SPECIALIZE_SIGNED_INTEGER_TYPES_UNARY +#undef SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_BINARY +#undef SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_UNARY +#undef SYCL_SPECIALIZE_INTEGER_TYPES_BINARY +#undef SYCL_SPECIALIZE_UNSIGNED_INTEGER_TYPES_UNARY +#undef SYCL_SPECIALIZE_FLOATING_TYPES_BINARY +#undef SYCL_SPECIALIZE_FLOATING_TYPES_UNARY +#undef SYCL_SPECIALIZE_FLOATING_TYPES_UNARY_FUNC_RET_TYPE +#undef SYCL_SPECIALIZE_GEN_UNARY_FUNC +#undef SYCL_SPECIALIZE_UNARY_FUNC +#undef SYCL_SPECIALIZE_GEN1_BINARY_FUNC +#undef SYCL_SPECIALIZE_GEN2_BINARY_FUNC +#undef SYCL_SPECIALIZE_BINARY_FUNC +#endif + +} // end namespace numext + +namespace internal { + +template +EIGEN_DEVICE_FUNC bool isfinite_impl(const std::complex& x) +{ + return (numext::isfinite)(numext::real(x)) && (numext::isfinite)(numext::imag(x)); +} + +template +EIGEN_DEVICE_FUNC bool isnan_impl(const std::complex& x) +{ + return (numext::isnan)(numext::real(x)) || (numext::isnan)(numext::imag(x)); +} + +template +EIGEN_DEVICE_FUNC bool isinf_impl(const std::complex& x) +{ + return ((numext::isinf)(numext::real(x)) || (numext::isinf)(numext::imag(x))) && (!(numext::isnan)(x)); +} + +/**************************************************************************** +* Implementation of fuzzy comparisons * +****************************************************************************/ + +template +struct scalar_fuzzy_default_impl {}; + +template +struct scalar_fuzzy_default_impl +{ + typedef typename NumTraits::Real RealScalar; + template EIGEN_DEVICE_FUNC + static inline bool isMuchSmallerThan(const Scalar& x, const OtherScalar& y, const RealScalar& prec) + { + return numext::abs(x) <= numext::abs(y) * prec; + } + EIGEN_DEVICE_FUNC + static inline bool isApprox(const Scalar& x, const Scalar& y, const RealScalar& prec) + { + return numext::abs(x - y) <= numext::mini(numext::abs(x), numext::abs(y)) * prec; + } + EIGEN_DEVICE_FUNC + static inline bool isApproxOrLessThan(const Scalar& x, const Scalar& y, const RealScalar& prec) + { + return x <= y || isApprox(x, y, prec); + } +}; + +template +struct scalar_fuzzy_default_impl +{ + typedef typename NumTraits::Real RealScalar; + template EIGEN_DEVICE_FUNC + static inline bool isMuchSmallerThan(const Scalar& x, const Scalar&, const RealScalar&) + { + return x == Scalar(0); + } + EIGEN_DEVICE_FUNC + static inline bool isApprox(const Scalar& x, const Scalar& y, const RealScalar&) + { + return x == y; + } + EIGEN_DEVICE_FUNC + static inline bool isApproxOrLessThan(const Scalar& x, const Scalar& y, const RealScalar&) + { + return x <= y; + } +}; + +template +struct scalar_fuzzy_default_impl +{ + typedef typename NumTraits::Real RealScalar; + template EIGEN_DEVICE_FUNC + static inline bool isMuchSmallerThan(const Scalar& x, const OtherScalar& y, const RealScalar& prec) + { + return numext::abs2(x) <= numext::abs2(y) * prec * prec; + } + EIGEN_DEVICE_FUNC + static inline bool isApprox(const Scalar& x, const Scalar& y, const RealScalar& prec) + { + return numext::abs2(x - y) <= numext::mini(numext::abs2(x), numext::abs2(y)) * prec * prec; + } +}; + +template +struct scalar_fuzzy_impl : scalar_fuzzy_default_impl::IsComplex, NumTraits::IsInteger> {}; + +template EIGEN_DEVICE_FUNC +inline bool isMuchSmallerThan(const Scalar& x, const OtherScalar& y, + const typename NumTraits::Real &precision = NumTraits::dummy_precision()) +{ + return scalar_fuzzy_impl::template isMuchSmallerThan(x, y, precision); +} + +template EIGEN_DEVICE_FUNC +inline bool isApprox(const Scalar& x, const Scalar& y, + const typename NumTraits::Real &precision = NumTraits::dummy_precision()) +{ + return scalar_fuzzy_impl::isApprox(x, y, precision); +} + +template EIGEN_DEVICE_FUNC +inline bool isApproxOrLessThan(const Scalar& x, const Scalar& y, + const typename NumTraits::Real &precision = NumTraits::dummy_precision()) +{ + return scalar_fuzzy_impl::isApproxOrLessThan(x, y, precision); +} + +/****************************************** +*** The special case of the bool type *** +******************************************/ + +template<> struct random_impl +{ + static inline bool run() + { + return random(0,1)==0 ? false : true; + } + + static inline bool run(const bool& a, const bool& b) + { + return random(a, b)==0 ? false : true; + } +}; + +template<> struct scalar_fuzzy_impl +{ + typedef bool RealScalar; + + template EIGEN_DEVICE_FUNC + static inline bool isMuchSmallerThan(const bool& x, const bool&, const bool&) + { + return !x; + } + + EIGEN_DEVICE_FUNC + static inline bool isApprox(bool x, bool y, bool) + { + return x == y; + } + + EIGEN_DEVICE_FUNC + static inline bool isApproxOrLessThan(const bool& x, const bool& y, const bool&) + { + return (!x) || y; + } + +}; + +} // end namespace internal + +// Default implementations that rely on other numext implementations +namespace internal { + +// Specialization for complex types that are not supported by std::expm1. +template +struct expm1_impl > { + EIGEN_DEVICE_FUNC static inline std::complex run( + const std::complex& x) { + EIGEN_STATIC_ASSERT_NON_INTEGER(RealScalar) + RealScalar xr = x.real(); + RealScalar xi = x.imag(); + // expm1(z) = exp(z) - 1 + // = exp(x + i * y) - 1 + // = exp(x) * (cos(y) + i * sin(y)) - 1 + // = exp(x) * cos(y) - 1 + i * exp(x) * sin(y) + // Imag(expm1(z)) = exp(x) * sin(y) + // Real(expm1(z)) = exp(x) * cos(y) - 1 + // = exp(x) * cos(y) - 1. + // = expm1(x) + exp(x) * (cos(y) - 1) + // = expm1(x) + exp(x) * (2 * sin(y / 2) ** 2) + RealScalar erm1 = numext::expm1(xr); + RealScalar er = erm1 + RealScalar(1.); + RealScalar sin2 = numext::sin(xi / RealScalar(2.)); + sin2 = sin2 * sin2; + RealScalar s = numext::sin(xi); + RealScalar real_part = erm1 - RealScalar(2.) * er * sin2; + return std::complex(real_part, er * s); + } +}; + +template +struct rsqrt_impl { + EIGEN_DEVICE_FUNC + static EIGEN_ALWAYS_INLINE T run(const T& x) { + return T(1)/numext::sqrt(x); + } +}; + +#if defined(EIGEN_GPU_COMPILE_PHASE) +template +struct conj_impl, true> +{ + EIGEN_DEVICE_FUNC + static inline std::complex run(const std::complex& x) + { + return std::complex(numext::real(x), -numext::imag(x)); + } +}; +#endif + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_MATHFUNCTIONS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MathFunctionsImpl.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MathFunctionsImpl.h new file mode 100644 index 0000000..4eaaaa7 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MathFunctionsImpl.h @@ -0,0 +1,200 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2014 Pedro Gonnet (pedro.gonnet@gmail.com) +// Copyright (C) 2016 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MATHFUNCTIONSIMPL_H +#define EIGEN_MATHFUNCTIONSIMPL_H + +namespace Eigen { + +namespace internal { + +/** \internal \returns the hyperbolic tan of \a a (coeff-wise) + Doesn't do anything fancy, just a 13/6-degree rational interpolant which + is accurate up to a couple of ulps in the (approximate) range [-8, 8], + outside of which tanh(x) = +/-1 in single precision. The input is clamped + to the range [-c, c]. The value c is chosen as the smallest value where + the approximation evaluates to exactly 1. In the reange [-0.0004, 0.0004] + the approxmation tanh(x) ~= x is used for better accuracy as x tends to zero. + + This implementation works on both scalars and packets. +*/ +template +T generic_fast_tanh_float(const T& a_x) +{ + // Clamp the inputs to the range [-c, c] +#ifdef EIGEN_VECTORIZE_FMA + const T plus_clamp = pset1(7.99881172180175781f); + const T minus_clamp = pset1(-7.99881172180175781f); +#else + const T plus_clamp = pset1(7.90531110763549805f); + const T minus_clamp = pset1(-7.90531110763549805f); +#endif + const T tiny = pset1(0.0004f); + const T x = pmax(pmin(a_x, plus_clamp), minus_clamp); + const T tiny_mask = pcmp_lt(pabs(a_x), tiny); + // The monomial coefficients of the numerator polynomial (odd). + const T alpha_1 = pset1(4.89352455891786e-03f); + const T alpha_3 = pset1(6.37261928875436e-04f); + const T alpha_5 = pset1(1.48572235717979e-05f); + const T alpha_7 = pset1(5.12229709037114e-08f); + const T alpha_9 = pset1(-8.60467152213735e-11f); + const T alpha_11 = pset1(2.00018790482477e-13f); + const T alpha_13 = pset1(-2.76076847742355e-16f); + + // The monomial coefficients of the denominator polynomial (even). + const T beta_0 = pset1(4.89352518554385e-03f); + const T beta_2 = pset1(2.26843463243900e-03f); + const T beta_4 = pset1(1.18534705686654e-04f); + const T beta_6 = pset1(1.19825839466702e-06f); + + // Since the polynomials are odd/even, we need x^2. + const T x2 = pmul(x, x); + + // Evaluate the numerator polynomial p. + T p = pmadd(x2, alpha_13, alpha_11); + p = pmadd(x2, p, alpha_9); + p = pmadd(x2, p, alpha_7); + p = pmadd(x2, p, alpha_5); + p = pmadd(x2, p, alpha_3); + p = pmadd(x2, p, alpha_1); + p = pmul(x, p); + + // Evaluate the denominator polynomial q. + T q = pmadd(x2, beta_6, beta_4); + q = pmadd(x2, q, beta_2); + q = pmadd(x2, q, beta_0); + + // Divide the numerator by the denominator. + return pselect(tiny_mask, x, pdiv(p, q)); +} + +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE +RealScalar positive_real_hypot(const RealScalar& x, const RealScalar& y) +{ + // IEEE IEC 6059 special cases. + if ((numext::isinf)(x) || (numext::isinf)(y)) + return NumTraits::infinity(); + if ((numext::isnan)(x) || (numext::isnan)(y)) + return NumTraits::quiet_NaN(); + + EIGEN_USING_STD(sqrt); + RealScalar p, qp; + p = numext::maxi(x,y); + if(p==RealScalar(0)) return RealScalar(0); + qp = numext::mini(y,x) / p; + return p * sqrt(RealScalar(1) + qp*qp); +} + +template +struct hypot_impl +{ + typedef typename NumTraits::Real RealScalar; + static EIGEN_DEVICE_FUNC + inline RealScalar run(const Scalar& x, const Scalar& y) + { + EIGEN_USING_STD(abs); + return positive_real_hypot(abs(x), abs(y)); + } +}; + +// Generic complex sqrt implementation that correctly handles corner cases +// according to https://en.cppreference.com/w/cpp/numeric/complex/sqrt +template +EIGEN_DEVICE_FUNC std::complex complex_sqrt(const std::complex& z) { + // Computes the principal sqrt of the input. + // + // For a complex square root of the number x + i*y. We want to find real + // numbers u and v such that + // (u + i*v)^2 = x + i*y <=> + // u^2 - v^2 + i*2*u*v = x + i*v. + // By equating the real and imaginary parts we get: + // u^2 - v^2 = x + // 2*u*v = y. + // + // For x >= 0, this has the numerically stable solution + // u = sqrt(0.5 * (x + sqrt(x^2 + y^2))) + // v = y / (2 * u) + // and for x < 0, + // v = sign(y) * sqrt(0.5 * (-x + sqrt(x^2 + y^2))) + // u = y / (2 * v) + // + // Letting w = sqrt(0.5 * (|x| + |z|)), + // if x == 0: u = w, v = sign(y) * w + // if x > 0: u = w, v = y / (2 * w) + // if x < 0: u = |y| / (2 * w), v = sign(y) * w + + const T x = numext::real(z); + const T y = numext::imag(z); + const T zero = T(0); + const T w = numext::sqrt(T(0.5) * (numext::abs(x) + numext::hypot(x, y))); + + return + (numext::isinf)(y) ? std::complex(NumTraits::infinity(), y) + : x == zero ? std::complex(w, y < zero ? -w : w) + : x > zero ? std::complex(w, y / (2 * w)) + : std::complex(numext::abs(y) / (2 * w), y < zero ? -w : w ); +} + +// Generic complex rsqrt implementation. +template +EIGEN_DEVICE_FUNC std::complex complex_rsqrt(const std::complex& z) { + // Computes the principal reciprocal sqrt of the input. + // + // For a complex reciprocal square root of the number z = x + i*y. We want to + // find real numbers u and v such that + // (u + i*v)^2 = 1 / (x + i*y) <=> + // u^2 - v^2 + i*2*u*v = x/|z|^2 - i*v/|z|^2. + // By equating the real and imaginary parts we get: + // u^2 - v^2 = x/|z|^2 + // 2*u*v = y/|z|^2. + // + // For x >= 0, this has the numerically stable solution + // u = sqrt(0.5 * (x + |z|)) / |z| + // v = -y / (2 * u * |z|) + // and for x < 0, + // v = -sign(y) * sqrt(0.5 * (-x + |z|)) / |z| + // u = -y / (2 * v * |z|) + // + // Letting w = sqrt(0.5 * (|x| + |z|)), + // if x == 0: u = w / |z|, v = -sign(y) * w / |z| + // if x > 0: u = w / |z|, v = -y / (2 * w * |z|) + // if x < 0: u = |y| / (2 * w * |z|), v = -sign(y) * w / |z| + + const T x = numext::real(z); + const T y = numext::imag(z); + const T zero = T(0); + + const T abs_z = numext::hypot(x, y); + const T w = numext::sqrt(T(0.5) * (numext::abs(x) + abs_z)); + const T woz = w / abs_z; + // Corner cases consistent with 1/sqrt(z) on gcc/clang. + return + abs_z == zero ? std::complex(NumTraits::infinity(), NumTraits::quiet_NaN()) + : ((numext::isinf)(x) || (numext::isinf)(y)) ? std::complex(zero, zero) + : x == zero ? std::complex(woz, y < zero ? woz : -woz) + : x > zero ? std::complex(woz, -y / (2 * w * abs_z)) + : std::complex(numext::abs(y) / (2 * w * abs_z), y < zero ? woz : -woz ); +} + +template +EIGEN_DEVICE_FUNC std::complex complex_log(const std::complex& z) { + // Computes complex log. + T a = numext::abs(z); + EIGEN_USING_STD(atan2); + T b = atan2(z.imag(), z.real()); + return std::complex(numext::log(a), b); +} + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_MATHFUNCTIONSIMPL_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Matrix.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Matrix.h new file mode 100644 index 0000000..f0e59a9 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Matrix.h @@ -0,0 +1,565 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2010 Benoit Jacob +// Copyright (C) 2008-2009 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MATRIX_H +#define EIGEN_MATRIX_H + +namespace Eigen { + +namespace internal { +template +struct traits > +{ +private: + enum { size = internal::size_at_compile_time<_Rows,_Cols>::ret }; + typedef typename find_best_packet<_Scalar,size>::type PacketScalar; + enum { + row_major_bit = _Options&RowMajor ? RowMajorBit : 0, + is_dynamic_size_storage = _MaxRows==Dynamic || _MaxCols==Dynamic, + max_size = is_dynamic_size_storage ? Dynamic : _MaxRows*_MaxCols, + default_alignment = compute_default_alignment<_Scalar,max_size>::value, + actual_alignment = ((_Options&DontAlign)==0) ? default_alignment : 0, + required_alignment = unpacket_traits::alignment, + packet_access_bit = (packet_traits<_Scalar>::Vectorizable && (EIGEN_UNALIGNED_VECTORIZE || (actual_alignment>=required_alignment))) ? PacketAccessBit : 0 + }; + +public: + typedef _Scalar Scalar; + typedef Dense StorageKind; + typedef Eigen::Index StorageIndex; + typedef MatrixXpr XprKind; + enum { + RowsAtCompileTime = _Rows, + ColsAtCompileTime = _Cols, + MaxRowsAtCompileTime = _MaxRows, + MaxColsAtCompileTime = _MaxCols, + Flags = compute_matrix_flags<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::ret, + Options = _Options, + InnerStrideAtCompileTime = 1, + OuterStrideAtCompileTime = (Options&RowMajor) ? ColsAtCompileTime : RowsAtCompileTime, + + // FIXME, the following flag in only used to define NeedsToAlign in PlainObjectBase + EvaluatorFlags = LinearAccessBit | DirectAccessBit | packet_access_bit | row_major_bit, + Alignment = actual_alignment + }; +}; +} + +/** \class Matrix + * \ingroup Core_Module + * + * \brief The matrix class, also used for vectors and row-vectors + * + * The %Matrix class is the work-horse for all \em dense (\ref dense "note") matrices and vectors within Eigen. + * Vectors are matrices with one column, and row-vectors are matrices with one row. + * + * The %Matrix class encompasses \em both fixed-size and dynamic-size objects (\ref fixedsize "note"). + * + * The first three template parameters are required: + * \tparam _Scalar Numeric type, e.g. float, double, int or std::complex. + * User defined scalar types are supported as well (see \ref user_defined_scalars "here"). + * \tparam _Rows Number of rows, or \b Dynamic + * \tparam _Cols Number of columns, or \b Dynamic + * + * The remaining template parameters are optional -- in most cases you don't have to worry about them. + * \tparam _Options A combination of either \b #RowMajor or \b #ColMajor, and of either + * \b #AutoAlign or \b #DontAlign. + * The former controls \ref TopicStorageOrders "storage order", and defaults to column-major. The latter controls alignment, which is required + * for vectorization. It defaults to aligning matrices except for fixed sizes that aren't a multiple of the packet size. + * \tparam _MaxRows Maximum number of rows. Defaults to \a _Rows (\ref maxrows "note"). + * \tparam _MaxCols Maximum number of columns. Defaults to \a _Cols (\ref maxrows "note"). + * + * Eigen provides a number of typedefs covering the usual cases. Here are some examples: + * + * \li \c Matrix2d is a 2x2 square matrix of doubles (\c Matrix) + * \li \c Vector4f is a vector of 4 floats (\c Matrix) + * \li \c RowVector3i is a row-vector of 3 ints (\c Matrix) + * + * \li \c MatrixXf is a dynamic-size matrix of floats (\c Matrix) + * \li \c VectorXf is a dynamic-size vector of floats (\c Matrix) + * + * \li \c Matrix2Xf is a partially fixed-size (dynamic-size) matrix of floats (\c Matrix) + * \li \c MatrixX3d is a partially dynamic-size (fixed-size) matrix of double (\c Matrix) + * + * See \link matrixtypedefs this page \endlink for a complete list of predefined \em %Matrix and \em Vector typedefs. + * + * You can access elements of vectors and matrices using normal subscripting: + * + * \code + * Eigen::VectorXd v(10); + * v[0] = 0.1; + * v[1] = 0.2; + * v(0) = 0.3; + * v(1) = 0.4; + * + * Eigen::MatrixXi m(10, 10); + * m(0, 1) = 1; + * m(0, 2) = 2; + * m(0, 3) = 3; + * \endcode + * + * This class can be extended with the help of the plugin mechanism described on the page + * \ref TopicCustomizing_Plugins by defining the preprocessor symbol \c EIGEN_MATRIX_PLUGIN. + * + * Some notes: + * + *
+ *
\anchor dense Dense versus sparse:
+ *
This %Matrix class handles dense, not sparse matrices and vectors. For sparse matrices and vectors, see the Sparse module. + * + * Dense matrices and vectors are plain usual arrays of coefficients. All the coefficients are stored, in an ordinary contiguous array. + * This is unlike Sparse matrices and vectors where the coefficients are stored as a list of nonzero coefficients.
+ * + *
\anchor fixedsize Fixed-size versus dynamic-size:
+ *
Fixed-size means that the numbers of rows and columns are known are compile-time. In this case, Eigen allocates the array + * of coefficients as a fixed-size array, as a class member. This makes sense for very small matrices, typically up to 4x4, sometimes up + * to 16x16. Larger matrices should be declared as dynamic-size even if one happens to know their size at compile-time. + * + * Dynamic-size means that the numbers of rows or columns are not necessarily known at compile-time. In this case they are runtime + * variables, and the array of coefficients is allocated dynamically on the heap. + * + * Note that \em dense matrices, be they Fixed-size or Dynamic-size, do not expand dynamically in the sense of a std::map. + * If you want this behavior, see the Sparse module.
+ * + *
\anchor maxrows _MaxRows and _MaxCols:
+ *
In most cases, one just leaves these parameters to the default values. + * These parameters mean the maximum size of rows and columns that the matrix may have. They are useful in cases + * when the exact numbers of rows and columns are not known are compile-time, but it is known at compile-time that they cannot + * exceed a certain value. This happens when taking dynamic-size blocks inside fixed-size matrices: in this case _MaxRows and _MaxCols + * are the dimensions of the original matrix, while _Rows and _Cols are Dynamic.
+ *
+ * + * ABI and storage layout + * + * The table below summarizes the ABI of some possible Matrix instances which is fixed thorough the lifetime of Eigen 3. + * + * + * + * + * + * + *
Matrix typeEquivalent C structure
\code Matrix \endcode\code + * struct { + * T *data; // with (size_t(data)%EIGEN_MAX_ALIGN_BYTES)==0 + * Eigen::Index rows, cols; + * }; + * \endcode
\code + * Matrix + * Matrix \endcode\code + * struct { + * T *data; // with (size_t(data)%EIGEN_MAX_ALIGN_BYTES)==0 + * Eigen::Index size; + * }; + * \endcode
\code Matrix \endcode\code + * struct { + * T data[Rows*Cols]; // with (size_t(data)%A(Rows*Cols*sizeof(T)))==0 + * }; + * \endcode
\code Matrix \endcode\code + * struct { + * T data[MaxRows*MaxCols]; // with (size_t(data)%A(MaxRows*MaxCols*sizeof(T)))==0 + * Eigen::Index rows, cols; + * }; + * \endcode
+ * Note that in this table Rows, Cols, MaxRows and MaxCols are all positive integers. A(S) is defined to the largest possible power-of-two + * smaller to EIGEN_MAX_STATIC_ALIGN_BYTES. + * + * \see MatrixBase for the majority of the API methods for matrices, \ref TopicClassHierarchy, + * \ref TopicStorageOrders + */ + +template +class Matrix + : public PlainObjectBase > +{ + public: + + /** \brief Base class typedef. + * \sa PlainObjectBase + */ + typedef PlainObjectBase Base; + + enum { Options = _Options }; + + EIGEN_DENSE_PUBLIC_INTERFACE(Matrix) + + typedef typename Base::PlainObject PlainObject; + + using Base::base; + using Base::coeffRef; + + /** + * \brief Assigns matrices to each other. + * + * \note This is a special case of the templated operator=. Its purpose is + * to prevent a default operator= from hiding the templated operator=. + * + * \callgraph + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix& operator=(const Matrix& other) + { + return Base::_set(other); + } + + /** \internal + * \brief Copies the value of the expression \a other into \c *this with automatic resizing. + * + * *this might be resized to match the dimensions of \a other. If *this was a null matrix (not already initialized), + * it will be initialized. + * + * Note that copying a row-vector into a vector (and conversely) is allowed. + * The resizing, if any, is then done in the appropriate way so that row-vectors + * remain row-vectors and vectors remain vectors. + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix& operator=(const DenseBase& other) + { + return Base::_set(other); + } + + /* Here, doxygen failed to copy the brief information when using \copydoc */ + + /** + * \brief Copies the generic expression \a other into *this. + * \copydetails DenseBase::operator=(const EigenBase &other) + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix& operator=(const EigenBase &other) + { + return Base::operator=(other); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix& operator=(const ReturnByValue& func) + { + return Base::operator=(func); + } + + /** \brief Default constructor. + * + * For fixed-size matrices, does nothing. + * + * For dynamic-size matrices, creates an empty matrix of size 0. Does not allocate any array. Such a matrix + * is called a null matrix. This constructor is the unique way to create null matrices: resizing + * a matrix to 0 is not supported. + * + * \sa resize(Index,Index) + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Matrix() : Base() + { + Base::_check_template_params(); + EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + } + + // FIXME is it still needed + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit Matrix(internal::constructor_without_unaligned_array_assert) + : Base(internal::constructor_without_unaligned_array_assert()) + { Base::_check_template_params(); EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED } + +#if EIGEN_HAS_RVALUE_REFERENCES + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Matrix(Matrix&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_constructible::value) + : Base(std::move(other)) + { + Base::_check_template_params(); + } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Matrix& operator=(Matrix&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_assignable::value) + { + Base::operator=(std::move(other)); + return *this; + } +#endif + +#if EIGEN_HAS_CXX11 + /** \copydoc PlainObjectBase(const Scalar&, const Scalar&, const Scalar&, const Scalar&, const ArgTypes&... args) + * + * Example: \include Matrix_variadic_ctor_cxx11.cpp + * Output: \verbinclude Matrix_variadic_ctor_cxx11.out + * + * \sa Matrix(const std::initializer_list>&) + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Matrix(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + : Base(a0, a1, a2, a3, args...) {} + + /** \brief Constructs a Matrix and initializes it from the coefficients given as initializer-lists grouped by row. \cpp11 + * + * In the general case, the constructor takes a list of rows, each row being represented as a list of coefficients: + * + * Example: \include Matrix_initializer_list_23_cxx11.cpp + * Output: \verbinclude Matrix_initializer_list_23_cxx11.out + * + * Each of the inner initializer lists must contain the exact same number of elements, otherwise an assertion is triggered. + * + * In the case of a compile-time column vector, implicit transposition from a single row is allowed. + * Therefore VectorXd{{1,2,3,4,5}} is legal and the more verbose syntax + * RowVectorXd{{1},{2},{3},{4},{5}} can be avoided: + * + * Example: \include Matrix_initializer_list_vector_cxx11.cpp + * Output: \verbinclude Matrix_initializer_list_vector_cxx11.out + * + * In the case of fixed-sized matrices, the initializer list sizes must exactly match the matrix sizes, + * and implicit transposition is allowed for compile-time vectors only. + * + * \sa Matrix(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + */ + EIGEN_DEVICE_FUNC + explicit EIGEN_STRONG_INLINE Matrix(const std::initializer_list>& list) : Base(list) {} +#endif // end EIGEN_HAS_CXX11 + +#ifndef EIGEN_PARSED_BY_DOXYGEN + + // This constructor is for both 1x1 matrices and dynamic vectors + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit Matrix(const T& x) + { + Base::_check_template_params(); + Base::template _init1(x); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Matrix(const T0& x, const T1& y) + { + Base::_check_template_params(); + Base::template _init2(x, y); + } + + +#else + /** \brief Constructs a fixed-sized matrix initialized with coefficients starting at \a data */ + EIGEN_DEVICE_FUNC + explicit Matrix(const Scalar *data); + + /** \brief Constructs a vector or row-vector with given dimension. \only_for_vectors + * + * This is useful for dynamic-size vectors. For fixed-size vectors, + * it is redundant to pass these parameters, so one should use the default constructor + * Matrix() instead. + * + * \warning This constructor is disabled for fixed-size \c 1x1 matrices. For instance, + * calling Matrix(1) will call the initialization constructor: Matrix(const Scalar&). + * For fixed-size \c 1x1 matrices it is therefore recommended to use the default + * constructor Matrix() instead, especially when using one of the non standard + * \c EIGEN_INITIALIZE_MATRICES_BY_{ZERO,\c NAN} macros (see \ref TopicPreprocessorDirectives). + */ + EIGEN_STRONG_INLINE explicit Matrix(Index dim); + /** \brief Constructs an initialized 1x1 matrix with the given coefficient + * \sa Matrix(const Scalar&, const Scalar&, const Scalar&, const Scalar&, const ArgTypes&...) */ + Matrix(const Scalar& x); + /** \brief Constructs an uninitialized matrix with \a rows rows and \a cols columns. + * + * This is useful for dynamic-size matrices. For fixed-size matrices, + * it is redundant to pass these parameters, so one should use the default constructor + * Matrix() instead. + * + * \warning This constructor is disabled for fixed-size \c 1x2 and \c 2x1 vectors. For instance, + * calling Matrix2f(2,1) will call the initialization constructor: Matrix(const Scalar& x, const Scalar& y). + * For fixed-size \c 1x2 or \c 2x1 vectors it is therefore recommended to use the default + * constructor Matrix() instead, especially when using one of the non standard + * \c EIGEN_INITIALIZE_MATRICES_BY_{ZERO,\c NAN} macros (see \ref TopicPreprocessorDirectives). + */ + EIGEN_DEVICE_FUNC + Matrix(Index rows, Index cols); + + /** \brief Constructs an initialized 2D vector with given coefficients + * \sa Matrix(const Scalar&, const Scalar&, const Scalar&, const Scalar&, const ArgTypes&...) */ + Matrix(const Scalar& x, const Scalar& y); + #endif // end EIGEN_PARSED_BY_DOXYGEN + + /** \brief Constructs an initialized 3D vector with given coefficients + * \sa Matrix(const Scalar&, const Scalar&, const Scalar&, const Scalar&, const ArgTypes&...) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix(const Scalar& x, const Scalar& y, const Scalar& z) + { + Base::_check_template_params(); + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Matrix, 3) + m_storage.data()[0] = x; + m_storage.data()[1] = y; + m_storage.data()[2] = z; + } + /** \brief Constructs an initialized 4D vector with given coefficients + * \sa Matrix(const Scalar&, const Scalar&, const Scalar&, const Scalar&, const ArgTypes&...) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix(const Scalar& x, const Scalar& y, const Scalar& z, const Scalar& w) + { + Base::_check_template_params(); + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Matrix, 4) + m_storage.data()[0] = x; + m_storage.data()[1] = y; + m_storage.data()[2] = z; + m_storage.data()[3] = w; + } + + + /** \brief Copy constructor */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix(const Matrix& other) : Base(other) + { } + + /** \brief Copy constructor for generic expressions. + * \sa MatrixBase::operator=(const EigenBase&) + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Matrix(const EigenBase &other) + : Base(other.derived()) + { } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const EIGEN_NOEXCEPT { return 1; } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const EIGEN_NOEXCEPT { return this->innerSize(); } + + /////////// Geometry module /////////// + + template + EIGEN_DEVICE_FUNC + explicit Matrix(const RotationBase& r); + template + EIGEN_DEVICE_FUNC + Matrix& operator=(const RotationBase& r); + + // allow to extend Matrix outside Eigen + #ifdef EIGEN_MATRIX_PLUGIN + #include EIGEN_MATRIX_PLUGIN + #endif + + protected: + template + friend struct internal::conservative_resize_like_impl; + + using Base::m_storage; +}; + +/** \defgroup matrixtypedefs Global matrix typedefs + * + * \ingroup Core_Module + * + * %Eigen defines several typedef shortcuts for most common matrix and vector types. + * + * The general patterns are the following: + * + * \c MatrixSizeType where \c Size can be \c 2,\c 3,\c 4 for fixed size square matrices or \c X for dynamic size, + * and where \c Type can be \c i for integer, \c f for float, \c d for double, \c cf for complex float, \c cd + * for complex double. + * + * For example, \c Matrix3d is a fixed-size 3x3 matrix type of doubles, and \c MatrixXf is a dynamic-size matrix of floats. + * + * There are also \c VectorSizeType and \c RowVectorSizeType which are self-explanatory. For example, \c Vector4cf is + * a fixed-size vector of 4 complex floats. + * + * With \cpp11, template alias are also defined for common sizes. + * They follow the same pattern as above except that the scalar type suffix is replaced by a + * template parameter, i.e.: + * - `MatrixSize` where `Size` can be \c 2,\c 3,\c 4 for fixed size square matrices or \c X for dynamic size. + * - `MatrixXSize` and `MatrixSizeX` where `Size` can be \c 2,\c 3,\c 4 for hybrid dynamic/fixed matrices. + * - `VectorSize` and `RowVectorSize` for column and row vectors. + * + * With \cpp11, you can also use fully generic column and row vector types: `Vector` and `RowVector`. + * + * \sa class Matrix + */ + +#define EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Size, SizeSuffix) \ +/** \ingroup matrixtypedefs */ \ +typedef Matrix Matrix##SizeSuffix##TypeSuffix; \ +/** \ingroup matrixtypedefs */ \ +typedef Matrix Vector##SizeSuffix##TypeSuffix; \ +/** \ingroup matrixtypedefs */ \ +typedef Matrix RowVector##SizeSuffix##TypeSuffix; + +#define EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, Size) \ +/** \ingroup matrixtypedefs */ \ +typedef Matrix Matrix##Size##X##TypeSuffix; \ +/** \ingroup matrixtypedefs */ \ +typedef Matrix Matrix##X##Size##TypeSuffix; + +#define EIGEN_MAKE_TYPEDEFS_ALL_SIZES(Type, TypeSuffix) \ +EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 2, 2) \ +EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 3, 3) \ +EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, 4, 4) \ +EIGEN_MAKE_TYPEDEFS(Type, TypeSuffix, Dynamic, X) \ +EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 2) \ +EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 3) \ +EIGEN_MAKE_FIXED_TYPEDEFS(Type, TypeSuffix, 4) + +EIGEN_MAKE_TYPEDEFS_ALL_SIZES(int, i) +EIGEN_MAKE_TYPEDEFS_ALL_SIZES(float, f) +EIGEN_MAKE_TYPEDEFS_ALL_SIZES(double, d) +EIGEN_MAKE_TYPEDEFS_ALL_SIZES(std::complex, cf) +EIGEN_MAKE_TYPEDEFS_ALL_SIZES(std::complex, cd) + +#undef EIGEN_MAKE_TYPEDEFS_ALL_SIZES +#undef EIGEN_MAKE_TYPEDEFS +#undef EIGEN_MAKE_FIXED_TYPEDEFS + +#if EIGEN_HAS_CXX11 + +#define EIGEN_MAKE_TYPEDEFS(Size, SizeSuffix) \ +/** \ingroup matrixtypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Matrix##SizeSuffix = Matrix; \ +/** \ingroup matrixtypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Vector##SizeSuffix = Matrix; \ +/** \ingroup matrixtypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using RowVector##SizeSuffix = Matrix; + +#define EIGEN_MAKE_FIXED_TYPEDEFS(Size) \ +/** \ingroup matrixtypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Matrix##Size##X = Matrix; \ +/** \ingroup matrixtypedefs */ \ +/** \brief \cpp11 */ \ +template \ +using Matrix##X##Size = Matrix; + +EIGEN_MAKE_TYPEDEFS(2, 2) +EIGEN_MAKE_TYPEDEFS(3, 3) +EIGEN_MAKE_TYPEDEFS(4, 4) +EIGEN_MAKE_TYPEDEFS(Dynamic, X) +EIGEN_MAKE_FIXED_TYPEDEFS(2) +EIGEN_MAKE_FIXED_TYPEDEFS(3) +EIGEN_MAKE_FIXED_TYPEDEFS(4) + +/** \ingroup matrixtypedefs + * \brief \cpp11 */ +template +using Vector = Matrix; + +/** \ingroup matrixtypedefs + * \brief \cpp11 */ +template +using RowVector = Matrix; + +#undef EIGEN_MAKE_TYPEDEFS +#undef EIGEN_MAKE_FIXED_TYPEDEFS + +#endif // EIGEN_HAS_CXX11 + +} // end namespace Eigen + +#endif // EIGEN_MATRIX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MatrixBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MatrixBase.h new file mode 100644 index 0000000..45c3a59 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/MatrixBase.h @@ -0,0 +1,547 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2009 Benoit Jacob +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_MATRIXBASE_H +#define EIGEN_MATRIXBASE_H + +namespace Eigen { + +/** \class MatrixBase + * \ingroup Core_Module + * + * \brief Base class for all dense matrices, vectors, and expressions + * + * This class is the base that is inherited by all matrix, vector, and related expression + * types. Most of the Eigen API is contained in this class, and its base classes. Other important + * classes for the Eigen API are Matrix, and VectorwiseOp. + * + * Note that some methods are defined in other modules such as the \ref LU_Module LU module + * for all functions related to matrix inversions. + * + * \tparam Derived is the derived type, e.g. a matrix type, or an expression, etc. + * + * When writing a function taking Eigen objects as argument, if you want your function + * to take as argument any matrix, vector, or expression, just let it take a + * MatrixBase argument. As an example, here is a function printFirstRow which, given + * a matrix, vector, or expression \a x, prints the first row of \a x. + * + * \code + template + void printFirstRow(const Eigen::MatrixBase& x) + { + cout << x.row(0) << endl; + } + * \endcode + * + * This class can be extended with the help of the plugin mechanism described on the page + * \ref TopicCustomizing_Plugins by defining the preprocessor symbol \c EIGEN_MATRIXBASE_PLUGIN. + * + * \sa \blank \ref TopicClassHierarchy + */ +template class MatrixBase + : public DenseBase +{ + public: +#ifndef EIGEN_PARSED_BY_DOXYGEN + typedef MatrixBase StorageBaseType; + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::StorageIndex StorageIndex; + typedef typename internal::traits::Scalar Scalar; + typedef typename internal::packet_traits::type PacketScalar; + typedef typename NumTraits::Real RealScalar; + + typedef DenseBase Base; + using Base::RowsAtCompileTime; + using Base::ColsAtCompileTime; + using Base::SizeAtCompileTime; + using Base::MaxRowsAtCompileTime; + using Base::MaxColsAtCompileTime; + using Base::MaxSizeAtCompileTime; + using Base::IsVectorAtCompileTime; + using Base::Flags; + + using Base::derived; + using Base::const_cast_derived; + using Base::rows; + using Base::cols; + using Base::size; + using Base::coeff; + using Base::coeffRef; + using Base::lazyAssign; + using Base::eval; + using Base::operator-; + using Base::operator+=; + using Base::operator-=; + using Base::operator*=; + using Base::operator/=; + + typedef typename Base::CoeffReturnType CoeffReturnType; + typedef typename Base::ConstTransposeReturnType ConstTransposeReturnType; + typedef typename Base::RowXpr RowXpr; + typedef typename Base::ColXpr ColXpr; +#endif // not EIGEN_PARSED_BY_DOXYGEN + + + +#ifndef EIGEN_PARSED_BY_DOXYGEN + /** type of the equivalent square matrix */ + typedef Matrix SquareMatrixType; +#endif // not EIGEN_PARSED_BY_DOXYGEN + + /** \returns the size of the main diagonal, which is min(rows(),cols()). + * \sa rows(), cols(), SizeAtCompileTime. */ + EIGEN_DEVICE_FUNC + inline Index diagonalSize() const { return (numext::mini)(rows(),cols()); } + + typedef typename Base::PlainObject PlainObject; + +#ifndef EIGEN_PARSED_BY_DOXYGEN + /** \internal Represents a matrix with all coefficients equal to one another*/ + typedef CwiseNullaryOp,PlainObject> ConstantReturnType; + /** \internal the return type of MatrixBase::adjoint() */ + typedef typename internal::conditional::IsComplex, + CwiseUnaryOp, ConstTransposeReturnType>, + ConstTransposeReturnType + >::type AdjointReturnType; + /** \internal Return type of eigenvalues() */ + typedef Matrix, internal::traits::ColsAtCompileTime, 1, ColMajor> EigenvaluesReturnType; + /** \internal the return type of identity */ + typedef CwiseNullaryOp,PlainObject> IdentityReturnType; + /** \internal the return type of unit vectors */ + typedef Block, SquareMatrixType>, + internal::traits::RowsAtCompileTime, + internal::traits::ColsAtCompileTime> BasisReturnType; +#endif // not EIGEN_PARSED_BY_DOXYGEN + +#define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::MatrixBase +#define EIGEN_DOC_UNARY_ADDONS(X,Y) +# include "../plugins/CommonCwiseBinaryOps.h" +# include "../plugins/MatrixCwiseUnaryOps.h" +# include "../plugins/MatrixCwiseBinaryOps.h" +# ifdef EIGEN_MATRIXBASE_PLUGIN +# include EIGEN_MATRIXBASE_PLUGIN +# endif +#undef EIGEN_CURRENT_STORAGE_BASE_CLASS +#undef EIGEN_DOC_UNARY_ADDONS + + /** Special case of the template operator=, in order to prevent the compiler + * from generating a default operator= (issue hit with g++ 4.1) + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator=(const MatrixBase& other); + + // We cannot inherit here via Base::operator= since it is causing + // trouble with MSVC. + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator=(const DenseBase& other); + + template + EIGEN_DEVICE_FUNC + Derived& operator=(const EigenBase& other); + + template + EIGEN_DEVICE_FUNC + Derived& operator=(const ReturnByValue& other); + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator+=(const MatrixBase& other); + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Derived& operator-=(const MatrixBase& other); + + template + EIGEN_DEVICE_FUNC + const Product + operator*(const MatrixBase &other) const; + + template + EIGEN_DEVICE_FUNC + const Product + lazyProduct(const MatrixBase &other) const; + + template + Derived& operator*=(const EigenBase& other); + + template + void applyOnTheLeft(const EigenBase& other); + + template + void applyOnTheRight(const EigenBase& other); + + template + EIGEN_DEVICE_FUNC + const Product + operator*(const DiagonalBase &diagonal) const; + + template + EIGEN_DEVICE_FUNC + typename ScalarBinaryOpTraits::Scalar,typename internal::traits::Scalar>::ReturnType + dot(const MatrixBase& other) const; + + EIGEN_DEVICE_FUNC RealScalar squaredNorm() const; + EIGEN_DEVICE_FUNC RealScalar norm() const; + RealScalar stableNorm() const; + RealScalar blueNorm() const; + RealScalar hypotNorm() const; + EIGEN_DEVICE_FUNC const PlainObject normalized() const; + EIGEN_DEVICE_FUNC const PlainObject stableNormalized() const; + EIGEN_DEVICE_FUNC void normalize(); + EIGEN_DEVICE_FUNC void stableNormalize(); + + EIGEN_DEVICE_FUNC const AdjointReturnType adjoint() const; + EIGEN_DEVICE_FUNC void adjointInPlace(); + + typedef Diagonal DiagonalReturnType; + EIGEN_DEVICE_FUNC + DiagonalReturnType diagonal(); + + typedef typename internal::add_const >::type ConstDiagonalReturnType; + EIGEN_DEVICE_FUNC + ConstDiagonalReturnType diagonal() const; + + template struct DiagonalIndexReturnType { typedef Diagonal Type; }; + template struct ConstDiagonalIndexReturnType { typedef const Diagonal Type; }; + + template + EIGEN_DEVICE_FUNC + typename DiagonalIndexReturnType::Type diagonal(); + + template + EIGEN_DEVICE_FUNC + typename ConstDiagonalIndexReturnType::Type diagonal() const; + + typedef Diagonal DiagonalDynamicIndexReturnType; + typedef typename internal::add_const >::type ConstDiagonalDynamicIndexReturnType; + + EIGEN_DEVICE_FUNC + DiagonalDynamicIndexReturnType diagonal(Index index); + EIGEN_DEVICE_FUNC + ConstDiagonalDynamicIndexReturnType diagonal(Index index) const; + + template struct TriangularViewReturnType { typedef TriangularView Type; }; + template struct ConstTriangularViewReturnType { typedef const TriangularView Type; }; + + template + EIGEN_DEVICE_FUNC + typename TriangularViewReturnType::Type triangularView(); + template + EIGEN_DEVICE_FUNC + typename ConstTriangularViewReturnType::Type triangularView() const; + + template struct SelfAdjointViewReturnType { typedef SelfAdjointView Type; }; + template struct ConstSelfAdjointViewReturnType { typedef const SelfAdjointView Type; }; + + template + EIGEN_DEVICE_FUNC + typename SelfAdjointViewReturnType::Type selfadjointView(); + template + EIGEN_DEVICE_FUNC + typename ConstSelfAdjointViewReturnType::Type selfadjointView() const; + + const SparseView sparseView(const Scalar& m_reference = Scalar(0), + const typename NumTraits::Real& m_epsilon = NumTraits::dummy_precision()) const; + EIGEN_DEVICE_FUNC static const IdentityReturnType Identity(); + EIGEN_DEVICE_FUNC static const IdentityReturnType Identity(Index rows, Index cols); + EIGEN_DEVICE_FUNC static const BasisReturnType Unit(Index size, Index i); + EIGEN_DEVICE_FUNC static const BasisReturnType Unit(Index i); + EIGEN_DEVICE_FUNC static const BasisReturnType UnitX(); + EIGEN_DEVICE_FUNC static const BasisReturnType UnitY(); + EIGEN_DEVICE_FUNC static const BasisReturnType UnitZ(); + EIGEN_DEVICE_FUNC static const BasisReturnType UnitW(); + + EIGEN_DEVICE_FUNC + const DiagonalWrapper asDiagonal() const; + const PermutationWrapper asPermutation() const; + + EIGEN_DEVICE_FUNC + Derived& setIdentity(); + EIGEN_DEVICE_FUNC + Derived& setIdentity(Index rows, Index cols); + EIGEN_DEVICE_FUNC Derived& setUnit(Index i); + EIGEN_DEVICE_FUNC Derived& setUnit(Index newSize, Index i); + + bool isIdentity(const RealScalar& prec = NumTraits::dummy_precision()) const; + bool isDiagonal(const RealScalar& prec = NumTraits::dummy_precision()) const; + + bool isUpperTriangular(const RealScalar& prec = NumTraits::dummy_precision()) const; + bool isLowerTriangular(const RealScalar& prec = NumTraits::dummy_precision()) const; + + template + bool isOrthogonal(const MatrixBase& other, + const RealScalar& prec = NumTraits::dummy_precision()) const; + bool isUnitary(const RealScalar& prec = NumTraits::dummy_precision()) const; + + /** \returns true if each coefficients of \c *this and \a other are all exactly equal. + * \warning When using floating point scalar values you probably should rather use a + * fuzzy comparison such as isApprox() + * \sa isApprox(), operator!= */ + template + EIGEN_DEVICE_FUNC inline bool operator==(const MatrixBase& other) const + { return cwiseEqual(other).all(); } + + /** \returns true if at least one pair of coefficients of \c *this and \a other are not exactly equal to each other. + * \warning When using floating point scalar values you probably should rather use a + * fuzzy comparison such as isApprox() + * \sa isApprox(), operator== */ + template + EIGEN_DEVICE_FUNC inline bool operator!=(const MatrixBase& other) const + { return cwiseNotEqual(other).any(); } + + NoAlias EIGEN_DEVICE_FUNC noalias(); + + // TODO forceAlignedAccess is temporarily disabled + // Need to find a nicer workaround. + inline const Derived& forceAlignedAccess() const { return derived(); } + inline Derived& forceAlignedAccess() { return derived(); } + template inline const Derived& forceAlignedAccessIf() const { return derived(); } + template inline Derived& forceAlignedAccessIf() { return derived(); } + + EIGEN_DEVICE_FUNC Scalar trace() const; + + template EIGEN_DEVICE_FUNC RealScalar lpNorm() const; + + EIGEN_DEVICE_FUNC MatrixBase& matrix() { return *this; } + EIGEN_DEVICE_FUNC const MatrixBase& matrix() const { return *this; } + + /** \returns an \link Eigen::ArrayBase Array \endlink expression of this matrix + * \sa ArrayBase::matrix() */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper array() { return ArrayWrapper(derived()); } + /** \returns a const \link Eigen::ArrayBase Array \endlink expression of this matrix + * \sa ArrayBase::matrix() */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArrayWrapper array() const { return ArrayWrapper(derived()); } + +/////////// LU module /////////// + + inline const FullPivLU fullPivLu() const; + inline const PartialPivLU partialPivLu() const; + + inline const PartialPivLU lu() const; + + EIGEN_DEVICE_FUNC + inline const Inverse inverse() const; + + template + inline void computeInverseAndDetWithCheck( + ResultType& inverse, + typename ResultType::Scalar& determinant, + bool& invertible, + const RealScalar& absDeterminantThreshold = NumTraits::dummy_precision() + ) const; + + template + inline void computeInverseWithCheck( + ResultType& inverse, + bool& invertible, + const RealScalar& absDeterminantThreshold = NumTraits::dummy_precision() + ) const; + + EIGEN_DEVICE_FUNC + Scalar determinant() const; + +/////////// Cholesky module /////////// + + inline const LLT llt() const; + inline const LDLT ldlt() const; + +/////////// QR module /////////// + + inline const HouseholderQR householderQr() const; + inline const ColPivHouseholderQR colPivHouseholderQr() const; + inline const FullPivHouseholderQR fullPivHouseholderQr() const; + inline const CompleteOrthogonalDecomposition completeOrthogonalDecomposition() const; + +/////////// Eigenvalues module /////////// + + inline EigenvaluesReturnType eigenvalues() const; + inline RealScalar operatorNorm() const; + +/////////// SVD module /////////// + + inline JacobiSVD jacobiSvd(unsigned int computationOptions = 0) const; + inline BDCSVD bdcSvd(unsigned int computationOptions = 0) const; + +/////////// Geometry module /////////// + + #ifndef EIGEN_PARSED_BY_DOXYGEN + /// \internal helper struct to form the return type of the cross product + template struct cross_product_return_type { + typedef typename ScalarBinaryOpTraits::Scalar,typename internal::traits::Scalar>::ReturnType Scalar; + typedef Matrix type; + }; + #endif // EIGEN_PARSED_BY_DOXYGEN + template + EIGEN_DEVICE_FUNC +#ifndef EIGEN_PARSED_BY_DOXYGEN + inline typename cross_product_return_type::type +#else + inline PlainObject +#endif + cross(const MatrixBase& other) const; + + template + EIGEN_DEVICE_FUNC + inline PlainObject cross3(const MatrixBase& other) const; + + EIGEN_DEVICE_FUNC + inline PlainObject unitOrthogonal(void) const; + + EIGEN_DEVICE_FUNC + inline Matrix eulerAngles(Index a0, Index a1, Index a2) const; + + // put this as separate enum value to work around possible GCC 4.3 bug (?) + enum { HomogeneousReturnTypeDirection = ColsAtCompileTime==1&&RowsAtCompileTime==1 ? ((internal::traits::Flags&RowMajorBit)==RowMajorBit ? Horizontal : Vertical) + : ColsAtCompileTime==1 ? Vertical : Horizontal }; + typedef Homogeneous HomogeneousReturnType; + EIGEN_DEVICE_FUNC + inline HomogeneousReturnType homogeneous() const; + + enum { + SizeMinusOne = SizeAtCompileTime==Dynamic ? Dynamic : SizeAtCompileTime-1 + }; + typedef Block::ColsAtCompileTime==1 ? SizeMinusOne : 1, + internal::traits::ColsAtCompileTime==1 ? 1 : SizeMinusOne> ConstStartMinusOne; + typedef EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(ConstStartMinusOne,Scalar,quotient) HNormalizedReturnType; + EIGEN_DEVICE_FUNC + inline const HNormalizedReturnType hnormalized() const; + +////////// Householder module /////////// + + EIGEN_DEVICE_FUNC + void makeHouseholderInPlace(Scalar& tau, RealScalar& beta); + template + EIGEN_DEVICE_FUNC + void makeHouseholder(EssentialPart& essential, + Scalar& tau, RealScalar& beta) const; + template + EIGEN_DEVICE_FUNC + void applyHouseholderOnTheLeft(const EssentialPart& essential, + const Scalar& tau, + Scalar* workspace); + template + EIGEN_DEVICE_FUNC + void applyHouseholderOnTheRight(const EssentialPart& essential, + const Scalar& tau, + Scalar* workspace); + +///////// Jacobi module ///////// + + template + EIGEN_DEVICE_FUNC + void applyOnTheLeft(Index p, Index q, const JacobiRotation& j); + template + EIGEN_DEVICE_FUNC + void applyOnTheRight(Index p, Index q, const JacobiRotation& j); + +///////// SparseCore module ///////// + + template + EIGEN_STRONG_INLINE const typename SparseMatrixBase::template CwiseProductDenseReturnType::Type + cwiseProduct(const SparseMatrixBase &other) const + { + return other.cwiseProduct(derived()); + } + +///////// MatrixFunctions module ///////// + + typedef typename internal::stem_function::type StemFunction; +#define EIGEN_MATRIX_FUNCTION(ReturnType, Name, Description) \ + /** \returns an expression of the matrix Description of \c *this. \brief This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise Description use ArrayBase::##Name . */ \ + const ReturnType Name() const; +#define EIGEN_MATRIX_FUNCTION_1(ReturnType, Name, Description, Argument) \ + /** \returns an expression of the matrix Description of \c *this. \brief This function requires the unsupported MatrixFunctions module. To compute the coefficient-wise Description use ArrayBase::##Name . */ \ + const ReturnType Name(Argument) const; + + EIGEN_MATRIX_FUNCTION(MatrixExponentialReturnValue, exp, exponential) + /** \brief Helper function for the unsupported MatrixFunctions module.*/ + const MatrixFunctionReturnValue matrixFunction(StemFunction f) const; + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, cosh, hyperbolic cosine) + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, sinh, hyperbolic sine) +#if EIGEN_HAS_CXX11_MATH + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, atanh, inverse hyperbolic cosine) + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, acosh, inverse hyperbolic cosine) + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, asinh, inverse hyperbolic sine) +#endif + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, cos, cosine) + EIGEN_MATRIX_FUNCTION(MatrixFunctionReturnValue, sin, sine) + EIGEN_MATRIX_FUNCTION(MatrixSquareRootReturnValue, sqrt, square root) + EIGEN_MATRIX_FUNCTION(MatrixLogarithmReturnValue, log, logarithm) + EIGEN_MATRIX_FUNCTION_1(MatrixPowerReturnValue, pow, power to \c p, const RealScalar& p) + EIGEN_MATRIX_FUNCTION_1(MatrixComplexPowerReturnValue, pow, power to \c p, const std::complex& p) + + protected: + EIGEN_DEFAULT_COPY_CONSTRUCTOR(MatrixBase) + EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(MatrixBase) + + private: + EIGEN_DEVICE_FUNC explicit MatrixBase(int); + EIGEN_DEVICE_FUNC MatrixBase(int,int); + template EIGEN_DEVICE_FUNC explicit MatrixBase(const MatrixBase&); + protected: + // mixing arrays and matrices is not legal + template Derived& operator+=(const ArrayBase& ) + {EIGEN_STATIC_ASSERT(std::ptrdiff_t(sizeof(typename OtherDerived::Scalar))==-1,YOU_CANNOT_MIX_ARRAYS_AND_MATRICES); return *this;} + // mixing arrays and matrices is not legal + template Derived& operator-=(const ArrayBase& ) + {EIGEN_STATIC_ASSERT(std::ptrdiff_t(sizeof(typename OtherDerived::Scalar))==-1,YOU_CANNOT_MIX_ARRAYS_AND_MATRICES); return *this;} +}; + + +/*************************************************************************** +* Implementation of matrix base methods +***************************************************************************/ + +/** replaces \c *this by \c *this * \a other. + * + * \returns a reference to \c *this + * + * Example: \include MatrixBase_applyOnTheRight.cpp + * Output: \verbinclude MatrixBase_applyOnTheRight.out + */ +template +template +inline Derived& +MatrixBase::operator*=(const EigenBase &other) +{ + other.derived().applyThisOnTheRight(derived()); + return derived(); +} + +/** replaces \c *this by \c *this * \a other. It is equivalent to MatrixBase::operator*=(). + * + * Example: \include MatrixBase_applyOnTheRight.cpp + * Output: \verbinclude MatrixBase_applyOnTheRight.out + */ +template +template +inline void MatrixBase::applyOnTheRight(const EigenBase &other) +{ + other.derived().applyThisOnTheRight(derived()); +} + +/** replaces \c *this by \a other * \c *this. + * + * Example: \include MatrixBase_applyOnTheLeft.cpp + * Output: \verbinclude MatrixBase_applyOnTheLeft.out + */ +template +template +inline void MatrixBase::applyOnTheLeft(const EigenBase &other) +{ + other.derived().applyThisOnTheLeft(derived()); +} + +} // end namespace Eigen + +#endif // EIGEN_MATRIXBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NestByValue.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NestByValue.h new file mode 100644 index 0000000..b427576 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NestByValue.h @@ -0,0 +1,85 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_NESTBYVALUE_H +#define EIGEN_NESTBYVALUE_H + +namespace Eigen { + +namespace internal { +template +struct traits > : public traits +{ + enum { + Flags = traits::Flags & ~NestByRefBit + }; +}; +} + +/** \class NestByValue + * \ingroup Core_Module + * + * \brief Expression which must be nested by value + * + * \tparam ExpressionType the type of the object of which we are requiring nesting-by-value + * + * This class is the return type of MatrixBase::nestByValue() + * and most of the time this is the only way it is used. + * + * \sa MatrixBase::nestByValue() + */ +template class NestByValue + : public internal::dense_xpr_base< NestByValue >::type +{ + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(NestByValue) + + EIGEN_DEVICE_FUNC explicit inline NestByValue(const ExpressionType& matrix) : m_expression(matrix) {} + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR inline Index rows() const EIGEN_NOEXCEPT { return m_expression.rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR inline Index cols() const EIGEN_NOEXCEPT { return m_expression.cols(); } + + EIGEN_DEVICE_FUNC operator const ExpressionType&() const { return m_expression; } + + EIGEN_DEVICE_FUNC const ExpressionType& nestedExpression() const { return m_expression; } + + protected: + const ExpressionType m_expression; +}; + +/** \returns an expression of the temporary version of *this. + */ +template +EIGEN_DEVICE_FUNC inline const NestByValue +DenseBase::nestByValue() const +{ + return NestByValue(derived()); +} + +namespace internal { + +// Evaluator of Solve -> eval into a temporary +template +struct evaluator > + : public evaluator +{ + typedef evaluator Base; + + EIGEN_DEVICE_FUNC explicit evaluator(const NestByValue& xpr) + : Base(xpr.nestedExpression()) + {} +}; +} + +} // end namespace Eigen + +#endif // EIGEN_NESTBYVALUE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NoAlias.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NoAlias.h new file mode 100644 index 0000000..570283d --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NoAlias.h @@ -0,0 +1,109 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_NOALIAS_H +#define EIGEN_NOALIAS_H + +namespace Eigen { + +/** \class NoAlias + * \ingroup Core_Module + * + * \brief Pseudo expression providing an operator = assuming no aliasing + * + * \tparam ExpressionType the type of the object on which to do the lazy assignment + * + * This class represents an expression with special assignment operators + * assuming no aliasing between the target expression and the source expression. + * More precisely it alloas to bypass the EvalBeforeAssignBit flag of the source expression. + * It is the return type of MatrixBase::noalias() + * and most of the time this is the only way it is used. + * + * \sa MatrixBase::noalias() + */ +template class StorageBase> +class NoAlias +{ + public: + typedef typename ExpressionType::Scalar Scalar; + + EIGEN_DEVICE_FUNC + explicit NoAlias(ExpressionType& expression) : m_expression(expression) {} + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE ExpressionType& operator=(const StorageBase& other) + { + call_assignment_no_alias(m_expression, other.derived(), internal::assign_op()); + return m_expression; + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE ExpressionType& operator+=(const StorageBase& other) + { + call_assignment_no_alias(m_expression, other.derived(), internal::add_assign_op()); + return m_expression; + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE ExpressionType& operator-=(const StorageBase& other) + { + call_assignment_no_alias(m_expression, other.derived(), internal::sub_assign_op()); + return m_expression; + } + + EIGEN_DEVICE_FUNC + ExpressionType& expression() const + { + return m_expression; + } + + protected: + ExpressionType& m_expression; +}; + +/** \returns a pseudo expression of \c *this with an operator= assuming + * no aliasing between \c *this and the source expression. + * + * More precisely, noalias() allows to bypass the EvalBeforeAssignBit flag. + * Currently, even though several expressions may alias, only product + * expressions have this flag. Therefore, noalias() is only useful when + * the source expression contains a matrix product. + * + * Here are some examples where noalias is useful: + * \code + * D.noalias() = A * B; + * D.noalias() += A.transpose() * B; + * D.noalias() -= 2 * A * B.adjoint(); + * \endcode + * + * On the other hand the following example will lead to a \b wrong result: + * \code + * A.noalias() = A * B; + * \endcode + * because the result matrix A is also an operand of the matrix product. Therefore, + * there is no alternative than evaluating A * B in a temporary, that is the default + * behavior when you write: + * \code + * A = A * B; + * \endcode + * + * \sa class NoAlias + */ +template +NoAlias EIGEN_DEVICE_FUNC MatrixBase::noalias() +{ + return NoAlias(derived()); +} + +} // end namespace Eigen + +#endif // EIGEN_NOALIAS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NumTraits.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NumTraits.h new file mode 100644 index 0000000..72eac5a --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/NumTraits.h @@ -0,0 +1,335 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2010 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_NUMTRAITS_H +#define EIGEN_NUMTRAITS_H + +namespace Eigen { + +namespace internal { + +// default implementation of digits10(), based on numeric_limits if specialized, +// 0 for integer types, and log10(epsilon()) otherwise. +template< typename T, + bool use_numeric_limits = std::numeric_limits::is_specialized, + bool is_integer = NumTraits::IsInteger> +struct default_digits10_impl +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static int run() { return std::numeric_limits::digits10; } +}; + +template +struct default_digits10_impl // Floating point +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static int run() { + using std::log10; + using std::ceil; + typedef typename NumTraits::Real Real; + return int(ceil(-log10(NumTraits::epsilon()))); + } +}; + +template +struct default_digits10_impl // Integer +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static int run() { return 0; } +}; + + +// default implementation of digits(), based on numeric_limits if specialized, +// 0 for integer types, and log2(epsilon()) otherwise. +template< typename T, + bool use_numeric_limits = std::numeric_limits::is_specialized, + bool is_integer = NumTraits::IsInteger> +struct default_digits_impl +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static int run() { return std::numeric_limits::digits; } +}; + +template +struct default_digits_impl // Floating point +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static int run() { + using std::log; + using std::ceil; + typedef typename NumTraits::Real Real; + return int(ceil(-log(NumTraits::epsilon())/log(static_cast(2)))); + } +}; + +template +struct default_digits_impl // Integer +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static int run() { return 0; } +}; + +} // end namespace internal + +namespace numext { +/** \internal bit-wise cast without changing the underlying bit representation. */ + +// TODO: Replace by std::bit_cast (available in C++20) +template +EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Tgt bit_cast(const Src& src) { +#if EIGEN_HAS_TYPE_TRAITS + // The behaviour of memcpy is not specified for non-trivially copyable types + EIGEN_STATIC_ASSERT(std::is_trivially_copyable::value, THIS_TYPE_IS_NOT_SUPPORTED); + EIGEN_STATIC_ASSERT(std::is_trivially_copyable::value && std::is_default_constructible::value, + THIS_TYPE_IS_NOT_SUPPORTED); +#endif + + EIGEN_STATIC_ASSERT(sizeof(Src) == sizeof(Tgt), THIS_TYPE_IS_NOT_SUPPORTED); + Tgt tgt; + EIGEN_USING_STD(memcpy) + memcpy(&tgt, &src, sizeof(Tgt)); + return tgt; +} +} // namespace numext + +/** \class NumTraits + * \ingroup Core_Module + * + * \brief Holds information about the various numeric (i.e. scalar) types allowed by Eigen. + * + * \tparam T the numeric type at hand + * + * This class stores enums, typedefs and static methods giving information about a numeric type. + * + * The provided data consists of: + * \li A typedef \c Real, giving the "real part" type of \a T. If \a T is already real, + * then \c Real is just a typedef to \a T. If \a T is \c std::complex then \c Real + * is a typedef to \a U. + * \li A typedef \c NonInteger, giving the type that should be used for operations producing non-integral values, + * such as quotients, square roots, etc. If \a T is a floating-point type, then this typedef just gives + * \a T again. Note however that many Eigen functions such as internal::sqrt simply refuse to + * take integers. Outside of a few cases, Eigen doesn't do automatic type promotion. Thus, this typedef is + * only intended as a helper for code that needs to explicitly promote types. + * \li A typedef \c Literal giving the type to use for numeric literals such as "2" or "0.5". For instance, for \c std::complex, Literal is defined as \c U. + * Of course, this type must be fully compatible with \a T. In doubt, just use \a T here. + * \li A typedef \a Nested giving the type to use to nest a value inside of the expression tree. If you don't know what + * this means, just use \a T here. + * \li An enum value \a IsComplex. It is equal to 1 if \a T is a \c std::complex + * type, and to 0 otherwise. + * \li An enum value \a IsInteger. It is equal to \c 1 if \a T is an integer type such as \c int, + * and to \c 0 otherwise. + * \li Enum values ReadCost, AddCost and MulCost representing a rough estimate of the number of CPU cycles needed + * to by move / add / mul instructions respectively, assuming the data is already stored in CPU registers. + * Stay vague here. No need to do architecture-specific stuff. If you don't know what this means, just use \c Eigen::HugeCost. + * \li An enum value \a IsSigned. It is equal to \c 1 if \a T is a signed type and to 0 if \a T is unsigned. + * \li An enum value \a RequireInitialization. It is equal to \c 1 if the constructor of the numeric type \a T must + * be called, and to 0 if it is safe not to call it. Default is 0 if \a T is an arithmetic type, and 1 otherwise. + * \li An epsilon() function which, unlike std::numeric_limits::epsilon(), + * it returns a \a Real instead of a \a T. + * \li A dummy_precision() function returning a weak epsilon value. It is mainly used as a default + * value by the fuzzy comparison operators. + * \li highest() and lowest() functions returning the highest and lowest possible values respectively. + * \li digits() function returning the number of radix digits (non-sign digits for integers, mantissa for floating-point). This is + * the analogue of std::numeric_limits::digits + * which is used as the default implementation if specialized. + * \li digits10() function returning the number of decimal digits that can be represented without change. This is + * the analogue of std::numeric_limits::digits10 + * which is used as the default implementation if specialized. + * \li min_exponent() and max_exponent() functions returning the highest and lowest possible values, respectively, + * such that the radix raised to the power exponent-1 is a normalized floating-point number. These are equivalent to + * std::numeric_limits::min_exponent/ + * std::numeric_limits::max_exponent. + * \li infinity() function returning a representation of positive infinity, if available. + * \li quiet_NaN function returning a non-signaling "not-a-number", if available. + */ + +template struct GenericNumTraits +{ + enum { + IsInteger = std::numeric_limits::is_integer, + IsSigned = std::numeric_limits::is_signed, + IsComplex = 0, + RequireInitialization = internal::is_arithmetic::value ? 0 : 1, + ReadCost = 1, + AddCost = 1, + MulCost = 1 + }; + + typedef T Real; + typedef typename internal::conditional< + IsInteger, + typename internal::conditional::type, + T + >::type NonInteger; + typedef T Nested; + typedef T Literal; + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline Real epsilon() + { + return numext::numeric_limits::epsilon(); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline int digits10() + { + return internal::default_digits10_impl::run(); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline int digits() + { + return internal::default_digits_impl::run(); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline int min_exponent() + { + return numext::numeric_limits::min_exponent; + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline int max_exponent() + { + return numext::numeric_limits::max_exponent; + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline Real dummy_precision() + { + // make sure to override this for floating-point types + return Real(0); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline T highest() { + return (numext::numeric_limits::max)(); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline T lowest() { + return IsInteger ? (numext::numeric_limits::min)() + : static_cast(-(numext::numeric_limits::max)()); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline T infinity() { + return numext::numeric_limits::infinity(); + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline T quiet_NaN() { + return numext::numeric_limits::quiet_NaN(); + } +}; + +template struct NumTraits : GenericNumTraits +{}; + +template<> struct NumTraits + : GenericNumTraits +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline float dummy_precision() { return 1e-5f; } +}; + +template<> struct NumTraits : GenericNumTraits +{ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline double dummy_precision() { return 1e-12; } +}; + +template<> struct NumTraits + : GenericNumTraits +{ + EIGEN_CONSTEXPR + static inline long double dummy_precision() { return 1e-15l; } +}; + +template struct NumTraits > + : GenericNumTraits > +{ + typedef _Real Real; + typedef typename NumTraits<_Real>::Literal Literal; + enum { + IsComplex = 1, + RequireInitialization = NumTraits<_Real>::RequireInitialization, + ReadCost = 2 * NumTraits<_Real>::ReadCost, + AddCost = 2 * NumTraits::AddCost, + MulCost = 4 * NumTraits::MulCost + 2 * NumTraits::AddCost + }; + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline Real epsilon() { return NumTraits::epsilon(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline Real dummy_precision() { return NumTraits::dummy_precision(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline int digits10() { return NumTraits::digits10(); } +}; + +template +struct NumTraits > +{ + typedef Array ArrayType; + typedef typename NumTraits::Real RealScalar; + typedef Array Real; + typedef typename NumTraits::NonInteger NonIntegerScalar; + typedef Array NonInteger; + typedef ArrayType & Nested; + typedef typename NumTraits::Literal Literal; + + enum { + IsComplex = NumTraits::IsComplex, + IsInteger = NumTraits::IsInteger, + IsSigned = NumTraits::IsSigned, + RequireInitialization = 1, + ReadCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * int(NumTraits::ReadCost), + AddCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * int(NumTraits::AddCost), + MulCost = ArrayType::SizeAtCompileTime==Dynamic ? HugeCost : ArrayType::SizeAtCompileTime * int(NumTraits::MulCost) + }; + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline RealScalar epsilon() { return NumTraits::epsilon(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + static inline RealScalar dummy_precision() { return NumTraits::dummy_precision(); } + + EIGEN_CONSTEXPR + static inline int digits10() { return NumTraits::digits10(); } +}; + +template<> struct NumTraits + : GenericNumTraits +{ + enum { + RequireInitialization = 1, + ReadCost = HugeCost, + AddCost = HugeCost, + MulCost = HugeCost + }; + + EIGEN_CONSTEXPR + static inline int digits10() { return 0; } + +private: + static inline std::string epsilon(); + static inline std::string dummy_precision(); + static inline std::string lowest(); + static inline std::string highest(); + static inline std::string infinity(); + static inline std::string quiet_NaN(); +}; + +// Empty specialization for void to allow template specialization based on NumTraits::Real with T==void and SFINAE. +template<> struct NumTraits {}; + +template<> struct NumTraits : GenericNumTraits {}; + +} // end namespace Eigen + +#endif // EIGEN_NUMTRAITS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PartialReduxEvaluator.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PartialReduxEvaluator.h new file mode 100644 index 0000000..29abf35 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PartialReduxEvaluator.h @@ -0,0 +1,232 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2011-2018 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_PARTIALREDUX_H +#define EIGEN_PARTIALREDUX_H + +namespace Eigen { + +namespace internal { + + +/*************************************************************************** +* +* This file provides evaluators for partial reductions. +* There are two modes: +* +* - scalar path: simply calls the respective function on the column or row. +* -> nothing special here, all the tricky part is handled by the return +* types of VectorwiseOp's members. They embed the functor calling the +* respective DenseBase's member function. +* +* - vectorized path: implements a packet-wise reductions followed by +* some (optional) processing of the outcome, e.g., division by n for mean. +* +* For the vectorized path let's observe that the packet-size and outer-unrolling +* are both decided by the assignement logic. So all we have to do is to decide +* on the inner unrolling. +* +* For the unrolling, we can reuse "internal::redux_vec_unroller" from Redux.h, +* but be need to be careful to specify correct increment. +* +***************************************************************************/ + + +/* logic deciding a strategy for unrolling of vectorized paths */ +template +struct packetwise_redux_traits +{ + enum { + OuterSize = int(Evaluator::IsRowMajor) ? Evaluator::RowsAtCompileTime : Evaluator::ColsAtCompileTime, + Cost = OuterSize == Dynamic ? HugeCost + : OuterSize * Evaluator::CoeffReadCost + (OuterSize-1) * functor_traits::Cost, + Unrolling = Cost <= EIGEN_UNROLLING_LIMIT ? CompleteUnrolling : NoUnrolling + }; + +}; + +/* Value to be returned when size==0 , by default let's return 0 */ +template +EIGEN_DEVICE_FUNC +PacketType packetwise_redux_empty_value(const Func& ) { return pset1(0); } + +/* For products the default is 1 */ +template +EIGEN_DEVICE_FUNC +PacketType packetwise_redux_empty_value(const scalar_product_op& ) { return pset1(1); } + +/* Perform the actual reduction */ +template::Unrolling +> +struct packetwise_redux_impl; + +/* Perform the actual reduction with unrolling */ +template +struct packetwise_redux_impl +{ + typedef redux_novec_unroller Base; + typedef typename Evaluator::Scalar Scalar; + + template + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE + PacketType run(const Evaluator &eval, const Func& func, Index /*size*/) + { + return redux_vec_unroller::OuterSize>::template run(eval,func); + } +}; + +/* Add a specialization of redux_vec_unroller for size==0 at compiletime. + * This specialization is not required for general reductions, which is + * why it is defined here. + */ +template +struct redux_vec_unroller +{ + template + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE PacketType run(const Evaluator &, const Func& f) + { + return packetwise_redux_empty_value(f); + } +}; + +/* Perform the actual reduction for dynamic sizes */ +template +struct packetwise_redux_impl +{ + typedef typename Evaluator::Scalar Scalar; + typedef typename redux_traits::PacketType PacketScalar; + + template + EIGEN_DEVICE_FUNC + static PacketType run(const Evaluator &eval, const Func& func, Index size) + { + if(size==0) + return packetwise_redux_empty_value(func); + + const Index size4 = (size-1)&(~3); + PacketType p = eval.template packetByOuterInner(0,0); + Index i = 1; + // This loop is optimized for instruction pipelining: + // - each iteration generates two independent instructions + // - thanks to branch prediction and out-of-order execution we have independent instructions across loops + for(; i(i+0,0),eval.template packetByOuterInner(i+1,0)), + func.packetOp(eval.template packetByOuterInner(i+2,0),eval.template packetByOuterInner(i+3,0)))); + for(; i(i,0)); + return p; + } +}; + +template< typename ArgType, typename MemberOp, int Direction> +struct evaluator > + : evaluator_base > +{ + typedef PartialReduxExpr XprType; + typedef typename internal::nested_eval::type ArgTypeNested; + typedef typename internal::add_const_on_value_type::type ConstArgTypeNested; + typedef typename internal::remove_all::type ArgTypeNestedCleaned; + typedef typename ArgType::Scalar InputScalar; + typedef typename XprType::Scalar Scalar; + enum { + TraversalSize = Direction==int(Vertical) ? int(ArgType::RowsAtCompileTime) : int(ArgType::ColsAtCompileTime) + }; + typedef typename MemberOp::template Cost CostOpType; + enum { + CoeffReadCost = TraversalSize==Dynamic ? HugeCost + : TraversalSize==0 ? 1 + : int(TraversalSize) * int(evaluator::CoeffReadCost) + int(CostOpType::value), + + _ArgFlags = evaluator::Flags, + + _Vectorizable = bool(int(_ArgFlags)&PacketAccessBit) + && bool(MemberOp::Vectorizable) + && (Direction==int(Vertical) ? bool(_ArgFlags&RowMajorBit) : (_ArgFlags&RowMajorBit)==0) + && (TraversalSize!=0), + + Flags = (traits::Flags&RowMajorBit) + | (evaluator::Flags&(HereditaryBits&(~RowMajorBit))) + | (_Vectorizable ? PacketAccessBit : 0) + | LinearAccessBit, + + Alignment = 0 // FIXME this will need to be improved once PartialReduxExpr is vectorized + }; + + EIGEN_DEVICE_FUNC explicit evaluator(const XprType xpr) + : m_arg(xpr.nestedExpression()), m_functor(xpr.functor()) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(TraversalSize==Dynamic ? HugeCost : (TraversalSize==0 ? 1 : int(CostOpType::value))); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const Scalar coeff(Index i, Index j) const + { + return coeff(Direction==Vertical ? j : i); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const Scalar coeff(Index index) const + { + return m_functor(m_arg.template subVector(index)); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + PacketType packet(Index i, Index j) const + { + return packet(Direction==Vertical ? j : i); + } + + template + EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC + PacketType packet(Index idx) const + { + enum { PacketSize = internal::unpacket_traits::size }; + typedef Block PanelType; + + PanelType panel(m_arg, + Direction==Vertical ? 0 : idx, + Direction==Vertical ? idx : 0, + Direction==Vertical ? m_arg.rows() : Index(PacketSize), + Direction==Vertical ? Index(PacketSize) : m_arg.cols()); + + // FIXME + // See bug 1612, currently if PacketSize==1 (i.e. complex with 128bits registers) then the storage-order of panel get reversed + // and methods like packetByOuterInner do not make sense anymore in this context. + // So let's just by pass "vectorization" in this case: + if(PacketSize==1) + return internal::pset1(coeff(idx)); + + typedef typename internal::redux_evaluator PanelEvaluator; + PanelEvaluator panel_eval(panel); + typedef typename MemberOp::BinaryOp BinaryOp; + PacketType p = internal::packetwise_redux_impl::template run(panel_eval,m_functor.binaryFunc(),m_arg.outerSize()); + return p; + } + +protected: + ConstArgTypeNested m_arg; + const MemberOp m_functor; +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_PARTIALREDUX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PermutationMatrix.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PermutationMatrix.h new file mode 100644 index 0000000..69401bf --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PermutationMatrix.h @@ -0,0 +1,605 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009 Benoit Jacob +// Copyright (C) 2009-2015 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_PERMUTATIONMATRIX_H +#define EIGEN_PERMUTATIONMATRIX_H + +namespace Eigen { + +namespace internal { + +enum PermPermProduct_t {PermPermProduct}; + +} // end namespace internal + +/** \class PermutationBase + * \ingroup Core_Module + * + * \brief Base class for permutations + * + * \tparam Derived the derived class + * + * This class is the base class for all expressions representing a permutation matrix, + * internally stored as a vector of integers. + * The convention followed here is that if \f$ \sigma \f$ is a permutation, the corresponding permutation matrix + * \f$ P_\sigma \f$ is such that if \f$ (e_1,\ldots,e_p) \f$ is the canonical basis, we have: + * \f[ P_\sigma(e_i) = e_{\sigma(i)}. \f] + * This convention ensures that for any two permutations \f$ \sigma, \tau \f$, we have: + * \f[ P_{\sigma\circ\tau} = P_\sigma P_\tau. \f] + * + * Permutation matrices are square and invertible. + * + * Notice that in addition to the member functions and operators listed here, there also are non-member + * operator* to multiply any kind of permutation object with any kind of matrix expression (MatrixBase) + * on either side. + * + * \sa class PermutationMatrix, class PermutationWrapper + */ +template +class PermutationBase : public EigenBase +{ + typedef internal::traits Traits; + typedef EigenBase Base; + public: + + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename Traits::IndicesType IndicesType; + enum { + Flags = Traits::Flags, + RowsAtCompileTime = Traits::RowsAtCompileTime, + ColsAtCompileTime = Traits::ColsAtCompileTime, + MaxRowsAtCompileTime = Traits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = Traits::MaxColsAtCompileTime + }; + typedef typename Traits::StorageIndex StorageIndex; + typedef Matrix + DenseMatrixType; + typedef PermutationMatrix + PlainPermutationType; + typedef PlainPermutationType PlainObject; + using Base::derived; + typedef Inverse InverseReturnType; + typedef void Scalar; + #endif + + /** Copies the other permutation into *this */ + template + Derived& operator=(const PermutationBase& other) + { + indices() = other.indices(); + return derived(); + } + + /** Assignment from the Transpositions \a tr */ + template + Derived& operator=(const TranspositionsBase& tr) + { + setIdentity(tr.size()); + for(Index k=size()-1; k>=0; --k) + applyTranspositionOnTheRight(k,tr.coeff(k)); + return derived(); + } + + /** \returns the number of rows */ + inline EIGEN_DEVICE_FUNC Index rows() const { return Index(indices().size()); } + + /** \returns the number of columns */ + inline EIGEN_DEVICE_FUNC Index cols() const { return Index(indices().size()); } + + /** \returns the size of a side of the respective square matrix, i.e., the number of indices */ + inline EIGEN_DEVICE_FUNC Index size() const { return Index(indices().size()); } + + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + void evalTo(MatrixBase& other) const + { + other.setZero(); + for (Index i=0; i=0 && j>=0 && i=0 && j>=0 && i + void assignTranspose(const PermutationBase& other) + { + for (Index i=0; i + void assignProduct(const Lhs& lhs, const Rhs& rhs) + { + eigen_assert(lhs.cols() == rhs.rows()); + for (Index i=0; i + inline PlainPermutationType operator*(const PermutationBase& other) const + { return PlainPermutationType(internal::PermPermProduct, derived(), other.derived()); } + + /** \returns the product of a permutation with another inverse permutation. + * + * \note \blank \note_try_to_help_rvo + */ + template + inline PlainPermutationType operator*(const InverseImpl& other) const + { return PlainPermutationType(internal::PermPermProduct, *this, other.eval()); } + + /** \returns the product of an inverse permutation with another permutation. + * + * \note \blank \note_try_to_help_rvo + */ + template friend + inline PlainPermutationType operator*(const InverseImpl& other, const PermutationBase& perm) + { return PlainPermutationType(internal::PermPermProduct, other.eval(), perm); } + + /** \returns the determinant of the permutation matrix, which is either 1 or -1 depending on the parity of the permutation. + * + * This function is O(\c n) procedure allocating a buffer of \c n booleans. + */ + Index determinant() const + { + Index res = 1; + Index n = size(); + Matrix mask(n); + mask.fill(false); + Index r = 0; + while(r < n) + { + // search for the next seed + while(r=n) + break; + // we got one, let's follow it until we are back to the seed + Index k0 = r++; + mask.coeffRef(k0) = true; + for(Index k=indices().coeff(k0); k!=k0; k=indices().coeff(k)) + { + mask.coeffRef(k) = true; + res = -res; + } + } + return res; + } + + protected: + +}; + +namespace internal { +template +struct traits > + : traits > +{ + typedef PermutationStorage StorageKind; + typedef Matrix<_StorageIndex, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1> IndicesType; + typedef _StorageIndex StorageIndex; + typedef void Scalar; +}; +} + +/** \class PermutationMatrix + * \ingroup Core_Module + * + * \brief Permutation matrix + * + * \tparam SizeAtCompileTime the number of rows/cols, or Dynamic + * \tparam MaxSizeAtCompileTime the maximum number of rows/cols, or Dynamic. This optional parameter defaults to SizeAtCompileTime. Most of the time, you should not have to specify it. + * \tparam _StorageIndex the integer type of the indices + * + * This class represents a permutation matrix, internally stored as a vector of integers. + * + * \sa class PermutationBase, class PermutationWrapper, class DiagonalMatrix + */ +template +class PermutationMatrix : public PermutationBase > +{ + typedef PermutationBase Base; + typedef internal::traits Traits; + public: + + typedef const PermutationMatrix& Nested; + + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename Traits::IndicesType IndicesType; + typedef typename Traits::StorageIndex StorageIndex; + #endif + + inline PermutationMatrix() + {} + + /** Constructs an uninitialized permutation matrix of given size. + */ + explicit inline PermutationMatrix(Index size) : m_indices(size) + { + eigen_internal_assert(size <= NumTraits::highest()); + } + + /** Copy constructor. */ + template + inline PermutationMatrix(const PermutationBase& other) + : m_indices(other.indices()) {} + + /** Generic constructor from expression of the indices. The indices + * array has the meaning that the permutations sends each integer i to indices[i]. + * + * \warning It is your responsibility to check that the indices array that you passes actually + * describes a permutation, i.e., each value between 0 and n-1 occurs exactly once, where n is the + * array's size. + */ + template + explicit inline PermutationMatrix(const MatrixBase& indices) : m_indices(indices) + {} + + /** Convert the Transpositions \a tr to a permutation matrix */ + template + explicit PermutationMatrix(const TranspositionsBase& tr) + : m_indices(tr.size()) + { + *this = tr; + } + + /** Copies the other permutation into *this */ + template + PermutationMatrix& operator=(const PermutationBase& other) + { + m_indices = other.indices(); + return *this; + } + + /** Assignment from the Transpositions \a tr */ + template + PermutationMatrix& operator=(const TranspositionsBase& tr) + { + return Base::operator=(tr.derived()); + } + + /** const version of indices(). */ + const IndicesType& indices() const { return m_indices; } + /** \returns a reference to the stored array representing the permutation. */ + IndicesType& indices() { return m_indices; } + + + /**** multiplication helpers to hopefully get RVO ****/ + +#ifndef EIGEN_PARSED_BY_DOXYGEN + template + PermutationMatrix(const InverseImpl& other) + : m_indices(other.derived().nestedExpression().size()) + { + eigen_internal_assert(m_indices.size() <= NumTraits::highest()); + StorageIndex end = StorageIndex(m_indices.size()); + for (StorageIndex i=0; i + PermutationMatrix(internal::PermPermProduct_t, const Lhs& lhs, const Rhs& rhs) + : m_indices(lhs.indices().size()) + { + Base::assignProduct(lhs,rhs); + } +#endif + + protected: + + IndicesType m_indices; +}; + + +namespace internal { +template +struct traits,_PacketAccess> > + : traits > +{ + typedef PermutationStorage StorageKind; + typedef Map, _PacketAccess> IndicesType; + typedef _StorageIndex StorageIndex; + typedef void Scalar; +}; +} + +template +class Map,_PacketAccess> + : public PermutationBase,_PacketAccess> > +{ + typedef PermutationBase Base; + typedef internal::traits Traits; + public: + + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename Traits::IndicesType IndicesType; + typedef typename IndicesType::Scalar StorageIndex; + #endif + + inline Map(const StorageIndex* indicesPtr) + : m_indices(indicesPtr) + {} + + inline Map(const StorageIndex* indicesPtr, Index size) + : m_indices(indicesPtr,size) + {} + + /** Copies the other permutation into *this */ + template + Map& operator=(const PermutationBase& other) + { return Base::operator=(other.derived()); } + + /** Assignment from the Transpositions \a tr */ + template + Map& operator=(const TranspositionsBase& tr) + { return Base::operator=(tr.derived()); } + + #ifndef EIGEN_PARSED_BY_DOXYGEN + /** This is a special case of the templated operator=. Its purpose is to + * prevent a default operator= from hiding the templated operator=. + */ + Map& operator=(const Map& other) + { + m_indices = other.m_indices; + return *this; + } + #endif + + /** const version of indices(). */ + const IndicesType& indices() const { return m_indices; } + /** \returns a reference to the stored array representing the permutation. */ + IndicesType& indices() { return m_indices; } + + protected: + + IndicesType m_indices; +}; + +template class TranspositionsWrapper; +namespace internal { +template +struct traits > +{ + typedef PermutationStorage StorageKind; + typedef void Scalar; + typedef typename _IndicesType::Scalar StorageIndex; + typedef _IndicesType IndicesType; + enum { + RowsAtCompileTime = _IndicesType::SizeAtCompileTime, + ColsAtCompileTime = _IndicesType::SizeAtCompileTime, + MaxRowsAtCompileTime = IndicesType::MaxSizeAtCompileTime, + MaxColsAtCompileTime = IndicesType::MaxSizeAtCompileTime, + Flags = 0 + }; +}; +} + +/** \class PermutationWrapper + * \ingroup Core_Module + * + * \brief Class to view a vector of integers as a permutation matrix + * + * \tparam _IndicesType the type of the vector of integer (can be any compatible expression) + * + * This class allows to view any vector expression of integers as a permutation matrix. + * + * \sa class PermutationBase, class PermutationMatrix + */ +template +class PermutationWrapper : public PermutationBase > +{ + typedef PermutationBase Base; + typedef internal::traits Traits; + public: + + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename Traits::IndicesType IndicesType; + #endif + + inline PermutationWrapper(const IndicesType& indices) + : m_indices(indices) + {} + + /** const version of indices(). */ + const typename internal::remove_all::type& + indices() const { return m_indices; } + + protected: + + typename IndicesType::Nested m_indices; +}; + + +/** \returns the matrix with the permutation applied to the columns. + */ +template +EIGEN_DEVICE_FUNC +const Product +operator*(const MatrixBase &matrix, + const PermutationBase& permutation) +{ + return Product + (matrix.derived(), permutation.derived()); +} + +/** \returns the matrix with the permutation applied to the rows. + */ +template +EIGEN_DEVICE_FUNC +const Product +operator*(const PermutationBase &permutation, + const MatrixBase& matrix) +{ + return Product + (permutation.derived(), matrix.derived()); +} + + +template +class InverseImpl + : public EigenBase > +{ + typedef typename PermutationType::PlainPermutationType PlainPermutationType; + typedef internal::traits PermTraits; + protected: + InverseImpl() {} + public: + typedef Inverse InverseType; + using EigenBase >::derived; + + #ifndef EIGEN_PARSED_BY_DOXYGEN + typedef typename PermutationType::DenseMatrixType DenseMatrixType; + enum { + RowsAtCompileTime = PermTraits::RowsAtCompileTime, + ColsAtCompileTime = PermTraits::ColsAtCompileTime, + MaxRowsAtCompileTime = PermTraits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = PermTraits::MaxColsAtCompileTime + }; + #endif + + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + void evalTo(MatrixBase& other) const + { + other.setZero(); + for (Index i=0; i friend + const Product + operator*(const MatrixBase& matrix, const InverseType& trPerm) + { + return Product(matrix.derived(), trPerm.derived()); + } + + /** \returns the matrix with the inverse permutation applied to the rows. + */ + template + const Product + operator*(const MatrixBase& matrix) const + { + return Product(derived(), matrix.derived()); + } +}; + +template +const PermutationWrapper MatrixBase::asPermutation() const +{ + return derived(); +} + +namespace internal { + +template<> struct AssignmentKind { typedef EigenBase2EigenBase Kind; }; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_PERMUTATIONMATRIX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PlainObjectBase.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PlainObjectBase.h new file mode 100644 index 0000000..e2ddbd1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/PlainObjectBase.h @@ -0,0 +1,1128 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2009 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_DENSESTORAGEBASE_H +#define EIGEN_DENSESTORAGEBASE_H + +#if defined(EIGEN_INITIALIZE_MATRICES_BY_ZERO) +# define EIGEN_INITIALIZE_COEFFS +# define EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED for(Index i=0;i::quiet_NaN(); +#else +# undef EIGEN_INITIALIZE_COEFFS +# define EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED +#endif + +namespace Eigen { + +namespace internal { + +template struct check_rows_cols_for_overflow { + template + EIGEN_DEVICE_FUNC + static EIGEN_ALWAYS_INLINE void run(Index, Index) + { + } +}; + +template<> struct check_rows_cols_for_overflow { + template + EIGEN_DEVICE_FUNC + static EIGEN_ALWAYS_INLINE void run(Index rows, Index cols) + { + // http://hg.mozilla.org/mozilla-central/file/6c8a909977d3/xpcom/ds/CheckedInt.h#l242 + // we assume Index is signed + Index max_index = (std::size_t(1) << (8 * sizeof(Index) - 1)) - 1; // assume Index is signed + bool error = (rows == 0 || cols == 0) ? false + : (rows > max_index / cols); + if (error) + throw_std_bad_alloc(); + } +}; + +template +struct conservative_resize_like_impl; + +template struct matrix_swap_impl; + +} // end namespace internal + +#ifdef EIGEN_PARSED_BY_DOXYGEN +namespace doxygen { + +// This is a workaround to doxygen not being able to understand the inheritance logic +// when it is hidden by the dense_xpr_base helper struct. +// Moreover, doxygen fails to include members that are not documented in the declaration body of +// MatrixBase if we inherits MatrixBase >, +// this is why we simply inherits MatrixBase, though this does not make sense. + +/** This class is just a workaround for Doxygen and it does not not actually exist. */ +template struct dense_xpr_base_dispatcher; +/** This class is just a workaround for Doxygen and it does not not actually exist. */ +template +struct dense_xpr_base_dispatcher > + : public MatrixBase {}; +/** This class is just a workaround for Doxygen and it does not not actually exist. */ +template +struct dense_xpr_base_dispatcher > + : public ArrayBase {}; + +} // namespace doxygen + +/** \class PlainObjectBase + * \ingroup Core_Module + * \brief %Dense storage base class for matrices and arrays. + * + * This class can be extended with the help of the plugin mechanism described on the page + * \ref TopicCustomizing_Plugins by defining the preprocessor symbol \c EIGEN_PLAINOBJECTBASE_PLUGIN. + * + * \tparam Derived is the derived type, e.g., a Matrix or Array + * + * \sa \ref TopicClassHierarchy + */ +template +class PlainObjectBase : public doxygen::dense_xpr_base_dispatcher +#else +template +class PlainObjectBase : public internal::dense_xpr_base::type +#endif +{ + public: + enum { Options = internal::traits::Options }; + typedef typename internal::dense_xpr_base::type Base; + + typedef typename internal::traits::StorageKind StorageKind; + typedef typename internal::traits::Scalar Scalar; + + typedef typename internal::packet_traits::type PacketScalar; + typedef typename NumTraits::Real RealScalar; + typedef Derived DenseType; + + using Base::RowsAtCompileTime; + using Base::ColsAtCompileTime; + using Base::SizeAtCompileTime; + using Base::MaxRowsAtCompileTime; + using Base::MaxColsAtCompileTime; + using Base::MaxSizeAtCompileTime; + using Base::IsVectorAtCompileTime; + using Base::Flags; + + typedef Eigen::Map MapType; + typedef const Eigen::Map ConstMapType; + typedef Eigen::Map AlignedMapType; + typedef const Eigen::Map ConstAlignedMapType; + template struct StridedMapType { typedef Eigen::Map type; }; + template struct StridedConstMapType { typedef Eigen::Map type; }; + template struct StridedAlignedMapType { typedef Eigen::Map type; }; + template struct StridedConstAlignedMapType { typedef Eigen::Map type; }; + + protected: + DenseStorage m_storage; + + public: + enum { NeedsToAlign = (SizeAtCompileTime != Dynamic) && (internal::traits::Alignment>0) }; + EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign) + + EIGEN_DEVICE_FUNC + Base& base() { return *static_cast(this); } + EIGEN_DEVICE_FUNC + const Base& base() const { return *static_cast(this); } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rows() const EIGEN_NOEXCEPT { return m_storage.rows(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index cols() const EIGEN_NOEXCEPT { return m_storage.cols(); } + + /** This is an overloaded version of DenseCoeffsBase::coeff(Index,Index) const + * provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts. + * + * See DenseCoeffsBase::coeff(Index) const for details. */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE const Scalar& coeff(Index rowId, Index colId) const + { + if(Flags & RowMajorBit) + return m_storage.data()[colId + rowId * m_storage.cols()]; + else // column-major + return m_storage.data()[rowId + colId * m_storage.rows()]; + } + + /** This is an overloaded version of DenseCoeffsBase::coeff(Index) const + * provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts. + * + * See DenseCoeffsBase::coeff(Index) const for details. */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE const Scalar& coeff(Index index) const + { + return m_storage.data()[index]; + } + + /** This is an overloaded version of DenseCoeffsBase::coeffRef(Index,Index) const + * provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts. + * + * See DenseCoeffsBase::coeffRef(Index,Index) const for details. */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& coeffRef(Index rowId, Index colId) + { + if(Flags & RowMajorBit) + return m_storage.data()[colId + rowId * m_storage.cols()]; + else // column-major + return m_storage.data()[rowId + colId * m_storage.rows()]; + } + + /** This is an overloaded version of DenseCoeffsBase::coeffRef(Index) const + * provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts. + * + * See DenseCoeffsBase::coeffRef(Index) const for details. */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Scalar& coeffRef(Index index) + { + return m_storage.data()[index]; + } + + /** This is the const version of coeffRef(Index,Index) which is thus synonym of coeff(Index,Index). + * It is provided for convenience. */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE const Scalar& coeffRef(Index rowId, Index colId) const + { + if(Flags & RowMajorBit) + return m_storage.data()[colId + rowId * m_storage.cols()]; + else // column-major + return m_storage.data()[rowId + colId * m_storage.rows()]; + } + + /** This is the const version of coeffRef(Index) which is thus synonym of coeff(Index). + * It is provided for convenience. */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE const Scalar& coeffRef(Index index) const + { + return m_storage.data()[index]; + } + + /** \internal */ + template + EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const + { + return internal::ploadt + (m_storage.data() + (Flags & RowMajorBit + ? colId + rowId * m_storage.cols() + : rowId + colId * m_storage.rows())); + } + + /** \internal */ + template + EIGEN_STRONG_INLINE PacketScalar packet(Index index) const + { + return internal::ploadt(m_storage.data() + index); + } + + /** \internal */ + template + EIGEN_STRONG_INLINE void writePacket(Index rowId, Index colId, const PacketScalar& val) + { + internal::pstoret + (m_storage.data() + (Flags & RowMajorBit + ? colId + rowId * m_storage.cols() + : rowId + colId * m_storage.rows()), val); + } + + /** \internal */ + template + EIGEN_STRONG_INLINE void writePacket(Index index, const PacketScalar& val) + { + internal::pstoret(m_storage.data() + index, val); + } + + /** \returns a const pointer to the data array of this matrix */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar *data() const + { return m_storage.data(); } + + /** \returns a pointer to the data array of this matrix */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar *data() + { return m_storage.data(); } + + /** Resizes \c *this to a \a rows x \a cols matrix. + * + * This method is intended for dynamic-size matrices, although it is legal to call it on any + * matrix as long as fixed dimensions are left unchanged. If you only want to change the number + * of rows and/or of columns, you can use resize(NoChange_t, Index), resize(Index, NoChange_t). + * + * If the current number of coefficients of \c *this exactly matches the + * product \a rows * \a cols, then no memory allocation is performed and + * the current values are left unchanged. In all other cases, including + * shrinking, the data is reallocated and all previous values are lost. + * + * Example: \include Matrix_resize_int_int.cpp + * Output: \verbinclude Matrix_resize_int_int.out + * + * \sa resize(Index) for vectors, resize(NoChange_t, Index), resize(Index, NoChange_t) + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void resize(Index rows, Index cols) + { + eigen_assert( EIGEN_IMPLIES(RowsAtCompileTime!=Dynamic,rows==RowsAtCompileTime) + && EIGEN_IMPLIES(ColsAtCompileTime!=Dynamic,cols==ColsAtCompileTime) + && EIGEN_IMPLIES(RowsAtCompileTime==Dynamic && MaxRowsAtCompileTime!=Dynamic,rows<=MaxRowsAtCompileTime) + && EIGEN_IMPLIES(ColsAtCompileTime==Dynamic && MaxColsAtCompileTime!=Dynamic,cols<=MaxColsAtCompileTime) + && rows>=0 && cols>=0 && "Invalid sizes when resizing a matrix or array."); + internal::check_rows_cols_for_overflow::run(rows, cols); + #ifdef EIGEN_INITIALIZE_COEFFS + Index size = rows*cols; + bool size_changed = size != this->size(); + m_storage.resize(size, rows, cols); + if(size_changed) EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + #else + m_storage.resize(rows*cols, rows, cols); + #endif + } + + /** Resizes \c *this to a vector of length \a size + * + * \only_for_vectors. This method does not work for + * partially dynamic matrices when the static dimension is anything other + * than 1. For example it will not work with Matrix. + * + * Example: \include Matrix_resize_int.cpp + * Output: \verbinclude Matrix_resize_int.out + * + * \sa resize(Index,Index), resize(NoChange_t, Index), resize(Index, NoChange_t) + */ + EIGEN_DEVICE_FUNC + inline void resize(Index size) + { + EIGEN_STATIC_ASSERT_VECTOR_ONLY(PlainObjectBase) + eigen_assert(((SizeAtCompileTime == Dynamic && (MaxSizeAtCompileTime==Dynamic || size<=MaxSizeAtCompileTime)) || SizeAtCompileTime == size) && size>=0); + #ifdef EIGEN_INITIALIZE_COEFFS + bool size_changed = size != this->size(); + #endif + if(RowsAtCompileTime == 1) + m_storage.resize(size, 1, size); + else + m_storage.resize(size, size, 1); + #ifdef EIGEN_INITIALIZE_COEFFS + if(size_changed) EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + #endif + } + + /** Resizes the matrix, changing only the number of columns. For the parameter of type NoChange_t, just pass the special value \c NoChange + * as in the example below. + * + * Example: \include Matrix_resize_NoChange_int.cpp + * Output: \verbinclude Matrix_resize_NoChange_int.out + * + * \sa resize(Index,Index) + */ + EIGEN_DEVICE_FUNC + inline void resize(NoChange_t, Index cols) + { + resize(rows(), cols); + } + + /** Resizes the matrix, changing only the number of rows. For the parameter of type NoChange_t, just pass the special value \c NoChange + * as in the example below. + * + * Example: \include Matrix_resize_int_NoChange.cpp + * Output: \verbinclude Matrix_resize_int_NoChange.out + * + * \sa resize(Index,Index) + */ + EIGEN_DEVICE_FUNC + inline void resize(Index rows, NoChange_t) + { + resize(rows, cols()); + } + + /** Resizes \c *this to have the same dimensions as \a other. + * Takes care of doing all the checking that's needed. + * + * Note that copying a row-vector into a vector (and conversely) is allowed. + * The resizing, if any, is then done in the appropriate way so that row-vectors + * remain row-vectors and vectors remain vectors. + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void resizeLike(const EigenBase& _other) + { + const OtherDerived& other = _other.derived(); + internal::check_rows_cols_for_overflow::run(other.rows(), other.cols()); + const Index othersize = other.rows()*other.cols(); + if(RowsAtCompileTime == 1) + { + eigen_assert(other.rows() == 1 || other.cols() == 1); + resize(1, othersize); + } + else if(ColsAtCompileTime == 1) + { + eigen_assert(other.rows() == 1 || other.cols() == 1); + resize(othersize, 1); + } + else resize(other.rows(), other.cols()); + } + + /** Resizes the matrix to \a rows x \a cols while leaving old values untouched. + * + * The method is intended for matrices of dynamic size. If you only want to change the number + * of rows and/or of columns, you can use conservativeResize(NoChange_t, Index) or + * conservativeResize(Index, NoChange_t). + * + * Matrices are resized relative to the top-left element. In case values need to be + * appended to the matrix they will be uninitialized. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void conservativeResize(Index rows, Index cols) + { + internal::conservative_resize_like_impl::run(*this, rows, cols); + } + + /** Resizes the matrix to \a rows x \a cols while leaving old values untouched. + * + * As opposed to conservativeResize(Index rows, Index cols), this version leaves + * the number of columns unchanged. + * + * In case the matrix is growing, new rows will be uninitialized. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void conservativeResize(Index rows, NoChange_t) + { + // Note: see the comment in conservativeResize(Index,Index) + conservativeResize(rows, cols()); + } + + /** Resizes the matrix to \a rows x \a cols while leaving old values untouched. + * + * As opposed to conservativeResize(Index rows, Index cols), this version leaves + * the number of rows unchanged. + * + * In case the matrix is growing, new columns will be uninitialized. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void conservativeResize(NoChange_t, Index cols) + { + // Note: see the comment in conservativeResize(Index,Index) + conservativeResize(rows(), cols); + } + + /** Resizes the vector to \a size while retaining old values. + * + * \only_for_vectors. This method does not work for + * partially dynamic matrices when the static dimension is anything other + * than 1. For example it will not work with Matrix. + * + * When values are appended, they will be uninitialized. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void conservativeResize(Index size) + { + internal::conservative_resize_like_impl::run(*this, size); + } + + /** Resizes the matrix to \a rows x \a cols of \c other, while leaving old values untouched. + * + * The method is intended for matrices of dynamic size. If you only want to change the number + * of rows and/or of columns, you can use conservativeResize(NoChange_t, Index) or + * conservativeResize(Index, NoChange_t). + * + * Matrices are resized relative to the top-left element. In case values need to be + * appended to the matrix they will copied from \c other. + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void conservativeResizeLike(const DenseBase& other) + { + internal::conservative_resize_like_impl::run(*this, other); + } + + /** This is a special case of the templated operator=. Its purpose is to + * prevent a default operator= from hiding the templated operator=. + */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Derived& operator=(const PlainObjectBase& other) + { + return _set(other); + } + + /** \sa MatrixBase::lazyAssign() */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Derived& lazyAssign(const DenseBase& other) + { + _resize_to_match(other); + return Base::lazyAssign(other.derived()); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Derived& operator=(const ReturnByValue& func) + { + resize(func.rows(), func.cols()); + return Base::operator=(func); + } + + // Prevent user from trying to instantiate PlainObjectBase objects + // by making all its constructor protected. See bug 1074. + protected: + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE PlainObjectBase() : m_storage() + { +// _check_template_params(); +// EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + } + +#ifndef EIGEN_PARSED_BY_DOXYGEN + // FIXME is it still needed ? + /** \internal */ + EIGEN_DEVICE_FUNC + explicit PlainObjectBase(internal::constructor_without_unaligned_array_assert) + : m_storage(internal::constructor_without_unaligned_array_assert()) + { +// _check_template_params(); EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + } +#endif + +#if EIGEN_HAS_RVALUE_REFERENCES + EIGEN_DEVICE_FUNC + PlainObjectBase(PlainObjectBase&& other) EIGEN_NOEXCEPT + : m_storage( std::move(other.m_storage) ) + { + } + + EIGEN_DEVICE_FUNC + PlainObjectBase& operator=(PlainObjectBase&& other) EIGEN_NOEXCEPT + { + _check_template_params(); + m_storage = std::move(other.m_storage); + return *this; + } +#endif + + /** Copy constructor */ + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE PlainObjectBase(const PlainObjectBase& other) + : Base(), m_storage(other.m_storage) { } + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE PlainObjectBase(Index size, Index rows, Index cols) + : m_storage(size, rows, cols) + { +// _check_template_params(); +// EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED + } + + #if EIGEN_HAS_CXX11 + /** \brief Construct a row of column vector with fixed size from an arbitrary number of coefficients. \cpp11 + * + * \only_for_vectors + * + * This constructor is for 1D array or vectors with more than 4 coefficients. + * There exists C++98 analogue constructors for fixed-size array/vector having 1, 2, 3, or 4 coefficients. + * + * \warning To construct a column (resp. row) vector of fixed length, the number of values passed to this + * constructor must match the the fixed number of rows (resp. columns) of \c *this. + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + PlainObjectBase(const Scalar& a0, const Scalar& a1, const Scalar& a2, const Scalar& a3, const ArgTypes&... args) + : m_storage() + { + _check_template_params(); + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(PlainObjectBase, sizeof...(args) + 4); + m_storage.data()[0] = a0; + m_storage.data()[1] = a1; + m_storage.data()[2] = a2; + m_storage.data()[3] = a3; + Index i = 4; + auto x = {(m_storage.data()[i++] = args, 0)...}; + static_cast(x); + } + + /** \brief Constructs a Matrix or Array and initializes it by elements given by an initializer list of initializer + * lists \cpp11 + */ + EIGEN_DEVICE_FUNC + explicit EIGEN_STRONG_INLINE PlainObjectBase(const std::initializer_list>& list) + : m_storage() + { + _check_template_params(); + + size_t list_size = 0; + if (list.begin() != list.end()) { + list_size = list.begin()->size(); + } + + // This is to allow syntax like VectorXi {{1, 2, 3, 4}} + if (ColsAtCompileTime == 1 && list.size() == 1) { + eigen_assert(list_size == static_cast(RowsAtCompileTime) || RowsAtCompileTime == Dynamic); + resize(list_size, ColsAtCompileTime); + std::copy(list.begin()->begin(), list.begin()->end(), m_storage.data()); + } else { + eigen_assert(list.size() == static_cast(RowsAtCompileTime) || RowsAtCompileTime == Dynamic); + eigen_assert(list_size == static_cast(ColsAtCompileTime) || ColsAtCompileTime == Dynamic); + resize(list.size(), list_size); + + Index row_index = 0; + for (const std::initializer_list& row : list) { + eigen_assert(list_size == row.size()); + Index col_index = 0; + for (const Scalar& e : row) { + coeffRef(row_index, col_index) = e; + ++col_index; + } + ++row_index; + } + } + } + #endif // end EIGEN_HAS_CXX11 + + /** \sa PlainObjectBase::operator=(const EigenBase&) */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE PlainObjectBase(const DenseBase &other) + : m_storage() + { + _check_template_params(); + resizeLike(other); + _set_noalias(other); + } + + /** \sa PlainObjectBase::operator=(const EigenBase&) */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE PlainObjectBase(const EigenBase &other) + : m_storage() + { + _check_template_params(); + resizeLike(other); + *this = other.derived(); + } + /** \brief Copy constructor with in-place evaluation */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE PlainObjectBase(const ReturnByValue& other) + { + _check_template_params(); + // FIXME this does not automatically transpose vectors if necessary + resize(other.rows(), other.cols()); + other.evalTo(this->derived()); + } + + public: + + /** \brief Copies the generic expression \a other into *this. + * \copydetails DenseBase::operator=(const EigenBase &other) + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Derived& operator=(const EigenBase &other) + { + _resize_to_match(other); + Base::operator=(other.derived()); + return this->derived(); + } + + /** \name Map + * These are convenience functions returning Map objects. The Map() static functions return unaligned Map objects, + * while the AlignedMap() functions return aligned Map objects and thus should be called only with 16-byte-aligned + * \a data pointers. + * + * Here is an example using strides: + * \include Matrix_Map_stride.cpp + * Output: \verbinclude Matrix_Map_stride.out + * + * \see class Map + */ + //@{ + static inline ConstMapType Map(const Scalar* data) + { return ConstMapType(data); } + static inline MapType Map(Scalar* data) + { return MapType(data); } + static inline ConstMapType Map(const Scalar* data, Index size) + { return ConstMapType(data, size); } + static inline MapType Map(Scalar* data, Index size) + { return MapType(data, size); } + static inline ConstMapType Map(const Scalar* data, Index rows, Index cols) + { return ConstMapType(data, rows, cols); } + static inline MapType Map(Scalar* data, Index rows, Index cols) + { return MapType(data, rows, cols); } + + static inline ConstAlignedMapType MapAligned(const Scalar* data) + { return ConstAlignedMapType(data); } + static inline AlignedMapType MapAligned(Scalar* data) + { return AlignedMapType(data); } + static inline ConstAlignedMapType MapAligned(const Scalar* data, Index size) + { return ConstAlignedMapType(data, size); } + static inline AlignedMapType MapAligned(Scalar* data, Index size) + { return AlignedMapType(data, size); } + static inline ConstAlignedMapType MapAligned(const Scalar* data, Index rows, Index cols) + { return ConstAlignedMapType(data, rows, cols); } + static inline AlignedMapType MapAligned(Scalar* data, Index rows, Index cols) + { return AlignedMapType(data, rows, cols); } + + template + static inline typename StridedConstMapType >::type Map(const Scalar* data, const Stride& stride) + { return typename StridedConstMapType >::type(data, stride); } + template + static inline typename StridedMapType >::type Map(Scalar* data, const Stride& stride) + { return typename StridedMapType >::type(data, stride); } + template + static inline typename StridedConstMapType >::type Map(const Scalar* data, Index size, const Stride& stride) + { return typename StridedConstMapType >::type(data, size, stride); } + template + static inline typename StridedMapType >::type Map(Scalar* data, Index size, const Stride& stride) + { return typename StridedMapType >::type(data, size, stride); } + template + static inline typename StridedConstMapType >::type Map(const Scalar* data, Index rows, Index cols, const Stride& stride) + { return typename StridedConstMapType >::type(data, rows, cols, stride); } + template + static inline typename StridedMapType >::type Map(Scalar* data, Index rows, Index cols, const Stride& stride) + { return typename StridedMapType >::type(data, rows, cols, stride); } + + template + static inline typename StridedConstAlignedMapType >::type MapAligned(const Scalar* data, const Stride& stride) + { return typename StridedConstAlignedMapType >::type(data, stride); } + template + static inline typename StridedAlignedMapType >::type MapAligned(Scalar* data, const Stride& stride) + { return typename StridedAlignedMapType >::type(data, stride); } + template + static inline typename StridedConstAlignedMapType >::type MapAligned(const Scalar* data, Index size, const Stride& stride) + { return typename StridedConstAlignedMapType >::type(data, size, stride); } + template + static inline typename StridedAlignedMapType >::type MapAligned(Scalar* data, Index size, const Stride& stride) + { return typename StridedAlignedMapType >::type(data, size, stride); } + template + static inline typename StridedConstAlignedMapType >::type MapAligned(const Scalar* data, Index rows, Index cols, const Stride& stride) + { return typename StridedConstAlignedMapType >::type(data, rows, cols, stride); } + template + static inline typename StridedAlignedMapType >::type MapAligned(Scalar* data, Index rows, Index cols, const Stride& stride) + { return typename StridedAlignedMapType >::type(data, rows, cols, stride); } + //@} + + using Base::setConstant; + EIGEN_DEVICE_FUNC Derived& setConstant(Index size, const Scalar& val); + EIGEN_DEVICE_FUNC Derived& setConstant(Index rows, Index cols, const Scalar& val); + EIGEN_DEVICE_FUNC Derived& setConstant(NoChange_t, Index cols, const Scalar& val); + EIGEN_DEVICE_FUNC Derived& setConstant(Index rows, NoChange_t, const Scalar& val); + + using Base::setZero; + EIGEN_DEVICE_FUNC Derived& setZero(Index size); + EIGEN_DEVICE_FUNC Derived& setZero(Index rows, Index cols); + EIGEN_DEVICE_FUNC Derived& setZero(NoChange_t, Index cols); + EIGEN_DEVICE_FUNC Derived& setZero(Index rows, NoChange_t); + + using Base::setOnes; + EIGEN_DEVICE_FUNC Derived& setOnes(Index size); + EIGEN_DEVICE_FUNC Derived& setOnes(Index rows, Index cols); + EIGEN_DEVICE_FUNC Derived& setOnes(NoChange_t, Index cols); + EIGEN_DEVICE_FUNC Derived& setOnes(Index rows, NoChange_t); + + using Base::setRandom; + Derived& setRandom(Index size); + Derived& setRandom(Index rows, Index cols); + Derived& setRandom(NoChange_t, Index cols); + Derived& setRandom(Index rows, NoChange_t); + + #ifdef EIGEN_PLAINOBJECTBASE_PLUGIN + #include EIGEN_PLAINOBJECTBASE_PLUGIN + #endif + + protected: + /** \internal Resizes *this in preparation for assigning \a other to it. + * Takes care of doing all the checking that's needed. + * + * Note that copying a row-vector into a vector (and conversely) is allowed. + * The resizing, if any, is then done in the appropriate way so that row-vectors + * remain row-vectors and vectors remain vectors. + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _resize_to_match(const EigenBase& other) + { + #ifdef EIGEN_NO_AUTOMATIC_RESIZING + eigen_assert((this->size()==0 || (IsVectorAtCompileTime ? (this->size() == other.size()) + : (rows() == other.rows() && cols() == other.cols()))) + && "Size mismatch. Automatic resizing is disabled because EIGEN_NO_AUTOMATIC_RESIZING is defined"); + EIGEN_ONLY_USED_FOR_DEBUG(other); + #else + resizeLike(other); + #endif + } + + /** + * \brief Copies the value of the expression \a other into \c *this with automatic resizing. + * + * *this might be resized to match the dimensions of \a other. If *this was a null matrix (not already initialized), + * it will be initialized. + * + * Note that copying a row-vector into a vector (and conversely) is allowed. + * The resizing, if any, is then done in the appropriate way so that row-vectors + * remain row-vectors and vectors remain vectors. + * + * \sa operator=(const MatrixBase&), _set_noalias() + * + * \internal + */ + // aliasing is dealt once in internal::call_assignment + // so at this stage we have to assume aliasing... and resising has to be done later. + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Derived& _set(const DenseBase& other) + { + internal::call_assignment(this->derived(), other.derived()); + return this->derived(); + } + + /** \internal Like _set() but additionally makes the assumption that no aliasing effect can happen (which + * is the case when creating a new matrix) so one can enforce lazy evaluation. + * + * \sa operator=(const MatrixBase&), _set() + */ + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE Derived& _set_noalias(const DenseBase& other) + { + // I don't think we need this resize call since the lazyAssign will anyways resize + // and lazyAssign will be called by the assign selector. + //_resize_to_match(other); + // the 'false' below means to enforce lazy evaluation. We don't use lazyAssign() because + // it wouldn't allow to copy a row-vector into a column-vector. + internal::call_assignment_no_alias(this->derived(), other.derived(), internal::assign_op()); + return this->derived(); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init2(Index rows, Index cols, typename internal::enable_if::type* = 0) + { + const bool t0_is_integer_alike = internal::is_valid_index_type::value; + const bool t1_is_integer_alike = internal::is_valid_index_type::value; + EIGEN_STATIC_ASSERT(t0_is_integer_alike && + t1_is_integer_alike, + FLOATING_POINT_ARGUMENT_PASSED__INTEGER_WAS_EXPECTED) + resize(rows,cols); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init2(const T0& val0, const T1& val1, typename internal::enable_if::type* = 0) + { + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(PlainObjectBase, 2) + m_storage.data()[0] = Scalar(val0); + m_storage.data()[1] = Scalar(val1); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init2(const Index& val0, const Index& val1, + typename internal::enable_if< (!internal::is_same::value) + && (internal::is_same::value) + && (internal::is_same::value) + && Base::SizeAtCompileTime==2,T1>::type* = 0) + { + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(PlainObjectBase, 2) + m_storage.data()[0] = Scalar(val0); + m_storage.data()[1] = Scalar(val1); + } + + // The argument is convertible to the Index type and we either have a non 1x1 Matrix, or a dynamic-sized Array, + // then the argument is meant to be the size of the object. + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(Index size, typename internal::enable_if< (Base::SizeAtCompileTime!=1 || !internal::is_convertible::value) + && ((!internal::is_same::XprKind,ArrayXpr>::value || Base::SizeAtCompileTime==Dynamic)),T>::type* = 0) + { + // NOTE MSVC 2008 complains if we directly put bool(NumTraits::IsInteger) as the EIGEN_STATIC_ASSERT argument. + const bool is_integer_alike = internal::is_valid_index_type::value; + EIGEN_UNUSED_VARIABLE(is_integer_alike); + EIGEN_STATIC_ASSERT(is_integer_alike, + FLOATING_POINT_ARGUMENT_PASSED__INTEGER_WAS_EXPECTED) + resize(size); + } + + // We have a 1x1 matrix/array => the argument is interpreted as the value of the unique coefficient (case where scalar type can be implicitly converted) + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const Scalar& val0, typename internal::enable_if::value,T>::type* = 0) + { + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(PlainObjectBase, 1) + m_storage.data()[0] = val0; + } + + // We have a 1x1 matrix/array => the argument is interpreted as the value of the unique coefficient (case where scalar type match the index type) + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const Index& val0, + typename internal::enable_if< (!internal::is_same::value) + && (internal::is_same::value) + && Base::SizeAtCompileTime==1 + && internal::is_convertible::value,T*>::type* = 0) + { + EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(PlainObjectBase, 1) + m_storage.data()[0] = Scalar(val0); + } + + // Initialize a fixed size matrix from a pointer to raw data + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const Scalar* data){ + this->_set_noalias(ConstMapType(data)); + } + + // Initialize an arbitrary matrix from a dense expression + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const DenseBase& other){ + this->_set_noalias(other); + } + + // Initialize an arbitrary matrix from an object convertible to the Derived type. + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const Derived& other){ + this->_set_noalias(other); + } + + // Initialize an arbitrary matrix from a generic Eigen expression + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const EigenBase& other){ + this->derived() = other; + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const ReturnByValue& other) + { + resize(other.rows(), other.cols()); + other.evalTo(this->derived()); + } + + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const RotationBase& r) + { + this->derived() = r; + } + + // For fixed-size Array + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const Scalar& val0, + typename internal::enable_if< Base::SizeAtCompileTime!=Dynamic + && Base::SizeAtCompileTime!=1 + && internal::is_convertible::value + && internal::is_same::XprKind,ArrayXpr>::value,T>::type* = 0) + { + Base::setConstant(val0); + } + + // For fixed-size Array + template + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE void _init1(const Index& val0, + typename internal::enable_if< (!internal::is_same::value) + && (internal::is_same::value) + && Base::SizeAtCompileTime!=Dynamic + && Base::SizeAtCompileTime!=1 + && internal::is_convertible::value + && internal::is_same::XprKind,ArrayXpr>::value,T*>::type* = 0) + { + Base::setConstant(val0); + } + + template + friend struct internal::matrix_swap_impl; + + public: + +#ifndef EIGEN_PARSED_BY_DOXYGEN + /** \internal + * \brief Override DenseBase::swap() since for dynamic-sized matrices + * of same type it is enough to swap the data pointers. + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void swap(DenseBase & other) + { + enum { SwapPointers = internal::is_same::value && Base::SizeAtCompileTime==Dynamic }; + internal::matrix_swap_impl::run(this->derived(), other.derived()); + } + + /** \internal + * \brief const version forwarded to DenseBase::swap + */ + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void swap(DenseBase const & other) + { Base::swap(other.derived()); } + + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE void _check_template_params() + { + EIGEN_STATIC_ASSERT((EIGEN_IMPLIES(MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1, (int(Options)&RowMajor)==RowMajor) + && EIGEN_IMPLIES(MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1, (int(Options)&RowMajor)==0) + && ((RowsAtCompileTime == Dynamic) || (RowsAtCompileTime >= 0)) + && ((ColsAtCompileTime == Dynamic) || (ColsAtCompileTime >= 0)) + && ((MaxRowsAtCompileTime == Dynamic) || (MaxRowsAtCompileTime >= 0)) + && ((MaxColsAtCompileTime == Dynamic) || (MaxColsAtCompileTime >= 0)) + && (MaxRowsAtCompileTime == RowsAtCompileTime || RowsAtCompileTime==Dynamic) + && (MaxColsAtCompileTime == ColsAtCompileTime || ColsAtCompileTime==Dynamic) + && (Options & (DontAlign|RowMajor)) == Options), + INVALID_MATRIX_TEMPLATE_PARAMETERS) + } + + enum { IsPlainObjectBase = 1 }; +#endif + public: + // These apparently need to be down here for nvcc+icc to prevent duplicate + // Map symbol. + template friend class Eigen::Map; + friend class Eigen::Map; + friend class Eigen::Map; +#if EIGEN_MAX_ALIGN_BYTES>0 + // for EIGEN_MAX_ALIGN_BYTES==0, AlignedMax==Unaligned, and many compilers generate warnings for friend-ing a class twice. + friend class Eigen::Map; + friend class Eigen::Map; +#endif +}; + +namespace internal { + +template +struct conservative_resize_like_impl +{ + #if EIGEN_HAS_TYPE_TRAITS + static const bool IsRelocatable = std::is_trivially_copyable::value; + #else + static const bool IsRelocatable = !NumTraits::RequireInitialization; + #endif + static void run(DenseBase& _this, Index rows, Index cols) + { + if (_this.rows() == rows && _this.cols() == cols) return; + EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(Derived) + + if ( IsRelocatable + && (( Derived::IsRowMajor && _this.cols() == cols) || // row-major and we change only the number of rows + (!Derived::IsRowMajor && _this.rows() == rows) )) // column-major and we change only the number of columns + { + internal::check_rows_cols_for_overflow::run(rows, cols); + _this.derived().m_storage.conservativeResize(rows*cols,rows,cols); + } + else + { + // The storage order does not allow us to use reallocation. + Derived tmp(rows,cols); + const Index common_rows = numext::mini(rows, _this.rows()); + const Index common_cols = numext::mini(cols, _this.cols()); + tmp.block(0,0,common_rows,common_cols) = _this.block(0,0,common_rows,common_cols); + _this.derived().swap(tmp); + } + } + + static void run(DenseBase& _this, const DenseBase& other) + { + if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + + // Note: Here is space for improvement. Basically, for conservativeResize(Index,Index), + // neither RowsAtCompileTime or ColsAtCompileTime must be Dynamic. If only one of the + // dimensions is dynamic, one could use either conservativeResize(Index rows, NoChange_t) or + // conservativeResize(NoChange_t, Index cols). For these methods new static asserts like + // EIGEN_STATIC_ASSERT_DYNAMIC_ROWS and EIGEN_STATIC_ASSERT_DYNAMIC_COLS would be good. + EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(Derived) + EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(OtherDerived) + + if ( IsRelocatable && + (( Derived::IsRowMajor && _this.cols() == other.cols()) || // row-major and we change only the number of rows + (!Derived::IsRowMajor && _this.rows() == other.rows()) )) // column-major and we change only the number of columns + { + const Index new_rows = other.rows() - _this.rows(); + const Index new_cols = other.cols() - _this.cols(); + _this.derived().m_storage.conservativeResize(other.size(),other.rows(),other.cols()); + if (new_rows>0) + _this.bottomRightCorner(new_rows, other.cols()) = other.bottomRows(new_rows); + else if (new_cols>0) + _this.bottomRightCorner(other.rows(), new_cols) = other.rightCols(new_cols); + } + else + { + // The storage order does not allow us to use reallocation. + Derived tmp(other); + const Index common_rows = numext::mini(tmp.rows(), _this.rows()); + const Index common_cols = numext::mini(tmp.cols(), _this.cols()); + tmp.block(0,0,common_rows,common_cols) = _this.block(0,0,common_rows,common_cols); + _this.derived().swap(tmp); + } + } +}; + +// Here, the specialization for vectors inherits from the general matrix case +// to allow calling .conservativeResize(rows,cols) on vectors. +template +struct conservative_resize_like_impl + : conservative_resize_like_impl +{ + typedef conservative_resize_like_impl Base; + using Base::run; + using Base::IsRelocatable; + + static void run(DenseBase& _this, Index size) + { + const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : size; + const Index new_cols = Derived::RowsAtCompileTime==1 ? size : 1; + if(IsRelocatable) + _this.derived().m_storage.conservativeResize(size,new_rows,new_cols); + else + Base::run(_this.derived(), new_rows, new_cols); + } + + static void run(DenseBase& _this, const DenseBase& other) + { + if (_this.rows() == other.rows() && _this.cols() == other.cols()) return; + + const Index num_new_elements = other.size() - _this.size(); + + const Index new_rows = Derived::RowsAtCompileTime==1 ? 1 : other.rows(); + const Index new_cols = Derived::RowsAtCompileTime==1 ? other.cols() : 1; + if(IsRelocatable) + _this.derived().m_storage.conservativeResize(other.size(),new_rows,new_cols); + else + Base::run(_this.derived(), new_rows, new_cols); + + if (num_new_elements > 0) + _this.tail(num_new_elements) = other.tail(num_new_elements); + } +}; + +template +struct matrix_swap_impl +{ + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE void run(MatrixTypeA& a, MatrixTypeB& b) + { + a.base().swap(b); + } +}; + +template +struct matrix_swap_impl +{ + EIGEN_DEVICE_FUNC + static inline void run(MatrixTypeA& a, MatrixTypeB& b) + { + static_cast(a).m_storage.swap(static_cast(b).m_storage); + } +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_DENSESTORAGEBASE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Product.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Product.h new file mode 100644 index 0000000..70a6c10 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Product.h @@ -0,0 +1,191 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2011 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_PRODUCT_H +#define EIGEN_PRODUCT_H + +namespace Eigen { + +template class ProductImpl; + +namespace internal { + +template +struct traits > +{ + typedef typename remove_all::type LhsCleaned; + typedef typename remove_all::type RhsCleaned; + typedef traits LhsTraits; + typedef traits RhsTraits; + + typedef MatrixXpr XprKind; + + typedef typename ScalarBinaryOpTraits::Scalar, typename traits::Scalar>::ReturnType Scalar; + typedef typename product_promote_storage_type::ret>::ret StorageKind; + typedef typename promote_index_type::type StorageIndex; + + enum { + RowsAtCompileTime = LhsTraits::RowsAtCompileTime, + ColsAtCompileTime = RhsTraits::ColsAtCompileTime, + MaxRowsAtCompileTime = LhsTraits::MaxRowsAtCompileTime, + MaxColsAtCompileTime = RhsTraits::MaxColsAtCompileTime, + + // FIXME: only needed by GeneralMatrixMatrixTriangular + InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(LhsTraits::ColsAtCompileTime, RhsTraits::RowsAtCompileTime), + + // The storage order is somewhat arbitrary here. The correct one will be determined through the evaluator. + Flags = (MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1) ? RowMajorBit + : (MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1) ? 0 + : ( ((LhsTraits::Flags&NoPreferredStorageOrderBit) && (RhsTraits::Flags&RowMajorBit)) + || ((RhsTraits::Flags&NoPreferredStorageOrderBit) && (LhsTraits::Flags&RowMajorBit)) ) ? RowMajorBit + : NoPreferredStorageOrderBit + }; +}; + +} // end namespace internal + +/** \class Product + * \ingroup Core_Module + * + * \brief Expression of the product of two arbitrary matrices or vectors + * + * \tparam _Lhs the type of the left-hand side expression + * \tparam _Rhs the type of the right-hand side expression + * + * This class represents an expression of the product of two arbitrary matrices. + * + * The other template parameters are: + * \tparam Option can be DefaultProduct, AliasFreeProduct, or LazyProduct + * + */ +template +class Product : public ProductImpl<_Lhs,_Rhs,Option, + typename internal::product_promote_storage_type::StorageKind, + typename internal::traits<_Rhs>::StorageKind, + internal::product_type<_Lhs,_Rhs>::ret>::ret> +{ + public: + + typedef _Lhs Lhs; + typedef _Rhs Rhs; + + typedef typename ProductImpl< + Lhs, Rhs, Option, + typename internal::product_promote_storage_type::StorageKind, + typename internal::traits::StorageKind, + internal::product_type::ret>::ret>::Base Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(Product) + + typedef typename internal::ref_selector::type LhsNested; + typedef typename internal::ref_selector::type RhsNested; + typedef typename internal::remove_all::type LhsNestedCleaned; + typedef typename internal::remove_all::type RhsNestedCleaned; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + Product(const Lhs& lhs, const Rhs& rhs) : m_lhs(lhs), m_rhs(rhs) + { + eigen_assert(lhs.cols() == rhs.rows() + && "invalid matrix product" + && "if you wanted a coeff-wise or a dot product use the respective explicit functions"); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index rows() const EIGEN_NOEXCEPT { return m_lhs.rows(); } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR + Index cols() const EIGEN_NOEXCEPT { return m_rhs.cols(); } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const LhsNestedCleaned& lhs() const { return m_lhs; } + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const RhsNestedCleaned& rhs() const { return m_rhs; } + + protected: + + LhsNested m_lhs; + RhsNested m_rhs; +}; + +namespace internal { + +template::ret> +class dense_product_base + : public internal::dense_xpr_base >::type +{}; + +/** Conversion to scalar for inner-products */ +template +class dense_product_base + : public internal::dense_xpr_base >::type +{ + typedef Product ProductXpr; + typedef typename internal::dense_xpr_base::type Base; +public: + using Base::derived; + typedef typename Base::Scalar Scalar; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE operator const Scalar() const + { + return internal::evaluator(derived()).coeff(0,0); + } +}; + +} // namespace internal + +// Generic API dispatcher +template +class ProductImpl : public internal::generic_xpr_base, MatrixXpr, StorageKind>::type +{ + public: + typedef typename internal::generic_xpr_base, MatrixXpr, StorageKind>::type Base; +}; + +template +class ProductImpl + : public internal::dense_product_base +{ + typedef Product Derived; + + public: + + typedef typename internal::dense_product_base Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Derived) + protected: + enum { + IsOneByOne = (RowsAtCompileTime == 1 || RowsAtCompileTime == Dynamic) && + (ColsAtCompileTime == 1 || ColsAtCompileTime == Dynamic), + EnableCoeff = IsOneByOne || Option==LazyProduct + }; + + public: + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar coeff(Index row, Index col) const + { + EIGEN_STATIC_ASSERT(EnableCoeff, THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS); + eigen_assert( (Option==LazyProduct) || (this->rows() == 1 && this->cols() == 1) ); + + return internal::evaluator(derived()).coeff(row,col); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar coeff(Index i) const + { + EIGEN_STATIC_ASSERT(EnableCoeff, THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS); + eigen_assert( (Option==LazyProduct) || (this->rows() == 1 && this->cols() == 1) ); + + return internal::evaluator(derived()).coeff(i); + } + + +}; + +} // end namespace Eigen + +#endif // EIGEN_PRODUCT_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ProductEvaluators.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ProductEvaluators.h new file mode 100644 index 0000000..8cf294b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ProductEvaluators.h @@ -0,0 +1,1179 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2008 Benoit Jacob +// Copyright (C) 2008-2010 Gael Guennebaud +// Copyright (C) 2011 Jitse Niesen +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + + +#ifndef EIGEN_PRODUCTEVALUATORS_H +#define EIGEN_PRODUCTEVALUATORS_H + +namespace Eigen { + +namespace internal { + +/** \internal + * Evaluator of a product expression. + * Since products require special treatments to handle all possible cases, + * we simply defer the evaluation logic to a product_evaluator class + * which offers more partial specialization possibilities. + * + * \sa class product_evaluator + */ +template +struct evaluator > + : public product_evaluator > +{ + typedef Product XprType; + typedef product_evaluator Base; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit evaluator(const XprType& xpr) : Base(xpr) {} +}; + +// Catch "scalar * ( A * B )" and transform it to "(A*scalar) * B" +// TODO we should apply that rule only if that's really helpful +template +struct evaluator_assume_aliasing, + const CwiseNullaryOp, Plain1>, + const Product > > +{ + static const bool value = true; +}; +template +struct evaluator, + const CwiseNullaryOp, Plain1>, + const Product > > + : public evaluator > +{ + typedef CwiseBinaryOp, + const CwiseNullaryOp, Plain1>, + const Product > XprType; + typedef evaluator > Base; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit evaluator(const XprType& xpr) + : Base(xpr.lhs().functor().m_other * xpr.rhs().lhs() * xpr.rhs().rhs()) + {} +}; + + +template +struct evaluator, DiagIndex> > + : public evaluator, DiagIndex> > +{ + typedef Diagonal, DiagIndex> XprType; + typedef evaluator, DiagIndex> > Base; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit evaluator(const XprType& xpr) + : Base(Diagonal, DiagIndex>( + Product(xpr.nestedExpression().lhs(), xpr.nestedExpression().rhs()), + xpr.index() )) + {} +}; + + +// Helper class to perform a matrix product with the destination at hand. +// Depending on the sizes of the factors, there are different evaluation strategies +// as controlled by internal::product_type. +template< typename Lhs, typename Rhs, + typename LhsShape = typename evaluator_traits::Shape, + typename RhsShape = typename evaluator_traits::Shape, + int ProductType = internal::product_type::value> +struct generic_product_impl; + +template +struct evaluator_assume_aliasing > { + static const bool value = true; +}; + +// This is the default evaluator implementation for products: +// It creates a temporary and call generic_product_impl +template +struct product_evaluator, ProductTag, LhsShape, RhsShape> + : public evaluator::PlainObject> +{ + typedef Product XprType; + typedef typename XprType::PlainObject PlainObject; + typedef evaluator Base; + enum { + Flags = Base::Flags | EvalBeforeNestingBit + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit product_evaluator(const XprType& xpr) + : m_result(xpr.rows(), xpr.cols()) + { + ::new (static_cast(this)) Base(m_result); + +// FIXME shall we handle nested_eval here?, +// if so, then we must take care at removing the call to nested_eval in the specializations (e.g., in permutation_matrix_product, transposition_matrix_product, etc.) +// typedef typename internal::nested_eval::type LhsNested; +// typedef typename internal::nested_eval::type RhsNested; +// typedef typename internal::remove_all::type LhsNestedCleaned; +// typedef typename internal::remove_all::type RhsNestedCleaned; +// +// const LhsNested lhs(xpr.lhs()); +// const RhsNested rhs(xpr.rhs()); +// +// generic_product_impl::evalTo(m_result, lhs, rhs); + + generic_product_impl::evalTo(m_result, xpr.lhs(), xpr.rhs()); + } + +protected: + PlainObject m_result; +}; + +// The following three shortcuts are enabled only if the scalar types match exactly. +// TODO: we could enable them for different scalar types when the product is not vectorized. + +// Dense = Product +template< typename DstXprType, typename Lhs, typename Rhs, int Options, typename Scalar> +struct Assignment, internal::assign_op, Dense2Dense, + typename enable_if<(Options==DefaultProduct || Options==AliasFreeProduct)>::type> +{ + typedef Product SrcXprType; + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &) + { + Index dstRows = src.rows(); + Index dstCols = src.cols(); + if((dst.rows()!=dstRows) || (dst.cols()!=dstCols)) + dst.resize(dstRows, dstCols); + // FIXME shall we handle nested_eval here? + generic_product_impl::evalTo(dst, src.lhs(), src.rhs()); + } +}; + +// Dense += Product +template< typename DstXprType, typename Lhs, typename Rhs, int Options, typename Scalar> +struct Assignment, internal::add_assign_op, Dense2Dense, + typename enable_if<(Options==DefaultProduct || Options==AliasFreeProduct)>::type> +{ + typedef Product SrcXprType; + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const internal::add_assign_op &) + { + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); + // FIXME shall we handle nested_eval here? + generic_product_impl::addTo(dst, src.lhs(), src.rhs()); + } +}; + +// Dense -= Product +template< typename DstXprType, typename Lhs, typename Rhs, int Options, typename Scalar> +struct Assignment, internal::sub_assign_op, Dense2Dense, + typename enable_if<(Options==DefaultProduct || Options==AliasFreeProduct)>::type> +{ + typedef Product SrcXprType; + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const internal::sub_assign_op &) + { + eigen_assert(dst.rows() == src.rows() && dst.cols() == src.cols()); + // FIXME shall we handle nested_eval here? + generic_product_impl::subTo(dst, src.lhs(), src.rhs()); + } +}; + + +// Dense ?= scalar * Product +// TODO we should apply that rule if that's really helpful +// for instance, this is not good for inner products +template< typename DstXprType, typename Lhs, typename Rhs, typename AssignFunc, typename Scalar, typename ScalarBis, typename Plain> +struct Assignment, const CwiseNullaryOp,Plain>, + const Product >, AssignFunc, Dense2Dense> +{ + typedef CwiseBinaryOp, + const CwiseNullaryOp,Plain>, + const Product > SrcXprType; + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const AssignFunc& func) + { + call_assignment_no_alias(dst, (src.lhs().functor().m_other * src.rhs().lhs())*src.rhs().rhs(), func); + } +}; + +//---------------------------------------- +// Catch "Dense ?= xpr + Product<>" expression to save one temporary +// FIXME we could probably enable these rules for any product, i.e., not only Dense and DefaultProduct + +template +struct evaluator_assume_aliasing::Scalar>, const OtherXpr, + const Product >, DenseShape > { + static const bool value = true; +}; + +template +struct evaluator_assume_aliasing::Scalar>, const OtherXpr, + const Product >, DenseShape > { + static const bool value = true; +}; + +template +struct assignment_from_xpr_op_product +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void run(DstXprType &dst, const SrcXprType &src, const InitialFunc& /*func*/) + { + call_assignment_no_alias(dst, src.lhs(), Func1()); + call_assignment_no_alias(dst, src.rhs(), Func2()); + } +}; + +#define EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(ASSIGN_OP,BINOP,ASSIGN_OP2) \ + template< typename DstXprType, typename OtherXpr, typename Lhs, typename Rhs, typename DstScalar, typename SrcScalar, typename OtherScalar,typename ProdScalar> \ + struct Assignment, const OtherXpr, \ + const Product >, internal::ASSIGN_OP, Dense2Dense> \ + : assignment_from_xpr_op_product, internal::ASSIGN_OP, internal::ASSIGN_OP2 > \ + {} + +EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(assign_op, scalar_sum_op,add_assign_op); +EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(add_assign_op,scalar_sum_op,add_assign_op); +EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(sub_assign_op,scalar_sum_op,sub_assign_op); + +EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(assign_op, scalar_difference_op,sub_assign_op); +EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(add_assign_op,scalar_difference_op,sub_assign_op); +EIGEN_CATCH_ASSIGN_XPR_OP_PRODUCT(sub_assign_op,scalar_difference_op,add_assign_op); + +//---------------------------------------- + +template +struct generic_product_impl +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + dst.coeffRef(0,0) = (lhs.transpose().cwiseProduct(rhs)).sum(); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void addTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + dst.coeffRef(0,0) += (lhs.transpose().cwiseProduct(rhs)).sum(); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void subTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { dst.coeffRef(0,0) -= (lhs.transpose().cwiseProduct(rhs)).sum(); } +}; + + +/*********************************************************************** +* Implementation of outer dense * dense vector product +***********************************************************************/ + +// Column major result +template +void EIGEN_DEVICE_FUNC outer_product_selector_run(Dst& dst, const Lhs &lhs, const Rhs &rhs, const Func& func, const false_type&) +{ + evaluator rhsEval(rhs); + ei_declare_local_nested_eval(Lhs,lhs,Rhs::SizeAtCompileTime,actual_lhs); + // FIXME if cols is large enough, then it might be useful to make sure that lhs is sequentially stored + // FIXME not very good if rhs is real and lhs complex while alpha is real too + const Index cols = dst.cols(); + for (Index j=0; j +void EIGEN_DEVICE_FUNC outer_product_selector_run(Dst& dst, const Lhs &lhs, const Rhs &rhs, const Func& func, const true_type&) +{ + evaluator lhsEval(lhs); + ei_declare_local_nested_eval(Rhs,rhs,Lhs::SizeAtCompileTime,actual_rhs); + // FIXME if rows is large enough, then it might be useful to make sure that rhs is sequentially stored + // FIXME not very good if lhs is real and rhs complex while alpha is real too + const Index rows = dst.rows(); + for (Index i=0; i +struct generic_product_impl +{ + template struct is_row_major : internal::conditional<(int(T::Flags)&RowMajorBit), internal::true_type, internal::false_type>::type {}; + typedef typename Product::Scalar Scalar; + + // TODO it would be nice to be able to exploit our *_assign_op functors for that purpose + struct set { template EIGEN_DEVICE_FUNC void operator()(const Dst& dst, const Src& src) const { dst.const_cast_derived() = src; } }; + struct add { template EIGEN_DEVICE_FUNC void operator()(const Dst& dst, const Src& src) const { dst.const_cast_derived() += src; } }; + struct sub { template EIGEN_DEVICE_FUNC void operator()(const Dst& dst, const Src& src) const { dst.const_cast_derived() -= src; } }; + struct adds { + Scalar m_scale; + explicit adds(const Scalar& s) : m_scale(s) {} + template void EIGEN_DEVICE_FUNC operator()(const Dst& dst, const Src& src) const { + dst.const_cast_derived() += m_scale * src; + } + }; + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + internal::outer_product_selector_run(dst, lhs, rhs, set(), is_row_major()); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void addTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + internal::outer_product_selector_run(dst, lhs, rhs, add(), is_row_major()); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void subTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + internal::outer_product_selector_run(dst, lhs, rhs, sub(), is_row_major()); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void scaleAndAddTo(Dst& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { + internal::outer_product_selector_run(dst, lhs, rhs, adds(alpha), is_row_major()); + } + +}; + + +// This base class provides default implementations for evalTo, addTo, subTo, in terms of scaleAndAddTo +template +struct generic_product_impl_base +{ + typedef typename Product::Scalar Scalar; + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { dst.setZero(); scaleAndAddTo(dst, lhs, rhs, Scalar(1)); } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void addTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { scaleAndAddTo(dst,lhs, rhs, Scalar(1)); } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void subTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { scaleAndAddTo(dst, lhs, rhs, Scalar(-1)); } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void scaleAndAddTo(Dst& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { Derived::scaleAndAddTo(dst,lhs,rhs,alpha); } + +}; + +template +struct generic_product_impl + : generic_product_impl_base > +{ + typedef typename nested_eval::type LhsNested; + typedef typename nested_eval::type RhsNested; + typedef typename Product::Scalar Scalar; + enum { Side = Lhs::IsVectorAtCompileTime ? OnTheLeft : OnTheRight }; + typedef typename internal::remove_all::type>::type MatrixType; + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void scaleAndAddTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { + // Fallback to inner product if both the lhs and rhs is a runtime vector. + if (lhs.rows() == 1 && rhs.cols() == 1) { + dst.coeffRef(0,0) += alpha * lhs.row(0).conjugate().dot(rhs.col(0)); + return; + } + LhsNested actual_lhs(lhs); + RhsNested actual_rhs(rhs); + internal::gemv_dense_selector::HasUsableDirectAccess) + >::run(actual_lhs, actual_rhs, dst, alpha); + } +}; + +template +struct generic_product_impl +{ + typedef typename Product::Scalar Scalar; + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + // Same as: dst.noalias() = lhs.lazyProduct(rhs); + // but easier on the compiler side + call_assignment_no_alias(dst, lhs.lazyProduct(rhs), internal::assign_op()); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void addTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + // dst.noalias() += lhs.lazyProduct(rhs); + call_assignment_no_alias(dst, lhs.lazyProduct(rhs), internal::add_assign_op()); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void subTo(Dst& dst, const Lhs& lhs, const Rhs& rhs) + { + // dst.noalias() -= lhs.lazyProduct(rhs); + call_assignment_no_alias(dst, lhs.lazyProduct(rhs), internal::sub_assign_op()); + } + + // This is a special evaluation path called from generic_product_impl<...,GemmProduct> in file GeneralMatrixMatrix.h + // This variant tries to extract scalar multiples from both the LHS and RHS and factor them out. For instance: + // dst {,+,-}= (s1*A)*(B*s2) + // will be rewritten as: + // dst {,+,-}= (s1*s2) * (A.lazyProduct(B)) + // There are at least four benefits of doing so: + // 1 - huge performance gain for heap-allocated matrix types as it save costly allocations. + // 2 - it is faster than simply by-passing the heap allocation through stack allocation. + // 3 - it makes this fallback consistent with the heavy GEMM routine. + // 4 - it fully by-passes huge stack allocation attempts when multiplying huge fixed-size matrices. + // (see https://stackoverflow.com/questions/54738495) + // For small fixed sizes matrices, howver, the gains are less obvious, it is sometimes x2 faster, but sometimes x3 slower, + // and the behavior depends also a lot on the compiler... This is why this re-writting strategy is currently + // enabled only when falling back from the main GEMM. + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void eval_dynamic(Dst& dst, const Lhs& lhs, const Rhs& rhs, const Func &func) + { + enum { + HasScalarFactor = blas_traits::HasScalarFactor || blas_traits::HasScalarFactor, + ConjLhs = blas_traits::NeedToConjugate, + ConjRhs = blas_traits::NeedToConjugate + }; + // FIXME: in c++11 this should be auto, and extractScalarFactor should also return auto + // this is important for real*complex_mat + Scalar actualAlpha = combine_scalar_factors(lhs, rhs); + + eval_dynamic_impl(dst, + blas_traits::extract(lhs).template conjugateIf(), + blas_traits::extract(rhs).template conjugateIf(), + func, + actualAlpha, + typename conditional::type()); + } + +protected: + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void eval_dynamic_impl(Dst& dst, const LhsT& lhs, const RhsT& rhs, const Func &func, const Scalar& s /* == 1 */, false_type) + { + EIGEN_UNUSED_VARIABLE(s); + eigen_internal_assert(s==Scalar(1)); + call_restricted_packet_assignment_no_alias(dst, lhs.lazyProduct(rhs), func); + } + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + void eval_dynamic_impl(Dst& dst, const LhsT& lhs, const RhsT& rhs, const Func &func, const Scalar& s, true_type) + { + call_restricted_packet_assignment_no_alias(dst, s * lhs.lazyProduct(rhs), func); + } +}; + +// This specialization enforces the use of a coefficient-based evaluation strategy +template +struct generic_product_impl + : generic_product_impl {}; + +// Case 2: Evaluate coeff by coeff +// +// This is mostly taken from CoeffBasedProduct.h +// The main difference is that we add an extra argument to the etor_product_*_impl::run() function +// for the inner dimension of the product, because evaluator object do not know their size. + +template +struct etor_product_coeff_impl; + +template +struct etor_product_packet_impl; + +template +struct product_evaluator, ProductTag, DenseShape, DenseShape> + : evaluator_base > +{ + typedef Product XprType; + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit product_evaluator(const XprType& xpr) + : m_lhs(xpr.lhs()), + m_rhs(xpr.rhs()), + m_lhsImpl(m_lhs), // FIXME the creation of the evaluator objects should result in a no-op, but check that! + m_rhsImpl(m_rhs), // Moreover, they are only useful for the packet path, so we could completely disable them when not needed, + // or perhaps declare them on the fly on the packet method... We have experiment to check what's best. + m_innerDim(xpr.lhs().cols()) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(NumTraits::MulCost); + EIGEN_INTERNAL_CHECK_COST_VALUE(NumTraits::AddCost); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); +#if 0 + std::cerr << "LhsOuterStrideBytes= " << LhsOuterStrideBytes << "\n"; + std::cerr << "RhsOuterStrideBytes= " << RhsOuterStrideBytes << "\n"; + std::cerr << "LhsAlignment= " << LhsAlignment << "\n"; + std::cerr << "RhsAlignment= " << RhsAlignment << "\n"; + std::cerr << "CanVectorizeLhs= " << CanVectorizeLhs << "\n"; + std::cerr << "CanVectorizeRhs= " << CanVectorizeRhs << "\n"; + std::cerr << "CanVectorizeInner= " << CanVectorizeInner << "\n"; + std::cerr << "EvalToRowMajor= " << EvalToRowMajor << "\n"; + std::cerr << "Alignment= " << Alignment << "\n"; + std::cerr << "Flags= " << Flags << "\n"; +#endif + } + + // Everything below here is taken from CoeffBasedProduct.h + + typedef typename internal::nested_eval::type LhsNested; + typedef typename internal::nested_eval::type RhsNested; + + typedef typename internal::remove_all::type LhsNestedCleaned; + typedef typename internal::remove_all::type RhsNestedCleaned; + + typedef evaluator LhsEtorType; + typedef evaluator RhsEtorType; + + enum { + RowsAtCompileTime = LhsNestedCleaned::RowsAtCompileTime, + ColsAtCompileTime = RhsNestedCleaned::ColsAtCompileTime, + InnerSize = EIGEN_SIZE_MIN_PREFER_FIXED(LhsNestedCleaned::ColsAtCompileTime, RhsNestedCleaned::RowsAtCompileTime), + MaxRowsAtCompileTime = LhsNestedCleaned::MaxRowsAtCompileTime, + MaxColsAtCompileTime = RhsNestedCleaned::MaxColsAtCompileTime + }; + + typedef typename find_best_packet::type LhsVecPacketType; + typedef typename find_best_packet::type RhsVecPacketType; + + enum { + + LhsCoeffReadCost = LhsEtorType::CoeffReadCost, + RhsCoeffReadCost = RhsEtorType::CoeffReadCost, + CoeffReadCost = InnerSize==0 ? NumTraits::ReadCost + : InnerSize == Dynamic ? HugeCost + : InnerSize * (NumTraits::MulCost + int(LhsCoeffReadCost) + int(RhsCoeffReadCost)) + + (InnerSize - 1) * NumTraits::AddCost, + + Unroll = CoeffReadCost <= EIGEN_UNROLLING_LIMIT, + + LhsFlags = LhsEtorType::Flags, + RhsFlags = RhsEtorType::Flags, + + LhsRowMajor = LhsFlags & RowMajorBit, + RhsRowMajor = RhsFlags & RowMajorBit, + + LhsVecPacketSize = unpacket_traits::size, + RhsVecPacketSize = unpacket_traits::size, + + // Here, we don't care about alignment larger than the usable packet size. + LhsAlignment = EIGEN_PLAIN_ENUM_MIN(LhsEtorType::Alignment,LhsVecPacketSize*int(sizeof(typename LhsNestedCleaned::Scalar))), + RhsAlignment = EIGEN_PLAIN_ENUM_MIN(RhsEtorType::Alignment,RhsVecPacketSize*int(sizeof(typename RhsNestedCleaned::Scalar))), + + SameType = is_same::value, + + CanVectorizeRhs = bool(RhsRowMajor) && (RhsFlags & PacketAccessBit) && (ColsAtCompileTime!=1), + CanVectorizeLhs = (!LhsRowMajor) && (LhsFlags & PacketAccessBit) && (RowsAtCompileTime!=1), + + EvalToRowMajor = (MaxRowsAtCompileTime==1&&MaxColsAtCompileTime!=1) ? 1 + : (MaxColsAtCompileTime==1&&MaxRowsAtCompileTime!=1) ? 0 + : (bool(RhsRowMajor) && !CanVectorizeLhs), + + Flags = ((int(LhsFlags) | int(RhsFlags)) & HereditaryBits & ~RowMajorBit) + | (EvalToRowMajor ? RowMajorBit : 0) + // TODO enable vectorization for mixed types + | (SameType && (CanVectorizeLhs || CanVectorizeRhs) ? PacketAccessBit : 0) + | (XprType::IsVectorAtCompileTime ? LinearAccessBit : 0), + + LhsOuterStrideBytes = int(LhsNestedCleaned::OuterStrideAtCompileTime) * int(sizeof(typename LhsNestedCleaned::Scalar)), + RhsOuterStrideBytes = int(RhsNestedCleaned::OuterStrideAtCompileTime) * int(sizeof(typename RhsNestedCleaned::Scalar)), + + Alignment = bool(CanVectorizeLhs) ? (LhsOuterStrideBytes<=0 || (int(LhsOuterStrideBytes) % EIGEN_PLAIN_ENUM_MAX(1,LhsAlignment))!=0 ? 0 : LhsAlignment) + : bool(CanVectorizeRhs) ? (RhsOuterStrideBytes<=0 || (int(RhsOuterStrideBytes) % EIGEN_PLAIN_ENUM_MAX(1,RhsAlignment))!=0 ? 0 : RhsAlignment) + : 0, + + /* CanVectorizeInner deserves special explanation. It does not affect the product flags. It is not used outside + * of Product. If the Product itself is not a packet-access expression, there is still a chance that the inner + * loop of the product might be vectorized. This is the meaning of CanVectorizeInner. Since it doesn't affect + * the Flags, it is safe to make this value depend on ActualPacketAccessBit, that doesn't affect the ABI. + */ + CanVectorizeInner = SameType + && LhsRowMajor + && (!RhsRowMajor) + && (int(LhsFlags) & int(RhsFlags) & ActualPacketAccessBit) + && (int(InnerSize) % packet_traits::size == 0) + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CoeffReturnType coeff(Index row, Index col) const + { + return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); + } + + /* Allow index-based non-packet access. It is impossible though to allow index-based packed access, + * which is why we don't set the LinearAccessBit. + * TODO: this seems possible when the result is a vector + */ + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const CoeffReturnType coeff(Index index) const + { + const Index row = (RowsAtCompileTime == 1 || MaxRowsAtCompileTime==1) ? 0 : index; + const Index col = (RowsAtCompileTime == 1 || MaxRowsAtCompileTime==1) ? index : 0; + return (m_lhs.row(row).transpose().cwiseProduct( m_rhs.col(col) )).sum(); + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const PacketType packet(Index row, Index col) const + { + PacketType res; + typedef etor_product_packet_impl PacketImpl; + PacketImpl::run(row, col, m_lhsImpl, m_rhsImpl, m_innerDim, res); + return res; + } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + const PacketType packet(Index index) const + { + const Index row = (RowsAtCompileTime == 1 || MaxRowsAtCompileTime==1) ? 0 : index; + const Index col = (RowsAtCompileTime == 1 || MaxRowsAtCompileTime==1) ? index : 0; + return packet(row,col); + } + +protected: + typename internal::add_const_on_value_type::type m_lhs; + typename internal::add_const_on_value_type::type m_rhs; + + LhsEtorType m_lhsImpl; + RhsEtorType m_rhsImpl; + + // TODO: Get rid of m_innerDim if known at compile time + Index m_innerDim; +}; + +template +struct product_evaluator, LazyCoeffBasedProductMode, DenseShape, DenseShape> + : product_evaluator, CoeffBasedProductMode, DenseShape, DenseShape> +{ + typedef Product XprType; + typedef Product BaseProduct; + typedef product_evaluator Base; + enum { + Flags = Base::Flags | EvalBeforeNestingBit + }; + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit product_evaluator(const XprType& xpr) + : Base(BaseProduct(xpr.lhs(),xpr.rhs())) + {} +}; + +/**************************************** +*** Coeff based product, Packet path *** +****************************************/ + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Index innerDim, Packet &res) + { + etor_product_packet_impl::run(row, col, lhs, rhs, innerDim, res); + res = pmadd(pset1(lhs.coeff(row, Index(UnrollingIndex-1))), rhs.template packet(Index(UnrollingIndex-1), col), res); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Index innerDim, Packet &res) + { + etor_product_packet_impl::run(row, col, lhs, rhs, innerDim, res); + res = pmadd(lhs.template packet(row, Index(UnrollingIndex-1)), pset1(rhs.coeff(Index(UnrollingIndex-1), col)), res); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Index /*innerDim*/, Packet &res) + { + res = pmul(pset1(lhs.coeff(row, Index(0))),rhs.template packet(Index(0), col)); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Index /*innerDim*/, Packet &res) + { + res = pmul(lhs.template packet(row, Index(0)), pset1(rhs.coeff(Index(0), col))); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index /*row*/, Index /*col*/, const Lhs& /*lhs*/, const Rhs& /*rhs*/, Index /*innerDim*/, Packet &res) + { + res = pset1(typename unpacket_traits::type(0)); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index /*row*/, Index /*col*/, const Lhs& /*lhs*/, const Rhs& /*rhs*/, Index /*innerDim*/, Packet &res) + { + res = pset1(typename unpacket_traits::type(0)); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Index innerDim, Packet& res) + { + res = pset1(typename unpacket_traits::type(0)); + for(Index i = 0; i < innerDim; ++i) + res = pmadd(pset1(lhs.coeff(row, i)), rhs.template packet(i, col), res); + } +}; + +template +struct etor_product_packet_impl +{ + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Index innerDim, Packet& res) + { + res = pset1(typename unpacket_traits::type(0)); + for(Index i = 0; i < innerDim; ++i) + res = pmadd(lhs.template packet(row, i), pset1(rhs.coeff(i, col)), res); + } +}; + + +/*************************************************************************** +* Triangular products +***************************************************************************/ +template +struct triangular_product_impl; + +template +struct generic_product_impl + : generic_product_impl_base > +{ + typedef typename Product::Scalar Scalar; + + template + static void scaleAndAddTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { + triangular_product_impl + ::run(dst, lhs.nestedExpression(), rhs, alpha); + } +}; + +template +struct generic_product_impl +: generic_product_impl_base > +{ + typedef typename Product::Scalar Scalar; + + template + static void scaleAndAddTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { + triangular_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); + } +}; + + +/*************************************************************************** +* SelfAdjoint products +***************************************************************************/ +template +struct selfadjoint_product_impl; + +template +struct generic_product_impl + : generic_product_impl_base > +{ + typedef typename Product::Scalar Scalar; + + template + static EIGEN_DEVICE_FUNC + void scaleAndAddTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { + selfadjoint_product_impl::run(dst, lhs.nestedExpression(), rhs, alpha); + } +}; + +template +struct generic_product_impl +: generic_product_impl_base > +{ + typedef typename Product::Scalar Scalar; + + template + static void scaleAndAddTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, const Scalar& alpha) + { + selfadjoint_product_impl::run(dst, lhs, rhs.nestedExpression(), alpha); + } +}; + + +/*************************************************************************** +* Diagonal products +***************************************************************************/ + +template +struct diagonal_product_evaluator_base + : evaluator_base +{ + typedef typename ScalarBinaryOpTraits::ReturnType Scalar; +public: + enum { + CoeffReadCost = int(NumTraits::MulCost) + int(evaluator::CoeffReadCost) + int(evaluator::CoeffReadCost), + + MatrixFlags = evaluator::Flags, + DiagFlags = evaluator::Flags, + + _StorageOrder = (Derived::MaxRowsAtCompileTime==1 && Derived::MaxColsAtCompileTime!=1) ? RowMajor + : (Derived::MaxColsAtCompileTime==1 && Derived::MaxRowsAtCompileTime!=1) ? ColMajor + : MatrixFlags & RowMajorBit ? RowMajor : ColMajor, + _SameStorageOrder = _StorageOrder == (MatrixFlags & RowMajorBit ? RowMajor : ColMajor), + + _ScalarAccessOnDiag = !((int(_StorageOrder) == ColMajor && int(ProductOrder) == OnTheLeft) + ||(int(_StorageOrder) == RowMajor && int(ProductOrder) == OnTheRight)), + _SameTypes = is_same::value, + // FIXME currently we need same types, but in the future the next rule should be the one + //_Vectorizable = bool(int(MatrixFlags)&PacketAccessBit) && ((!_PacketOnDiag) || (_SameTypes && bool(int(DiagFlags)&PacketAccessBit))), + _Vectorizable = bool(int(MatrixFlags)&PacketAccessBit) + && _SameTypes + && (_SameStorageOrder || (MatrixFlags&LinearAccessBit)==LinearAccessBit) + && (_ScalarAccessOnDiag || (bool(int(DiagFlags)&PacketAccessBit))), + _LinearAccessMask = (MatrixType::RowsAtCompileTime==1 || MatrixType::ColsAtCompileTime==1) ? LinearAccessBit : 0, + Flags = ((HereditaryBits|_LinearAccessMask) & (unsigned int)(MatrixFlags)) | (_Vectorizable ? PacketAccessBit : 0), + Alignment = evaluator::Alignment, + + AsScalarProduct = (DiagonalType::SizeAtCompileTime==1) + || (DiagonalType::SizeAtCompileTime==Dynamic && MatrixType::RowsAtCompileTime==1 && ProductOrder==OnTheLeft) + || (DiagonalType::SizeAtCompileTime==Dynamic && MatrixType::ColsAtCompileTime==1 && ProductOrder==OnTheRight) + }; + + EIGEN_DEVICE_FUNC diagonal_product_evaluator_base(const MatrixType &mat, const DiagonalType &diag) + : m_diagImpl(diag), m_matImpl(mat) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(NumTraits::MulCost); + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar coeff(Index idx) const + { + if(AsScalarProduct) + return m_diagImpl.coeff(0) * m_matImpl.coeff(idx); + else + return m_diagImpl.coeff(idx) * m_matImpl.coeff(idx); + } + +protected: + template + EIGEN_STRONG_INLINE PacketType packet_impl(Index row, Index col, Index id, internal::true_type) const + { + return internal::pmul(m_matImpl.template packet(row, col), + internal::pset1(m_diagImpl.coeff(id))); + } + + template + EIGEN_STRONG_INLINE PacketType packet_impl(Index row, Index col, Index id, internal::false_type) const + { + enum { + InnerSize = (MatrixType::Flags & RowMajorBit) ? MatrixType::ColsAtCompileTime : MatrixType::RowsAtCompileTime, + DiagonalPacketLoadMode = EIGEN_PLAIN_ENUM_MIN(LoadMode,((InnerSize%16) == 0) ? int(Aligned16) : int(evaluator::Alignment)) // FIXME hardcoded 16!! + }; + return internal::pmul(m_matImpl.template packet(row, col), + m_diagImpl.template packet(id)); + } + + evaluator m_diagImpl; + evaluator m_matImpl; +}; + +// diagonal * dense +template +struct product_evaluator, ProductTag, DiagonalShape, DenseShape> + : diagonal_product_evaluator_base, OnTheLeft> +{ + typedef diagonal_product_evaluator_base, OnTheLeft> Base; + using Base::m_diagImpl; + using Base::m_matImpl; + using Base::coeff; + typedef typename Base::Scalar Scalar; + + typedef Product XprType; + typedef typename XprType::PlainObject PlainObject; + typedef typename Lhs::DiagonalVectorType DiagonalType; + + + enum { StorageOrder = Base::_StorageOrder }; + + EIGEN_DEVICE_FUNC explicit product_evaluator(const XprType& xpr) + : Base(xpr.rhs(), xpr.lhs().diagonal()) + { + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar coeff(Index row, Index col) const + { + return m_diagImpl.coeff(row) * m_matImpl.coeff(row, col); + } + +#ifndef EIGEN_GPUCC + template + EIGEN_STRONG_INLINE PacketType packet(Index row, Index col) const + { + // FIXME: NVCC used to complain about the template keyword, but we have to check whether this is still the case. + // See also similar calls below. + return this->template packet_impl(row,col, row, + typename internal::conditional::type()); + } + + template + EIGEN_STRONG_INLINE PacketType packet(Index idx) const + { + return packet(int(StorageOrder)==ColMajor?idx:0,int(StorageOrder)==ColMajor?0:idx); + } +#endif +}; + +// dense * diagonal +template +struct product_evaluator, ProductTag, DenseShape, DiagonalShape> + : diagonal_product_evaluator_base, OnTheRight> +{ + typedef diagonal_product_evaluator_base, OnTheRight> Base; + using Base::m_diagImpl; + using Base::m_matImpl; + using Base::coeff; + typedef typename Base::Scalar Scalar; + + typedef Product XprType; + typedef typename XprType::PlainObject PlainObject; + + enum { StorageOrder = Base::_StorageOrder }; + + EIGEN_DEVICE_FUNC explicit product_evaluator(const XprType& xpr) + : Base(xpr.lhs(), xpr.rhs().diagonal()) + { + } + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar coeff(Index row, Index col) const + { + return m_matImpl.coeff(row, col) * m_diagImpl.coeff(col); + } + +#ifndef EIGEN_GPUCC + template + EIGEN_STRONG_INLINE PacketType packet(Index row, Index col) const + { + return this->template packet_impl(row,col, col, + typename internal::conditional::type()); + } + + template + EIGEN_STRONG_INLINE PacketType packet(Index idx) const + { + return packet(int(StorageOrder)==ColMajor?idx:0,int(StorageOrder)==ColMajor?0:idx); + } +#endif +}; + +/*************************************************************************** +* Products with permutation matrices +***************************************************************************/ + +/** \internal + * \class permutation_matrix_product + * Internal helper class implementing the product between a permutation matrix and a matrix. + * This class is specialized for DenseShape below and for SparseShape in SparseCore/SparsePermutation.h + */ +template +struct permutation_matrix_product; + +template +struct permutation_matrix_product +{ + typedef typename nested_eval::type MatrixType; + typedef typename remove_all::type MatrixTypeCleaned; + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Dest& dst, const PermutationType& perm, const ExpressionType& xpr) + { + MatrixType mat(xpr); + const Index n = Side==OnTheLeft ? mat.rows() : mat.cols(); + // FIXME we need an is_same for expression that is not sensitive to constness. For instance + // is_same_xpr, Block >::value should be true. + //if(is_same::value && extract_data(dst) == extract_data(mat)) + if(is_same_dense(dst, mat)) + { + // apply the permutation inplace + Matrix mask(perm.size()); + mask.fill(false); + Index r = 0; + while(r < perm.size()) + { + // search for the next seed + while(r=perm.size()) + break; + // we got one, let's follow it until we are back to the seed + Index k0 = r++; + Index kPrev = k0; + mask.coeffRef(k0) = true; + for(Index k=perm.indices().coeff(k0); k!=k0; k=perm.indices().coeff(k)) + { + Block(dst, k) + .swap(Block + (dst,((Side==OnTheLeft) ^ Transposed) ? k0 : kPrev)); + + mask.coeffRef(k) = true; + kPrev = k; + } + } + } + else + { + for(Index i = 0; i < n; ++i) + { + Block + (dst, ((Side==OnTheLeft) ^ Transposed) ? perm.indices().coeff(i) : i) + + = + + Block + (mat, ((Side==OnTheRight) ^ Transposed) ? perm.indices().coeff(i) : i); + } + } + } +}; + +template +struct generic_product_impl +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs) + { + permutation_matrix_product::run(dst, lhs, rhs); + } +}; + +template +struct generic_product_impl +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs) + { + permutation_matrix_product::run(dst, rhs, lhs); + } +}; + +template +struct generic_product_impl, Rhs, PermutationShape, MatrixShape, ProductTag> +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Inverse& lhs, const Rhs& rhs) + { + permutation_matrix_product::run(dst, lhs.nestedExpression(), rhs); + } +}; + +template +struct generic_product_impl, MatrixShape, PermutationShape, ProductTag> +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Lhs& lhs, const Inverse& rhs) + { + permutation_matrix_product::run(dst, rhs.nestedExpression(), lhs); + } +}; + + +/*************************************************************************** +* Products with transpositions matrices +***************************************************************************/ + +// FIXME could we unify Transpositions and Permutation into a single "shape"?? + +/** \internal + * \class transposition_matrix_product + * Internal helper class implementing the product between a permutation matrix and a matrix. + */ +template +struct transposition_matrix_product +{ + typedef typename nested_eval::type MatrixType; + typedef typename remove_all::type MatrixTypeCleaned; + + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void run(Dest& dst, const TranspositionType& tr, const ExpressionType& xpr) + { + MatrixType mat(xpr); + typedef typename TranspositionType::StorageIndex StorageIndex; + const Index size = tr.size(); + StorageIndex j = 0; + + if(!is_same_dense(dst,mat)) + dst = mat; + + for(Index k=(Transposed?size-1:0) ; Transposed?k>=0:k +struct generic_product_impl +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs) + { + transposition_matrix_product::run(dst, lhs, rhs); + } +}; + +template +struct generic_product_impl +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs) + { + transposition_matrix_product::run(dst, rhs, lhs); + } +}; + + +template +struct generic_product_impl, Rhs, TranspositionsShape, MatrixShape, ProductTag> +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Transpose& lhs, const Rhs& rhs) + { + transposition_matrix_product::run(dst, lhs.nestedExpression(), rhs); + } +}; + +template +struct generic_product_impl, MatrixShape, TranspositionsShape, ProductTag> +{ + template + static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void evalTo(Dest& dst, const Lhs& lhs, const Transpose& rhs) + { + transposition_matrix_product::run(dst, rhs.nestedExpression(), lhs); + } +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_PRODUCT_EVALUATORS_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Random.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Random.h new file mode 100644 index 0000000..dab2ac8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Random.h @@ -0,0 +1,218 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_RANDOM_H +#define EIGEN_RANDOM_H + +namespace Eigen { + +namespace internal { + +template struct scalar_random_op { + EIGEN_EMPTY_STRUCT_CTOR(scalar_random_op) + inline const Scalar operator() () const { return random(); } +}; + +template +struct functor_traits > +{ enum { Cost = 5 * NumTraits::MulCost, PacketAccess = false, IsRepeatable = false }; }; + +} // end namespace internal + +/** \returns a random matrix expression + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * The parameters \a rows and \a cols are the number of rows and of columns of + * the returned matrix. Must be compatible with this MatrixBase type. + * + * \not_reentrant + * + * This variant is meant to be used for dynamic-size matrix types. For fixed-size types, + * it is redundant to pass \a rows and \a cols as arguments, so Random() should be used + * instead. + * + * + * Example: \include MatrixBase_random_int_int.cpp + * Output: \verbinclude MatrixBase_random_int_int.out + * + * This expression has the "evaluate before nesting" flag so that it will be evaluated into + * a temporary matrix whenever it is nested in a larger expression. This prevents unexpected + * behavior with expressions involving random matrices. + * + * See DenseBase::NullaryExpr(Index, const CustomNullaryOp&) for an example using C++11 random generators. + * + * \sa DenseBase::setRandom(), DenseBase::Random(Index), DenseBase::Random() + */ +template +inline const typename DenseBase::RandomReturnType +DenseBase::Random(Index rows, Index cols) +{ + return NullaryExpr(rows, cols, internal::scalar_random_op()); +} + +/** \returns a random vector expression + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * The parameter \a size is the size of the returned vector. + * Must be compatible with this MatrixBase type. + * + * \only_for_vectors + * \not_reentrant + * + * This variant is meant to be used for dynamic-size vector types. For fixed-size types, + * it is redundant to pass \a size as argument, so Random() should be used + * instead. + * + * Example: \include MatrixBase_random_int.cpp + * Output: \verbinclude MatrixBase_random_int.out + * + * This expression has the "evaluate before nesting" flag so that it will be evaluated into + * a temporary vector whenever it is nested in a larger expression. This prevents unexpected + * behavior with expressions involving random matrices. + * + * \sa DenseBase::setRandom(), DenseBase::Random(Index,Index), DenseBase::Random() + */ +template +inline const typename DenseBase::RandomReturnType +DenseBase::Random(Index size) +{ + return NullaryExpr(size, internal::scalar_random_op()); +} + +/** \returns a fixed-size random matrix or vector expression + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * This variant is only for fixed-size MatrixBase types. For dynamic-size types, you + * need to use the variants taking size arguments. + * + * Example: \include MatrixBase_random.cpp + * Output: \verbinclude MatrixBase_random.out + * + * This expression has the "evaluate before nesting" flag so that it will be evaluated into + * a temporary matrix whenever it is nested in a larger expression. This prevents unexpected + * behavior with expressions involving random matrices. + * + * \not_reentrant + * + * \sa DenseBase::setRandom(), DenseBase::Random(Index,Index), DenseBase::Random(Index) + */ +template +inline const typename DenseBase::RandomReturnType +DenseBase::Random() +{ + return NullaryExpr(RowsAtCompileTime, ColsAtCompileTime, internal::scalar_random_op()); +} + +/** Sets all coefficients in this expression to random values. + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * \not_reentrant + * + * Example: \include MatrixBase_setRandom.cpp + * Output: \verbinclude MatrixBase_setRandom.out + * + * \sa class CwiseNullaryOp, setRandom(Index), setRandom(Index,Index) + */ +template +EIGEN_DEVICE_FUNC inline Derived& DenseBase::setRandom() +{ + return *this = Random(rows(), cols()); +} + +/** Resizes to the given \a newSize, and sets all coefficients in this expression to random values. + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * \only_for_vectors + * \not_reentrant + * + * Example: \include Matrix_setRandom_int.cpp + * Output: \verbinclude Matrix_setRandom_int.out + * + * \sa DenseBase::setRandom(), setRandom(Index,Index), class CwiseNullaryOp, DenseBase::Random() + */ +template +EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setRandom(Index newSize) +{ + resize(newSize); + return setRandom(); +} + +/** Resizes to the given size, and sets all coefficients in this expression to random values. + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * \not_reentrant + * + * \param rows the new number of rows + * \param cols the new number of columns + * + * Example: \include Matrix_setRandom_int_int.cpp + * Output: \verbinclude Matrix_setRandom_int_int.out + * + * \sa DenseBase::setRandom(), setRandom(Index), class CwiseNullaryOp, DenseBase::Random() + */ +template +EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setRandom(Index rows, Index cols) +{ + resize(rows, cols); + return setRandom(); +} + +/** Resizes to the given size, changing only the number of columns, and sets all + * coefficients in this expression to random values. For the parameter of type + * NoChange_t, just pass the special value \c NoChange. + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * \not_reentrant + * + * \sa DenseBase::setRandom(), setRandom(Index), setRandom(Index, NoChange_t), class CwiseNullaryOp, DenseBase::Random() + */ +template +EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setRandom(NoChange_t, Index cols) +{ + return setRandom(rows(), cols); +} + +/** Resizes to the given size, changing only the number of rows, and sets all + * coefficients in this expression to random values. For the parameter of type + * NoChange_t, just pass the special value \c NoChange. + * + * Numbers are uniformly spread through their whole definition range for integer types, + * and in the [-1:1] range for floating point scalar types. + * + * \not_reentrant + * + * \sa DenseBase::setRandom(), setRandom(Index), setRandom(NoChange_t, Index), class CwiseNullaryOp, DenseBase::Random() + */ +template +EIGEN_STRONG_INLINE Derived& +PlainObjectBase::setRandom(Index rows, NoChange_t) +{ + return setRandom(rows, cols()); +} + +} // end namespace Eigen + +#endif // EIGEN_RANDOM_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Redux.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Redux.h new file mode 100644 index 0000000..b6790d1 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Redux.h @@ -0,0 +1,515 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2006-2008 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_REDUX_H +#define EIGEN_REDUX_H + +namespace Eigen { + +namespace internal { + +// TODO +// * implement other kind of vectorization +// * factorize code + +/*************************************************************************** +* Part 1 : the logic deciding a strategy for vectorization and unrolling +***************************************************************************/ + +template +struct redux_traits +{ +public: + typedef typename find_best_packet::type PacketType; + enum { + PacketSize = unpacket_traits::size, + InnerMaxSize = int(Evaluator::IsRowMajor) + ? Evaluator::MaxColsAtCompileTime + : Evaluator::MaxRowsAtCompileTime, + OuterMaxSize = int(Evaluator::IsRowMajor) + ? Evaluator::MaxRowsAtCompileTime + : Evaluator::MaxColsAtCompileTime, + SliceVectorizedWork = int(InnerMaxSize)==Dynamic ? Dynamic + : int(OuterMaxSize)==Dynamic ? (int(InnerMaxSize)>=int(PacketSize) ? Dynamic : 0) + : (int(InnerMaxSize)/int(PacketSize)) * int(OuterMaxSize) + }; + + enum { + MightVectorize = (int(Evaluator::Flags)&ActualPacketAccessBit) + && (functor_traits::PacketAccess), + MayLinearVectorize = bool(MightVectorize) && (int(Evaluator::Flags)&LinearAccessBit), + MaySliceVectorize = bool(MightVectorize) && (int(SliceVectorizedWork)==Dynamic || int(SliceVectorizedWork)>=3) + }; + +public: + enum { + Traversal = int(MayLinearVectorize) ? int(LinearVectorizedTraversal) + : int(MaySliceVectorize) ? int(SliceVectorizedTraversal) + : int(DefaultTraversal) + }; + +public: + enum { + Cost = Evaluator::SizeAtCompileTime == Dynamic ? HugeCost + : int(Evaluator::SizeAtCompileTime) * int(Evaluator::CoeffReadCost) + (Evaluator::SizeAtCompileTime-1) * functor_traits::Cost, + UnrollingLimit = EIGEN_UNROLLING_LIMIT * (int(Traversal) == int(DefaultTraversal) ? 1 : int(PacketSize)) + }; + +public: + enum { + Unrolling = Cost <= UnrollingLimit ? CompleteUnrolling : NoUnrolling + }; + +#ifdef EIGEN_DEBUG_ASSIGN + static void debug() + { + std::cerr << "Xpr: " << typeid(typename Evaluator::XprType).name() << std::endl; + std::cerr.setf(std::ios::hex, std::ios::basefield); + EIGEN_DEBUG_VAR(Evaluator::Flags) + std::cerr.unsetf(std::ios::hex); + EIGEN_DEBUG_VAR(InnerMaxSize) + EIGEN_DEBUG_VAR(OuterMaxSize) + EIGEN_DEBUG_VAR(SliceVectorizedWork) + EIGEN_DEBUG_VAR(PacketSize) + EIGEN_DEBUG_VAR(MightVectorize) + EIGEN_DEBUG_VAR(MayLinearVectorize) + EIGEN_DEBUG_VAR(MaySliceVectorize) + std::cerr << "Traversal" << " = " << Traversal << " (" << demangle_traversal(Traversal) << ")" << std::endl; + EIGEN_DEBUG_VAR(UnrollingLimit) + std::cerr << "Unrolling" << " = " << Unrolling << " (" << demangle_unrolling(Unrolling) << ")" << std::endl; + std::cerr << std::endl; + } +#endif +}; + +/*************************************************************************** +* Part 2 : unrollers +***************************************************************************/ + +/*** no vectorization ***/ + +template +struct redux_novec_unroller +{ + enum { + HalfLength = Length/2 + }; + + typedef typename Evaluator::Scalar Scalar; + + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE Scalar run(const Evaluator &eval, const Func& func) + { + return func(redux_novec_unroller::run(eval,func), + redux_novec_unroller::run(eval,func)); + } +}; + +template +struct redux_novec_unroller +{ + enum { + outer = Start / Evaluator::InnerSizeAtCompileTime, + inner = Start % Evaluator::InnerSizeAtCompileTime + }; + + typedef typename Evaluator::Scalar Scalar; + + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE Scalar run(const Evaluator &eval, const Func&) + { + return eval.coeffByOuterInner(outer, inner); + } +}; + +// This is actually dead code and will never be called. It is required +// to prevent false warnings regarding failed inlining though +// for 0 length run() will never be called at all. +template +struct redux_novec_unroller +{ + typedef typename Evaluator::Scalar Scalar; + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE Scalar run(const Evaluator&, const Func&) { return Scalar(); } +}; + +/*** vectorization ***/ + +template +struct redux_vec_unroller +{ + template + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE PacketType run(const Evaluator &eval, const Func& func) + { + enum { + PacketSize = unpacket_traits::size, + HalfLength = Length/2 + }; + + return func.packetOp( + redux_vec_unroller::template run(eval,func), + redux_vec_unroller::template run(eval,func) ); + } +}; + +template +struct redux_vec_unroller +{ + template + EIGEN_DEVICE_FUNC + static EIGEN_STRONG_INLINE PacketType run(const Evaluator &eval, const Func&) + { + enum { + PacketSize = unpacket_traits::size, + index = Start * PacketSize, + outer = index / int(Evaluator::InnerSizeAtCompileTime), + inner = index % int(Evaluator::InnerSizeAtCompileTime), + alignment = Evaluator::Alignment + }; + return eval.template packetByOuterInner(outer, inner); + } +}; + +/*************************************************************************** +* Part 3 : implementation of all cases +***************************************************************************/ + +template::Traversal, + int Unrolling = redux_traits::Unrolling +> +struct redux_impl; + +template +struct redux_impl +{ + typedef typename Evaluator::Scalar Scalar; + + template + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE + Scalar run(const Evaluator &eval, const Func& func, const XprType& xpr) + { + eigen_assert(xpr.rows()>0 && xpr.cols()>0 && "you are using an empty matrix"); + Scalar res; + res = eval.coeffByOuterInner(0, 0); + for(Index i = 1; i < xpr.innerSize(); ++i) + res = func(res, eval.coeffByOuterInner(0, i)); + for(Index i = 1; i < xpr.outerSize(); ++i) + for(Index j = 0; j < xpr.innerSize(); ++j) + res = func(res, eval.coeffByOuterInner(i, j)); + return res; + } +}; + +template +struct redux_impl + : redux_novec_unroller +{ + typedef redux_novec_unroller Base; + typedef typename Evaluator::Scalar Scalar; + template + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE + Scalar run(const Evaluator &eval, const Func& func, const XprType& /*xpr*/) + { + return Base::run(eval,func); + } +}; + +template +struct redux_impl +{ + typedef typename Evaluator::Scalar Scalar; + typedef typename redux_traits::PacketType PacketScalar; + + template + static Scalar run(const Evaluator &eval, const Func& func, const XprType& xpr) + { + const Index size = xpr.size(); + + const Index packetSize = redux_traits::PacketSize; + const int packetAlignment = unpacket_traits::alignment; + enum { + alignment0 = (bool(Evaluator::Flags & DirectAccessBit) && bool(packet_traits::AlignedOnScalar)) ? int(packetAlignment) : int(Unaligned), + alignment = EIGEN_PLAIN_ENUM_MAX(alignment0, Evaluator::Alignment) + }; + const Index alignedStart = internal::first_default_aligned(xpr); + const Index alignedSize2 = ((size-alignedStart)/(2*packetSize))*(2*packetSize); + const Index alignedSize = ((size-alignedStart)/(packetSize))*(packetSize); + const Index alignedEnd2 = alignedStart + alignedSize2; + const Index alignedEnd = alignedStart + alignedSize; + Scalar res; + if(alignedSize) + { + PacketScalar packet_res0 = eval.template packet(alignedStart); + if(alignedSize>packetSize) // we have at least two packets to partly unroll the loop + { + PacketScalar packet_res1 = eval.template packet(alignedStart+packetSize); + for(Index index = alignedStart + 2*packetSize; index < alignedEnd2; index += 2*packetSize) + { + packet_res0 = func.packetOp(packet_res0, eval.template packet(index)); + packet_res1 = func.packetOp(packet_res1, eval.template packet(index+packetSize)); + } + + packet_res0 = func.packetOp(packet_res0,packet_res1); + if(alignedEnd>alignedEnd2) + packet_res0 = func.packetOp(packet_res0, eval.template packet(alignedEnd2)); + } + res = func.predux(packet_res0); + + for(Index index = 0; index < alignedStart; ++index) + res = func(res,eval.coeff(index)); + + for(Index index = alignedEnd; index < size; ++index) + res = func(res,eval.coeff(index)); + } + else // too small to vectorize anything. + // since this is dynamic-size hence inefficient anyway for such small sizes, don't try to optimize. + { + res = eval.coeff(0); + for(Index index = 1; index < size; ++index) + res = func(res,eval.coeff(index)); + } + + return res; + } +}; + +// NOTE: for SliceVectorizedTraversal we simply bypass unrolling +template +struct redux_impl +{ + typedef typename Evaluator::Scalar Scalar; + typedef typename redux_traits::PacketType PacketType; + + template + EIGEN_DEVICE_FUNC static Scalar run(const Evaluator &eval, const Func& func, const XprType& xpr) + { + eigen_assert(xpr.rows()>0 && xpr.cols()>0 && "you are using an empty matrix"); + const Index innerSize = xpr.innerSize(); + const Index outerSize = xpr.outerSize(); + enum { + packetSize = redux_traits::PacketSize + }; + const Index packetedInnerSize = ((innerSize)/packetSize)*packetSize; + Scalar res; + if(packetedInnerSize) + { + PacketType packet_res = eval.template packet(0,0); + for(Index j=0; j(j,i)); + + res = func.predux(packet_res); + for(Index j=0; j::run(eval, func, xpr); + } + + return res; + } +}; + +template +struct redux_impl +{ + typedef typename Evaluator::Scalar Scalar; + + typedef typename redux_traits::PacketType PacketType; + enum { + PacketSize = redux_traits::PacketSize, + Size = Evaluator::SizeAtCompileTime, + VectorizedSize = (int(Size) / int(PacketSize)) * int(PacketSize) + }; + + template + EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE + Scalar run(const Evaluator &eval, const Func& func, const XprType &xpr) + { + EIGEN_ONLY_USED_FOR_DEBUG(xpr) + eigen_assert(xpr.rows()>0 && xpr.cols()>0 && "you are using an empty matrix"); + if (VectorizedSize > 0) { + Scalar res = func.predux(redux_vec_unroller::template run(eval,func)); + if (VectorizedSize != Size) + res = func(res,redux_novec_unroller::run(eval,func)); + return res; + } + else { + return redux_novec_unroller::run(eval,func); + } + } +}; + +// evaluator adaptor +template +class redux_evaluator : public internal::evaluator<_XprType> +{ + typedef internal::evaluator<_XprType> Base; +public: + typedef _XprType XprType; + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + explicit redux_evaluator(const XprType &xpr) : Base(xpr) {} + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + typedef typename XprType::PacketScalar PacketScalar; + + enum { + MaxRowsAtCompileTime = XprType::MaxRowsAtCompileTime, + MaxColsAtCompileTime = XprType::MaxColsAtCompileTime, + // TODO we should not remove DirectAccessBit and rather find an elegant way to query the alignment offset at runtime from the evaluator + Flags = Base::Flags & ~DirectAccessBit, + IsRowMajor = XprType::IsRowMajor, + SizeAtCompileTime = XprType::SizeAtCompileTime, + InnerSizeAtCompileTime = XprType::InnerSizeAtCompileTime + }; + + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + CoeffReturnType coeffByOuterInner(Index outer, Index inner) const + { return Base::coeff(IsRowMajor ? outer : inner, IsRowMajor ? inner : outer); } + + template + EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + PacketType packetByOuterInner(Index outer, Index inner) const + { return Base::template packet(IsRowMajor ? outer : inner, IsRowMajor ? inner : outer); } + +}; + +} // end namespace internal + +/*************************************************************************** +* Part 4 : public API +***************************************************************************/ + + +/** \returns the result of a full redux operation on the whole matrix or vector using \a func + * + * The template parameter \a BinaryOp is the type of the functor \a func which must be + * an associative operator. Both current C++98 and C++11 functor styles are handled. + * + * \warning the matrix must be not empty, otherwise an assertion is triggered. + * + * \sa DenseBase::sum(), DenseBase::minCoeff(), DenseBase::maxCoeff(), MatrixBase::colwise(), MatrixBase::rowwise() + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +DenseBase::redux(const Func& func) const +{ + eigen_assert(this->rows()>0 && this->cols()>0 && "you are using an empty matrix"); + + typedef typename internal::redux_evaluator ThisEvaluator; + ThisEvaluator thisEval(derived()); + + // The initial expression is passed to the reducer as an additional argument instead of + // passing it as a member of redux_evaluator to help + return internal::redux_impl::run(thisEval, func, derived()); +} + +/** \returns the minimum of all coefficients of \c *this. + * In case \c *this contains NaN, NaNPropagation determines the behavior: + * NaNPropagation == PropagateFast : undefined + * NaNPropagation == PropagateNaN : result is NaN + * NaNPropagation == PropagateNumbers : result is minimum of elements that are not NaN + * \warning the matrix must be not empty, otherwise an assertion is triggered. + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +DenseBase::minCoeff() const +{ + return derived().redux(Eigen::internal::scalar_min_op()); +} + +/** \returns the maximum of all coefficients of \c *this. + * In case \c *this contains NaN, NaNPropagation determines the behavior: + * NaNPropagation == PropagateFast : undefined + * NaNPropagation == PropagateNaN : result is NaN + * NaNPropagation == PropagateNumbers : result is maximum of elements that are not NaN + * \warning the matrix must be not empty, otherwise an assertion is triggered. + */ +template +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +DenseBase::maxCoeff() const +{ + return derived().redux(Eigen::internal::scalar_max_op()); +} + +/** \returns the sum of all coefficients of \c *this + * + * If \c *this is empty, then the value 0 is returned. + * + * \sa trace(), prod(), mean() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +DenseBase::sum() const +{ + if(SizeAtCompileTime==0 || (SizeAtCompileTime==Dynamic && size()==0)) + return Scalar(0); + return derived().redux(Eigen::internal::scalar_sum_op()); +} + +/** \returns the mean of all coefficients of *this +* +* \sa trace(), prod(), sum() +*/ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +DenseBase::mean() const +{ +#ifdef __INTEL_COMPILER + #pragma warning push + #pragma warning ( disable : 2259 ) +#endif + return Scalar(derived().redux(Eigen::internal::scalar_sum_op())) / Scalar(this->size()); +#ifdef __INTEL_COMPILER + #pragma warning pop +#endif +} + +/** \returns the product of all coefficients of *this + * + * Example: \include MatrixBase_prod.cpp + * Output: \verbinclude MatrixBase_prod.out + * + * \sa sum(), mean(), trace() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +DenseBase::prod() const +{ + if(SizeAtCompileTime==0 || (SizeAtCompileTime==Dynamic && size()==0)) + return Scalar(1); + return derived().redux(Eigen::internal::scalar_product_op()); +} + +/** \returns the trace of \c *this, i.e. the sum of the coefficients on the main diagonal. + * + * \c *this can be any matrix, not necessarily square. + * + * \sa diagonal(), sum() + */ +template +EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE typename internal::traits::Scalar +MatrixBase::trace() const +{ + return derived().diagonal().sum(); +} + +} // end namespace Eigen + +#endif // EIGEN_REDUX_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Ref.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Ref.h new file mode 100644 index 0000000..c2a37ea --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Ref.h @@ -0,0 +1,381 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2012 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_REF_H +#define EIGEN_REF_H + +namespace Eigen { + +namespace internal { + +template +struct traits > + : public traits > +{ + typedef _PlainObjectType PlainObjectType; + typedef _StrideType StrideType; + enum { + Options = _Options, + Flags = traits >::Flags | NestByRefBit, + Alignment = traits >::Alignment + }; + + template struct match { + enum { + IsVectorAtCompileTime = PlainObjectType::IsVectorAtCompileTime || Derived::IsVectorAtCompileTime, + HasDirectAccess = internal::has_direct_access::ret, + StorageOrderMatch = IsVectorAtCompileTime || ((PlainObjectType::Flags&RowMajorBit)==(Derived::Flags&RowMajorBit)), + InnerStrideMatch = int(StrideType::InnerStrideAtCompileTime)==int(Dynamic) + || int(StrideType::InnerStrideAtCompileTime)==int(Derived::InnerStrideAtCompileTime) + || (int(StrideType::InnerStrideAtCompileTime)==0 && int(Derived::InnerStrideAtCompileTime)==1), + OuterStrideMatch = IsVectorAtCompileTime + || int(StrideType::OuterStrideAtCompileTime)==int(Dynamic) || int(StrideType::OuterStrideAtCompileTime)==int(Derived::OuterStrideAtCompileTime), + // NOTE, this indirection of evaluator::Alignment is needed + // to workaround a very strange bug in MSVC related to the instantiation + // of has_*ary_operator in evaluator. + // This line is surprisingly very sensitive. For instance, simply adding parenthesis + // as "DerivedAlignment = (int(evaluator::Alignment))," will make MSVC fail... + DerivedAlignment = int(evaluator::Alignment), + AlignmentMatch = (int(traits::Alignment)==int(Unaligned)) || (DerivedAlignment >= int(Alignment)), // FIXME the first condition is not very clear, it should be replaced by the required alignment + ScalarTypeMatch = internal::is_same::value, + MatchAtCompileTime = HasDirectAccess && StorageOrderMatch && InnerStrideMatch && OuterStrideMatch && AlignmentMatch && ScalarTypeMatch + }; + typedef typename internal::conditional::type type; + }; + +}; + +template +struct traits > : public traits {}; + +} + +template class RefBase + : public MapBase +{ + typedef typename internal::traits::PlainObjectType PlainObjectType; + typedef typename internal::traits::StrideType StrideType; + +public: + + typedef MapBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(RefBase) + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR inline Index innerStride() const + { + return StrideType::InnerStrideAtCompileTime != 0 ? m_stride.inner() : 1; + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR inline Index outerStride() const + { + return StrideType::OuterStrideAtCompileTime != 0 ? m_stride.outer() + : IsVectorAtCompileTime ? this->size() + : int(Flags)&RowMajorBit ? this->cols() + : this->rows(); + } + + EIGEN_DEVICE_FUNC RefBase() + : Base(0,RowsAtCompileTime==Dynamic?0:RowsAtCompileTime,ColsAtCompileTime==Dynamic?0:ColsAtCompileTime), + // Stride<> does not allow default ctor for Dynamic strides, so let' initialize it with dummy values: + m_stride(StrideType::OuterStrideAtCompileTime==Dynamic?0:StrideType::OuterStrideAtCompileTime, + StrideType::InnerStrideAtCompileTime==Dynamic?0:StrideType::InnerStrideAtCompileTime) + {} + + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(RefBase) + +protected: + + typedef Stride StrideBase; + + // Resolves inner stride if default 0. + static EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index resolveInnerStride(Index inner) { + return inner == 0 ? 1 : inner; + } + + // Resolves outer stride if default 0. + static EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index resolveOuterStride(Index inner, Index outer, Index rows, Index cols, bool isVectorAtCompileTime, bool isRowMajor) { + return outer == 0 ? isVectorAtCompileTime ? inner * rows * cols : isRowMajor ? inner * cols : inner * rows : outer; + } + + // Returns true if construction is valid, false if there is a stride mismatch, + // and fails if there is a size mismatch. + template + EIGEN_DEVICE_FUNC bool construct(Expression& expr) + { + // Check matrix sizes. If this is a compile-time vector, we do allow + // implicitly transposing. + EIGEN_STATIC_ASSERT( + EIGEN_PREDICATE_SAME_MATRIX_SIZE(PlainObjectType, Expression) + // If it is a vector, the transpose sizes might match. + || ( PlainObjectType::IsVectorAtCompileTime + && ((int(PlainObjectType::RowsAtCompileTime)==Eigen::Dynamic + || int(Expression::ColsAtCompileTime)==Eigen::Dynamic + || int(PlainObjectType::RowsAtCompileTime)==int(Expression::ColsAtCompileTime)) + && (int(PlainObjectType::ColsAtCompileTime)==Eigen::Dynamic + || int(Expression::RowsAtCompileTime)==Eigen::Dynamic + || int(PlainObjectType::ColsAtCompileTime)==int(Expression::RowsAtCompileTime)))), + YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES + ) + + // Determine runtime rows and columns. + Index rows = expr.rows(); + Index cols = expr.cols(); + if(PlainObjectType::RowsAtCompileTime==1) + { + eigen_assert(expr.rows()==1 || expr.cols()==1); + rows = 1; + cols = expr.size(); + } + else if(PlainObjectType::ColsAtCompileTime==1) + { + eigen_assert(expr.rows()==1 || expr.cols()==1); + rows = expr.size(); + cols = 1; + } + // Verify that the sizes are valid. + eigen_assert( + (PlainObjectType::RowsAtCompileTime == Dynamic) || (PlainObjectType::RowsAtCompileTime == rows)); + eigen_assert( + (PlainObjectType::ColsAtCompileTime == Dynamic) || (PlainObjectType::ColsAtCompileTime == cols)); + + + // If this is a vector, we might be transposing, which means that stride should swap. + const bool transpose = PlainObjectType::IsVectorAtCompileTime && (rows != expr.rows()); + // If the storage format differs, we also need to swap the stride. + const bool row_major = ((PlainObjectType::Flags)&RowMajorBit) != 0; + const bool expr_row_major = (Expression::Flags&RowMajorBit) != 0; + const bool storage_differs = (row_major != expr_row_major); + + const bool swap_stride = (transpose != storage_differs); + + // Determine expr's actual strides, resolving any defaults if zero. + const Index expr_inner_actual = resolveInnerStride(expr.innerStride()); + const Index expr_outer_actual = resolveOuterStride(expr_inner_actual, + expr.outerStride(), + expr.rows(), + expr.cols(), + Expression::IsVectorAtCompileTime != 0, + expr_row_major); + + // If this is a column-major row vector or row-major column vector, the inner-stride + // is arbitrary, so set it to either the compile-time inner stride or 1. + const bool row_vector = (rows == 1); + const bool col_vector = (cols == 1); + const Index inner_stride = + ( (!row_major && row_vector) || (row_major && col_vector) ) ? + ( StrideType::InnerStrideAtCompileTime > 0 ? Index(StrideType::InnerStrideAtCompileTime) : 1) + : swap_stride ? expr_outer_actual : expr_inner_actual; + + // If this is a column-major column vector or row-major row vector, the outer-stride + // is arbitrary, so set it to either the compile-time outer stride or vector size. + const Index outer_stride = + ( (!row_major && col_vector) || (row_major && row_vector) ) ? + ( StrideType::OuterStrideAtCompileTime > 0 ? Index(StrideType::OuterStrideAtCompileTime) : rows * cols * inner_stride) + : swap_stride ? expr_inner_actual : expr_outer_actual; + + // Check if given inner/outer strides are compatible with compile-time strides. + const bool inner_valid = (StrideType::InnerStrideAtCompileTime == Dynamic) + || (resolveInnerStride(Index(StrideType::InnerStrideAtCompileTime)) == inner_stride); + if (!inner_valid) { + return false; + } + + const bool outer_valid = (StrideType::OuterStrideAtCompileTime == Dynamic) + || (resolveOuterStride( + inner_stride, + Index(StrideType::OuterStrideAtCompileTime), + rows, cols, PlainObjectType::IsVectorAtCompileTime != 0, + row_major) + == outer_stride); + if (!outer_valid) { + return false; + } + + ::new (static_cast(this)) Base(expr.data(), rows, cols); + ::new (&m_stride) StrideBase( + (StrideType::OuterStrideAtCompileTime == 0) ? 0 : outer_stride, + (StrideType::InnerStrideAtCompileTime == 0) ? 0 : inner_stride ); + return true; + } + + StrideBase m_stride; +}; + +/** \class Ref + * \ingroup Core_Module + * + * \brief A matrix or vector expression mapping an existing expression + * + * \tparam PlainObjectType the equivalent matrix type of the mapped data + * \tparam Options specifies the pointer alignment in bytes. It can be: \c #Aligned128, , \c #Aligned64, \c #Aligned32, \c #Aligned16, \c #Aligned8 or \c #Unaligned. + * The default is \c #Unaligned. + * \tparam StrideType optionally specifies strides. By default, Ref implies a contiguous storage along the inner dimension (inner stride==1), + * but accepts a variable outer stride (leading dimension). + * This can be overridden by specifying strides. + * The type passed here must be a specialization of the Stride template, see examples below. + * + * This class provides a way to write non-template functions taking Eigen objects as parameters while limiting the number of copies. + * A Ref<> object can represent either a const expression or a l-value: + * \code + * // in-out argument: + * void foo1(Ref x); + * + * // read-only const argument: + * void foo2(const Ref& x); + * \endcode + * + * In the in-out case, the input argument must satisfy the constraints of the actual Ref<> type, otherwise a compilation issue will be triggered. + * By default, a Ref can reference any dense vector expression of float having a contiguous memory layout. + * Likewise, a Ref can reference any column-major dense matrix expression of float whose column's elements are contiguously stored with + * the possibility to have a constant space in-between each column, i.e. the inner stride must be equal to 1, but the outer stride (or leading dimension) + * can be greater than the number of rows. + * + * In the const case, if the input expression does not match the above requirement, then it is evaluated into a temporary before being passed to the function. + * Here are some examples: + * \code + * MatrixXf A; + * VectorXf a; + * foo1(a.head()); // OK + * foo1(A.col()); // OK + * foo1(A.row()); // Compilation error because here innerstride!=1 + * foo2(A.row()); // Compilation error because A.row() is a 1xN object while foo2 is expecting a Nx1 object + * foo2(A.row().transpose()); // The row is copied into a contiguous temporary + * foo2(2*a); // The expression is evaluated into a temporary + * foo2(A.col().segment(2,4)); // No temporary + * \endcode + * + * The range of inputs that can be referenced without temporary can be enlarged using the last two template parameters. + * Here is an example accepting an innerstride!=1: + * \code + * // in-out argument: + * void foo3(Ref > x); + * foo3(A.row()); // OK + * \endcode + * The downside here is that the function foo3 might be significantly slower than foo1 because it won't be able to exploit vectorization, and will involve more + * expensive address computations even if the input is contiguously stored in memory. To overcome this issue, one might propose to overload internally calling a + * template function, e.g.: + * \code + * // in the .h: + * void foo(const Ref& A); + * void foo(const Ref >& A); + * + * // in the .cpp: + * template void foo_impl(const TypeOfA& A) { + * ... // crazy code goes here + * } + * void foo(const Ref& A) { foo_impl(A); } + * void foo(const Ref >& A) { foo_impl(A); } + * \endcode + * + * See also the following stackoverflow questions for further references: + * - Correct usage of the Eigen::Ref<> class + * + * \sa PlainObjectBase::Map(), \ref TopicStorageOrders + */ +template class Ref + : public RefBase > +{ + private: + typedef internal::traits Traits; + template + EIGEN_DEVICE_FUNC inline Ref(const PlainObjectBase& expr, + typename internal::enable_if::MatchAtCompileTime),Derived>::type* = 0); + public: + + typedef RefBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Ref) + + + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + EIGEN_DEVICE_FUNC inline Ref(PlainObjectBase& expr, + typename internal::enable_if::MatchAtCompileTime),Derived>::type* = 0) + { + EIGEN_STATIC_ASSERT(bool(Traits::template match::MatchAtCompileTime), STORAGE_LAYOUT_DOES_NOT_MATCH); + // Construction must pass since we will not create temprary storage in the non-const case. + const bool success = Base::construct(expr.derived()); + EIGEN_UNUSED_VARIABLE(success) + eigen_assert(success); + } + template + EIGEN_DEVICE_FUNC inline Ref(const DenseBase& expr, + typename internal::enable_if::MatchAtCompileTime),Derived>::type* = 0) + #else + /** Implicit constructor from any dense expression */ + template + inline Ref(DenseBase& expr) + #endif + { + EIGEN_STATIC_ASSERT(bool(internal::is_lvalue::value), THIS_EXPRESSION_IS_NOT_A_LVALUE__IT_IS_READ_ONLY); + EIGEN_STATIC_ASSERT(bool(Traits::template match::MatchAtCompileTime), STORAGE_LAYOUT_DOES_NOT_MATCH); + EIGEN_STATIC_ASSERT(!Derived::IsPlainObjectBase,THIS_EXPRESSION_IS_NOT_A_LVALUE__IT_IS_READ_ONLY); + // Construction must pass since we will not create temporary storage in the non-const case. + const bool success = Base::construct(expr.const_cast_derived()); + EIGEN_UNUSED_VARIABLE(success) + eigen_assert(success); + } + + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Ref) + +}; + +// this is the const ref version +template class Ref + : public RefBase > +{ + typedef internal::traits Traits; + public: + + typedef RefBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Ref) + + template + EIGEN_DEVICE_FUNC inline Ref(const DenseBase& expr, + typename internal::enable_if::ScalarTypeMatch),Derived>::type* = 0) + { +// std::cout << match_helper::HasDirectAccess << "," << match_helper::OuterStrideMatch << "," << match_helper::InnerStrideMatch << "\n"; +// std::cout << int(StrideType::OuterStrideAtCompileTime) << " - " << int(Derived::OuterStrideAtCompileTime) << "\n"; +// std::cout << int(StrideType::InnerStrideAtCompileTime) << " - " << int(Derived::InnerStrideAtCompileTime) << "\n"; + construct(expr.derived(), typename Traits::template match::type()); + } + + EIGEN_DEVICE_FUNC inline Ref(const Ref& other) : Base(other) { + // copy constructor shall not copy the m_object, to avoid unnecessary malloc and copy + } + + template + EIGEN_DEVICE_FUNC inline Ref(const RefBase& other) { + construct(other.derived(), typename Traits::template match::type()); + } + + protected: + + template + EIGEN_DEVICE_FUNC void construct(const Expression& expr,internal::true_type) + { + // Check if we can use the underlying expr's storage directly, otherwise call the copy version. + if (!Base::construct(expr)) { + construct(expr, internal::false_type()); + } + } + + template + EIGEN_DEVICE_FUNC void construct(const Expression& expr, internal::false_type) + { + internal::call_assignment_no_alias(m_object,expr,internal::assign_op()); + Base::construct(m_object); + } + + protected: + TPlainObjectType m_object; +}; + +} // end namespace Eigen + +#endif // EIGEN_REF_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Replicate.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Replicate.h new file mode 100644 index 0000000..ab5be7e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Replicate.h @@ -0,0 +1,142 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_REPLICATE_H +#define EIGEN_REPLICATE_H + +namespace Eigen { + +namespace internal { +template +struct traits > + : traits +{ + typedef typename MatrixType::Scalar Scalar; + typedef typename traits::StorageKind StorageKind; + typedef typename traits::XprKind XprKind; + typedef typename ref_selector::type MatrixTypeNested; + typedef typename remove_reference::type _MatrixTypeNested; + enum { + RowsAtCompileTime = RowFactor==Dynamic || int(MatrixType::RowsAtCompileTime)==Dynamic + ? Dynamic + : RowFactor * MatrixType::RowsAtCompileTime, + ColsAtCompileTime = ColFactor==Dynamic || int(MatrixType::ColsAtCompileTime)==Dynamic + ? Dynamic + : ColFactor * MatrixType::ColsAtCompileTime, + //FIXME we don't propagate the max sizes !!! + MaxRowsAtCompileTime = RowsAtCompileTime, + MaxColsAtCompileTime = ColsAtCompileTime, + IsRowMajor = MaxRowsAtCompileTime==1 && MaxColsAtCompileTime!=1 ? 1 + : MaxColsAtCompileTime==1 && MaxRowsAtCompileTime!=1 ? 0 + : (MatrixType::Flags & RowMajorBit) ? 1 : 0, + + // FIXME enable DirectAccess with negative strides? + Flags = IsRowMajor ? RowMajorBit : 0 + }; +}; +} + +/** + * \class Replicate + * \ingroup Core_Module + * + * \brief Expression of the multiple replication of a matrix or vector + * + * \tparam MatrixType the type of the object we are replicating + * \tparam RowFactor number of repetitions at compile time along the vertical direction, can be Dynamic. + * \tparam ColFactor number of repetitions at compile time along the horizontal direction, can be Dynamic. + * + * This class represents an expression of the multiple replication of a matrix or vector. + * It is the return type of DenseBase::replicate() and most of the time + * this is the only way it is used. + * + * \sa DenseBase::replicate() + */ +template class Replicate + : public internal::dense_xpr_base< Replicate >::type +{ + typedef typename internal::traits::MatrixTypeNested MatrixTypeNested; + typedef typename internal::traits::_MatrixTypeNested _MatrixTypeNested; + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Replicate) + typedef typename internal::remove_all::type NestedExpression; + + template + EIGEN_DEVICE_FUNC + inline explicit Replicate(const OriginalMatrixType& matrix) + : m_matrix(matrix), m_rowFactor(RowFactor), m_colFactor(ColFactor) + { + EIGEN_STATIC_ASSERT((internal::is_same::type,OriginalMatrixType>::value), + THE_MATRIX_OR_EXPRESSION_THAT_YOU_PASSED_DOES_NOT_HAVE_THE_EXPECTED_TYPE) + eigen_assert(RowFactor!=Dynamic && ColFactor!=Dynamic); + } + + template + EIGEN_DEVICE_FUNC + inline Replicate(const OriginalMatrixType& matrix, Index rowFactor, Index colFactor) + : m_matrix(matrix), m_rowFactor(rowFactor), m_colFactor(colFactor) + { + EIGEN_STATIC_ASSERT((internal::is_same::type,OriginalMatrixType>::value), + THE_MATRIX_OR_EXPRESSION_THAT_YOU_PASSED_DOES_NOT_HAVE_THE_EXPECTED_TYPE) + } + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const { return m_matrix.rows() * m_rowFactor.value(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const { return m_matrix.cols() * m_colFactor.value(); } + + EIGEN_DEVICE_FUNC + const _MatrixTypeNested& nestedExpression() const + { + return m_matrix; + } + + protected: + MatrixTypeNested m_matrix; + const internal::variable_if_dynamic m_rowFactor; + const internal::variable_if_dynamic m_colFactor; +}; + +/** + * \return an expression of the replication of \c *this + * + * Example: \include MatrixBase_replicate.cpp + * Output: \verbinclude MatrixBase_replicate.out + * + * \sa VectorwiseOp::replicate(), DenseBase::replicate(Index,Index), class Replicate + */ +template +template +EIGEN_DEVICE_FUNC const Replicate +DenseBase::replicate() const +{ + return Replicate(derived()); +} + +/** + * \return an expression of the replication of each column (or row) of \c *this + * + * Example: \include DirectionWise_replicate_int.cpp + * Output: \verbinclude DirectionWise_replicate_int.out + * + * \sa VectorwiseOp::replicate(), DenseBase::replicate(), class Replicate + */ +template +EIGEN_DEVICE_FUNC const typename VectorwiseOp::ReplicateReturnType +VectorwiseOp::replicate(Index factor) const +{ + return typename VectorwiseOp::ReplicateReturnType + (_expression(),Direction==Vertical?factor:1,Direction==Horizontal?factor:1); +} + +} // end namespace Eigen + +#endif // EIGEN_REPLICATE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Reshaped.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Reshaped.h new file mode 100644 index 0000000..52de73b --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Reshaped.h @@ -0,0 +1,454 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2017 Gael Guennebaud +// Copyright (C) 2014 yoco +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_RESHAPED_H +#define EIGEN_RESHAPED_H + +namespace Eigen { + +/** \class Reshaped + * \ingroup Core_Module + * + * \brief Expression of a fixed-size or dynamic-size reshape + * + * \tparam XprType the type of the expression in which we are taking a reshape + * \tparam Rows the number of rows of the reshape we are taking at compile time (optional) + * \tparam Cols the number of columns of the reshape we are taking at compile time (optional) + * \tparam Order can be ColMajor or RowMajor, default is ColMajor. + * + * This class represents an expression of either a fixed-size or dynamic-size reshape. + * It is the return type of DenseBase::reshaped(NRowsType,NColsType) and + * most of the time this is the only way it is used. + * + * However, in C++98, if you want to directly maniputate reshaped expressions, + * for instance if you want to write a function returning such an expression, you + * will need to use this class. In C++11, it is advised to use the \em auto + * keyword for such use cases. + * + * Here is an example illustrating the dynamic case: + * \include class_Reshaped.cpp + * Output: \verbinclude class_Reshaped.out + * + * Here is an example illustrating the fixed-size case: + * \include class_FixedReshaped.cpp + * Output: \verbinclude class_FixedReshaped.out + * + * \sa DenseBase::reshaped(NRowsType,NColsType) + */ + +namespace internal { + +template +struct traits > : traits +{ + typedef typename traits::Scalar Scalar; + typedef typename traits::StorageKind StorageKind; + typedef typename traits::XprKind XprKind; + enum{ + MatrixRows = traits::RowsAtCompileTime, + MatrixCols = traits::ColsAtCompileTime, + RowsAtCompileTime = Rows, + ColsAtCompileTime = Cols, + MaxRowsAtCompileTime = Rows, + MaxColsAtCompileTime = Cols, + XpxStorageOrder = ((int(traits::Flags) & RowMajorBit) == RowMajorBit) ? RowMajor : ColMajor, + ReshapedStorageOrder = (RowsAtCompileTime == 1 && ColsAtCompileTime != 1) ? RowMajor + : (ColsAtCompileTime == 1 && RowsAtCompileTime != 1) ? ColMajor + : XpxStorageOrder, + HasSameStorageOrderAsXprType = (ReshapedStorageOrder == XpxStorageOrder), + InnerSize = (ReshapedStorageOrder==int(RowMajor)) ? int(ColsAtCompileTime) : int(RowsAtCompileTime), + InnerStrideAtCompileTime = HasSameStorageOrderAsXprType + ? int(inner_stride_at_compile_time::ret) + : Dynamic, + OuterStrideAtCompileTime = Dynamic, + + HasDirectAccess = internal::has_direct_access::ret + && (Order==int(XpxStorageOrder)) + && ((evaluator::Flags&LinearAccessBit)==LinearAccessBit), + + MaskPacketAccessBit = (InnerSize == Dynamic || (InnerSize % packet_traits::size) == 0) + && (InnerStrideAtCompileTime == 1) + ? PacketAccessBit : 0, + //MaskAlignedBit = ((OuterStrideAtCompileTime!=Dynamic) && (((OuterStrideAtCompileTime * int(sizeof(Scalar))) % 16) == 0)) ? AlignedBit : 0, + FlagsLinearAccessBit = (RowsAtCompileTime == 1 || ColsAtCompileTime == 1) ? LinearAccessBit : 0, + FlagsLvalueBit = is_lvalue::value ? LvalueBit : 0, + FlagsRowMajorBit = (ReshapedStorageOrder==int(RowMajor)) ? RowMajorBit : 0, + FlagsDirectAccessBit = HasDirectAccess ? DirectAccessBit : 0, + Flags0 = traits::Flags & ( (HereditaryBits & ~RowMajorBit) | MaskPacketAccessBit), + + Flags = (Flags0 | FlagsLinearAccessBit | FlagsLvalueBit | FlagsRowMajorBit | FlagsDirectAccessBit) + }; +}; + +template class ReshapedImpl_dense; + +} // end namespace internal + +template class ReshapedImpl; + +template class Reshaped + : public ReshapedImpl::StorageKind> +{ + typedef ReshapedImpl::StorageKind> Impl; + public: + //typedef typename Impl::Base Base; + typedef Impl Base; + EIGEN_GENERIC_PUBLIC_INTERFACE(Reshaped) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Reshaped) + + /** Fixed-size constructor + */ + EIGEN_DEVICE_FUNC + inline Reshaped(XprType& xpr) + : Impl(xpr) + { + EIGEN_STATIC_ASSERT(RowsAtCompileTime!=Dynamic && ColsAtCompileTime!=Dynamic,THIS_METHOD_IS_ONLY_FOR_FIXED_SIZE) + eigen_assert(Rows * Cols == xpr.rows() * xpr.cols()); + } + + /** Dynamic-size constructor + */ + EIGEN_DEVICE_FUNC + inline Reshaped(XprType& xpr, + Index reshapeRows, Index reshapeCols) + : Impl(xpr, reshapeRows, reshapeCols) + { + eigen_assert((RowsAtCompileTime==Dynamic || RowsAtCompileTime==reshapeRows) + && (ColsAtCompileTime==Dynamic || ColsAtCompileTime==reshapeCols)); + eigen_assert(reshapeRows * reshapeCols == xpr.rows() * xpr.cols()); + } +}; + +// The generic default implementation for dense reshape simply forward to the internal::ReshapedImpl_dense +// that must be specialized for direct and non-direct access... +template +class ReshapedImpl + : public internal::ReshapedImpl_dense >::HasDirectAccess> +{ + typedef internal::ReshapedImpl_dense >::HasDirectAccess> Impl; + public: + typedef Impl Base; + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(ReshapedImpl) + EIGEN_DEVICE_FUNC inline ReshapedImpl(XprType& xpr) : Impl(xpr) {} + EIGEN_DEVICE_FUNC inline ReshapedImpl(XprType& xpr, Index reshapeRows, Index reshapeCols) + : Impl(xpr, reshapeRows, reshapeCols) {} +}; + +namespace internal { + +/** \internal Internal implementation of dense Reshaped in the general case. */ +template +class ReshapedImpl_dense + : public internal::dense_xpr_base >::type +{ + typedef Reshaped ReshapedType; + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(ReshapedType) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(ReshapedImpl_dense) + + typedef typename internal::ref_selector::non_const_type MatrixTypeNested; + typedef typename internal::remove_all::type NestedExpression; + + class InnerIterator; + + /** Fixed-size constructor + */ + EIGEN_DEVICE_FUNC + inline ReshapedImpl_dense(XprType& xpr) + : m_xpr(xpr), m_rows(Rows), m_cols(Cols) + {} + + /** Dynamic-size constructor + */ + EIGEN_DEVICE_FUNC + inline ReshapedImpl_dense(XprType& xpr, Index nRows, Index nCols) + : m_xpr(xpr), m_rows(nRows), m_cols(nCols) + {} + + EIGEN_DEVICE_FUNC Index rows() const { return m_rows; } + EIGEN_DEVICE_FUNC Index cols() const { return m_cols; } + + #ifdef EIGEN_PARSED_BY_DOXYGEN + /** \sa MapBase::data() */ + EIGEN_DEVICE_FUNC inline const Scalar* data() const; + EIGEN_DEVICE_FUNC inline Index innerStride() const; + EIGEN_DEVICE_FUNC inline Index outerStride() const; + #endif + + /** \returns the nested expression */ + EIGEN_DEVICE_FUNC + const typename internal::remove_all::type& + nestedExpression() const { return m_xpr; } + + /** \returns the nested expression */ + EIGEN_DEVICE_FUNC + typename internal::remove_reference::type& + nestedExpression() { return m_xpr; } + + protected: + + MatrixTypeNested m_xpr; + const internal::variable_if_dynamic m_rows; + const internal::variable_if_dynamic m_cols; +}; + + +/** \internal Internal implementation of dense Reshaped in the direct access case. */ +template +class ReshapedImpl_dense + : public MapBase > +{ + typedef Reshaped ReshapedType; + typedef typename internal::ref_selector::non_const_type XprTypeNested; + public: + + typedef MapBase Base; + EIGEN_DENSE_PUBLIC_INTERFACE(ReshapedType) + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(ReshapedImpl_dense) + + /** Fixed-size constructor + */ + EIGEN_DEVICE_FUNC + inline ReshapedImpl_dense(XprType& xpr) + : Base(xpr.data()), m_xpr(xpr) + {} + + /** Dynamic-size constructor + */ + EIGEN_DEVICE_FUNC + inline ReshapedImpl_dense(XprType& xpr, Index nRows, Index nCols) + : Base(xpr.data(), nRows, nCols), + m_xpr(xpr) + {} + + EIGEN_DEVICE_FUNC + const typename internal::remove_all::type& nestedExpression() const + { + return m_xpr; + } + + EIGEN_DEVICE_FUNC + XprType& nestedExpression() { return m_xpr; } + + /** \sa MapBase::innerStride() */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index innerStride() const + { + return m_xpr.innerStride(); + } + + /** \sa MapBase::outerStride() */ + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index outerStride() const + { + return ((Flags&RowMajorBit)==RowMajorBit) ? this->cols() : this->rows(); + } + + protected: + + XprTypeNested m_xpr; +}; + +// Evaluators +template struct reshaped_evaluator; + +template +struct evaluator > + : reshaped_evaluator >::HasDirectAccess> +{ + typedef Reshaped XprType; + typedef typename XprType::Scalar Scalar; + // TODO: should check for smaller packet types + typedef typename packet_traits::type PacketScalar; + + enum { + CoeffReadCost = evaluator::CoeffReadCost, + HasDirectAccess = traits::HasDirectAccess, + +// RowsAtCompileTime = traits::RowsAtCompileTime, +// ColsAtCompileTime = traits::ColsAtCompileTime, +// MaxRowsAtCompileTime = traits::MaxRowsAtCompileTime, +// MaxColsAtCompileTime = traits::MaxColsAtCompileTime, +// +// InnerStrideAtCompileTime = traits::HasSameStorageOrderAsXprType +// ? int(inner_stride_at_compile_time::ret) +// : Dynamic, +// OuterStrideAtCompileTime = Dynamic, + + FlagsLinearAccessBit = (traits::RowsAtCompileTime == 1 || traits::ColsAtCompileTime == 1 || HasDirectAccess) ? LinearAccessBit : 0, + FlagsRowMajorBit = (traits::ReshapedStorageOrder==int(RowMajor)) ? RowMajorBit : 0, + FlagsDirectAccessBit = HasDirectAccess ? DirectAccessBit : 0, + Flags0 = evaluator::Flags & (HereditaryBits & ~RowMajorBit), + Flags = Flags0 | FlagsLinearAccessBit | FlagsRowMajorBit | FlagsDirectAccessBit, + + PacketAlignment = unpacket_traits::alignment, + Alignment = evaluator::Alignment + }; + typedef reshaped_evaluator reshaped_evaluator_type; + EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) : reshaped_evaluator_type(xpr) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } +}; + +template +struct reshaped_evaluator + : evaluator_base > +{ + typedef Reshaped XprType; + + enum { + CoeffReadCost = evaluator::CoeffReadCost /* TODO + cost of index computations */, + + Flags = (evaluator::Flags & (HereditaryBits /*| LinearAccessBit | DirectAccessBit*/)), + + Alignment = 0 + }; + + EIGEN_DEVICE_FUNC explicit reshaped_evaluator(const XprType& xpr) : m_argImpl(xpr.nestedExpression()), m_xpr(xpr) + { + EIGEN_INTERNAL_CHECK_COST_VALUE(CoeffReadCost); + } + + typedef typename XprType::Scalar Scalar; + typedef typename XprType::CoeffReturnType CoeffReturnType; + + typedef std::pair RowCol; + + inline RowCol index_remap(Index rowId, Index colId) const + { + if(Order==ColMajor) + { + const Index nth_elem_idx = colId * m_xpr.rows() + rowId; + return RowCol(nth_elem_idx % m_xpr.nestedExpression().rows(), + nth_elem_idx / m_xpr.nestedExpression().rows()); + } + else + { + const Index nth_elem_idx = colId + rowId * m_xpr.cols(); + return RowCol(nth_elem_idx / m_xpr.nestedExpression().cols(), + nth_elem_idx % m_xpr.nestedExpression().cols()); + } + } + + EIGEN_DEVICE_FUNC + inline Scalar& coeffRef(Index rowId, Index colId) + { + EIGEN_STATIC_ASSERT_LVALUE(XprType) + const RowCol row_col = index_remap(rowId, colId); + return m_argImpl.coeffRef(row_col.first, row_col.second); + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index rowId, Index colId) const + { + const RowCol row_col = index_remap(rowId, colId); + return m_argImpl.coeffRef(row_col.first, row_col.second); + } + + EIGEN_DEVICE_FUNC + EIGEN_STRONG_INLINE const CoeffReturnType coeff(Index rowId, Index colId) const + { + const RowCol row_col = index_remap(rowId, colId); + return m_argImpl.coeff(row_col.first, row_col.second); + } + + EIGEN_DEVICE_FUNC + inline Scalar& coeffRef(Index index) + { + EIGEN_STATIC_ASSERT_LVALUE(XprType) + const RowCol row_col = index_remap(Rows == 1 ? 0 : index, + Rows == 1 ? index : 0); + return m_argImpl.coeffRef(row_col.first, row_col.second); + + } + + EIGEN_DEVICE_FUNC + inline const Scalar& coeffRef(Index index) const + { + const RowCol row_col = index_remap(Rows == 1 ? 0 : index, + Rows == 1 ? index : 0); + return m_argImpl.coeffRef(row_col.first, row_col.second); + } + + EIGEN_DEVICE_FUNC + inline const CoeffReturnType coeff(Index index) const + { + const RowCol row_col = index_remap(Rows == 1 ? 0 : index, + Rows == 1 ? index : 0); + return m_argImpl.coeff(row_col.first, row_col.second); + } +#if 0 + EIGEN_DEVICE_FUNC + template + inline PacketScalar packet(Index rowId, Index colId) const + { + const RowCol row_col = index_remap(rowId, colId); + return m_argImpl.template packet(row_col.first, row_col.second); + + } + + template + EIGEN_DEVICE_FUNC + inline void writePacket(Index rowId, Index colId, const PacketScalar& val) + { + const RowCol row_col = index_remap(rowId, colId); + m_argImpl.const_cast_derived().template writePacket + (row_col.first, row_col.second, val); + } + + template + EIGEN_DEVICE_FUNC + inline PacketScalar packet(Index index) const + { + const RowCol row_col = index_remap(RowsAtCompileTime == 1 ? 0 : index, + RowsAtCompileTime == 1 ? index : 0); + return m_argImpl.template packet(row_col.first, row_col.second); + } + + template + EIGEN_DEVICE_FUNC + inline void writePacket(Index index, const PacketScalar& val) + { + const RowCol row_col = index_remap(RowsAtCompileTime == 1 ? 0 : index, + RowsAtCompileTime == 1 ? index : 0); + return m_argImpl.template packet(row_col.first, row_col.second, val); + } +#endif +protected: + + evaluator m_argImpl; + const XprType& m_xpr; + +}; + +template +struct reshaped_evaluator +: mapbase_evaluator, + typename Reshaped::PlainObject> +{ + typedef Reshaped XprType; + typedef typename XprType::Scalar Scalar; + + EIGEN_DEVICE_FUNC explicit reshaped_evaluator(const XprType& xpr) + : mapbase_evaluator(xpr) + { + // TODO: for the 3.4 release, this should be turned to an internal assertion, but let's keep it as is for the beta lifetime + eigen_assert(((internal::UIntPtr(xpr.data()) % EIGEN_PLAIN_ENUM_MAX(1,evaluator::Alignment)) == 0) && "data is not aligned"); + } +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_RESHAPED_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ReturnByValue.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ReturnByValue.h new file mode 100644 index 0000000..4dad13e --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/ReturnByValue.h @@ -0,0 +1,119 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2009-2010 Gael Guennebaud +// Copyright (C) 2009-2010 Benoit Jacob +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_RETURNBYVALUE_H +#define EIGEN_RETURNBYVALUE_H + +namespace Eigen { + +namespace internal { + +template +struct traits > + : public traits::ReturnType> +{ + enum { + // We're disabling the DirectAccess because e.g. the constructor of + // the Block-with-DirectAccess expression requires to have a coeffRef method. + // Also, we don't want to have to implement the stride stuff. + Flags = (traits::ReturnType>::Flags + | EvalBeforeNestingBit) & ~DirectAccessBit + }; +}; + +/* The ReturnByValue object doesn't even have a coeff() method. + * So the only way that nesting it in an expression can work, is by evaluating it into a plain matrix. + * So internal::nested always gives the plain return matrix type. + * + * FIXME: I don't understand why we need this specialization: isn't this taken care of by the EvalBeforeNestingBit ?? + * Answer: EvalBeforeNestingBit should be deprecated since we have the evaluators + */ +template +struct nested_eval, n, PlainObject> +{ + typedef typename traits::ReturnType type; +}; + +} // end namespace internal + +/** \class ReturnByValue + * \ingroup Core_Module + * + */ +template class ReturnByValue + : public internal::dense_xpr_base< ReturnByValue >::type, internal::no_assignment_operator +{ + public: + typedef typename internal::traits::ReturnType ReturnType; + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(ReturnByValue) + + template + EIGEN_DEVICE_FUNC + inline void evalTo(Dest& dst) const + { static_cast(this)->evalTo(dst); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return static_cast(this)->rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return static_cast(this)->cols(); } + +#ifndef EIGEN_PARSED_BY_DOXYGEN +#define Unusable YOU_ARE_TRYING_TO_ACCESS_A_SINGLE_COEFFICIENT_IN_A_SPECIAL_EXPRESSION_WHERE_THAT_IS_NOT_ALLOWED_BECAUSE_THAT_WOULD_BE_INEFFICIENT + class Unusable{ + Unusable(const Unusable&) {} + Unusable& operator=(const Unusable&) {return *this;} + }; + const Unusable& coeff(Index) const { return *reinterpret_cast(this); } + const Unusable& coeff(Index,Index) const { return *reinterpret_cast(this); } + Unusable& coeffRef(Index) { return *reinterpret_cast(this); } + Unusable& coeffRef(Index,Index) { return *reinterpret_cast(this); } +#undef Unusable +#endif +}; + +template +template +EIGEN_DEVICE_FUNC Derived& DenseBase::operator=(const ReturnByValue& other) +{ + other.evalTo(derived()); + return derived(); +} + +namespace internal { + +// Expression is evaluated in a temporary; default implementation of Assignment is bypassed so that +// when a ReturnByValue expression is assigned, the evaluator is not constructed. +// TODO: Finalize port to new regime; ReturnByValue should not exist in the expression world + +template +struct evaluator > + : public evaluator::ReturnType> +{ + typedef ReturnByValue XprType; + typedef typename internal::traits::ReturnType PlainObject; + typedef evaluator Base; + + EIGEN_DEVICE_FUNC explicit evaluator(const XprType& xpr) + : m_result(xpr.rows(), xpr.cols()) + { + ::new (static_cast(this)) Base(m_result); + xpr.evalTo(m_result); + } + +protected: + PlainObject m_result; +}; + +} // end namespace internal + +} // end namespace Eigen + +#endif // EIGEN_RETURNBYVALUE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Reverse.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Reverse.h new file mode 100644 index 0000000..28cdd76 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Reverse.h @@ -0,0 +1,217 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2006-2008 Benoit Jacob +// Copyright (C) 2009 Ricard Marxer +// Copyright (C) 2009-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_REVERSE_H +#define EIGEN_REVERSE_H + +namespace Eigen { + +namespace internal { + +template +struct traits > + : traits +{ + typedef typename MatrixType::Scalar Scalar; + typedef typename traits::StorageKind StorageKind; + typedef typename traits::XprKind XprKind; + typedef typename ref_selector::type MatrixTypeNested; + typedef typename remove_reference::type _MatrixTypeNested; + enum { + RowsAtCompileTime = MatrixType::RowsAtCompileTime, + ColsAtCompileTime = MatrixType::ColsAtCompileTime, + MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, + MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime, + Flags = _MatrixTypeNested::Flags & (RowMajorBit | LvalueBit) + }; +}; + +template struct reverse_packet_cond +{ + static inline PacketType run(const PacketType& x) { return preverse(x); } +}; + +template struct reverse_packet_cond +{ + static inline PacketType run(const PacketType& x) { return x; } +}; + +} // end namespace internal + +/** \class Reverse + * \ingroup Core_Module + * + * \brief Expression of the reverse of a vector or matrix + * + * \tparam MatrixType the type of the object of which we are taking the reverse + * \tparam Direction defines the direction of the reverse operation, can be Vertical, Horizontal, or BothDirections + * + * This class represents an expression of the reverse of a vector. + * It is the return type of MatrixBase::reverse() and VectorwiseOp::reverse() + * and most of the time this is the only way it is used. + * + * \sa MatrixBase::reverse(), VectorwiseOp::reverse() + */ +template class Reverse + : public internal::dense_xpr_base< Reverse >::type +{ + public: + + typedef typename internal::dense_xpr_base::type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(Reverse) + typedef typename internal::remove_all::type NestedExpression; + using Base::IsRowMajor; + + protected: + enum { + PacketSize = internal::packet_traits::size, + IsColMajor = !IsRowMajor, + ReverseRow = (Direction == Vertical) || (Direction == BothDirections), + ReverseCol = (Direction == Horizontal) || (Direction == BothDirections), + OffsetRow = ReverseRow && IsColMajor ? PacketSize : 1, + OffsetCol = ReverseCol && IsRowMajor ? PacketSize : 1, + ReversePacket = (Direction == BothDirections) + || ((Direction == Vertical) && IsColMajor) + || ((Direction == Horizontal) && IsRowMajor) + }; + typedef internal::reverse_packet_cond reverse_packet; + public: + + EIGEN_DEVICE_FUNC explicit inline Reverse(const MatrixType& matrix) : m_matrix(matrix) { } + + EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Reverse) + + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index rows() const EIGEN_NOEXCEPT { return m_matrix.rows(); } + EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR + inline Index cols() const EIGEN_NOEXCEPT { return m_matrix.cols(); } + + EIGEN_DEVICE_FUNC inline Index innerStride() const + { + return -m_matrix.innerStride(); + } + + EIGEN_DEVICE_FUNC const typename internal::remove_all::type& + nestedExpression() const + { + return m_matrix; + } + + protected: + typename MatrixType::Nested m_matrix; +}; + +/** \returns an expression of the reverse of *this. + * + * Example: \include MatrixBase_reverse.cpp + * Output: \verbinclude MatrixBase_reverse.out + * + */ +template +EIGEN_DEVICE_FUNC inline typename DenseBase::ReverseReturnType +DenseBase::reverse() +{ + return ReverseReturnType(derived()); +} + + +//reverse const overload moved DenseBase.h due to a CUDA compiler bug + +/** This is the "in place" version of reverse: it reverses \c *this. + * + * In most cases it is probably better to simply use the reversed expression + * of a matrix. However, when reversing the matrix data itself is really needed, + * then this "in-place" version is probably the right choice because it provides + * the following additional benefits: + * - less error prone: doing the same operation with .reverse() requires special care: + * \code m = m.reverse().eval(); \endcode + * - this API enables reverse operations without the need for a temporary + * - it allows future optimizations (cache friendliness, etc.) + * + * \sa VectorwiseOp::reverseInPlace(), reverse() */ +template +EIGEN_DEVICE_FUNC inline void DenseBase::reverseInPlace() +{ + if(cols()>rows()) + { + Index half = cols()/2; + leftCols(half).swap(rightCols(half).reverse()); + if((cols()%2)==1) + { + Index half2 = rows()/2; + col(half).head(half2).swap(col(half).tail(half2).reverse()); + } + } + else + { + Index half = rows()/2; + topRows(half).swap(bottomRows(half).reverse()); + if((rows()%2)==1) + { + Index half2 = cols()/2; + row(half).head(half2).swap(row(half).tail(half2).reverse()); + } + } +} + +namespace internal { + +template +struct vectorwise_reverse_inplace_impl; + +template<> +struct vectorwise_reverse_inplace_impl +{ + template + static void run(ExpressionType &xpr) + { + const int HalfAtCompileTime = ExpressionType::RowsAtCompileTime==Dynamic?Dynamic:ExpressionType::RowsAtCompileTime/2; + Index half = xpr.rows()/2; + xpr.topRows(fix(half)) + .swap(xpr.bottomRows(fix(half)).colwise().reverse()); + } +}; + +template<> +struct vectorwise_reverse_inplace_impl +{ + template + static void run(ExpressionType &xpr) + { + const int HalfAtCompileTime = ExpressionType::ColsAtCompileTime==Dynamic?Dynamic:ExpressionType::ColsAtCompileTime/2; + Index half = xpr.cols()/2; + xpr.leftCols(fix(half)) + .swap(xpr.rightCols(fix(half)).rowwise().reverse()); + } +}; + +} // end namespace internal + +/** This is the "in place" version of VectorwiseOp::reverse: it reverses each column or row of \c *this. + * + * In most cases it is probably better to simply use the reversed expression + * of a matrix. However, when reversing the matrix data itself is really needed, + * then this "in-place" version is probably the right choice because it provides + * the following additional benefits: + * - less error prone: doing the same operation with .reverse() requires special care: + * \code m = m.reverse().eval(); \endcode + * - this API enables reverse operations without the need for a temporary + * + * \sa DenseBase::reverseInPlace(), reverse() */ +template +EIGEN_DEVICE_FUNC void VectorwiseOp::reverseInPlace() +{ + internal::vectorwise_reverse_inplace_impl::run(m_matrix); +} + +} // end namespace Eigen + +#endif // EIGEN_REVERSE_H diff --git a/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Select.h b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Select.h new file mode 100644 index 0000000..7c86bf8 --- /dev/null +++ b/device_firmware/multi_libreVNA_firmware/reproduce/LibreVNA/Software/PC_Application/LibreVNA-GUI/Tools/Eigen/src/Core/Select.h @@ -0,0 +1,164 @@ +// This file is part of Eigen, a lightweight C++ template library +// for linear algebra. +// +// Copyright (C) 2008-2010 Gael Guennebaud +// +// This Source Code Form is subject to the terms of the Mozilla +// Public License v. 2.0. If a copy of the MPL was not distributed +// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#ifndef EIGEN_SELECT_H +#define EIGEN_SELECT_H + +namespace Eigen { + +/** \class Select + * \ingroup Core_Module + * + * \brief Expression of a coefficient wise version of the C++ ternary operator ?: + * + * \param ConditionMatrixType the type of the \em condition expression which must be a boolean matrix + * \param ThenMatrixType the type of the \em then expression + * \param ElseMatrixType the type of the \em else expression + * + * This class represents an expression of a coefficient wise version of the C++ ternary operator ?:. + * It is the return type of DenseBase::select() and most of the time this is the only way it is used. + * + * \sa DenseBase::select(const DenseBase&, const DenseBase&) const + */ + +namespace internal { +template +struct traits > + : traits +{ + typedef typename traits::Scalar Scalar; + typedef Dense StorageKind; + typedef typename traits::XprKind XprKind; + typedef typename ConditionMatrixType::Nested ConditionMatrixNested; + typedef typename ThenMatrixType::Nested ThenMatrixNested; + typedef typename ElseMatrixType::Nested ElseMatrixNested; + enum { + RowsAtCompileTime = ConditionMatrixType::RowsAtCompileTime, + ColsAtCompileTime = ConditionMatrixType::ColsAtCompileTime, + MaxRowsAtCompileTime = ConditionMatrixType::MaxRowsAtCompileTime, + MaxColsAtCompileTime = ConditionMatrixType::MaxColsAtCompileTime, + Flags = (unsigned int)ThenMatrixType::Flags & ElseMatrixType::Flags & RowMajorBit + }; +}; +} + +template +class Select : public internal::dense_xpr_base< Select >::type, + internal::no_assignment_operator +{ + public: + + typedef typename internal::dense_xpr_base