Skip to content

Commit 23bc54d

Browse files
committed
Add rf package to build config and enable examples
1 parent 597c667 commit 23bc54d

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

scripts/lib/config.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@
5757
"pathsim_flight",
5858
],
5959
},
60+
"rf": {
61+
"repo": ROOT_DIR / "pathsim-rf",
62+
"source": ROOT_DIR / "pathsim-rf" / "src",
63+
"notebooks": ROOT_DIR / "pathsim-rf" / "docs" / "source" / "examples",
64+
"figures": ROOT_DIR / "pathsim-rf" / "docs" / "source" / "examples" / "figures",
65+
"display_name": "PathSim-RF",
66+
"griffe_package": "pathsim_rf",
67+
"root_modules": [
68+
"pathsim_rf",
69+
],
70+
},
6071
}
6172

6273
# Minimum supported versions per package
@@ -66,6 +77,7 @@
6677
"chem": "0.1",
6778
"vehicle": "0.1",
6879
"flight": "0.1",
80+
"rf": "0.1",
6981
}
7082

7183
# Patterns to skip during API extraction
@@ -123,6 +135,12 @@
123135
"lorenz_attractor": ("advanced", ["chaos", "ode"]),
124136
"poincare_maps": ("advanced", ["analysis", "chaos"]),
125137

138+
# RF Engineering
139+
"rf_amplifier_compression": ("rf-engineering", ["amplifier", "nonlinear", "compression"]),
140+
"rf_mixer_downconversion": ("rf-engineering", ["mixer", "frequency", "downconversion"]),
141+
"transmission_line_reflection": ("rf-engineering", ["transmission-line", "propagation"]),
142+
"superheterodyne_receiver": ("rf-engineering", ["receiver", "system"]),
143+
126144
# FMU Integration
127145
"fmu_cosimulation": ("fmu", ["fmu", "cosim"]),
128146
"fmu_model_exchange_bouncing_ball": ("fmu", ["fmu", "model-exchange"]),
@@ -146,7 +164,8 @@
146164
{"id": "signal-processing", "title": "Signal Processing", "order": 5},
147165
{"id": "chemical", "title": "Chemical Engineering", "order": 6},
148166
{"id": "advanced", "title": "Advanced Topics", "order": 7},
149-
{"id": "fmu", "title": "FMU Integration", "order": 8},
167+
{"id": "rf-engineering", "title": "RF Engineering", "order": 8},
168+
{"id": "fmu", "title": "FMU Integration", "order": 9},
150169
]
151170

152171
# Execution settings

src/lib/config/packages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ scope.plot()`,
245245
logo: 'pathsim_rf_logo.png',
246246
docs: 'rf',
247247
api: 'rf/api',
248-
examples: null,
248+
examples: 'rf/examples',
249249
pypi: null,
250250
conda: null,
251251
github: `${external.github}/pathsim-rf`,

0 commit comments

Comments
 (0)