fitsrotate-0.1.0
توضیحات
Rotate a FITS file to put spectral axis first
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fitsrotate-0.1.0 |
| نام | fitsrotate |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alec Thomson |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fitsrotate/ |
| مجوز | MIT |
# PyFITSRotate
## Description
A simple Python script to rotate FITS cube axes. It uses the [astropy](http://www.astropy.org/) package to read and write FITS files.
The default action is to rotate the spectral axis to be the first axis. This is useful for heavy IO operations on FITS cubes/
## Installation
From github:
```
pip install git+https://github.com/AlecThomson/pyfitsrotate.git
```
From PyPI:
```
pip install fitsrotate
```
## Usage
```
❯ fitsrotate -h
usage: fitsrotate [-h] [-o [OUTFILE]] [-e EXT] [-s SWAP_AX] filename
Rotate a FITS file to put spectral axis first.
positional arguments:
filename Input filename.
optional arguments:
-h, --help show this help message and exit
-o [OUTFILE], --outfile [OUTFILE]
Output filename. Defaults to input filename with .rot.fits extension.
-e EXT, --ext EXT Extension number. Defaults to 0.
-s SWAP_AX, --swap-ax SWAP_AX
Axis to swap with spectral axis (numpy convention). Defaults to -1.
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.22,<2.0 | numpy |
| >=5,<6 | astropy |
| >=2023,<2024 | dask |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl fitsrotate-0.1.0:
pip install fitsrotate-0.1.0.whl
نصب پکیج tar.gz fitsrotate-0.1.0:
pip install fitsrotate-0.1.0.tar.gz