;print sumup of all parameters :
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,'LOGFILE:'
PRINT,STRCOMPRESS(' Name of log file : '+STRCOMPRESS(logdir+logfile,/REMOVE_ALL))
PRINT,' '
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,STRCOMPRESS(' Input files containing predicted orientations : '+ $
	STRCOMPRESS(xdir+xfile,/REMOVE_ALL)) 
IF mode EQ 'mono' THEN $
 PRINT,STRCOMPRESS('Format for these files : '+denzo_format)
PRINT,' '
IF (loc_refine) THEN  PRINT,'Doing local refinement'
PRINT,' ' 
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,'IMAGES and OUTPUT:'

PRINT,STRCOMPRESS(' Output files containing integrated intensities : '+ $
	STRCOMPRESS(prowdir+prowfile,/REMOVE_ALL)) 

PRINT,''
PRINT,' Input images : '
PRINT, image_names
PRINT,''

PRINT,STRCOMPRESS('Detector type : '+detector)
PRINT,STRCOMPRESS(' Image size [X,Y],[Raster] : '+STRING(xsize)+', '+STRING(ysize))
PRINT,STRCOMPRESS(' Image raster,[um] : '+STRING(raster))
PRINT,' '
PRINT,' '
IF (set_bsmask) THEN PRINT,STRCOMPRESS('Will use a beamstop mask : '+bs_maskfile)
IF (set_mask) THEN PRINT,STRCOMPRESS('Will use a mask : '+maskfile)
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,'INTEGRATION:'
PRINT,STRCOMPRESS(' Boxsize for integration [2*spotsizeFWHM is advisable], [rasterx,rastery] : '+STRING(boxsize_x)+', '+STRING(boxsize_y))
IF (set_region) THEN PRINT,STRCOMPRESS('Will use restrained fitting area : '+regionfile)
PRINT,STRCOMPRESS(' Overlap distance for selection of reference peaks [mm] : '+ $
	STRING(ovlp_ref_dist))
PRINT,STRCOMPRESS(' Overlap distance (for deconvolution) [mm] : '+STRING(ovlp_dist))
PRINT,STRCOMPRESS(' Minimum distance for overlap deconvolution [mm] : '+STRING(ovlp_min_dist))
PRINT,' '
PRINT,STRCOMPRESS(' Saturation limit : '+STRING(satvalue))
PRINT,STRCOMPRESS(' Offset of the detector [detector counts] : '+STRING(det_offset))
PRINT,STRCOMPRESS(' Gain of the detector at 1.5418 A [no unit] : '+STRING(det_gain))
PRINT,STRCOMPRESS(' Percentage of pixels in box initially considered as noise for background evaluation [%] : '+STRING(bg_percentage))
PRINT,STRCOMPRESS(' Maximum acceptable slope for background [counts/pixels] : '+STRING(bg_max_slope))
PRINT,' '
IF use_old_ref THEN 	PRINT,' Using reference spots from an older session !' ELSE $
			PRINT,' Will search new reference spots !'
PRINT,STRCOMPRESS(' Maximum number of reference peaks : '+STRING(max_ref_spots))
PRINT,STRCOMPRESS(' Minimum number of reference peaks : '+STRING(min_ref_spots))
IF mode EQ 'mono' THEN BEGIN
 IF (use_partials) THEN PRINT,' Will use partials for evaluation of reference profiles.' ELSE PRINT,' Will use only fullies for evaluation of reference profiles.'
ENDIF
PRINT,STRCOMPRESS(' (Initial) Minimum I/Sigma for initial selection as reference peak. : '+STRING(min_isigi))
PRINT,STRCOMPRESS(' Maximum oscillation distance from current image to look for reference spots [degree] : '+STRING(max_osc_distance))
PRINT,STRCOMPRESS(' Number of sectors for reference peaks search : '+STRING(n_sectors))
PRINT,STRCOMPRESS(' Radial distance to look around for getting the reference peak when integrating a weak or overlapped peak by profile fitting method [mm] : '+STRING(rad_distance))
PRINT,STRCOMPRESS(' Angular distance to look around for getting the reference peak when integrating a weak or overlapped peak by profile fitting method [degrees] : '+STRING(ang_width))
IF (second_interp) THEN PRINT,' Will re-interpolate reference profiles based on experimental spot position. DANGEROUS !'
IF (sym_search) THEN PRINT,' Using symmetric sector if necessary.'
PRINT,' '
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,'DEBUG:'
PRINT,' Debug parameters [0: no debug, 1: debug] :'
PRINT,STRCOMPRESS(' Show images and prediction pattern : '+STRING(show_image))
PRINT,STRCOMPRESS(' Show reference peaks : '+STRING(show_ref_peaks))
PRINT,STRCOMPRESS(' Show strong peaks : '+STRING(show_strong_peaks))
PRINT,STRCOMPRESS(' Show weak peaks : '+STRING(show_weak_peaks))
PRINT,STRCOMPRESS(' Show overlapped peaks : '+STRING(show_ovlp_peaks))
PRINT,' '
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'
PRINT,'&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&'





