make_spartan_pb $SSW/spartan/idl/idl/make_spartan_pb.pro
[Previous] [Next]
 NAME:
   make_spartan_pb
 PURPOSE:
   Convert RAW Spartan WL Coronagraph images to B  and PB images

   B  = Calculated Brightness Image
   PB = Caclulated Polarized Brightness Images (degree of polarization
        times the Brightness Image)

 CALLING SEQUENCE:
  make_spartan_pb, data, ss, B_img, PB_img

 INPUTS:
  data		- 3-dimensional array with the raw Spartan images
  ss		- Vector of length 3 defining the waveplate positions
		  with ss([0,1,2]) corresponding to 0, 30, and 60.

 OUTPUTS:
  B_img	- The calculated brightness image
  PB_img	- The calculated polarized brightness image
 CALLS:
 CALLED BY
	spartan_pb2fits