예제 #1
0
        public static ImageHDU GetImageHDU(Fits fits)
        {
            int i = 0;

            for (BasicHDU hdu = fits.getHDU(i); hdu != null; ++i)
            {
                if (hdu is ImageHDU)
                {
                    return((ImageHDU)hdu);
                }
            }

            return(null);
        }