"I/O for common pulsar data formats."
Project description
What is this?
priwo
is a library that allows you to read in and write out
pulsar data from the following data formats:
SIGPROC
headers,PRESTO
FFT (*.fft
) files,TEMPO
parameter (*.par
) files,PRESTO
infodata (*.inf
) files,PRESTO
folded data (*.pfd
) files,PRESTO
time series (*.dat
) files,SIGPROC
filterbank (*.fil
) files,SIGPROC
time series (*.tim
) files,PRESTO
best pulse profile (*.bestprof
) files,TEMPO
polynomial ephemerides (*.polycos
) files.
priwo
's API is deliberately low-level: each function in priwo
deals with a
single file format and takes/returns a Python dictionary. This allows users to
design arbitrary high-level APIs on top of priwo
's functionality. This is
unlike most other contemporary libraries, such as your
. your
(to
which this library has been frequently compared to) provides a high-level API
for reading in pulsar data, while also providing modules to help process and
analyze it. This is makes the number of dependencies it uses is a bit high (as
of 05/10/22, that is a total of 9 dependencies). On the other hand, priwo
has
just 2 dependencies, numpy
and pabo
[^1]. This makes
it an ideal choice to drop into your projects, without worrying about
dependency hell.
priwo
is well-tested (via ward
) and actively maintained. No
major changes to the API are expected before v0.1.0
. Support for many more
formats, such as PSRFITS
, is on the way. If you would like to
contribute, have a look at CONTRIBUTING.md
, and get in
touch! If you find a bug, feel free to open an issue. If you would
like to suggest support for any data format(s) I have missed, suggest a feature,
or just chat, feel free to jump into the discussions.
Installing
Installing priwo
is as easy as:
pip install priwo
[^1]:
pabo
is a package I made to make parsing binary data easier,
and it also has just two dependencies : attrs
and
numpy
.
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
File details
Details for the file priwo-0.0.2.tar.gz
.
File metadata
- Download URL: priwo-0.0.2.tar.gz
- Upload date:
- Size: 43.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108afa6b193cc7d7c94ac9605d3cb76346dfdb5a546ae6ad02361ba5260cd778 |
|
MD5 | 0bb852c349a069e08a9ca2443951924e |
|
BLAKE2b-256 | 9c22cfd00bc3ac58dd99670b5fafee4c3b9c74122723072b18041b52be80cad7 |
File details
Details for the file priwo-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: priwo-0.0.2-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e6ef4ad79f7bdc2ae4c793e847284fc15cc24aaa45ee03151d9375b323868c |
|
MD5 | 0727946ba9962624e54d4ab1162905a6 |
|
BLAKE2b-256 | 46abb3ac685aef60f5747ae0c372ad38c463b2512f0758472cc8acf11667ae20 |