Access, query, and manipulate LOFAR antenna positions
Project description
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.
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
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 lofarantpos-0.7.2.tar.gz.
File metadata
- Download URL: lofarantpos-0.7.2.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d0046eca4c18aea40492cb6445d66bb664267972743becd0e56d0380f0bcdd
|
|
| MD5 |
54db65d405f2b6e3cee8a5b8b2e87524
|
|
| BLAKE2b-256 |
0b35f09e41872651f1fda6628eff13bb500e2a37fb6d9eb6458bbfc5926fc02f
|
File details
Details for the file lofarantpos-0.7.2-py3-none-any.whl.
File metadata
- Download URL: lofarantpos-0.7.2-py3-none-any.whl
- Upload date:
- Size: 175.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d99a935d6948965fbf96f29e550b510b2fc4e03bda36e55a8e18d9ed14c85bc9
|
|
| MD5 |
3fb147c896d52bd2aad49f004af6cdb4
|
|
| BLAKE2b-256 |
5196ebea63e4d7c215278ec9902a5064baeab9d3e0af949efbb5849eb5164a50
|