astropandas
Tools to expand on pandas functionality for astronomical applications. The code is publically hosted on github:
https://github.com/jlvdb/yet_another_wizz.git
Installation
The yet_another_wizz package can be installed directly with pip::
pip install astropandas
Features
- directly read and write FITS table data, see
astropandas.read_fitsandastropandas.to_fits - match based on sky coordinates, see
astropandas.match
Examples
Reading and writing FITS table files:
import astropandas as apd
data = apd.read_fits("myfile.fits", hdu=1)
# manipulate data ...
apd.to_fits(data, "mynewfile.fits")
Matching on angular coordinates:
import astropandas as apd
data1 = apd.read_fits("myfile1.fits")
data2 = apd.read_fits("myfile2.fits")
# Match within one arcsecond on right ascension (ra) and declination (dec),#
# labeled "RA" and "DEC" in the data.
# Here we assume that the column names are the same in both catalogues,
# otherwise specify with left_ra=, right_ra=, etc.
apd.match(
left=data1, right=data2,
ra="RA", dec="DEC",
threshold=1/3600)
# If no threshold is provided, it is computed automatically by finding the
# distance at which the number of matches is almost stationary.
Metadata
Release files for astropandas 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| astropandas-1.2.2.tar.gz | 21.8 kB | Without provenance | Details for astropandas-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| astropandas-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for astropandas-1.2.2-py3-none-any.whl |
Total release size: 43.4 kB
Release files / astropandas-1.2.2.tar.gz
| Download URL | astropandas-1.2.2.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1726911c9bcfb87e20f10e81380bc2e042cb8104c253237e90720f627ee8cd5
|
|
BLAKE2b-256 checksum How to use checksums |
9e3ad642bf1ae5b32aafa05593f00508691d07f061a6419bc0c228f417dd2216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / astropandas-1.2.2-py3-none-any.whl
| Download URL | astropandas-1.2.2-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9b2e6a27dda4219c2f5031de8a4666eb085aec722e31a5a5cb9a57a713d06e0
|
|
BLAKE2b-256 checksum How to use checksums |
11482e871033e7d84fb6746f9b9c4ac5b3919096bed3e6db9b4c5a3824d7c172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for astropandas 1.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.