mean_spec [1] $SSW/hinode/eis/idl/util/mean_spec.pro
[Previous] [Next]
 NAME:
       mean_spec

 PURPOSE:
       MEAN_SPEC calculates the mean spectrum of a 2D or 3D data
       cube. 

 CATEGORY:
       Hansteen/Wikstol Data analysis SW

 CALLING SEQUENCE:
       mspec = mean_spec(data)

 INPUTS:
       data: The spectral data from which the average spectrum will
       be calculated. Typically this will be of type: data(lambda,
       x,y)

 KEYWORD PARAMETERS:
       retain_x: Keep x-dimension. Only average over y
       retain_y: Keep y-dimension. Only average over x

 OUTPUTS:
       Average spectrum: mspec(lambda)

 CALLS:
 CALLED BY:
	XMOMENT [1], XMOMENT [2]
 COMMON BLOCKS:
       

 PROCEDURE:
  
 
 RESTRICTIONS:
       The input data needs to have lambda as the first dimension


 MODIFICATION HISTORY:
       09-Feb-2004: Oivind Wikstol, version 1.0


MKUWORDS [1] $SSW/hinode/eis/idl/objects/ccsds_hdr__read.pro
[Previous] [Next]
 NAME:
       MKUWORDS

 PURPOSE:
      
       MKUWORDS is a collection of functions to make unsigned 16, 24
       and 32 bit words (both little and big endian) from an array of
       bytes. 
                                                                  

 CATEGORY:
       Hansteen/Wikstol Data analysis SW

 CALLING SEQUENCE:
       each of the functions are called in the same way, as an
       example we use mkuintle:
       uintleword = mkuintle(buf, is)

 INPUTS:
       buf: The array of bytes from which to construct the words.
       is: The position in buf from where to start.

 KEYWORD PARAMETERS:


 OUTPUTS:
       unsigned 16, 24 or 32 bit words (littl or big endian)
       depending on which functions is used.

 CALLS:
 COMMON BLOCKS:
       

 PROCEDURE:


 RESTRICTIONS:


 MODIFICATION HISTORY:
       XX-Apr-2001: Viggo Hansteen,Oivind Wikstol
       03-Oct-2001: Oivind Wikstol. Added documentation.


MKUWORDS [2] $SSW/hinode/eis/idl/util/mkuwords.pro
[Previous] [Next]
 NAME:
       MKUWORDS

 PURPOSE:
      
       MKUWORDS is a collection of functions to make unsigned 16, 24
       and 32 bit words (both little and big endian) from an array of
       bytes. 
                                                                  

 CATEGORY:
       Hansteen/Wikstol Data analysis SW

 CALLING SEQUENCE:
       each of the functions are called in the same way, as an
       example we use mkuintle:
       uintleword = mkunitle(buf, is)

 INPUTS:
       buf: The array of bytes from which to construct the words.
       is: The position in buf from where to start.

 KEYWORD PARAMETERS:


 OUTPUTS:
       unsigned 16, 24 or 32 bit words (littl or big endian)
       depending on which functions is used.

 CALLS:
 COMMON BLOCKS:
       

 PROCEDURE:


 RESTRICTIONS:


 MODIFICATION HISTORY:
       XX-Apr-2001: Viggo Hansteen,Oivind Wikstol
       03-Oct-2001: Oivind Wikstol. Added documentation.