LOFAR antenna database
Module for manipulating LOFAR antenna databases. Typical usage is to create an instance of a LofarAntennaDatabase:
>>> import lofarantpos.db
>>> db = lofarantpos.db.LofarAntennaDatabase()
>>> cs001lba_etrs = db.phase_centres['CS001LBA']
array([3826923.942, 460915.117, 5064643.229])
>>> db.antenna_pqr('RS210LBA')[:5]
array([[ 0. , 0. , 0. ],
[-0.00006..., 2.55059..., 0.00185...],
[ 2.24997..., 1.3499502 , 0.00130...],
[ 2.24982..., -1.35031..., -0.0004149 ],
[ 0.00006..., -2.55059..., -0.00185...]])
Some functions are included to convert xyz coordinates to latitude, longitude, height w.r.t. WGS84 ellipsoid.
>>> from lofarantpos.geo import geographic_from_xyz
>>> geographic_from_xyz(cs001lba_etrs)
{'lon_rad': 0.11986275972340964,
'lat_rad': 0.9234780446647385,
'height_m': 50.162683041766286}
Installation
This module can be pip-installed:
pip install lofarantpos
Alternatively, install it from this source with
python setup.py install
Note This package used to be called lofar-antenna-positions. It may be
necessary to uninstall lofar-antenna-positions before installing.
Metadata
Release files for lofarantpos 0.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lofarantpos-0.8.3.tar.gz | 1.8 MB | Without provenance | Details for lofarantpos-0.8.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lofarantpos-0.8.3-py3-none-any.whl | Python 3 | none | any | Details for lofarantpos-0.8.3-py3-none-any.whl |
Total release size: 1.9 MB
Release files / lofarantpos-0.8.3.tar.gz
| Download URL | lofarantpos-0.8.3.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a953b185852dd7e8350c2629b9545a410ba5e19e122f5111e9ee866a6dea20d7
|
|
BLAKE2b-256 checksum How to use checksums |
03f3979d1e3b9ebe8c8ca6f6d1e92219cf2399d11aabf861d21b50c0f0ad024c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / lofarantpos-0.8.3-py3-none-any.whl
| Download URL | lofarantpos-0.8.3-py3-none-any.whl |
|---|---|
| Size | 179.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
61163906f72096c1a947f3ec6832f644f8d6886cd1e01c2805422f07fa64d564
|
|
BLAKE2b-256 checksum How to use checksums |
0ea0b84bd2535c9ad1f65398adc423ada5334e32f6a3ad286ed4cda6bb3f84b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for lofarantpos 0.8.3
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.