load fits
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Load a FITS file into davinci
Arguments and Return Values Arguments: A filename and an extension Return Value: A FITS data structure
Usage Syntax: load_fits(filename = STRING [, extension = STRING]) 'filename' - A string containing the path and filename of a FITS file 'extension' - An optional filename extension string
Examples dv> a=load_fits("NICMOSn4hk12010_mos.fits") cfitsio ERROR occured: column number < 1 or > tfields struct, 6 elements object_1: struct, 166 elements SIMPLE: 1 BITPIX: 16 NAXIS: 0 EXTEND: 1 ORIGIN: "'NOAO-IRAF FITS Image Kernel December 2001'" IRAF-TLM: "'03:27:48 (09/01/2004)'" NEXTEND: 5 DATE: "'2004-01-09T03:27:48'" FILENAME: "'n4hk12010_mos.fits'" FILETYPE: "'SCI '" TELESCOP: "'HST'" INSTRUME: "'NICMOS'" EQUINOX: 2000.00 ROOTNAME: "'N4HK12010'" IMAGETYP: "'EXT '" PRIMESI: "'NICMOS'" TARGNAME: "'NGC4151 '" RA_TARG: 182.636 DEC_TARG: 39.4059 ECL_LONG: 164.097 ECL_LAT: 36.6241 GAL_LONG: 155.077 GAL_LAT: 75.0629 PROPOSID: 7215 LINENUM: "'12.010 '" PR_INV_L: "'Thompson '" PR_INV_F: "'Rodger '" PR_INV_M: "'I. '" ORIENTAT: -97.7898 SUNANGLE: 100.586 MOONANGL: 137.993 SUN_ALT: -30.3312 FGSLOCK: "'FINE '" DATE-OBS: "'1998-05-22'" TIME-OBS: "'05:37:41'" EXPSTART: 50955.2 EXPEND: 50955.2 EXPTIME: 63.9643 EXPFLAG: "'NORMAL '" CAMERA: 2 PRIMECAM: 2 FOCUS: "'CAMERA2 '" APERTURE: "'NIC2-FIX '" OBSMODE: "'MULTIACCUM'" FILTER: "'F222M '" NUMITER: 1 NREAD: 1 NSAMP: 10 SAMP_SEQ: "'STEP32 '" CR_ELIM: "'NoCR '" SAT_ELIM: "'YES '" CRTHRESH: 0.00000 SATHRESH: 0.00000 VARSCALE: 0.00000 FOMXPOS: 0.00000 FOMYPOS: 0.00000 NFXTILTP: 0.00748114 NFYTILTP: 0.00550260 NPXTILTP: 2799.00 NPYTILTP: 2831.00 NPFOCUSP: 0.617914 TIMEPATT: 12 READOUT: "'FAST'" SAMPZERO: 0.203000 HCLKRATE: 10.4900 VIDEO_BW: 400.000 ADCGAIN: 5.00000 BACKEST1: 0.00000 BACKEST2: 0.00000 BACKEST3: 0.00000 PHOTMODE: "'NICMOS,2,F222M,DN'" PHOTFLAM: 3.21763e-19 PHOTFNU: 5.28085e-06 PHOTZPT: -21.1000 PHOTPLAM: 22181.7 PHOTBW: 511.854 SAA_EXIT: "' '" SAA_TIME: 0 SAA_DARK: "'N/A '" SAACRMAP: "'N/A '" MASKFILE: "'nref$h4214599n_msk.fits'" NOISFILE: "'nref$h4216218n_noi.fits'" NLINFILE: "'nref$l1i1225en_lin.fits'" DARKFILE: "'nref$had12036n_drk.fits'" TEMPFILE: "'nref$m3b1331hn_tdd.fits'" FLATFILE: "'nref$icb15084n_flt.fits'" PHOTTAB: "'nref$i7l12297n_pht.fits'" BACKTAB: "'N/A '" MASKPDGR: "'GROUND 15/01/1997'" NOISPDGR: "'GROUND 27/01/1997'" NLINPDGR: "'INFLIGHT 05/08/1999'" DARKPDGR: "'MODEL 18/02/2002'" FLATPDGR: "'INFLIGHT 04/08/98'" PHOTPDGR: "'INFLIGHT 05/08/1997 - 07/08/1997'" BACKPDGR: "' '" BIASCORR: "'PERFORM '" ZSIGCORR: "'PERFORM '" ZOFFCORR: "'PERFORM '" MASKCORR: "'PERFORM '" NOISCALC: "'PERFORM '" NLINCORR: "'PERFORM '" DARKCORR: "'PERFORM '" BARSCORR: "'PERFORM '" FLATCORR: "'PERFORM '" UNITCORR: "'PERFORM '" PHOTCALC: "'PERFORM '" CRIDCALC: "'PERFORM '" BACKCALC: "'PERFORM '" WARNCALC: "'PERFORM '" BIASDONE: "'PERFORMED'" ZSIGDONE: "'PERFORMED'" ZOFFDONE: "'PERFORMED'" MASKDONE: "'PERFORMED'" NOISDONE: "'PERFORMED'" NLINDONE: "'PERFORMED'" DARKDONE: "'PERFORMED'" BARSDONE: "'PERFORMED'" FLATDONE: "'PERFORMED'" UNITDONE: "'PERFORMED'" PHOTDONE: "'PERFORMED'" CRIDDONE: "'PERFORMED'" BACKDONE: "' '" WARNDONE: "' '" CALSTAGE: "'CALNICB '" CAL_VER: "'Version 2.7'" PROCTIME: 53013.1 OPUS_VER: "'OPUS 14.5a '" ILLMCORR: "'PERFORM '" ILLMDONE: "'SKIPPED '" ILLMFILE: "'nref$h241324an_ilm.fits'" ILLMPDGR: "'DUMMY 04/02/1997'" MEAN_BKG: 0.00000 PATTERN1: "'NIC-SPIRAL-DITH '" P1_SHAPE: "'SPIRAL '" P1_PURPS: "'DITHER '" P1_NPTS: 6 P1_PSPAC: 0.540000 P1_LSPAC: 0.00000 P1_ANGLE: 0.00000 P1_FRAME: "'POS-TARG '" P1_ORINT: 180.000 P1_CENTR: "'NO '" BKG_OFF: "'SAM'" PATTSTEP: 1 PATT_OFF: "'SAM-NO-REACQ '" PATTERN: "'SPIRAL-DITH '" PORIENT: -97.7898 NUMPOS: 6 DITHSIZE: 0.540000 PATT_POS: 1 NCHKBOXX: 119 NCHKBOXY: 106 NTABOXSZ: 3 NXCENT: 30782 NYCENT: 27576 NXCENTP: 120.242 NYCENTP: 107.719 NBOXSUM: 1122 NOFFSETX: 9649 NOFFSETY: 55592 NOFFSTXP: 75.3822 NOFFSTYP: -77.6875 NSLEWCON: "'Clear'" ASN_ID: "'N4HK12010 '" ASN_TAB: "'n4hk12010_asn.fits '" ASN_MTYP: "'PROD-TARG'" object_2: struct, 79 elements XTENSION: "'IMAGE '" BITPIX: -32 NAXIS: 2 NAXIS1: 270 NAXIS2: 263 PCOUNT: 0 GCOUNT: 1 ORIGIN: "'NOAO-IRAF FITS Image Kernel December 2001'" EXTNAME: "'SCI '" EXTVER: 1 DATE: "'2004-01-09T03:27:48'" IRAF-TLM: "'03:27:48 (09/01/2004)'" DATAMIN: -1.08909 DATAMAX: 2730.90 INHERIT: 1 EXPNAME: "'N4HK12010'" BUNIT: "'COUNTS/S'" WCSAXES: 2 CRPIX1: 135.500 CRPIX2: 132.000 CRVAL1: 182.636 CRVAL2: 39.4059 CTYPE1: "'RA---TAN'" CTYPE2: "'DEC--TAN'" CD1_1: 2.86146e-06 CD1_2: -2.07292e-05 CD2_1: -2.09168e-05 CD2_2: -2.83578e-06 FILLCNT: 0 ERRCNT: 0 PODPSFF: 0 STDCFFF: 0 STDCFFP: "'x5569 '" SAMPNUM: 9 SAMPTIME: 63.9643 DELTATIM: 31.9992 ROUTTIME: 50955.2 TDFTRANS: 0 ENGQUAL: "'NORMAL '" NQUAL00: 63105 NQUAL01: 0 NQUAL02: 0 NQUAL03: 0 NQUAL04: 0 NQUAL05: 0 NQUAL06: 0 NQUAL07: 0 NQUAL08: 0 NQUAL09: 53 NQUAL10: 0 NQUAL11: 7784 NQUAL12: 222 GOODMEAN: 0.00990038 GOODMEDN: -0.0219823 GOODSTDV: 0.147284 GOODMIN: -1.08909 GOODMAX: 2.07328 QAMEAN: 0.0235303 QAMEDN: -0.00758591 QASTDV: 0.136273 QAMIN: -1.08909 QAMAX: 1.76771 QBMEAN: 0.0166491 QBMEDN: -0.0174867 QBSTDV: 0.146786 QBMIN: -0.510894 QBMAX: 2.07328 QCMEAN: -0.0171099 QCMEDN: -0.0577029 QCSTDV: 0.156600 QCMIN: -0.381141 QCMAX: 0.578120 QDMEAN: 0.0140375 QDMEDN: -0.0160447 QDSTDV: 0.146783 QDMIN: -0.298324 QDMAX: 1.04448 ROOTNAME: "'N4HK12010'" data: 270x263x1 array of float, bsq format [284,040 bytes] object_3: struct, 35 elements XTENSION: "'IMAGE '" BITPIX: -32 NAXIS: 2 NAXIS1: 270 NAXIS2: 263 PCOUNT: 0 GCOUNT: 1 ORIGIN: "'NOAO-IRAF FITS Image Kernel December 2001'" EXTNAME: "'ERR '" EXTVER: 1 DATE: "'2004-01-09T03:27:48'" IRAF-TLM: "'03:27:48 (09/01/2004)'" DATAMIN: 0.00000 DATAMAX: 5.58864 INHERIT: 1 EXPNAME: "'N4HK12010'" BUNIT: "'COUNTS/S'" WCSAXES: 2 CRPIX1: 135.500 CRPIX2: 132.000 CRVAL1: 182.636 CRVAL2: 39.4059 CTYPE1: "'RA---TAN'" CTYPE2: "'DEC--TAN'" CD1_1: 2.86146e-06 CD1_2: -2.07292e-05 CD2_1: -2.09168e-05 CD2_2: -2.83578e-06 FILLCNT: 0 ERRCNT: 0 PODPSFF: 0 STDCFFF: 0 STDCFFP: "'x5569 '" ROOTNAME: "'N4HK12010'" data: 270x263x1 array of float, bsq format [284,040 bytes] object_4: struct, 35 elements XTENSION: "'IMAGE '" BITPIX: 16 NAXIS: 2 NAXIS1: 270 NAXIS2: 263 PCOUNT: 0 GCOUNT: 1 ORIGIN: "'NOAO-IRAF FITS Image Kernel December 2001'" EXTNAME: "'DQ '" EXTVER: 1 DATE: "'2004-01-09T03:27:48'" IRAF-TLM: "'03:27:48 (09/01/2004)'" DATAMIN: 0.00000 DATAMAX: 3072.00 INHERIT: 1 EXPNAME: "'N4HK12010'" BUNIT: "'UNITLESS '" WCSAXES: 2 CRPIX1: 135.500 CRPIX2: 132.000 CRVAL1: 182.636 CRVAL2: 39.4059 CTYPE1: "'RA---TAN'" CTYPE2: "'DEC--TAN'" CD1_1: 2.86146e-06 CD1_2: -2.07292e-05 CD2_1: -2.09168e-05 CD2_2: -2.83578e-06 FILLCNT: 0 ERRCNT: 0 PODPSFF: 0 STDCFFF: 0 STDCFFP: "'x5569 '" ROOTNAME: "'N4HK12010'" data: 270x263x1 array of short, bsq format [142,020 bytes] object_5: struct, 35 elements XTENSION: "'IMAGE '" BITPIX: 16 NAXIS: 2 NAXIS1: 270 NAXIS2: 263 PCOUNT: 0 GCOUNT: 1 ORIGIN: "'NOAO-IRAF FITS Image Kernel December 2001'" EXTNAME: "'SAMP '" EXTVER: 1 DATE: "'2004-01-09T03:27:48'" IRAF-TLM: "'03:27:48 (09/01/2004)'" DATAMIN: 0.00000 DATAMAX: 6.00000 INHERIT: 1 EXPNAME: "'N4HK12010'" BUNIT: "'SAMPLES '" WCSAXES: 2 CRPIX1: 135.500 CRPIX2: 132.000 CRVAL1: 182.636 CRVAL2: 39.4059 CTYPE1: "'RA---TAN'" CTYPE2: "'DEC--TAN'" CD1_1: 2.86146e-06 CD1_2: -2.07292e-05 CD2_1: -2.09168e-05 CD2_2: -2.83578e-06 FILLCNT: 0 ERRCNT: 0 PODPSFF: 0 STDCFFF: 0 STDCFFP: "'x5569 '" ROOTNAME: "'N4HK12010'" data: 270x263x1 array of short, bsq format [142,020 bytes] object_6: struct, 35 elements XTENSION: "'IMAGE '" BITPIX: -32 NAXIS: 2 NAXIS1: 270 NAXIS2: 263 PCOUNT: 0 GCOUNT: 1 ORIGIN: "'NOAO-IRAF FITS Image Kernel December 2001'" EXTNAME: "'TIME '" EXTVER: 1 DATE: "'2004-01-09T03:27:48'" IRAF-TLM: "'03:27:48 (09/01/2004)'" DATAMIN: 0.00000 DATAMAX: 383.786 INHERIT: 1 EXPNAME: "'N4HK12010'" BUNIT: "'SECONDS '" WCSAXES: 2 CRPIX1: 135.500 CRPIX2: 132.000 CRVAL1: 182.636 CRVAL2: 39.4059 CTYPE1: "'RA---TAN'" CTYPE2: "'DEC--TAN'" CD1_1: 2.86146e-06 CD1_2: -2.07292e-05 CD2_1: -2.09168e-05 CD2_2: -2.83578e-06 FILLCNT: 0 ERRCNT: 0 PODPSFF: 0 STDCFFF: 0 STDCFFP: "'x5569 '" ROOTNAME: "'N4HK12010'" data: 270x263x1 array of float, bsq format [284,040 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 03-27-2006 |