shepherd-core 2025.10.1__py3-none-any.whl → 2026.2.1__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.
Files changed (69) hide show
  1. shepherd_core/config.py +1 -1
  2. shepherd_core/data_models/__init__.py +4 -2
  3. shepherd_core/data_models/base/cal_measurement.py +7 -2
  4. shepherd_core/data_models/base/calibration.py +23 -12
  5. shepherd_core/data_models/base/content.py +10 -2
  6. shepherd_core/data_models/base/shepherd.py +13 -4
  7. shepherd_core/data_models/base/wrapper.py +2 -0
  8. shepherd_core/data_models/content/__init__.py +4 -2
  9. shepherd_core/data_models/content/_external_fixtures.yaml +104 -96
  10. shepherd_core/data_models/content/_metadata_eenvs_bonito.yaml +436 -0
  11. shepherd_core/data_models/content/_metadata_eenvs_synthetic_multivariate_random_walk.yaml +164 -0
  12. shepherd_core/data_models/content/_metadata_eenvs_synthetic_on_off_markov.yaml +3280 -0
  13. shepherd_core/data_models/content/_metadata_eenvs_synthetic_on_off_windows.yaml +3260 -0
  14. shepherd_core/data_models/content/_metadata_eenvs_synthetic_static.yaml +450 -0
  15. shepherd_core/data_models/content/energy_environment.py +341 -23
  16. shepherd_core/data_models/content/energy_environment_fixture.yaml +21 -18
  17. shepherd_core/data_models/content/enum_datatypes.py +109 -0
  18. shepherd_core/data_models/content/firmware.py +44 -16
  19. shepherd_core/data_models/content/virtual_harvester_config.py +10 -93
  20. shepherd_core/data_models/content/virtual_source_config.py +21 -2
  21. shepherd_core/data_models/content/virtual_storage_config.py +7 -4
  22. shepherd_core/data_models/content/virtual_storage_fixture_creator.py +1 -1
  23. shepherd_core/data_models/content/virtual_storage_fixture_param_experiments.py +4 -4
  24. shepherd_core/data_models/experiment/experiment.py +38 -13
  25. shepherd_core/data_models/experiment/observer_features.py +17 -4
  26. shepherd_core/data_models/experiment/target_config.py +55 -7
  27. shepherd_core/data_models/task/__init__.py +13 -2
  28. shepherd_core/data_models/task/emulation.py +9 -5
  29. shepherd_core/data_models/task/firmware_mod.py +3 -1
  30. shepherd_core/data_models/task/harvest.py +2 -0
  31. shepherd_core/data_models/task/helper_paths.py +2 -2
  32. shepherd_core/data_models/task/observer_tasks.py +8 -6
  33. shepherd_core/data_models/task/programming.py +4 -2
  34. shepherd_core/data_models/task/testbed_tasks.py +8 -2
  35. shepherd_core/data_models/testbed/cape.py +2 -0
  36. shepherd_core/data_models/testbed/gpio.py +2 -0
  37. shepherd_core/data_models/testbed/mcu.py +2 -0
  38. shepherd_core/data_models/testbed/observer.py +2 -0
  39. shepherd_core/data_models/testbed/target.py +7 -5
  40. shepherd_core/data_models/testbed/target_fixture.old1 +1 -1
  41. shepherd_core/data_models/testbed/target_fixture.yaml +1 -1
  42. shepherd_core/data_models/testbed/testbed.py +17 -15
  43. shepherd_core/exit_handler.py +22 -0
  44. shepherd_core/fw_tools/converter.py +2 -2
  45. shepherd_core/fw_tools/validation.py +1 -1
  46. shepherd_core/inventory/__init__.py +23 -21
  47. shepherd_core/inventory/system.py +2 -2
  48. shepherd_core/logger.py +0 -1
  49. shepherd_core/reader.py +29 -25
  50. shepherd_core/testbed_client/cache_path.py +3 -3
  51. shepherd_core/testbed_client/client_abc_fix.py +14 -3
  52. shepherd_core/testbed_client/client_web.py +7 -5
  53. shepherd_core/testbed_client/fixtures.py +7 -7
  54. shepherd_core/version.py +1 -1
  55. shepherd_core/vsource/virtual_converter_model.py +2 -2
  56. shepherd_core/vsource/virtual_harvester_model.py +2 -2
  57. shepherd_core/vsource/virtual_harvester_simulation.py +5 -5
  58. shepherd_core/vsource/virtual_source_model.py +1 -1
  59. shepherd_core/vsource/virtual_source_simulation.py +9 -9
  60. shepherd_core/vsource/virtual_storage_models_kibam.py +3 -3
  61. shepherd_core/writer.py +16 -9
  62. {shepherd_core-2025.10.1.dist-info → shepherd_core-2026.2.1.dist-info}/METADATA +5 -3
  63. shepherd_core-2026.2.1.dist-info/RECORD +102 -0
  64. {shepherd_core-2025.10.1.dist-info → shepherd_core-2026.2.1.dist-info}/WHEEL +1 -1
  65. shepherd_core-2026.2.1.dist-info/licenses/LICENSE +21 -0
  66. shepherd_core/data_models/content/firmware_datatype.py +0 -15
  67. shepherd_core-2025.10.1.dist-info/RECORD +0 -95
  68. {shepherd_core-2025.10.1.dist-info → shepherd_core-2026.2.1.dist-info}/top_level.txt +0 -0
  69. {shepherd_core-2025.10.1.dist-info → shepherd_core-2026.2.1.dist-info}/zip-safe +0 -0
@@ -0,0 +1,450 @@
1
+ - datatype: EnergyEnvironment
2
+ parameters:
3
+ id: 453951115104139114
4
+ name: synthetic_static_1000mV_50mA
5
+ description: Virtual Bench Power Supply, 1.000 V, 0.050 A
6
+ comment: created with extra\eenv_generator\ivtraces_static.py
7
+ created: 2026-02-02 18:22:31.816771
8
+ updated_last: 2026-02-02 18:22:31.816774
9
+ owner: Ingmar
10
+ group: NES_Lab
11
+ visible2group: true
12
+ visible2all: true
13
+ sw_ver: 2026.02.1
14
+ energy_profiles:
15
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/1000mV_50mA.h5
16
+ data_type: ivsample
17
+ data_2_copy: false
18
+ duration: 3600.0
19
+ energy_Ws: 179.99999950000003
20
+ valid: true
21
+ repetitions_ok: true
22
+ metadata:
23
+ voltage_V: 1.0
24
+ current_A: 0.05
25
+ modifications: []
26
+ - datatype: EnergyEnvironment
27
+ parameters:
28
+ id: 662662847279505212
29
+ name: synthetic_static_1000mV_10mA
30
+ description: Virtual Bench Power Supply, 1.000 V, 0.010 A
31
+ comment: created with extra\eenv_generator\ivtraces_static.py
32
+ created: 2026-02-02 18:22:32.606448
33
+ updated_last: 2026-02-02 18:22:32.606451
34
+ owner: Ingmar
35
+ group: NES_Lab
36
+ visible2group: true
37
+ visible2all: true
38
+ sw_ver: 2026.02.1
39
+ energy_profiles:
40
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/1000mV_10mA.h5
41
+ data_type: ivsample
42
+ data_2_copy: false
43
+ duration: 3600.0
44
+ energy_Ws: 35.999999899999935
45
+ valid: true
46
+ repetitions_ok: true
47
+ metadata:
48
+ voltage_V: 1.0
49
+ current_A: 0.01
50
+ modifications: []
51
+ - datatype: EnergyEnvironment
52
+ parameters:
53
+ id: 752475678547212735
54
+ name: synthetic_static_1000mV_5mA
55
+ description: Virtual Bench Power Supply, 1.000 V, 0.005 A
56
+ comment: created with extra\eenv_generator\ivtraces_static.py
57
+ created: 2026-02-02 18:22:33.399919
58
+ updated_last: 2026-02-02 18:22:33.399923
59
+ owner: Ingmar
60
+ group: NES_Lab
61
+ visible2group: true
62
+ visible2all: true
63
+ sw_ver: 2026.02.1
64
+ energy_profiles:
65
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/1000mV_5mA.h5
66
+ data_type: ivsample
67
+ data_2_copy: false
68
+ duration: 3600.0
69
+ energy_Ws: 17.999999949999967
70
+ valid: true
71
+ repetitions_ok: true
72
+ metadata:
73
+ voltage_V: 1.0
74
+ current_A: 0.005
75
+ modifications: []
76
+ - datatype: EnergyEnvironment
77
+ parameters:
78
+ id: 132189537411372955
79
+ name: synthetic_static_1000mV_20mA
80
+ description: Virtual Bench Power Supply, 1.000 V, 0.020 A
81
+ comment: created with extra\eenv_generator\ivtraces_static.py
82
+ created: 2026-02-02 18:22:34.195149
83
+ updated_last: 2026-02-02 18:22:34.195152
84
+ owner: Ingmar
85
+ group: NES_Lab
86
+ visible2group: true
87
+ visible2all: true
88
+ sw_ver: 2026.02.1
89
+ energy_profiles:
90
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/1000mV_20mA.h5
91
+ data_type: ivsample
92
+ data_2_copy: false
93
+ duration: 3600.0
94
+ energy_Ws: 71.99999979999987
95
+ valid: true
96
+ repetitions_ok: true
97
+ metadata:
98
+ voltage_V: 1.0
99
+ current_A: 0.02
100
+ modifications: []
101
+ - datatype: EnergyEnvironment
102
+ parameters:
103
+ id: 909610357487958783
104
+ name: synthetic_static_1000mV_2mA
105
+ description: Virtual Bench Power Supply, 1.000 V, 0.002 A
106
+ comment: created with extra\eenv_generator\ivtraces_static.py
107
+ created: 2026-02-02 18:22:34.980397
108
+ updated_last: 2026-02-02 18:22:34.980400
109
+ owner: Ingmar
110
+ group: NES_Lab
111
+ visible2group: true
112
+ visible2all: true
113
+ sw_ver: 2026.02.1
114
+ energy_profiles:
115
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/1000mV_2mA.h5
116
+ data_type: ivsample
117
+ data_2_copy: false
118
+ duration: 3600.0
119
+ energy_Ws: 7.199999980000004
120
+ valid: true
121
+ repetitions_ok: true
122
+ metadata:
123
+ voltage_V: 1.0
124
+ current_A: 0.002
125
+ modifications: []
126
+ - datatype: EnergyEnvironment
127
+ parameters:
128
+ id: 16580819109882743
129
+ name: synthetic_static_1000mV_1mA
130
+ description: Virtual Bench Power Supply, 1.000 V, 0.001 A
131
+ comment: created with extra\eenv_generator\ivtraces_static.py
132
+ created: 2026-02-02 18:22:35.775949
133
+ updated_last: 2026-02-02 18:22:35.775952
134
+ owner: Ingmar
135
+ group: NES_Lab
136
+ visible2group: true
137
+ visible2all: true
138
+ sw_ver: 2026.02.1
139
+ energy_profiles:
140
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/1000mV_1mA.h5
141
+ data_type: ivsample
142
+ data_2_copy: false
143
+ duration: 3600.0
144
+ energy_Ws: 3.599999990000002
145
+ valid: true
146
+ repetitions_ok: true
147
+ metadata:
148
+ voltage_V: 1.0
149
+ current_A: 0.001
150
+ modifications: []
151
+ - datatype: EnergyEnvironment
152
+ parameters:
153
+ id: 696706034880760802
154
+ name: synthetic_static_2000mV_50mA
155
+ description: Virtual Bench Power Supply, 2.000 V, 0.050 A
156
+ comment: created with extra\eenv_generator\ivtraces_static.py
157
+ created: 2026-02-02 18:22:36.541933
158
+ updated_last: 2026-02-02 18:22:36.541937
159
+ owner: Ingmar
160
+ group: NES_Lab
161
+ visible2group: true
162
+ visible2all: true
163
+ sw_ver: 2026.02.1
164
+ energy_profiles:
165
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/2000mV_50mA.h5
166
+ data_type: ivsample
167
+ data_2_copy: false
168
+ duration: 3600.0
169
+ energy_Ws: 359.99999900000006
170
+ valid: true
171
+ repetitions_ok: true
172
+ metadata:
173
+ voltage_V: 2.0
174
+ current_A: 0.05
175
+ modifications: []
176
+ - datatype: EnergyEnvironment
177
+ parameters:
178
+ id: 418869592818177555
179
+ name: synthetic_static_2000mV_10mA
180
+ description: Virtual Bench Power Supply, 2.000 V, 0.010 A
181
+ comment: created with extra\eenv_generator\ivtraces_static.py
182
+ created: 2026-02-02 18:22:37.349095
183
+ updated_last: 2026-02-02 18:22:37.349097
184
+ owner: Ingmar
185
+ group: NES_Lab
186
+ visible2group: true
187
+ visible2all: true
188
+ sw_ver: 2026.02.1
189
+ energy_profiles:
190
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/2000mV_10mA.h5
191
+ data_type: ivsample
192
+ data_2_copy: false
193
+ duration: 3600.0
194
+ energy_Ws: 71.99999979999987
195
+ valid: true
196
+ repetitions_ok: true
197
+ metadata:
198
+ voltage_V: 2.0
199
+ current_A: 0.01
200
+ modifications: []
201
+ - datatype: EnergyEnvironment
202
+ parameters:
203
+ id: 1032614473543483842
204
+ name: synthetic_static_2000mV_5mA
205
+ description: Virtual Bench Power Supply, 2.000 V, 0.005 A
206
+ comment: created with extra\eenv_generator\ivtraces_static.py
207
+ created: 2026-02-02 18:22:38.143462
208
+ updated_last: 2026-02-02 18:22:38.143466
209
+ owner: Ingmar
210
+ group: NES_Lab
211
+ visible2group: true
212
+ visible2all: true
213
+ sw_ver: 2026.02.1
214
+ energy_profiles:
215
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/2000mV_5mA.h5
216
+ data_type: ivsample
217
+ data_2_copy: false
218
+ duration: 3600.0
219
+ energy_Ws: 35.999999899999935
220
+ valid: true
221
+ repetitions_ok: true
222
+ metadata:
223
+ voltage_V: 2.0
224
+ current_A: 0.005
225
+ modifications: []
226
+ - datatype: EnergyEnvironment
227
+ parameters:
228
+ id: 887669461949570798
229
+ name: synthetic_static_2000mV_20mA
230
+ description: Virtual Bench Power Supply, 2.000 V, 0.020 A
231
+ comment: created with extra\eenv_generator\ivtraces_static.py
232
+ created: 2026-02-02 18:22:38.925097
233
+ updated_last: 2026-02-02 18:22:38.925100
234
+ owner: Ingmar
235
+ group: NES_Lab
236
+ visible2group: true
237
+ visible2all: true
238
+ sw_ver: 2026.02.1
239
+ energy_profiles:
240
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/2000mV_20mA.h5
241
+ data_type: ivsample
242
+ data_2_copy: false
243
+ duration: 3600.0
244
+ energy_Ws: 143.99999959999974
245
+ valid: true
246
+ repetitions_ok: true
247
+ metadata:
248
+ voltage_V: 2.0
249
+ current_A: 0.02
250
+ modifications: []
251
+ - datatype: EnergyEnvironment
252
+ parameters:
253
+ id: 64155784418227672
254
+ name: synthetic_static_2000mV_2mA
255
+ description: Virtual Bench Power Supply, 2.000 V, 0.002 A
256
+ comment: created with extra\eenv_generator\ivtraces_static.py
257
+ created: 2026-02-02 18:22:39.707740
258
+ updated_last: 2026-02-02 18:22:39.707745
259
+ owner: Ingmar
260
+ group: NES_Lab
261
+ visible2group: true
262
+ visible2all: true
263
+ sw_ver: 2026.02.1
264
+ energy_profiles:
265
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/2000mV_2mA.h5
266
+ data_type: ivsample
267
+ data_2_copy: false
268
+ duration: 3600.0
269
+ energy_Ws: 14.399999960000008
270
+ valid: true
271
+ repetitions_ok: true
272
+ metadata:
273
+ voltage_V: 2.0
274
+ current_A: 0.002
275
+ modifications: []
276
+ - datatype: EnergyEnvironment
277
+ parameters:
278
+ id: 417127525493728167
279
+ name: synthetic_static_2000mV_1mA
280
+ description: Virtual Bench Power Supply, 2.000 V, 0.001 A
281
+ comment: created with extra\eenv_generator\ivtraces_static.py
282
+ created: 2026-02-02 18:22:40.488394
283
+ updated_last: 2026-02-02 18:22:40.488397
284
+ owner: Ingmar
285
+ group: NES_Lab
286
+ visible2group: true
287
+ visible2all: true
288
+ sw_ver: 2026.02.1
289
+ energy_profiles:
290
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/2000mV_1mA.h5
291
+ data_type: ivsample
292
+ data_2_copy: false
293
+ duration: 3600.0
294
+ energy_Ws: 7.199999980000004
295
+ valid: true
296
+ repetitions_ok: true
297
+ metadata:
298
+ voltage_V: 2.0
299
+ current_A: 0.001
300
+ modifications: []
301
+ - datatype: EnergyEnvironment
302
+ parameters:
303
+ id: 199970338570417361
304
+ name: synthetic_static_3000mV_50mA
305
+ description: Virtual Bench Power Supply, 3.000 V, 0.050 A
306
+ comment: created with extra\eenv_generator\ivtraces_static.py
307
+ created: 2026-02-02 18:22:41.289728
308
+ updated_last: 2026-02-02 18:22:41.289731
309
+ owner: Ingmar
310
+ group: NES_Lab
311
+ visible2group: true
312
+ visible2all: true
313
+ sw_ver: 2026.02.1
314
+ energy_profiles:
315
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/3000mV_50mA.h5
316
+ data_type: ivsample
317
+ data_2_copy: false
318
+ duration: 3600.0
319
+ energy_Ws: 539.9999985000002
320
+ valid: true
321
+ repetitions_ok: true
322
+ metadata:
323
+ voltage_V: 3.0
324
+ current_A: 0.05
325
+ modifications: []
326
+ - datatype: EnergyEnvironment
327
+ parameters:
328
+ id: 532543904595745579
329
+ name: synthetic_static_3000mV_10mA
330
+ description: Virtual Bench Power Supply, 3.000 V, 0.010 A
331
+ comment: created with extra\eenv_generator\ivtraces_static.py
332
+ created: 2026-02-02 18:22:42.088457
333
+ updated_last: 2026-02-02 18:22:42.088460
334
+ owner: Ingmar
335
+ group: NES_Lab
336
+ visible2group: true
337
+ visible2all: true
338
+ sw_ver: 2026.02.1
339
+ energy_profiles:
340
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/3000mV_10mA.h5
341
+ data_type: ivsample
342
+ data_2_copy: false
343
+ duration: 3600.0
344
+ energy_Ws: 107.9999996999999
345
+ valid: true
346
+ repetitions_ok: true
347
+ metadata:
348
+ voltage_V: 3.0
349
+ current_A: 0.01
350
+ modifications: []
351
+ - datatype: EnergyEnvironment
352
+ parameters:
353
+ id: 1103387339485784311
354
+ name: synthetic_static_3000mV_5mA
355
+ description: Virtual Bench Power Supply, 3.000 V, 0.005 A
356
+ comment: created with extra\eenv_generator\ivtraces_static.py
357
+ created: 2026-02-02 18:22:42.874173
358
+ updated_last: 2026-02-02 18:22:42.874177
359
+ owner: Ingmar
360
+ group: NES_Lab
361
+ visible2group: true
362
+ visible2all: true
363
+ sw_ver: 2026.02.1
364
+ energy_profiles:
365
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/3000mV_5mA.h5
366
+ data_type: ivsample
367
+ data_2_copy: false
368
+ duration: 3600.0
369
+ energy_Ws: 53.99999984999995
370
+ valid: true
371
+ repetitions_ok: true
372
+ metadata:
373
+ voltage_V: 3.0
374
+ current_A: 0.005
375
+ modifications: []
376
+ - datatype: EnergyEnvironment
377
+ parameters:
378
+ id: 487918710528680814
379
+ name: synthetic_static_3000mV_20mA
380
+ description: Virtual Bench Power Supply, 3.000 V, 0.020 A
381
+ comment: created with extra\eenv_generator\ivtraces_static.py
382
+ created: 2026-02-02 18:22:43.670107
383
+ updated_last: 2026-02-02 18:22:43.670109
384
+ owner: Ingmar
385
+ group: NES_Lab
386
+ visible2group: true
387
+ visible2all: true
388
+ sw_ver: 2026.02.1
389
+ energy_profiles:
390
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/3000mV_20mA.h5
391
+ data_type: ivsample
392
+ data_2_copy: false
393
+ duration: 3600.0
394
+ energy_Ws: 215.9999993999998
395
+ valid: true
396
+ repetitions_ok: true
397
+ metadata:
398
+ voltage_V: 3.0
399
+ current_A: 0.02
400
+ modifications: []
401
+ - datatype: EnergyEnvironment
402
+ parameters:
403
+ id: 607655954734678130
404
+ name: synthetic_static_3000mV_2mA
405
+ description: Virtual Bench Power Supply, 3.000 V, 0.002 A
406
+ comment: created with extra\eenv_generator\ivtraces_static.py
407
+ created: 2026-02-02 18:22:44.446962
408
+ updated_last: 2026-02-02 18:22:44.446965
409
+ owner: Ingmar
410
+ group: NES_Lab
411
+ visible2group: true
412
+ visible2all: true
413
+ sw_ver: 2026.02.1
414
+ energy_profiles:
415
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/3000mV_2mA.h5
416
+ data_type: ivsample
417
+ data_2_copy: false
418
+ duration: 3600.0
419
+ energy_Ws: 21.59999993999997
420
+ valid: true
421
+ repetitions_ok: true
422
+ metadata:
423
+ voltage_V: 3.0
424
+ current_A: 0.002
425
+ modifications: []
426
+ - datatype: EnergyEnvironment
427
+ parameters:
428
+ id: 927372628079938476
429
+ name: synthetic_static_3000mV_1mA
430
+ description: Virtual Bench Power Supply, 3.000 V, 0.001 A
431
+ comment: created with extra\eenv_generator\ivtraces_static.py
432
+ created: 2026-02-02 18:22:45.244984
433
+ updated_last: 2026-02-02 18:22:45.244988
434
+ owner: Ingmar
435
+ group: NES_Lab
436
+ visible2group: true
437
+ visible2all: true
438
+ sw_ver: 2026.02.1
439
+ energy_profiles:
440
+ - data_path: /var/shepherd/content/eenv/nes_lab/synthetic_static/3000mV_1mA.h5
441
+ data_type: ivsample
442
+ data_2_copy: false
443
+ duration: 3600.0
444
+ energy_Ws: 10.799999969999986
445
+ valid: true
446
+ repetitions_ok: true
447
+ metadata:
448
+ voltage_V: 3.0
449
+ current_A: 0.001
450
+ modifications: []