PRO hsi_vis_src_structure__define
  ;
  ; Defines a structure that defines one component of a source structure used by hsi_vis_fwdfit and related modules.
  ;
  ; {hsi_vis_source_structure} returns the following structure
  ;
  ; 9-Dec-2005 	Initial version (ghurford@ssl.berkeley.edu)
  ; 5-Jul-2017, Kim. Added fitmask
  ; 1-Sep-2017, Kim. Added albedo_apply
  ;

  dummy = {hsi_vis_src_structure, 	$
    srctype:      ' ', 			$		; Label indicating source type
    srcflux:       0., 			$		; Semi-calibrated flux (ph/cm2/s)
    srcx:          0., 			$		; X-offset (+W) relative to sun center (arcsec)
    srcy:          0., 			$		; Y-offset (+N) relative to sun center (arcsec)
    srcfwhm:       0., 			$		; Source FWHM diameter (arcsec)
    eccen:         0., 			$		; Eccentricity of elliptical source
    srcpa:         0., 			$		; Position angle of long axis (degrees E of N)
    loop_angle: 	 0., 			$		; Angle subtended by loop, as seen from its center of curvature (deg)
    albedo_ratio:  0., 			$		; Ratio of albedo to primary source flux
    srcheight: 		 0.,  		$		; Height of source above 'albedo' surface.
    albedo_apply:  0,       $   ; Apply albedo correction to this source
    fitmask: intarr(10) }       ; 1 means fit, 0 don't fit, corresponding to 10 fields in struct
  RETURN
END
