shepherd-core 2023.12.1__py3-none-any.whl → 2024.4.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- shepherd_core/__init__.py +5 -4
- shepherd_core/calibration_hw_def.py +9 -1
- shepherd_core/commons.py +2 -0
- shepherd_core/data_models/__init__.py +11 -0
- shepherd_core/data_models/base/__init__.py +4 -1
- shepherd_core/data_models/base/cal_measurement.py +18 -6
- shepherd_core/data_models/base/calibration.py +41 -16
- shepherd_core/data_models/base/content.py +20 -5
- shepherd_core/data_models/base/shepherd.py +23 -12
- shepherd_core/data_models/base/timezone.py +5 -0
- shepherd_core/data_models/base/wrapper.py +3 -3
- shepherd_core/data_models/content/__init__.py +5 -4
- shepherd_core/data_models/content/_external_fixtures.yaml +32 -16
- shepherd_core/data_models/content/energy_environment.py +7 -5
- shepherd_core/data_models/content/energy_environment_fixture.yaml +3 -0
- shepherd_core/data_models/content/firmware.py +12 -5
- shepherd_core/data_models/content/firmware_datatype.py +7 -0
- shepherd_core/data_models/content/virtual_harvester.py +25 -20
- shepherd_core/data_models/content/virtual_harvester_fixture.yaml +1 -0
- shepherd_core/data_models/content/virtual_source.py +40 -23
- shepherd_core/data_models/content/virtual_source_fixture.yaml +1 -0
- shepherd_core/data_models/experiment/__init__.py +5 -4
- shepherd_core/data_models/experiment/experiment.py +16 -15
- shepherd_core/data_models/experiment/observer_features.py +18 -12
- shepherd_core/data_models/experiment/target_config.py +11 -7
- shepherd_core/data_models/readme.md +88 -0
- shepherd_core/data_models/task/__init__.py +10 -3
- shepherd_core/data_models/task/emulation.py +9 -6
- shepherd_core/data_models/task/firmware_mod.py +4 -2
- shepherd_core/data_models/task/harvest.py +5 -4
- shepherd_core/data_models/task/observer_tasks.py +4 -2
- shepherd_core/data_models/task/programming.py +3 -1
- shepherd_core/data_models/task/testbed_tasks.py +10 -4
- shepherd_core/data_models/testbed/__init__.py +5 -2
- shepherd_core/data_models/testbed/cape.py +8 -6
- shepherd_core/data_models/testbed/gpio.py +11 -9
- shepherd_core/data_models/testbed/mcu.py +10 -10
- shepherd_core/data_models/testbed/observer.py +10 -5
- shepherd_core/data_models/testbed/observer_fixture.yaml +23 -22
- shepherd_core/data_models/testbed/target.py +5 -3
- shepherd_core/data_models/testbed/target_fixture.yaml +11 -11
- shepherd_core/data_models/testbed/testbed.py +6 -3
- shepherd_core/decoder_waveform/__init__.py +2 -0
- shepherd_core/decoder_waveform/uart.py +44 -25
- shepherd_core/fw_tools/__init__.py +2 -0
- shepherd_core/fw_tools/converter.py +20 -9
- shepherd_core/fw_tools/converter_elf.py +3 -0
- shepherd_core/fw_tools/patcher.py +16 -4
- shepherd_core/fw_tools/validation.py +25 -5
- shepherd_core/inventory/__init__.py +66 -6
- shepherd_core/inventory/python.py +4 -0
- shepherd_core/inventory/system.py +13 -1
- shepherd_core/inventory/target.py +4 -0
- shepherd_core/logger.py +5 -0
- shepherd_core/reader.py +44 -26
- shepherd_core/testbed_client/__init__.py +2 -0
- shepherd_core/testbed_client/cache_path.py +17 -0
- shepherd_core/testbed_client/client.py +14 -8
- shepherd_core/testbed_client/fixtures.py +30 -11
- shepherd_core/testbed_client/user_model.py +13 -6
- shepherd_core/vsource/__init__.py +2 -0
- shepherd_core/vsource/virtual_converter_model.py +11 -4
- shepherd_core/vsource/virtual_harvester_model.py +8 -1
- shepherd_core/vsource/virtual_source_model.py +10 -5
- shepherd_core/writer.py +28 -20
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.2.dist-info}/METADATA +50 -34
- shepherd_core-2024.4.2.dist-info/RECORD +75 -0
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.2.dist-info}/WHEEL +1 -1
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.2.dist-info}/top_level.txt +0 -1
- shepherd_core-2023.12.1.dist-info/RECORD +0 -117
- tests/__init__.py +0 -0
- tests/conftest.py +0 -64
- tests/data_models/__init__.py +0 -0
- tests/data_models/conftest.py +0 -14
- tests/data_models/example_cal_data.yaml +0 -31
- tests/data_models/example_cal_data_faulty.yaml +0 -29
- tests/data_models/example_cal_meas.yaml +0 -178
- tests/data_models/example_cal_meas_faulty1.yaml +0 -142
- tests/data_models/example_cal_meas_faulty2.yaml +0 -136
- tests/data_models/example_config_emulator.yaml +0 -41
- tests/data_models/example_config_experiment.yaml +0 -16
- tests/data_models/example_config_experiment_alternative.yaml +0 -14
- tests/data_models/example_config_harvester.yaml +0 -15
- tests/data_models/example_config_testbed.yaml +0 -26
- tests/data_models/example_config_virtsource.yaml +0 -78
- tests/data_models/test_base_models.py +0 -205
- tests/data_models/test_content_fixtures.py +0 -41
- tests/data_models/test_content_models.py +0 -282
- tests/data_models/test_examples.py +0 -48
- tests/data_models/test_experiment_models.py +0 -277
- tests/data_models/test_task_generation.py +0 -52
- tests/data_models/test_task_models.py +0 -131
- tests/data_models/test_testbed_fixtures.py +0 -47
- tests/data_models/test_testbed_models.py +0 -187
- tests/decoder_waveform/__init__.py +0 -0
- tests/decoder_waveform/test_decoder.py +0 -34
- tests/fw_tools/__init__.py +0 -0
- tests/fw_tools/conftest.py +0 -5
- tests/fw_tools/test_converter.py +0 -76
- tests/fw_tools/test_patcher.py +0 -66
- tests/fw_tools/test_validation.py +0 -56
- tests/inventory/__init__.py +0 -0
- tests/inventory/test_inventory.py +0 -20
- tests/test_cal_hw.py +0 -34
- tests/test_examples.py +0 -40
- tests/test_logger.py +0 -15
- tests/test_reader.py +0 -283
- tests/test_writer.py +0 -169
- tests/testbed_client/__init__.py +0 -0
- tests/vsource/__init__.py +0 -0
- tests/vsource/conftest.py +0 -49
- tests/vsource/test_converter.py +0 -161
- tests/vsource/test_harvester.py +0 -73
- tests/vsource/test_z.py +0 -5
- /shepherd_core/data_models/{doc_virtual_source.py → virtual_source_doc.txt} +0 -0
- {shepherd_core-2023.12.1.dist-info → shepherd_core-2024.4.2.dist-info}/zip-safe +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
shepherd_core/__init__.py,sha256=TuaidDGnc0u0TfDIXiRUviqMXsRSL6ldy4AurQmr71U,1385
|
|
2
|
+
shepherd_core/calibration_hw_def.py,sha256=m5HDxHJ_blnn-C0Og5v6by1ApJRDT7RhytFbL-P5730,2548
|
|
3
|
+
shepherd_core/commons.py,sha256=vymKXWcy_1bz7ChzzEATUkJ4p3czCzjIdsSehVjJOY8,218
|
|
4
|
+
shepherd_core/logger.py,sha256=4Q4hTI-nccOZ1_A68fo4UEctfu3pJx3IeHfa9VuDDEo,1804
|
|
5
|
+
shepherd_core/reader.py,sha256=qyc0MBHa-wMGRDglEaMtyB6OxCiODnOMJsxJH8NCcAo,26245
|
|
6
|
+
shepherd_core/writer.py,sha256=VeW7AJsMKhfF06QsOjQ7Ez0gLq0NrrHUj2zq9_FtX6Y,14482
|
|
7
|
+
shepherd_core/data_models/__init__.py,sha256=IVjKbT2Ilz5bev325EvAuuhd9LfQgQ1u7qKo6dhVA2k,1866
|
|
8
|
+
shepherd_core/data_models/readme.md,sha256=1bdfEypY_0NMhXLxOPRnLAsFca0HuHdq7_01yEWxvUs,2470
|
|
9
|
+
shepherd_core/data_models/virtual_source_doc.txt,sha256=KizMcfGKj7BnHIbaJHT7KeTF01SV__UXv01qV_DGHSs,6057
|
|
10
|
+
shepherd_core/data_models/base/__init__.py,sha256=PSJ6acWViqBm0Eiom8DIgKfFVrp5lzYr8OsDvP79vwI,94
|
|
11
|
+
shepherd_core/data_models/base/cal_measurement.py,sha256=Ie35wWfH4spjETQ6SKHlbY_Ie2Bkt0dIQAKAn4ELOTc,3354
|
|
12
|
+
shepherd_core/data_models/base/calibration.py,sha256=P2fCFzyrrXobkYQkBzqplpIlg5cDXKv0iWWrnaroq_I,10320
|
|
13
|
+
shepherd_core/data_models/base/content.py,sha256=13j7GSgT73xn27jgDP508thUEJR4U-nCb5n7CJ50c9Y,2463
|
|
14
|
+
shepherd_core/data_models/base/shepherd.py,sha256=DNrx59o1VBuy_liJuUzZRzmTTYB73D_pUWiNyMQyjYY,6112
|
|
15
|
+
shepherd_core/data_models/base/timezone.py,sha256=2T6E46hJ1DAvmqKfu6uIgCK3RSoAKjGXRyzYNaqKyjY,665
|
|
16
|
+
shepherd_core/data_models/base/wrapper.py,sha256=duOdIXJeSOab4lVhe9ujhnjhJv3ue0mhimuUjy1xy3A,635
|
|
17
|
+
shepherd_core/data_models/content/__init__.py,sha256=wVa5lw6bS-fBgeo-SWydg6rw8AsScxqNgDo81dzteaE,537
|
|
18
|
+
shepherd_core/data_models/content/_external_fixtures.yaml,sha256=0CH7YSWT_hzL-jcg4JjgN9ryQOzbS8S66_pd6GbMnHw,12259
|
|
19
|
+
shepherd_core/data_models/content/energy_environment.py,sha256=HeMcM01fS2YzhvIh5bt6lC9vW2sBrPt7X_jGdEe8k_g,1374
|
|
20
|
+
shepherd_core/data_models/content/energy_environment_fixture.yaml,sha256=UBXTdGT7MK98zx5w_RBCu-f9uNCKxRgiFBQFbmDUxPc,1301
|
|
21
|
+
shepherd_core/data_models/content/firmware.py,sha256=rv5gAOYq4Al-sAg3v5TuYrxONMKLngBsdln3hbmISTA,5659
|
|
22
|
+
shepherd_core/data_models/content/firmware_datatype.py,sha256=XPU9LOoT3h5qFOlE8WU0vAkw-vymNxzor9kVFyEqsWg,255
|
|
23
|
+
shepherd_core/data_models/content/virtual_harvester.py,sha256=5eEHAZrgHPHZlTxDGaJrckDQgupFNC3Zax67EcCSqR8,9448
|
|
24
|
+
shepherd_core/data_models/content/virtual_harvester_fixture.yaml,sha256=-IRyoQU0HXCEtIIcFmkFdz4snLB7bjFFqNcFVGSMiSA,4332
|
|
25
|
+
shepherd_core/data_models/content/virtual_source.py,sha256=aoD8oam1POid0JG2ppttPA_Jl3y4ko5FNqzoaNKyBD8,14142
|
|
26
|
+
shepherd_core/data_models/content/virtual_source_fixture.yaml,sha256=kx_lpBx0bLKqEHxS09GTnk8kuSbhuGhLgKHeaM6UviE,10481
|
|
27
|
+
shepherd_core/data_models/experiment/__init__.py,sha256=9TE9_aSnCNRhagsIWLTE8XkyjyMGB7kEGdswl-296v0,645
|
|
28
|
+
shepherd_core/data_models/experiment/experiment.py,sha256=QX3-oeBe5dRx1a_RHF6kxjdQAyCRcLiMmSw4gYDjbEg,3949
|
|
29
|
+
shepherd_core/data_models/experiment/observer_features.py,sha256=qxnb7anuQz9ZW5IUlPdUXYPIl5U7O9uXkJqZtMnAb0Y,5156
|
|
30
|
+
shepherd_core/data_models/experiment/target_config.py,sha256=XIsjbbo7yn_A4q3GMxWbiNzEGA0Kk5gH7-XfQQ7Kg0E,3674
|
|
31
|
+
shepherd_core/data_models/task/__init__.py,sha256=rZLbgqX-dTWY4026-bqW-IWVHbA6C_xP9y0aeRze8FY,3374
|
|
32
|
+
shepherd_core/data_models/task/emulation.py,sha256=75X8xkHx27LrBMntw-TaNGHbAN31_o0eby9kAeBopV8,6342
|
|
33
|
+
shepherd_core/data_models/task/firmware_mod.py,sha256=Rw_TA1ykQ7abUd_U0snqZlpZyrS8Nx6f4BEax1Xnji0,2818
|
|
34
|
+
shepherd_core/data_models/task/harvest.py,sha256=HHnqWwRsJupaZJxuohs7NrK6VaDyoRzGOaG2h9y3s1Y,3360
|
|
35
|
+
shepherd_core/data_models/task/observer_tasks.py,sha256=XlH_-EGRrdodTn0c2pjGvpcauc0a9NOnLhysKw8iRwk,3511
|
|
36
|
+
shepherd_core/data_models/task/programming.py,sha256=6Pmyeze2UxNyyDUACbIL18GzUCN9wn6PuGrYwA2h8VI,2305
|
|
37
|
+
shepherd_core/data_models/task/testbed_tasks.py,sha256=yU4YhNN1ObYkcts7UOwkWWhCmW67f_Gjx3dhvzMnKWI,2036
|
|
38
|
+
shepherd_core/data_models/testbed/__init__.py,sha256=cL3swgijyIpZIW1vl51OVR2seAlWt6Ke9oB_cBkPniU,612
|
|
39
|
+
shepherd_core/data_models/testbed/cape.py,sha256=D23ZKXpZRPIIOMn6LCoJrwHiRbSaYg-y7B6fAt1ap64,1246
|
|
40
|
+
shepherd_core/data_models/testbed/cape_fixture.yaml,sha256=uwZxe6hsqvofn5tzg4sffjbVtTVUkextL1GCri_z2A4,2197
|
|
41
|
+
shepherd_core/data_models/testbed/gpio.py,sha256=m4U8-KotpZbdSkRkXm2GqoADiubr_1-3BWOT1qlgQic,2195
|
|
42
|
+
shepherd_core/data_models/testbed/gpio_fixture.yaml,sha256=yXvoXAau2hancKi2yg1xIkErPWQa6gIxNUG3y8JuF9Y,3076
|
|
43
|
+
shepherd_core/data_models/testbed/mcu.py,sha256=pUyT8gwPcqh18I7FC6iE6gYYISo69TvDfuq2zSwfmxs,1375
|
|
44
|
+
shepherd_core/data_models/testbed/mcu_fixture.yaml,sha256=lRZMLs27cTeERSFGkbMt5xgxbn11Gh9G1mQqOZK136I,522
|
|
45
|
+
shepherd_core/data_models/testbed/observer.py,sha256=AezYNm9mW5WCdxm5TXT-UQUwIhKDHchMIugsLGy1PMA,3225
|
|
46
|
+
shepherd_core/data_models/testbed/observer_fixture.yaml,sha256=w4VS6lTzaVs5IqWjkHanxcjDhIEydQPCV6z_DlsLFqA,4812
|
|
47
|
+
shepherd_core/data_models/testbed/target.py,sha256=KeJaLradQ3oHeeowCg_X0lDHDqyi3R3La0YPKC5Rv90,1838
|
|
48
|
+
shepherd_core/data_models/testbed/target_fixture.yaml,sha256=6YbCV3aTtDUKzC40kPURq9nFwTjT97LNy7imOb_35sk,3668
|
|
49
|
+
shepherd_core/data_models/testbed/testbed.py,sha256=jLgidZMB0LhoP99s_OOADFPZgCipio1q3kLLiXg9Ekw,3353
|
|
50
|
+
shepherd_core/data_models/testbed/testbed_fixture.yaml,sha256=9i2cmYRrHOHTJG9zp40h8h0LgO9DdrCJz8tyGdiQCzc,714
|
|
51
|
+
shepherd_core/decoder_waveform/__init__.py,sha256=-ohGz0fA2tKxUJk4FAQXKtI93d6YGdy0CrkdhOod1QU,120
|
|
52
|
+
shepherd_core/decoder_waveform/uart.py,sha256=sHsXHOsDU1j9zMSZO7CCMTMinT4U_S5NgsEkl1lJK1U,11029
|
|
53
|
+
shepherd_core/fw_tools/__init__.py,sha256=_RZpgHsNN1Zhd-x0-A9aJPI3pjULKhR9iuR9eKPa8zQ,2137
|
|
54
|
+
shepherd_core/fw_tools/converter.py,sha256=3igRT33tghrBCao5njuPmePS-Y_lSa6EUHvwCakMo2s,3539
|
|
55
|
+
shepherd_core/fw_tools/converter_elf.py,sha256=GQDVqIqMW4twNMvZIV3sowFMezhs2TN-IYREjRP7Xt4,1089
|
|
56
|
+
shepherd_core/fw_tools/patcher.py,sha256=ODBADQeomah0NadIuGSAwMVlafOf_KAnz_IMvDgydVE,4108
|
|
57
|
+
shepherd_core/fw_tools/validation.py,sha256=2AnBpl5MpW8C-uLlusNZWJRDHa7lG7sB2pB1GKhTMcY,4790
|
|
58
|
+
shepherd_core/inventory/__init__.py,sha256=nRO11HG4eJ_FaXebSkE0dd1H6qvjrX5n3OQHOzKXVvk,3841
|
|
59
|
+
shepherd_core/inventory/python.py,sha256=OWNnyEt0IDPW9XGW-WloU0FExwgZzYNA05VpRj4cZGc,1250
|
|
60
|
+
shepherd_core/inventory/system.py,sha256=hmUuaeg6_6Xsykp47YAtTeUbDa5B8sxV0EICQJG9rx4,2304
|
|
61
|
+
shepherd_core/inventory/target.py,sha256=Lq11j25tWieXheOxIDaQb-lc-2omxYVex5P6uGiLUyk,507
|
|
62
|
+
shepherd_core/testbed_client/__init__.py,sha256=lzi7F5Go-AsbTbiUCf9Rnu6pzmTZqmpIqoS1yCPal_c,175
|
|
63
|
+
shepherd_core/testbed_client/cache_path.py,sha256=tS0er9on5fw8wddMCt1jkc2uyYOdSTvX_UmfmYJf6tY,445
|
|
64
|
+
shepherd_core/testbed_client/client.py,sha256=3vbJ9XdWe9YA28AXgzXThHJtYJU5RUUCpDRBH1mDIr8,5917
|
|
65
|
+
shepherd_core/testbed_client/fixtures.py,sha256=db10P0c6kJvG525mLZYuFE98kI0PvoA67jeJgCiUaZ4,9782
|
|
66
|
+
shepherd_core/testbed_client/user_model.py,sha256=5M3vWkAGBwdGDUYAanAjrZwpzMBlh3XLOVvNYWiLmms,2107
|
|
67
|
+
shepherd_core/vsource/__init__.py,sha256=dS33KYLq5GQ9_D8HfdP8iWSocWTghCi2ZZG2AJWNfaM,391
|
|
68
|
+
shepherd_core/vsource/virtual_converter_model.py,sha256=ZSoWVLfRmFEjeCNoQCg3BctzhdfayINUBDU_AJK1CR0,10404
|
|
69
|
+
shepherd_core/vsource/virtual_harvester_model.py,sha256=wCbFfsqDRC5Rfu8qANkmkP9XGJOPHJY9-iSnI850JI4,7817
|
|
70
|
+
shepherd_core/vsource/virtual_source_model.py,sha256=fjN8myTY3I_LpikF_aGAcxes3RGu1GP23P7XKC_UIyA,2737
|
|
71
|
+
shepherd_core-2024.4.2.dist-info/METADATA,sha256=bC_TD-hytcffYDetSqElbilSIM77vvX8f8TjhyzXaCQ,7651
|
|
72
|
+
shepherd_core-2024.4.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
73
|
+
shepherd_core-2024.4.2.dist-info/top_level.txt,sha256=wy-t7HRBrKARZxa-Y8_j8d49oVHnulh-95K9ikxVhew,14
|
|
74
|
+
shepherd_core-2024.4.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
75
|
+
shepherd_core-2024.4.2.dist-info/RECORD,,
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
shepherd_core/__init__.py,sha256=M5Zl1foAX-m7EVEVTgv9PtIY00FwE0CopdFfmhLEBeE,1347
|
|
2
|
-
shepherd_core/calibration_hw_def.py,sha256=VBPgekKtoA6xc5pLOADGdAIuJUNz5kdDf3pm3A13F0U,2158
|
|
3
|
-
shepherd_core/commons.py,sha256=8HLrOq30Zrgh0AcrtakJYyu3hwMgQks7mF7JyaBMcdw,170
|
|
4
|
-
shepherd_core/logger.py,sha256=mIJQ5eCpamsCnc_R7qoceYVXe8JM4-YZriqfzvTt9Yk,1656
|
|
5
|
-
shepherd_core/reader.py,sha256=mjBNWnDfsbTxlzhfPJYfcZdySCPO4K1Ub098T8RI0rI,26064
|
|
6
|
-
shepherd_core/writer.py,sha256=hnaC7Jy82lQDln-3ZXWLdmXUO1mgD8s16K89lBbKCew,14352
|
|
7
|
-
shepherd_core/data_models/__init__.py,sha256=mem0m4nZY3EgG1ctBdGGGt128lhmglF9a4e5w9OGJu0,1651
|
|
8
|
-
shepherd_core/data_models/doc_virtual_source.py,sha256=KizMcfGKj7BnHIbaJHT7KeTF01SV__UXv01qV_DGHSs,6057
|
|
9
|
-
shepherd_core/data_models/base/__init__.py,sha256=ugVEWXfYRCmK4o94RG4N_GKR7AbBQLfn5PCbEKVpZMU,44
|
|
10
|
-
shepherd_core/data_models/base/cal_measurement.py,sha256=ZlSnHXOiY--AzQ1-g0BnU7I4g9sMDqF3g52jsl5IHDY,2873
|
|
11
|
-
shepherd_core/data_models/base/calibration.py,sha256=5Xn5p9uNaOw9mdO1ZsulpMP0rwDIMcJPf5-Cp5CnRq0,9709
|
|
12
|
-
shepherd_core/data_models/base/content.py,sha256=4k3D14m6h681QQjJFsG7Xgr4R64d21JEWKJWOnVVVck,1925
|
|
13
|
-
shepherd_core/data_models/base/shepherd.py,sha256=5kQNZdhF53u9S4wLadbm_73mB9VTzgHyrm6LG_KheWc,5748
|
|
14
|
-
shepherd_core/data_models/base/timezone.py,sha256=OBzPPfrD__z1aTO7qlVWD1uD8eZFJ6CoDLac_mTrYCg,443
|
|
15
|
-
shepherd_core/data_models/base/wrapper.py,sha256=mzAMdX9-BeSAeTzlWKFnjj3v2wV6NJgaSHULFHEiWes,600
|
|
16
|
-
shepherd_core/data_models/content/__init__.py,sha256=JLj2zzjDeyqLrz9KiWDMW1shCeJjj676zjcXj8ly10Y,545
|
|
17
|
-
shepherd_core/data_models/content/_external_fixtures.yaml,sha256=5t0ioOOhGhjhzFN7lclgCoqJ8Lrz-P05Hpl1L7uroHE,11443
|
|
18
|
-
shepherd_core/data_models/content/energy_environment.py,sha256=24H9UiEiY-3Jtfah9EILF_hR2sMnYGdrcXCSfsionSk,1298
|
|
19
|
-
shepherd_core/data_models/content/energy_environment_fixture.yaml,sha256=v0VKKeVi_PZdWXiRtTYsDeAWV8NOSlRXge7O7asxnuk,1187
|
|
20
|
-
shepherd_core/data_models/content/firmware.py,sha256=cuh8tURI39ZzTF-wuh4ofsNfRC1TK8lHrGKYm-o9SC0,5533
|
|
21
|
-
shepherd_core/data_models/content/firmware_datatype.py,sha256=WHVJu-LIP_snjeITIKkuZo7aIapoTIZeFXkUNqyEqy8,154
|
|
22
|
-
shepherd_core/data_models/content/virtual_harvester.py,sha256=5obXW17uBkQdfyPnpJHoSZmlIBUefoDGmFLYrxUSmOA,9268
|
|
23
|
-
shepherd_core/data_models/content/virtual_harvester_fixture.yaml,sha256=UWlXq-7lsyhHAkrKkyEHWdJ0fIlyy_jwSV9O_hVE2nY,4294
|
|
24
|
-
shepherd_core/data_models/content/virtual_source.py,sha256=0CucbyBh-r5I4UJNJayW9fKNwb6dI97iaE5MLYxrZMc,13960
|
|
25
|
-
shepherd_core/data_models/content/virtual_source_fixture.yaml,sha256=2PsWP3-xad5TycZ-OQn23WsJdYwq7_9_foC4wBFYmK0,10443
|
|
26
|
-
shepherd_core/data_models/experiment/__init__.py,sha256=DX9kylCe8zFm4PpVT8YS4csip7-MDoSrdah3nhBdiJE,651
|
|
27
|
-
shepherd_core/data_models/experiment/experiment.py,sha256=LY0uIaFGAzPta0fbCy-gSxlUe90ztZdc4CqVwzc_mIU,3971
|
|
28
|
-
shepherd_core/data_models/experiment/observer_features.py,sha256=chK9PJ3KCS_jfd28GAfM73V-EI2c1WJM1cAAS20nIj0,4984
|
|
29
|
-
shepherd_core/data_models/experiment/target_config.py,sha256=IBWxf3yVF5dUBi7mS5mJXfN1rL2S7QYhu_4IL6u6Yig,3532
|
|
30
|
-
shepherd_core/data_models/task/__init__.py,sha256=g0l4dtIgTPKhfFvnClJrCm3zLFiZpBVbbQ2f4gzdwK0,3180
|
|
31
|
-
shepherd_core/data_models/task/emulation.py,sha256=HE7L3GWKdsAkUPgvdDHxYJG92GNodP9CUEtKgQJghjA,6221
|
|
32
|
-
shepherd_core/data_models/task/firmware_mod.py,sha256=8uXMFVk3Z96gUW0gVY95VeUx-YtZnMc2yw3paC5S5Mw,2730
|
|
33
|
-
shepherd_core/data_models/task/harvest.py,sha256=QcNJjgixiq70NogdcYXwpj91_6Jl7s7CaAnEw_xEWck,3254
|
|
34
|
-
shepherd_core/data_models/task/observer_tasks.py,sha256=cwFBdoUESE5zcOuky35lmd6uKFaQkGiW8kNFHir1z1g,3380
|
|
35
|
-
shepherd_core/data_models/task/programming.py,sha256=uO6IZR8wb0N3791QgAZE7AF0CB7XoyOkFBiDH395IvE,2244
|
|
36
|
-
shepherd_core/data_models/task/testbed_tasks.py,sha256=W8ElhxOjNrTFG9A1WKGrjhNnyLxmvJgM06DwLyBbayQ,1771
|
|
37
|
-
shepherd_core/data_models/testbed/__init__.py,sha256=kQG0EUqJ5ylGRuwYZTbppWue9zDcSytpsHtUnohbGgA,566
|
|
38
|
-
shepherd_core/data_models/testbed/cape.py,sha256=Y9QDQcJ76IFPMVgiIw5pFztDd1y7RUiDhrsjVqHj6jM,1154
|
|
39
|
-
shepherd_core/data_models/testbed/cape_fixture.yaml,sha256=uwZxe6hsqvofn5tzg4sffjbVtTVUkextL1GCri_z2A4,2197
|
|
40
|
-
shepherd_core/data_models/testbed/gpio.py,sha256=pzgRpo9QXL2lyqeov_o1Sr3_5r4T8NS7-Q6rOYnbVR4,2100
|
|
41
|
-
shepherd_core/data_models/testbed/gpio_fixture.yaml,sha256=yXvoXAau2hancKi2yg1xIkErPWQa6gIxNUG3y8JuF9Y,3076
|
|
42
|
-
shepherd_core/data_models/testbed/mcu.py,sha256=JHVVOYkhvhwYG5z5nUXdiVVXVcRNrAfqefaS56E4RWM,1301
|
|
43
|
-
shepherd_core/data_models/testbed/mcu_fixture.yaml,sha256=lRZMLs27cTeERSFGkbMt5xgxbn11Gh9G1mQqOZK136I,522
|
|
44
|
-
shepherd_core/data_models/testbed/observer.py,sha256=hivbfME16o-M7LwBto4hvNA9X_prGgs0FdH39cve4Mo,3110
|
|
45
|
-
shepherd_core/data_models/testbed/observer_fixture.yaml,sha256=f6UjGFCsMlqtgfsThd_BfwcgpjI3LB4oPt_GNwBHWRI,4806
|
|
46
|
-
shepherd_core/data_models/testbed/target.py,sha256=wIjeqXlYkDv24S1iSswyLrpSWsI_J78MnmNVk2KGpT0,1776
|
|
47
|
-
shepherd_core/data_models/testbed/target_fixture.yaml,sha256=rgWCwCpPXzaEoUzMDxkb7dgH-4gW2qffUuAC78JkNQk,3667
|
|
48
|
-
shepherd_core/data_models/testbed/testbed.py,sha256=RY_YHwWuZdMWzZB5mYwgborycvnCrNdMyFB5Ou2Zrek,3274
|
|
49
|
-
shepherd_core/data_models/testbed/testbed_fixture.yaml,sha256=9i2cmYRrHOHTJG9zp40h8h0LgO9DdrCJz8tyGdiQCzc,714
|
|
50
|
-
shepherd_core/decoder_waveform/__init__.py,sha256=HEdjRcm3m4ySEXpJ_D3lZqnxiuobJqC8axZAaAHBwDk,43
|
|
51
|
-
shepherd_core/decoder_waveform/uart.py,sha256=EumQv4wTWDvz4-0vhFx9vCI0PLDsOFmSU9473TxmH_M,10671
|
|
52
|
-
shepherd_core/fw_tools/__init__.py,sha256=9W-MXU5j3iJ8AgRzoGUaljD0bN29jh8LtY-pyj5HWbY,2071
|
|
53
|
-
shepherd_core/fw_tools/converter.py,sha256=2g0CZBZLn-CfUTpJljghf8AEpjIt4X7Q1FoCTsmx3A0,3273
|
|
54
|
-
shepherd_core/fw_tools/converter_elf.py,sha256=SEkrPuYUsr1VICDlZiZzr0B1njWcl9mW3J_oZk32Sb4,1008
|
|
55
|
-
shepherd_core/fw_tools/patcher.py,sha256=nXgYKGQjcEE4IYd8yNl4-t5kjlB43iFdp24oYlEaras,3774
|
|
56
|
-
shepherd_core/fw_tools/validation.py,sha256=aVfMiv8gX6rWOtj9IIAEiqh6APH2_DNWwueSyPJztro,4262
|
|
57
|
-
shepherd_core/inventory/__init__.py,sha256=0qkTGMMuHUOg5sn4gNOB8XcKhF75fTC7DzRh9aN4soQ,1856
|
|
58
|
-
shepherd_core/inventory/python.py,sha256=Ar_M4cmmQgViY4caU5XH9Iye5X3jNFDnJiWGaZwNpo4,1168
|
|
59
|
-
shepherd_core/inventory/system.py,sha256=Mmd5TieS3mnPSF2L_HSpjdA7mbTe8Wquduz28OJjD1Q,1930
|
|
60
|
-
shepherd_core/inventory/target.py,sha256=XywiKmDpYKIBQt1Jo_k3bJeCOKxnzy5ob_9PYdFrjGE,421
|
|
61
|
-
shepherd_core/testbed_client/__init__.py,sha256=V38uxXOhwB8tlAjR0jH1MPSWB1LltwC0g8ipwaIyC9o,103
|
|
62
|
-
shepherd_core/testbed_client/client.py,sha256=geqj1brDvzsAtriDFSyLCAHZfMPKwch8TSpLHw5sLXM,5785
|
|
63
|
-
shepherd_core/testbed_client/fixtures.py,sha256=W-lTy5y4wPYfOBVGotRVxLAt72jCNTWqC_kePe06xys,9078
|
|
64
|
-
shepherd_core/testbed_client/user_model.py,sha256=MU_k6j_c_Y6JILDcu9iN2kNERoxS4UwaGuj5dlnlUqo,1978
|
|
65
|
-
shepherd_core/vsource/__init__.py,sha256=x84_0M8Dg8R7DLKE5zyNAAGFiuOHPehDOWPt2KeBhKw,344
|
|
66
|
-
shepherd_core/vsource/virtual_converter_model.py,sha256=gT-eKQCcroc2EIzSa2O9HGArsM_JKhx2CKJjuKUyiak,10331
|
|
67
|
-
shepherd_core/vsource/virtual_harvester_model.py,sha256=tlt_Emi7bGbqeo0Cb7f2rt2K07whEB7r1RXdTJncGyI,7763
|
|
68
|
-
shepherd_core/vsource/virtual_source_model.py,sha256=LiprQZmcfRBfliiDedr_RxEtrPYxcGWrUrqBM76zqCQ,2723
|
|
69
|
-
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
70
|
-
tests/conftest.py,sha256=6S4xE1rsqMjZlZ7ItzipGcuggUQk04DZBCta2vEOdGI,1856
|
|
71
|
-
tests/test_cal_hw.py,sha256=fECEm1QAtpxjLIqboljEr0UVG6neGS_-uJ-rgZrMkFg,1243
|
|
72
|
-
tests/test_examples.py,sha256=RPuIOzhuMmWk8GPggiv12sGGHZ0TzjVfUDU7GERzOeM,888
|
|
73
|
-
tests/test_logger.py,sha256=aW9Et1juBSyQmpEBhn1sdN4k18XOkzGxdByhgTGZGZk,432
|
|
74
|
-
tests/test_reader.py,sha256=6Q5Yfpsnlonm3nT8PWc6dY41Vn7APCLateeO5InZBXI,9560
|
|
75
|
-
tests/test_writer.py,sha256=MvKlX5ANUI-0XlAnPn39VbBRQy_vGE3ggc4OJj7stO0,5323
|
|
76
|
-
tests/data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
|
-
tests/data_models/conftest.py,sha256=thBKAL1LsphEC5g4yQG-3U1jNr_HGFe0F0rDLAJZJ54,368
|
|
78
|
-
tests/data_models/example_cal_data.yaml,sha256=61QrTWjvvI3phIoZsKKiw02thYPjZeY51a302Bl-wk4,785
|
|
79
|
-
tests/data_models/example_cal_data_faulty.yaml,sha256=BNR-Tuxc3jzBkNID28xsuSkLxZByw6FQLjbATG0GKUk,683
|
|
80
|
-
tests/data_models/example_cal_meas.yaml,sha256=GVgwDMjf0AvzU50ir4sn7ig6bI_xjNmi64gRDTkoyt0,5439
|
|
81
|
-
tests/data_models/example_cal_meas_faulty1.yaml,sha256=ojDt3jaiVfGFQ5N5RbomsKG1mDdLHrwiZPldkGrpA_U,4339
|
|
82
|
-
tests/data_models/example_cal_meas_faulty2.yaml,sha256=3qpcWfm9Q7uE_sOWmaRaj0eERIDnX0jY4cFNbgUaLUU,4172
|
|
83
|
-
tests/data_models/example_config_emulator.yaml,sha256=1yFbaHsM3Vy7DxuMhg0EYl_oJ-8Q4hwuQX0Un1vXsds,1259
|
|
84
|
-
tests/data_models/example_config_experiment.yaml,sha256=spNpxCx-4UJpYgaInzNttHEuSleg2nr2Guxb1HUr3PI,362
|
|
85
|
-
tests/data_models/example_config_experiment_alternative.yaml,sha256=mpUTEmdU4tqe1mJegVK45AXsmkqIpHbVXQoBWxXnmi0,303
|
|
86
|
-
tests/data_models/example_config_harvester.yaml,sha256=B5gf55VzJax_Gn8isnXxVuWXim0KviMQfyz6FxEp82s,597
|
|
87
|
-
tests/data_models/example_config_testbed.yaml,sha256=ubN9dfvrMPxHQuWpqw_JkNHTxc4B9QjL2eDxkwwMnbc,470
|
|
88
|
-
tests/data_models/example_config_virtsource.yaml,sha256=zB9nGys728SzUrR4tO-e8ebr1vP8-Bgg7TsKISDnGrk,4415
|
|
89
|
-
tests/data_models/test_base_models.py,sha256=QysiTWlxiD3vvHZNuQVm-Fpu1QyfnnqRHysh0FKOrcw,6755
|
|
90
|
-
tests/data_models/test_content_fixtures.py,sha256=rfYIEYzxWGBD6YYQQoJyCk2qbj_BAPnFZhOoL86SgYk,1701
|
|
91
|
-
tests/data_models/test_content_models.py,sha256=NZMg1VqGEfs_V0_4LcQTlARfBbUOGflvp_SGyh8Urv0,8058
|
|
92
|
-
tests/data_models/test_examples.py,sha256=yiiPZCjFQ4oBZCiIGmR3XOyU9qEAiFqncmO33LbbPNU,1420
|
|
93
|
-
tests/data_models/test_experiment_models.py,sha256=1imFOh7_zFCYlihsj6VP_9tlKYXGelSKmsZAqwAh0LA,9184
|
|
94
|
-
tests/data_models/test_task_generation.py,sha256=xsGMb_KjhqFTogr5IkAax4CPBz4VfvgxjYgUtLMM-1E,1905
|
|
95
|
-
tests/data_models/test_task_models.py,sha256=Ii673kTZjqpj8ly1fJ_qp43XWL3KEHzKBwKO_oAYvn4,3575
|
|
96
|
-
tests/data_models/test_testbed_fixtures.py,sha256=k5hxz5vgx-LkKDxJptOUdrCZFwpEp8h2cK1HyY_5reA,1419
|
|
97
|
-
tests/data_models/test_testbed_models.py,sha256=WSVZQIEvA7nOUx8w9v-gxqEjt9Sh_0zG6J0yr2Bts9k,4573
|
|
98
|
-
tests/decoder_waveform/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
|
-
tests/decoder_waveform/test_decoder.py,sha256=g6Es5G2BDORfaQsn-YIjMudd3URiHwYBtc8zHdz0EiE,894
|
|
100
|
-
tests/fw_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
101
|
-
tests/fw_tools/conftest.py,sha256=gaEjO9M883G6NG7UHYfyudPAeoSjDncQpOcPJ4qmor8,151
|
|
102
|
-
tests/fw_tools/test_converter.py,sha256=-jbAOjoad1KC6Za5S8AMs2CGJgmLSSijAV7dlraqQ9o,2215
|
|
103
|
-
tests/fw_tools/test_patcher.py,sha256=LmMG5XKoV9vjjFbgo2SSnckz6WfuO6HtJEXdu545Zv4,2109
|
|
104
|
-
tests/fw_tools/test_validation.py,sha256=769IIbnzljWnjZuZYb3HaVDTlXziSZDORLZVxnrzK2E,1893
|
|
105
|
-
tests/inventory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
tests/inventory/test_inventory.py,sha256=rw7NNHEJIT9W3G-N1SgqtwUO_o3EvHfSrbf9e3bRJLs,612
|
|
107
|
-
tests/testbed_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
108
|
-
tests/vsource/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
|
-
tests/vsource/conftest.py,sha256=57KUTh9NtZ_1OZ1YWY8JzwPDMH3KcdHSFaIYzvL7HyY,1387
|
|
110
|
-
tests/vsource/test_converter.py,sha256=vDbhLuMbN6oAv9DRhFIl-SUQC9BlghMTHCR5KhP6sgY,5075
|
|
111
|
-
tests/vsource/test_harvester.py,sha256=hx8Nfd4SIJ7-bcrd2tpT_nb7O7-ZUSuqYMA7Eo69j3s,2442
|
|
112
|
-
tests/vsource/test_z.py,sha256=H9LlNsAq3nV5PPaoM8yP4FLnPhdJJSoLSmUOD5rtobM,90
|
|
113
|
-
shepherd_core-2023.12.1.dist-info/METADATA,sha256=zX8uiU5P39bWwiau2V_7AD1dqs7B6N8Pbsy4qvedCn4,7029
|
|
114
|
-
shepherd_core-2023.12.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
115
|
-
shepherd_core-2023.12.1.dist-info/top_level.txt,sha256=6H9zsX2PNWwILI7EJu8fNam1KfG2Sqvkez-jlwrD9SE,20
|
|
116
|
-
shepherd_core-2023.12.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
117
|
-
shepherd_core-2023.12.1.dist-info/RECORD,,
|
tests/__init__.py
DELETED
|
File without changes
|
tests/conftest.py
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import subprocess
|
|
2
|
-
from pathlib import Path
|
|
3
|
-
from typing import Iterable # py38, later use: from collections.abc import Iterable
|
|
4
|
-
|
|
5
|
-
import numpy as np
|
|
6
|
-
import pytest
|
|
7
|
-
|
|
8
|
-
from shepherd_core import Writer
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
def generate_h5_file(file_path: Path, file_name: str = "harvest_example.h5") -> Path:
|
|
12
|
-
store_path = file_path / file_name
|
|
13
|
-
|
|
14
|
-
with Writer(store_path) as file:
|
|
15
|
-
file.store_hostname("artificial")
|
|
16
|
-
|
|
17
|
-
duration_s = 2
|
|
18
|
-
repetitions = 5
|
|
19
|
-
timestamp_vector = np.arange(0.0, duration_s, file.sample_interval_ns / 1e9)
|
|
20
|
-
|
|
21
|
-
# values in SI units
|
|
22
|
-
voltages = np.linspace(3.60, 1.90, int(file.samplerate_sps * duration_s))
|
|
23
|
-
currents = np.linspace(100e-6, 2000e-6, int(file.samplerate_sps * duration_s))
|
|
24
|
-
|
|
25
|
-
for idx in range(repetitions):
|
|
26
|
-
timestamps = idx * duration_s + timestamp_vector
|
|
27
|
-
file.append_iv_data_si(timestamps, voltages, currents)
|
|
28
|
-
|
|
29
|
-
return store_path
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
@pytest.fixture
|
|
33
|
-
def data_h5(tmp_path: Path) -> Path:
|
|
34
|
-
return generate_h5_file(tmp_path)
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
def pytest_collection_modifyitems(
|
|
38
|
-
config: pytest.Config,
|
|
39
|
-
items: Iterable[pytest.Item],
|
|
40
|
-
) -> None:
|
|
41
|
-
# ELF
|
|
42
|
-
try:
|
|
43
|
-
from pwnlib.elf import ELF
|
|
44
|
-
except ImportError:
|
|
45
|
-
ELF = None
|
|
46
|
-
skip_elf = pytest.mark.skip(
|
|
47
|
-
reason="ELF-support not found -> shepherd_core[elf] missing or OS is Windows?"
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
# OBJCOPY
|
|
51
|
-
try:
|
|
52
|
-
subprocess.run(["objcopy", "--version"], check=True)
|
|
53
|
-
OBJCOPY = True
|
|
54
|
-
except FileNotFoundError:
|
|
55
|
-
OBJCOPY = None
|
|
56
|
-
skip_converter = pytest.mark.skip(
|
|
57
|
-
reason="Objcopy not found -> are binutils or build-essential installed?"
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
for item in items:
|
|
61
|
-
if "elf" in item.keywords and ELF is None:
|
|
62
|
-
item.add_marker(skip_elf)
|
|
63
|
-
if "converter" in item.keywords and OBJCOPY is None:
|
|
64
|
-
item.add_marker(skip_converter)
|
tests/data_models/__init__.py
DELETED
|
File without changes
|
tests/data_models/conftest.py
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
from pathlib import Path
|
|
2
|
-
|
|
3
|
-
import yaml
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def load_yaml(file: str) -> dict:
|
|
7
|
-
yaml_path = Path(__file__).resolve().with_name(file)
|
|
8
|
-
with yaml_path.open() as _data:
|
|
9
|
-
return yaml.safe_load(_data)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
path_fwt = Path(__file__).parent.parent.resolve() / "fw_tools"
|
|
13
|
-
names_elf = ["build_msp.elf", "build_nrf.elf"]
|
|
14
|
-
files_elf = [path_fwt / name for name in names_elf]
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
datatype: CalibrationCape
|
|
2
|
-
parameters:
|
|
3
|
-
host: sheep0
|
|
4
|
-
cape:
|
|
5
|
-
serial_number: A123
|
|
6
|
-
emulator:
|
|
7
|
-
adc_C_A:
|
|
8
|
-
gain: 2.2306053900482405e-07
|
|
9
|
-
offset: -0.0026222400965270985
|
|
10
|
-
adc_C_B:
|
|
11
|
-
gain: 2.2306053900482405e-07
|
|
12
|
-
offset: -0.0026222400965270985
|
|
13
|
-
dac_V_A:
|
|
14
|
-
gain: 7.62628031430141e-05
|
|
15
|
-
offset: 0.0007950027045164898
|
|
16
|
-
dac_V_B:
|
|
17
|
-
gain: 7.63173766566708e-05
|
|
18
|
-
offset: -0.0010936558576905009
|
|
19
|
-
harvester:
|
|
20
|
-
adc_C_Hrv:
|
|
21
|
-
gain: 2.228708065317991e-07
|
|
22
|
-
offset: -0.0026241147072037603
|
|
23
|
-
adc_V_Sense:
|
|
24
|
-
gain: 1.952036492090002e-05
|
|
25
|
-
offset: 7.75784958272352e-05
|
|
26
|
-
dac_V_Sim:
|
|
27
|
-
gain: 7.630261527071238e-05
|
|
28
|
-
offset: 0.0004594023208512876
|
|
29
|
-
dac_V_Hrv:
|
|
30
|
-
gain: 7.62877291921811e-05
|
|
31
|
-
offset: 0.000281481899873981
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
datatype: CalibrationCape
|
|
2
|
-
comment: sheep0
|
|
3
|
-
parameters:
|
|
4
|
-
emulator:
|
|
5
|
-
adc_C_A: # faulty 1
|
|
6
|
-
gain: 512
|
|
7
|
-
offset: -128000
|
|
8
|
-
adc_C_B:
|
|
9
|
-
gain: 2.2306053900482405
|
|
10
|
-
offset: -0.0026222400965270985
|
|
11
|
-
dac_V_A: # faulty 2
|
|
12
|
-
gain: 7.6
|
|
13
|
-
offset: 128000000
|
|
14
|
-
dac_V_B:
|
|
15
|
-
gain: 7.63173766566708e-05
|
|
16
|
-
offset: -0.0010936558576905009
|
|
17
|
-
harvester:
|
|
18
|
-
adc_C_Hrv: # faulty 1
|
|
19
|
-
gain: 512
|
|
20
|
-
offset: 128000
|
|
21
|
-
adc_V_Sense: # faulty 2
|
|
22
|
-
gain: 512000
|
|
23
|
-
offset: 7.75784958272352e-05
|
|
24
|
-
dac_V_Sim:
|
|
25
|
-
gain: 7.630261527071238e-05
|
|
26
|
-
offset: 0.0004594023208512876
|
|
27
|
-
dac_V_Hrv:
|
|
28
|
-
gain: 7.62877291921811e-05
|
|
29
|
-
offset: 0.000281481899873981
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
datatype: CalMeasurementCape
|
|
3
|
-
parameters:
|
|
4
|
-
host: sheep0
|
|
5
|
-
cape:
|
|
6
|
-
serial_number: A123
|
|
7
|
-
emulator:
|
|
8
|
-
adc_C_A:
|
|
9
|
-
- reference_si: 1.0e-05
|
|
10
|
-
shepherd_raw: 647.0605606009001
|
|
11
|
-
- reference_si: 3.0e-05
|
|
12
|
-
shepherd_raw: 759.2687092956633
|
|
13
|
-
- reference_si: 0.0001
|
|
14
|
-
shepherd_raw: 1034.1795363465226
|
|
15
|
-
- reference_si: 0.0003
|
|
16
|
-
shepherd_raw: 2009.35012
|
|
17
|
-
- reference_si: 0.001
|
|
18
|
-
shepherd_raw: 5455.206316572509
|
|
19
|
-
- reference_si: 0.003
|
|
20
|
-
shepherd_raw: 15311.120462242745
|
|
21
|
-
- reference_si: 0.01
|
|
22
|
-
shepherd_raw: 49863.192980539934
|
|
23
|
-
adc_C_B:
|
|
24
|
-
- reference_si: 1.0e-05
|
|
25
|
-
shepherd_raw: 576.5816786854024
|
|
26
|
-
- reference_si: 3.0e-05
|
|
27
|
-
shepherd_raw: 674.9992665169516
|
|
28
|
-
- reference_si: 0.0001
|
|
29
|
-
shepherd_raw: 1020.758798545525
|
|
30
|
-
- reference_si: 0.0003
|
|
31
|
-
shepherd_raw: 2006.148702110045
|
|
32
|
-
- reference_si: 0.001
|
|
33
|
-
shepherd_raw: 5452.488808324252
|
|
34
|
-
- reference_si: 0.003
|
|
35
|
-
shepherd_raw: 15300.116857781222
|
|
36
|
-
- reference_si: 0.01
|
|
37
|
-
shepherd_raw: 49847.20117957464
|
|
38
|
-
dac_V_A:
|
|
39
|
-
- reference_si: 0.3003222333333334
|
|
40
|
-
shepherd_raw: 3932
|
|
41
|
-
- reference_si: 0.5001460333333333
|
|
42
|
-
shepherd_raw: 6553
|
|
43
|
-
- reference_si: 0.6999315333333332
|
|
44
|
-
shepherd_raw: 9175
|
|
45
|
-
- reference_si: 0.8996775333333334
|
|
46
|
-
shepherd_raw: 11796
|
|
47
|
-
- reference_si: 1.0994329999999999
|
|
48
|
-
shepherd_raw: 14417
|
|
49
|
-
- reference_si: 1.299373666666667
|
|
50
|
-
shepherd_raw: 17039
|
|
51
|
-
- reference_si: 1.4991776666666667
|
|
52
|
-
shepherd_raw: 19660
|
|
53
|
-
- reference_si: 1.6991386666666664
|
|
54
|
-
shepherd_raw: 22282
|
|
55
|
-
- reference_si: 1.8990680000000002
|
|
56
|
-
shepherd_raw: 24903
|
|
57
|
-
- reference_si: 2.098946666666667
|
|
58
|
-
shepherd_raw: 27525
|
|
59
|
-
- reference_si: 2.2987713333333337
|
|
60
|
-
shepherd_raw: 30146
|
|
61
|
-
- reference_si: 2.4986106666666665
|
|
62
|
-
shepherd_raw: 32768
|
|
63
|
-
dac_V_B:
|
|
64
|
-
- reference_si: 0.2999766666666667
|
|
65
|
-
shepherd_raw: 3932
|
|
66
|
-
- reference_si: 0.4997816
|
|
67
|
-
shepherd_raw: 6553
|
|
68
|
-
- reference_si: 0.6996186000000001
|
|
69
|
-
shepherd_raw: 9175
|
|
70
|
-
- reference_si: 0.8993501999999999
|
|
71
|
-
shepherd_raw: 11796
|
|
72
|
-
- reference_si: 1.0991329999999997
|
|
73
|
-
shepherd_raw: 14417
|
|
74
|
-
- reference_si: 1.2990616666666663
|
|
75
|
-
shepherd_raw: 17039
|
|
76
|
-
- reference_si: 1.4988709999999996
|
|
77
|
-
shepherd_raw: 19660
|
|
78
|
-
- reference_si: 1.698827333333333
|
|
79
|
-
shepherd_raw: 22282
|
|
80
|
-
- reference_si: 1.8987016666666665
|
|
81
|
-
shepherd_raw: 24903
|
|
82
|
-
- reference_si: 2.098586
|
|
83
|
-
shepherd_raw: 27525
|
|
84
|
-
- reference_si: 2.298390333333333
|
|
85
|
-
shepherd_raw: 30146
|
|
86
|
-
- reference_si: 2.498212333333334
|
|
87
|
-
shepherd_raw: 32768
|
|
88
|
-
harvester:
|
|
89
|
-
adc_C_Hrv:
|
|
90
|
-
- reference_si: 1.0e-05
|
|
91
|
-
shepherd_raw: 640.0024095179296
|
|
92
|
-
- reference_si: 3.0e-05
|
|
93
|
-
shepherd_raw: 735.0461729807887
|
|
94
|
-
- reference_si: 0.0001
|
|
95
|
-
shepherd_raw: 1076.1177490977484
|
|
96
|
-
- reference_si: 0.0003
|
|
97
|
-
shepherd_raw: 2059.0009910802773
|
|
98
|
-
- reference_si: 0.001
|
|
99
|
-
shepherd_raw: 5507.01743679997
|
|
100
|
-
- reference_si: 0.003
|
|
101
|
-
shepherd_raw: 15368.152011355087
|
|
102
|
-
- reference_si: 0.01
|
|
103
|
-
shepherd_raw: 49901.858219874135
|
|
104
|
-
adc_V_Sense:
|
|
105
|
-
- reference_si: 0.3
|
|
106
|
-
shepherd_raw: 15371.173746136044
|
|
107
|
-
- reference_si: 0.5
|
|
108
|
-
shepherd_raw: 25616.8765911925
|
|
109
|
-
- reference_si: 0.7
|
|
110
|
-
shepherd_raw: 35858.77325609033
|
|
111
|
-
- reference_si: 0.9000000000000001
|
|
112
|
-
shepherd_raw: 46100.98459438502
|
|
113
|
-
- reference_si: 1.1
|
|
114
|
-
shepherd_raw: 56369.86713557482
|
|
115
|
-
- reference_si: 1.3
|
|
116
|
-
shepherd_raw: 66615.80688466282
|
|
117
|
-
- reference_si: 1.5000000000000002
|
|
118
|
-
shepherd_raw: 76862.13213194998
|
|
119
|
-
- reference_si: 1.7000000000000002
|
|
120
|
-
shepherd_raw: 87107.99317923916
|
|
121
|
-
- reference_si: 1.9000000000000001
|
|
122
|
-
shepherd_raw: 97354.94666776135
|
|
123
|
-
- reference_si: 2.1
|
|
124
|
-
shepherd_raw: 107600.80119884663
|
|
125
|
-
- reference_si: 2.3
|
|
126
|
-
shepherd_raw: 117847.15996841929
|
|
127
|
-
- reference_si: 2.5
|
|
128
|
-
shepherd_raw: 128093.08704241508
|
|
129
|
-
dac_V_Sim:
|
|
130
|
-
- reference_si: 0.29992786666666665
|
|
131
|
-
shepherd_raw: 3932
|
|
132
|
-
- reference_si: 0.4997380666666667
|
|
133
|
-
shepherd_raw: 6553
|
|
134
|
-
- reference_si: 0.6995636999999999
|
|
135
|
-
shepherd_raw: 9175
|
|
136
|
-
- reference_si: 0.8992112333333335
|
|
137
|
-
shepherd_raw: 11796
|
|
138
|
-
- reference_si: 1.0988696666666669
|
|
139
|
-
shepherd_raw: 14417
|
|
140
|
-
- reference_si: 1.298733
|
|
141
|
-
shepherd_raw: 17039
|
|
142
|
-
- reference_si: 1.4984769999999998
|
|
143
|
-
shepherd_raw: 19660
|
|
144
|
-
- reference_si: 1.6984
|
|
145
|
-
shepherd_raw: 22282
|
|
146
|
-
- reference_si: 1.8982459999999997
|
|
147
|
-
shepherd_raw: 24903
|
|
148
|
-
- reference_si: 2.098153
|
|
149
|
-
shepherd_raw: 27525
|
|
150
|
-
- reference_si: 2.297931666666666
|
|
151
|
-
shepherd_raw: 30146
|
|
152
|
-
- reference_si: 2.4977369999999994
|
|
153
|
-
shepherd_raw: 32768
|
|
154
|
-
dac_V_Hrv:
|
|
155
|
-
- reference_si: 0.30044600000000005
|
|
156
|
-
shepherd_raw: 3932
|
|
157
|
-
- reference_si: 0.5001728333333333
|
|
158
|
-
shepherd_raw: 6553
|
|
159
|
-
- reference_si: 0.7000243666666666
|
|
160
|
-
shepherd_raw: 9175
|
|
161
|
-
- reference_si: 0.8997134666666666
|
|
162
|
-
shepherd_raw: 11796
|
|
163
|
-
- reference_si: 1.0994590000000002
|
|
164
|
-
shepherd_raw: 14417
|
|
165
|
-
- reference_si: 1.2993789999999998
|
|
166
|
-
shepherd_raw: 17039
|
|
167
|
-
- reference_si: 1.499127
|
|
168
|
-
shepherd_raw: 19660
|
|
169
|
-
- reference_si: 1.699029333333333
|
|
170
|
-
shepherd_raw: 22282
|
|
171
|
-
- reference_si: 1.8988913333333337
|
|
172
|
-
shepherd_raw: 24903
|
|
173
|
-
- reference_si: 2.0987799999999996
|
|
174
|
-
shepherd_raw: 27525
|
|
175
|
-
- reference_si: 2.2984970000000002
|
|
176
|
-
shepherd_raw: 30146
|
|
177
|
-
- reference_si: 2.4982833333333327
|
|
178
|
-
shepherd_raw: 32768
|