----- file created by makedoc on: Tue Mar  3 17:24:55 2009
----- Documentation for /scisoft/xop2.3/extensions/shadowvui/src/lib/shrot.pro -----

 NAME:
	SHROT
 PURPOSE:
	This function rotates a Shadow file/structure and angle
	a0 around a given axis
 CATEGORY:
	SHADOW's utilities.
 CALLING SEQUENCE:
	result = shRot(shadow_in,thetaIn)
 INPUTS:
	shadow_in: The IDL structure with SHADOW data
	thetaIn:  The rotation angle in degreed (default=0)
 OUTPUTS:
	 Result: The IDL/Shadow structure of the rotated beam
 KEYWORD PARAMETERS (INPUT):
	AXIS = The axis number (Shadow's column) for the rotation
              (i.e, 1:x (default), 2:y, 3:z)
 KEYWORD PARAMETERS (OUTPUT):
	FILE = set this keyword to a string with the file name for
       writing the rotated beam.

 MODIFICATION HISTORY:
	M. Sanchez del Rio. ESRF. Grenoble May 2007


