Pre-release
This release is a pre-release and may not be stable for production use.
Python libraries for interfacing with FITS images in an intuitive way
Features
Image and coordinate data indexing is consistent
Simple API for adding, transposing and expanding axes (or dimensions)
Example Usage
In[1]: from fitstoolz.reader import FitsData
In[2]: myfits = FitsData("example-image.fits")
myfits.coord_names
Out[2]: ['STOKES', 'FREQ', 'DEC', 'RA']
In[3]: myfits.dshape
Out[3]: (1, 504, 100, 100) # these dimensions match the labels above
In[4]: myfits.coords
Out[4]:
Coordinates:
STOKES (stokes) int32 4B dask.array<chunksize=(1,), meta=np.ndarray>
FREQ (spectral) float64 4kB 8.803e+08 8.804e+08 ... 9.328e+08 9.329e+08
RA (celestial.ra) float64 800B 53.16 53.16 53.16 ... 53.1 53.1 53.1
DEC (celesstial.dec) float64 800B -28.16 -28.16 ... -28.11 -28.11
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fitstoolz-0.1.0b3.tar.gz
(25.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fitstoolz-0.1.0b3.tar.gz.
File metadata
- Download URL: fitstoolz-0.1.0b3.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab6b959dae85846d205b13d94d4b7d9c0bc3763f59a1785ceb16dce2a7205706
|
|
| MD5 |
4f0673508ff79ec01608d56a4672a141
|
|
| BLAKE2b-256 |
5c3e5c568b5a7d80108b504275bf8a00a81da50ec9704d6731e5f0a3f83bd2e4
|
File details
Details for the file fitstoolz-0.1.0b3-py3-none-any.whl.
File metadata
- Download URL: fitstoolz-0.1.0b3-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c53a91c9c041ebd576c25ecf04d5ebd429cd26b67c6c63ff1540ede321ebad3b
|
|
| MD5 |
89f13785922739bc1abca6096b0407f0
|
|
| BLAKE2b-256 |
18ed11071858cf63126154449de0008b5da5388d7ca00dc0b6702014e7faa2a5
|