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.2.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.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfers-2.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 565614f370b492d60ced869bd8e72e0eb6844f3153a90f79c7f934dd8e1e348c
MD5 6c531f63aca46f415188c53137cc8fc9
BLAKE2b-256 be33b8f201c23e9c049d2931ee5f7940b64af067ebdf5cf48ba63df9c46e4ccf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfers-2.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 014249b7deeaf2e255022f50b3c4e31547570e0190e5bea9ba6d8866eff1d4dc
MD5 777245b5d88609f92f47a942f5d0f614
BLAKE2b-256 32ec6c6170cc81d7183717e8a4d88f5efebbb2e85031abf722bd52298456f517

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