----- file created by makedoc on: Thu Sep 11 15:03:13 2014
----- Documentation for /scisoft/xop2.4/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


