Skip to main content

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")

Metadata

Release files for pyfers 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyfers 2.1.0
File Size Uploaded Provenance Actions
pyfers-2.1.0.tar.gz 9.7 kB Without provenance Details for pyfers-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyfers 2.1.0
File Interpreter ABI Platform Actions
pyfers-2.1.0-py3-none-any.whl Python 3 none any Details for pyfers-2.1.0-py3-none-any.whl

Total release size: 21.6 kB

Release files / pyfers-2.1.0.tar.gz

Download URL pyfers-2.1.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
30a4d523aede6a322c512fe4b048a15c297e0ca7765e10722cbf42d492d1d2d8
BLAKE2b-256 checksum
How to use checksums
d20e4087b04cea9462be102fd11738ce803c7436fcc7c88443f19c1287521a2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.12

Release files / pyfers-2.1.0-py3-none-any.whl

Download URL pyfers-2.1.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
027a342d304c6b55140a252f36713be44b6b3f64f32d586cfd3104c229ee9ce8
BLAKE2b-256 checksum
How to use checksums
7ed0a3b1d55d562bc701f10e42ac8801071ba50612a73ff8ef152882a88ee234
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.12

Security for pyfers 2.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page