<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ultimately, I must display it in Python. If numdisplay is it, then
that'll likely do. I would have thought pyfits would have a display
method. <br>
<br>
At some point, I will want to convert a raw image, 640x480, of some bit
depth (8, 16, 24) to a fits format. I might need to convert jpb images
to fits too. Comments?<br>
<br>
Christopher Hanley wrote:
<blockquote cite="mid:49D359FE.8040104@stsci.edu" type="cite">Another
easy way to display a data section from a FITS file is to use
numdisplay and DS9.
  <br>
  <br>
<a class="moz-txt-link-freetext" href="http://stsdas.stsci.edu/numdisplay/">http://stsdas.stsci.edu/numdisplay/</a>
  <br>
  <br>
Numdisplay will work with and ndarray from numpy.  It is a one line
command after the import
  <br>
  <br>
> import numdisplay
  <br>
> numdisplay.display(yourArrayObject)
  <br>
  <br>
Cheers,
  <br>
Chris
  <br>
  <br>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta content="text/html;" http-equiv="Content-Type">
<title>Signature.html</title>
<pre class="moz-signature" cols="76">           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)

             (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)<span
 style="font-weight: bold;"></span><b><b
 style="color: rgb(204, 51, 204);" class="b"><span
 style="color: rgb(255, 153, 255);"></span><span
 style="font-family: monospace;"></span></b></b>
<span style="color: rgb(102, 0, 204);"></span><span
 style="color: rgb(102, 0, 204);"></span>

<span style="color: rgb(102, 0, 204);">          The Obama Administration plans to double the production
          in solar energy from 1% to 2% of the total energy
          supply in the next few years. One nuclear reaction
          would do the same. Heard on Bill Wattenburg, KGO-AM

          "Less than all cannot satisfy Man." -- William Blake
          
</span><font class="sqq"><span class="sqq"
 style="color: rgb(102, 0, 204);"></span></font></pre>
</div>
</body>
</html>