[AstroPy] PyFITS 1.1 "alpha 2" release

Christopher Hanley chanley at stsci.edu
Mon May 1 12:14:26 CDT 2006

| PYFITS Release |

Space Telescope Science Institute is pleased to announce the
"alpha 2" release of PyFITS 1.1.  This release includes support
for both the NUMPY and NUMARRAY array packages. This software
can be downloaded at:


The NUMPY support in PyFITS is not nearly as well tested as
the NUMARRAY support.  We expect that you will encounter bugs.
Please send bug reports to "help at stsci.edu".

We intend to support NUMARRAY and NUMPY simultaneously for a
transition period of no less than 1 year. Eventually, however,
support for NUMARRAY will disappear. During this period, it is
likely that new features will appear only for NUMPY. The
support for NUMARRAY will primarily be to fix serious bugs and
handle platform updates.

| Version |

Version 1.1a2; May 1, 2006

| Major Changes since v1.1a1  |

     * Corrected a bug in which the format for a Column object
       was not being parsed properly because of format repeats.
     * Due to a change in NUMPY, recarray field access via
       attributes will no longer clobber pre-existing class
       methods or attributes.  This behavior was causing PYFITS
       to fail when attempting to read tables that contained
       column names that were equivalent to existing class
       attribute or method names such as "field".  This change
       in numpy was made in revision 2288.

| Software Requirements |

PyFITS Version 1.1a2 REQUIRES:

     * Python 2.3 or later

| Installing PyFITS |
PyFITS 1.1a2 is distributed as a Python distutils module.
Installation simply involves unpacking the package
and executing

% python setup.py install

to install it in Python's site-packages directory.

Alternatively the command

%python setup.py install --local="/destination/directory/"

will install PyFITS in an arbitrary directory which should
be placed on PYTHONPATH. Once numarray or numpy has been
installed, then PyFITS should be available for use under

| Download Site |


| Usage  |

Users will issue an "import pyfits" command as in the past.
However, the use of the NUMPY or NUMARRAY version of PyFITS
will be controlled by an environment variable called NUMERIX.

Set NUMERIX to 'numarray' for the NUMARRAY version of PyFITS.
Set NUMERIX to 'numpy' for the NUMPY version of pyfits.

If only one array package is installed, that package's version
of PyFITS will be imported.  If both packages are installed
the NUMERIX value is used to decide which version to import.
If no NUMERIX value is set then the NUMARRAY version of PyFITS
will be imported.

Anything else will raise an exception upon import.

| Bug Reports |

Please send all PyFITS bug reports to help at stsci.edu

| Advanced Users |

Users who would like the "bleeding" edge of PyFITS can retrieve
the software from our SUBVERSION repository hosted at:


We also provide a Trac site at:


Christopher Hanley
Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338

More information about the AstroPy mailing list