Generates XML Descriptors for FERS
Project description
pyfers
A python package that simplifies the generation of XML descriptors for FERS.
pyfers >= 2.0.0 targets the new schema introduced in FERS 1.0.0.
Install
pip3 install pyfers
Example
import pyfers as fers
# radar parameters
chirp = fers.Waveform(name='chirp', f_carrier=9e9, type='pulse', power=20, f_sample=150e6, bandwidth=100e6, t_pulse=2e-6)
antenna = fers.Antenna(name='antenna', type='sinc', gain=2, efficiency=1, az_beta=20, el_beta=5, az_gamma=2, el_gamma=2)
clock = fers.Clock(name='clock', frequency=150e6)
transmitter = fers.Transmitter(name='transmitter', antenna=antenna, waveform=chirp, clock=clock, f_prf=1000)
receiver = fers.Receiver(name='receiver', antenna=antenna, clock=clock, f_prf=1000, gate=1000, noise_temp=100)
# platforms
radar_platform = fers.StaticPlatform(name='radar platform', x=0, y=0, z=0)
target_platform = fers.StaticPlatform(name='target platform', x=250, y=400, z=0)
# targets
target = fers.Target('target', rcs=100, platform=target_platform)
# FERS simulation
sim = fers.Simulation(name='simple', filename="simple.fersxml")
sim.add_parameters(t_start=0, t_end=10, sim_rate=150e6, bits=16)
sim.add_waveform(chirp, "waveform.h5")
sim.add_clock(clock)
sim.add_antenna(antenna, "antenna.xml")
sim.add_monostatic(radar_platform, transmitter, receiver, antenna, chirp, clock)
sim.add_target(target)
sim.write_xml()
sim.run()
# read results
rx_matrix = fers.read_hdf5(receiver.name + "_results.h5")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfers-2.0.5.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyfers-2.0.5-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file pyfers-2.0.5.tar.gz.
File metadata
- Download URL: pyfers-2.0.5.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c395ead6ec08c105e507a9272c6375e6fdce767ac86a42572388207e4f479a82
|
|
| MD5 |
3a1dbdab185893fe63afd15e100bc8e4
|
|
| BLAKE2b-256 |
6da4dbfcbe8606f390802a9513db2b4d676ec258e0bf1c5a618bd9f8b632c9b9
|
File details
Details for the file pyfers-2.0.5-py3-none-any.whl.
File metadata
- Download URL: pyfers-2.0.5-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8b120b1172ca5ce5d1f8d673983c08289d5330bfff8eb1cf1a4d3a1a660fd53
|
|
| MD5 |
10de8d42b7ae7b3912ccc9839a4ee5df
|
|
| BLAKE2b-256 |
9d171acfef0abebd7721cedd9ba0539569fc953111e400f798790ec648e9cbf7
|