----- file created by makedoc on: Thu Nov  5 15:14:58 2009
----- Documentation for /scisoft/xop2.3/extensions/shadowvui/src/lib/shswapcols.pro -----

 NAME:
	SHSWAPCOLUMNS
 PURPOSE:
	This function swap the columns of a Shadow file/structure 
 CATEGORY:
	SHADOW's utilities.
 CALLING SEQUENCE:
	result = shSwapColumns(shadow_in,newcolumns)
 INPUTS:
	shadow_in: The IDL structure with SHADOW data
	newcolumns:  a 3-element array with the new columns
		(example [3,2,1])
 OUTPUTS:
	 Result: The IDL/Shadow structure of the transformed beam
 KEYWORD PARAMETERS (OUTPUT):
	FILE = set this keyword to a string with the file name for
       writing the transformed beam.

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


