Friday, 30 January 2009

GOODS progress

Implemented a new code that should hopefully be able to deal with the seemingly fragile network running here. Have modularized the initialization section of my rastermap v7 code. There are now two code blocks that run independently and I'll need to document them properly at some point in the future, but I need to keep track of files that come out of them first.

AORBUILD.pro

Outputs:
"meanmap.fits" - hashed up map of the summed images normalized by weight.

"meanmap.idl" - stores data used to construct the initial mean map:
  • "file[]" - list of filenames of files that contain fair images to work with.
  • "mean" - the map written out in the meanmap.fits file
  • "hd" - the header for the map
  • "wt" - the summed weight of all the images in the map plane
  • "usedfiles" - number of files in "file"
"aorprops.idl" - stores useful tidbits of information that relate images to their AORs:
  • "filesperaor[]" - number of (useful) images contained within the AOR
  • "medsky[]" - median image produced by simply combining the images without interpolating; serves as the sky background employed in the initial sky subtraction. Good for spotting detector failures.
  • "aornames[]" - what it says on the tin
"meta/.idl" - name of the AOR is used to build idl save files that store:
  • "stack[]" which holds stack.wt and stack.map which are the individual weight and image files interpolated onto the map plane.
  • "wtaor" which is simply the summation of the individual weights of the image files in the map plane for each particular AOR.

STACKBUILD.pro

Outputs:
"meta/STKx####y&&&&.idl" is a stack of pixels in the map plane where #### and &&&& represent the x and y coordinates:
  • "pxfil[]" - array containing full path of the file containing originating pixel.
  • "pxsrc[]" - the key part of the filename used to describe the above file, allowing a full AOR/file/image/location search of the file in question.
  • "pxval []" - the actual value of the pixel.

No comments:

Post a Comment