pro bpc_struct,BPC_param = BPC_param
;+
;   version 2.0
;  Structure definition for reading parameters from BPC results file.
;  Used in RD_BPC (see that for explanation).
;
;  History:   CDP   December 91
;	      atp   july 92 - added in everything else
;	      atp   aug 93 added some text.
;-
	
BPC_param = { BPC_spect, $
   Quality:   fltarr(9,3),$	;	dunno
   Intensity: fltarr(9,3),$	;	intensity of line
   Ierr:      fltarr(9,3),$	;	error on intensity
   Width:     fltarr(9,3),$	;	width of line in doppler units
   Werr:      fltarr(9,3),$	;	error on that
   Position:  fltarr(9,3),$	;	position of line in full bins (0-255)
   Perr:      fltarr(9,3),$	;	error on that
   Back1:     fltarr(9,3),$	;	first backgnd coefficent
   back1err:   fltarr(9,3),$	;	error on that	
   Back2:     fltarr(9,3),$	;	second backnd coefficient
   back2err:   fltarr(9,3),$ 	;	error on that
   binst:     intarr(9,3),$	;	Start bin used by BSDCAL for fit.
   binend:    intarr(9,3),$	;	End bin used by BSDCAL for fit.
   options:   intarr(9,3),$    	;	dunno definition.
   rchisqr:   fltarr(9,3),$	;	reduced chisqr (of fit??)
   Time:      intarr(6),$	;	time (ext format) of spectrum
   Wo:        fltarr(3),$	;	wavelength offset
   Dw:        0.0,$		;	dispersion
   Nback:     0,$		;	number of background coefficients used?
   Nopt_used: 0,$		;	number of options
   nlines:    intarr(9),$	;	number of lines
   optname:   strarr(9),$	;	option name (text string)
   Total:     0.0,$		;	???
   Sdgi:      0.0}		;	Integration time for spectrum
end
