astro/py-fitsio 1.2.5 DragonFly
Full featured python library to read from and write to FITS files
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv2
- Categories
- astro, python
- Package size
- 203.3 KiB, 1392.1 KiB installed
Description
fitsio is a python extension written in c and python. Data are read into numerical python arrays.
Some Features:
- Read from and write to image, binary, and ascii table extensions.
- Read arbitrary subsets of table columns and rows without loading all the data to memory.
- Read image subsets without reading the whole image. Write subsets to existing images.
- Write and read variable length table columns.
- Read images and tables using slice notation similar to numpy arrays. This is like a more powerful memmap, since it is column-aware for tables.
- Append rows to an existing table. Delete row sets and row ranges. Resize tables, or insert rows.
- Query the columns and rows in a table.
- Read and write header keywords.
- Read and write images in tile-compressed format (RICE,GZIP,PLIO,HCOMPRESS).
- Read/write gzip files directly. Read unix compress (.Z,.zip) and bzip2 (.bz2) files.
- TDIM information is used to return array columns in the correct shape.
- Write and read string table columns, including array columns of arbitrary shape.
- Read and write complex, bool (logical), unsigned integer, signed bytes types.
- Write checksums into the header and verify them.
- Insert new columns into tables in-place.
- Iterate over rows in a table. Data are buffered for efficiency.
- python 3 support, including python 3 strings
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | astro/py-fitsio | 1.2.5 |
| FreeBSD | astro/py-fitsio | 1.4.2 |
| HardenedBSD | astro/py-fitsio | 1.4.2 |
| GhostBSD | astro/py-fitsio | 1.4.2 |
Install
Binary package:
pkg install py311-fitsio
From DPorts:
cd /usr/dports/astro/py-fitsio && make install clean
Dependencies
Run dependencies 3
No port depends on this one.