Skip to main content

psr-formats

Formats for loading and saving data used in pulsar data processing.

Supported formats:

  • DADA

Usage

>>> from psr_formats import DADAFile
>>> dada_file = DADAFile("path/to/dada.dump").load_data()
>>> dada_file["NCHAN"]
'1'
>>> dada_file.nchan
1
>>> dada_file.npol
2
>>> dada_file.sampling_rate
<Quantity 0.025 us>
>>> dada_file.data.shape
(3107730, 1, 2) # ndat, nchan, npol
>>> new_dada_file = DADAFile("new.dump")
>>> new_dada_file.data = dada_file.data
>>> new_dada_file.dump_data()
'new.dump'

Testing

poetry run python -m unittest

Metadata

Release files for psr-formats 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psr-formats 0.2.2
File Size Uploaded Provenance Actions
psr-formats-0.2.2.tar.gz 5.6 kB Without provenance Details for psr-formats-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for psr-formats 0.2.2
File Interpreter ABI Platform Actions
psr_formats-0.2.2-py3-none-any.whl Python 3 none any Details for psr_formats-0.2.2-py3-none-any.whl

Total release size: 12.1 kB

Release files / psr-formats-0.2.2.tar.gz

Download URL psr-formats-0.2.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5365667731c4a70a67ae9bf3928e6a25aa95047545305e3adb56267a7e7e7ff1
BLAKE2b-256 checksum
How to use checksums
6f7c4b04d0a638ed4a5b29c25eb0e5acc77de33fadb0e5bf4f4cffd59db9ca0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.4 Linux/3.10.0-1062.9.1.el7.x86_64.rjh0

Release files / psr_formats-0.2.2-py3-none-any.whl

Download URL psr_formats-0.2.2-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
501c97fcf2f33f9f5d191f476fd42e88b93d4667d914c587a75ca988385bc640
BLAKE2b-256 checksum
How to use checksums
64bde018859986d4de9cc65936e0466d326be7bdbcf7e8332075e1c98b470d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.4 Linux/3.10.0-1062.9.1.el7.x86_64.rjh0

Security for psr-formats 0.2.2

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.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

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