Reduction
The reduction of DensePak and SparsePak data is achieved using the IRAF package dohydra. This is a pretty straightforward wrapper for processing and extracting fibre data from the WIYN Hydra instrument (to which both DensePak and SparsePak are connected).
- A nice guide to DensePak data reduction has been written by Philip Cigan (U. Wisconsin-Madison student). Download here.
- SparsePak reduction essentially follows the same procedure. Some useful additional info can be found on the SparsePak homepage.
Visualisation/plotting
Text files relating the fibre/spaxel number and x,y coordinates for DensePak (DP) and SparsePak (SP) can be downloaded here:
A guide to plotting DensePak results can be found here, although the result is fairly crude and clunky.
A better (prettier) way of plotting DP/SP results is using a modified version of the IDL display_pixels routine written by Michele Cappellari, display_circles (available to download here). Read the top of the file to see the options and how it is called.
readcol,'DP_pf',c,x,y,skipline=2
plot,x,y,/nodata,xrange=xrange,yrange=yrange,/iso,$
xstyle=1,ystyle=1,xtitle='arcsecs',ytitle='arcsecs',$
position=[x1,y1,x2,y2],charsize=1.0
display_circles,x,y,data_array,pixelsize=size,/noerase,range=[zr1,zr2],null=null
colorbar,range=[zr1,zr2],position=[x1,0.08,x2,0.10],ncolors=255,$
charsize=1.0,format=num_format,divisions=5
xyouts,xrange[0]+(0.5*(xrange[1]-xrange[0])),-33,bartitle,alignment=0.5,charsize=1.0