XML generator for FERS
Project description
pyfers
Python package that enables simple generation of XML descriptors required by FERS.
Install
pip3 install pyfers
Example
import pyfers.fers as fers
fers.write_hdf5(tx_chirp, FERS_INPUT_FILENAME)
fers_xml = fers.FersXMLGenerator(FERS_XML_FILENAME)
fers_xml.add_parameters(
t_start=T_pri,
t_end=T_slow,
sim_rate=adc_rate,
bits=adc_bits
)
fers_xml.add_pulse(
name='up_chirp',
pulse_file=FERS_INPUT_FILENAME,
power_watts=P_tx,
centre_freq=fc
)
fers_xml.add_clock(name='clock', frequency=adc_rate, synconpulse='false')
# fers_xml.add_antenna(name='tx_rx_antenna', pattern='isotropic')
# fers_xml.add_antenna(name='tx_rx_antenna', pattern='parabolic', d=10)
fers_xml.add_antenna(name='tx_rx_antenna', pattern='sinc', a=alpha, b=beta, g=gamma)
fers_xml.add_pseudo_monostatic_radar(
spacing=antenna_spacing,
waypoints=waypoints,
antenna='tx_rx_antenna',
timing='clock',
prf=F_prf,
pulse='up_chirp',
window_length=T_keep,
noise_temp=noise_temp,
nodirect='true'
)
for target in targets:
fers_xml.add_target(
name = target.name,
x = target.x,
y = target.y,
z = target.z,
t = target.t,
rcs = target.rcs
)
fers_xml.write_xml()
fers_xml.run()
rx_matrix = fers.read_hdf5(FERS_OUTPUT_FILENAME)
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-1.0.7.tar.gz
(4.7 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
File details
Details for the file pyfers-1.0.7.tar.gz.
File metadata
- Download URL: pyfers-1.0.7.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c3cc30ec6f7ad6d3e9d65c76e00824fe4aba3c2c01c19a7028c8243fb99446e
|
|
| MD5 |
5f6bdfd0e151a6fa09a56b5790d5baf6
|
|
| BLAKE2b-256 |
937ab3299a0b433d9caa10ed3241986e77b7aa326eb5a361a962c2241dcbf92d
|
File details
Details for the file pyfers-1.0.7-py3-none-any.whl.
File metadata
- Download URL: pyfers-1.0.7-py3-none-any.whl
- Upload date:
- Size: 4.8 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 |
eef5b2822316ef8c5b24d32e4aa6e69e5ef638e3edb48b9bb9ecc6383faf05bf
|
|
| MD5 |
90b27d65edce5ee3b50b8c5277b1bd1a
|
|
| BLAKE2b-256 |
dcdf61772416b6ce2024644ef67578a809157657dcc4189a102650b459a55c46
|