Metadata-Version: 2.4
Name: pathsim-rf
Version: 0.1.2
Summary: RF Engineering toolbox for PathSim
Author: PathSim Contributors
License: MIT
Project-URL: Homepage, https://pathsim.org
Project-URL: Documentation, https://docs.pathsim.org/rf
Project-URL: Repository, https://github.com/pathsim/pathsim-rf
Project-URL: Issues, https://github.com/pathsim/pathsim-rf/issues
Keywords: simulation,RF engineering,microwave,signal processing
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pathsim>0.13
Requires-Dist: numpy>=1.15
Requires-Dist: scipy>=1.2
Requires-Dist: scikit-rf>=0.30
Dynamic: license-file


<p align="center">
  <img src="https://raw.githubusercontent.com/pathsim/pathsim-rf/main/docs/source/logos/rf_logo.png" width="300" alt="PathSim-RF Logo" />
</p>

<p align="center">
  <strong>RF engineering toolbox for PathSim</strong>
</p>

<p align="center">
  <a href="https://pypi.org/project/pathsim-rf"><img src="https://img.shields.io/pypi/v/pathsim-rf" alt="PyPI"></a>
  <img src="https://img.shields.io/github/license/pathsim/pathsim-rf" alt="License">
</p>

<p align="center">
  <a href="https://docs.pathsim.org/rf">Documentation</a> &bull;
  <a href="https://pathsim.org">PathSim Homepage</a> &bull;
  <a href="https://github.com/pathsim/pathsim-rf">GitHub</a>
</p>

---

PathSim-RF extends the [PathSim](https://github.com/pathsim/pathsim) simulation framework with blocks for RF and microwave engineering. All blocks follow the standard PathSim block interface and can be connected into simulation diagrams.

## Blocks

| Block | Description | Key Parameters |
|-------|-------------|----------------|
| `RFNetwork` | N-port network from S-parameter data (Touchstone) via vector fitting | `ntwk`, `auto_fit` |
| `TransmissionLine` | Lossy delay-based transmission line (scattering domain) | `length`, `er`, `attenuation`, `Z0` |
| `RFAmplifier` | Amplifier with optional IP3 nonlinearity | `gain` [dB], `IIP3` [dBm], `P1dB` [dBm], `Z0` |
| `RFMixer` | Ideal frequency converter (time-domain multiplication) | `conversion_gain` [dB], `Z0` |

## Install

```bash
pip install pathsim-rf
```

## License

MIT
