Python libraries for interfacing with FITS data in an intuitive way
Project description
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 fitstools.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
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
fitstoolz-0.0.1b1.tar.gz
(6.6 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.0.1b1.tar.gz.
File metadata
- Download URL: fitstoolz-0.0.1b1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-71-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
304a86054d11d31d8ec90a53c6c44a17131bd4ba2a670030eac7c36d124c7cf9
|
|
| MD5 |
2aa6503e31b3d6422e7396f40f107b3c
|
|
| BLAKE2b-256 |
cd627fb7db5ae88f070614adcd8ed66a93d24a52bd6bcfb44dfb5dd12c67d483
|
File details
Details for the file fitstoolz-0.0.1b1-py3-none-any.whl.
File metadata
- Download URL: fitstoolz-0.0.1b1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-71-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d59562d0f32f064e2115f69d482726169dbe8481d85b8e915ff49c52ab1f2d0a
|
|
| MD5 |
b60ceb4c8ff58167d3ed4f6b488fe36a
|
|
| BLAKE2b-256 |
e00db50b1813828a9e988ff3f19b4a125059489c8e65a1fb9bc54848e257895d
|