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, optional If
True, read thewindow_flist.fitsfile.- rescore
bool, optional If
flistisTrue, look forwindow_flist_rescore.fits, and runwindow_score()if it is not found.- blist
bool, optional If
True, read thewindow_blist.fitsfile.- bcaps
bool, optional If
True, read thewindow_bcaps.fitsfile.- balkans
bool, optional If
True, construct the balkans from thewindow_blist.fitsandwindow_bcaps.fitsfiles.- findx
bool, optional If
True, read thewindow_findx.fitsfile.- bindx
bool, optional If
True, read thewindow_bindx.fitsfile.
- flist
- 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.