PFits
A Python FITS iterface employing CFITSIO
Install / Use
/learn @AaronParsons/PFitsREADME
PFITS (A Python FITS iterface employing CFITSIO)
DESCRIPTION This package uses the CFITSIO library to interface to FITS files from Python. Particular attention has been paid to supporting ASCII and BINARY tables with fixed and variable-length entries. Data I/O is handled through numpy arrays.
ON THE WEB There are further instructions, documentation, and a FAQ at: http://setiathome.berkeley.edu/~aparsons/aipy/aipy.cgi/PFits
INSTALLATION PFITS requires Python >= 2.4 (and < 3.0 for now). You also need to have numpy >= 1.2 installed on your system.
INSTALL AS ROOT
> sudo python setup.py install
INSTALL AS USER
You'll first install to a directory of your choice:
$ python setup.py install --install-lib <module_dir> \
--install-scripts <scripts_dir>
This puts the python module in <module_dir>, and the command-line
scripts in <scripts_dir>. The next thing is to tell python where to
look for the python module. This is done by setting the PYTHONPATH
variable to point to <module_dir>. In bash, this looks like:
$ export PYTHONPATH=<module_dir>
However, you'll have to type this every time you open a terminal. To
avoid this, add the export line to the .bashrc file in your home dir.
Enjoy, Aaron Parsons
PACKAGE INFO FOR DEVELOPERS This version of PFITS uses CFITSIO version 3.14, the code for which is stored in src/cfitsio.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
