----- file created by makedoc on: Thu Sep 11 15:03:13 2014
----- Documentation for /scisoft/xop2.4/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)
	RAD = set this kewyword when  shadow_in is in radiants
 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


