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
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lofarantpos-0.8.tar.gz | 1.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lofarantpos-0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / lofarantpos-0.8.tar.gz
| Download URL | lofarantpos-0.8.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b58f0290691051aff9bf52455544743d8c836f329b2f6d83a1199f1d0e36e75
|
|
BLAKE2b-256 checksum How to use checksums |
ca5af049a2b5c6ad9bb41bc4a55ddaba6e1cb016f0f905173d56e72699ed4d38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|
Release files / lofarantpos-0.8-py3-none-any.whl
| Download URL | lofarantpos-0.8-py3-none-any.whl |
|---|---|
| Size | 178.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c172956172bda6ea1e275d880303ce5ab2229ce221e0fa2d98359dd68d39e26
|
|
BLAKE2b-256 checksum How to use checksums |
2729aa839e2fbbd1e3c077a0444686a8e8dc96d841b9a138c623d915f230270e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.12
|