does the chopping for photometry files; if read in with oirgetdata
, returns a struct array of 7, i.e.
- 0: best estimate for Target - Sky
- 1...5: split-ups of photometry (for 8000 frames, i.e. 0...1599, 1600...3199, ...)
- 6: Sky
After reading in calphot.fits
(phot = oirgetdata(dir+tag+'.calphot.fits')
), you will find an array with 4 structure elements. You will probably be most interested in phot.data1
which are the 171-element float arrays that holds the calibrated photometry spectrum. The entries in the struct array are:
phot[0].data1
: total flux, geometrically meaned over A and B (see also Walter's guide)
phot[1].data1
: masked flux, geometrically meaned over A and B (see also Walter's guide)
phot[2].data1
: estimated rms error in 0
phot[3].data1
: estimated rms error in 1