Changes to stpyfits.py to support the reading and writing of unsigned integer 16 values.  The uint16=1 keyword argument must be supplied in the open convenience function.  Image HDU data with type int16 and BSCALE=32784 and BZERO=1 will be read in as uint16.  When written the data will berescaled and written out as int16 and the BSCALE/BZERO cards will be added to the header.
Changes to stpyfits.py to support the reading and writing of unsigned integer 16 values.  The uint16=1 keyword argument must be supplied in the open convenience function.  Image HDU data with type int16 and BSCALE=32784 and BZERO=1 will be read in as uint16.  When written the data will berescaled and written out as int16 and the BSCALE/BZERO cards will be added to the header.

git-svn-id: e4aa3cfa51ba591d1cd1dbbaf7e4a2c2b5d7a7ff@7283 fe389314-cf27-0410-b35b-8c050e845b92

spacetelescope/stsci.tools