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.6.tar.gz (9.7 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.6-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfers-2.0.6.tar.gz
  • Upload date:
  • Size: 9.7 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.6.tar.gz
Algorithm Hash digest
SHA256 05f7a922a6765ac181d6aa3d6919469996d30556ebf78cea94bff4e60a7d4a33
MD5 95755798c74138ce5fb5fb4b80245783
BLAKE2b-256 ab402884c934f669f0a03082078074576ff12c336e84b2683f5783025fee4a32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfers-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 11.8 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 eea2e91936cc27051e76ec64a5c233cba12c928d2e7dfe99c559d805e4183d06
MD5 5cf3a9e756ded93809d783f5b61ca289
BLAKE2b-256 0a09e32d4f89dd9857b22106f6bc775200bbf941afe1ab17314341b26991799f

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