Skip to main content

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


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.3.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfers-2.0.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file pyfers-2.0.3.tar.gz.

File metadata

  • Download URL: pyfers-2.0.3.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.12

File hashes

Hashes for pyfers-2.0.3.tar.gz
Algorithm Hash digest
SHA256 460be2c7acee91c80541b2c85ef011301634e932d9851c577781d67b444248b9
MD5 30ed37b743e267afbf2f5da054317dd4
BLAKE2b-256 37c6b17a73a190eaae005dbfbcc9cd8b1e52587b9a4d520a20188cad8b0ae58e

See more details on using hashes here.

File details

Details for the file pyfers-2.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyfers-2.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.12

File hashes

Hashes for pyfers-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e6bf7590bc7e550bb9c5438d632e38fd39e1fc6515a9cdcd08a102dfd0ddb1c6
MD5 d0c25bca16dab12035bbf11eb8ac478c
BLAKE2b-256 393af5778284958e9bc26e536cbf48268603412de21477eff4dfb722cfa880f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page