----- file created by makedoc on: Tue May 29 14:43:36 2012
----- Documentation for /sware/exp/xop-2.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


