h5parm
Provides H5Parm data interface
Example
from h5parm.utils import make_example_datapack
from h5parm import DataPack
datapack = make_example_datapack(4,5,6)
#select your slices
datapack.select(ant="RS*", time=slice(0,None,2), freq=2)
This will select all antennas with names starting with 'RS', every other time, and the 3rd frequency.
#get your soltab
phase, axes = datapack.phase
#get the coordinates of axes
patch_names, directions = datapack.get_directions(axes['dir'])
antenna_labels, antennas = datapack.get_antennas(axes['ant'])
timestamp, times = datapack.get_antennas(axes['time'])
freq_labels, freqs = datapack.get_freqs(axes['freq'])
pol_labels, pols = datapack.get_pols(axes['pol'])
In general the first element returned by all get_* methods are string labels, and the second is a dimensionful astropy object, e.g. ICRS object, Time object etc.
Metadata
Release files for h5parm 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| h5parm-1.0.7.tar.gz | 82.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| h5parm-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 164.7 kB
Release files / h5parm-1.0.7.tar.gz
| Download URL | h5parm-1.0.7.tar.gz |
|---|---|
| Size | 82.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4b0271a3785882d83a98123c161a4f215340245968ab6b6a340889bfe160d47
|
|
BLAKE2b-256 checksum How to use checksums |
07997ec2e83d97e48117f97932e66753612bd2975f4045940bdcd9147aed4766
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / h5parm-1.0.7-py3-none-any.whl
| Download URL | h5parm-1.0.7-py3-none-any.whl |
|---|---|
| Size | 82.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6b7f4adc2dac746e12f8feeeb9df863f36d96c19a584fb6ea746b8ff4be089a
|
|
BLAKE2b-256 checksum How to use checksums |
decf69f8dc65affe25b2bcd8623b4f8ca5268c51d463e35dbb22cec36b352a06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|