window_read¶
-
pydl.photoop.window.window_read(flist=False, rescore=False, blist=False, bcaps=False, balkans=False, findx=False, bindx=False)[source]¶ Read window files in
PHOTO_RESOLVE.- Parameters
flist :
bool, optionalIf
True, read thewindow_flist.fitsfile.rescore :
bool, optionalIf
flistisTrue, look forwindow_flist_rescore.fits, and runwindow_score()if it is not found.blist :
bool, optionalIf
True, read thewindow_blist.fitsfile.bcaps :
bool, optionalIf
True, read thewindow_bcaps.fitsfile.balkans :
bool, optionalIf
True, construct the balkans from thewindow_blist.fitsandwindow_bcaps.fitsfiles.findx :
bool, optionalIf
True, read thewindow_findx.fitsfile.bindx :
bool, optionalIf
True, read thewindow_bindx.fitsfile.- Returns
dictA dictionary containing the requested window data.
Notes
If
balkansisTrue, the balkans data will be in the form of aFITS_polygonobject, to facilitate interoperability withpydl.pydlutils.mangle. In this object, the keywordIFIELDis equivalent toIPRIMARYandPIXELis eqivalent toIBINDX.