Skip to main content

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)

Source distribution for h5parm 1.0.7
File Size Uploaded
h5parm-1.0.7.tar.gz 82.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for h5parm 1.0.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.10

2 release files

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page