Image Access Modules¶
These modules all provide the capability to access sections of a FITS image using a scrolling buffer.
- class stsci.tools.iterfile.IterFitsFile(name)¶
This class defines an object which can be used to access the data from a FITS file without leaving the file-handle open between reads.
Methods
close
()Closes file handle for this FITS object.
open
()Opens the file for subsequent access.
set_inmemory
(val)Sets inmemory attribute to either True or False
type
()Returns the shape of the data array associated with this file.
- close()¶
Closes file handle for this FITS object.
- open()¶
Opens the file for subsequent access.
- set_inmemory(val)¶
Sets inmemory attribute to either True or False
- type()¶
Returns the shape of the data array associated with this file.
- stsci.tools.iterfile.parseFilename(filename)¶
Parse out filename from any specified extensions. Returns rootname and string version of extension name.
Modified from ‘pydrizzle.fileutil’ to allow this module to be independent of PyDrizzle/MultiDrizzle.