Extended IDL Help

view3d_slicer.pro

At present this program is installed in the /usr/local/epics/extensions/idllib directory for EPICS R3.14. This program provides IDL users a widget application VIEW3D_SLICER to flexiblely access the 2D data from the 3D data array. Currently, the 3D data must be automatically saved by the IOC scan software in XDR format.

List of Routines


Routine Descriptions

VIEW3D

[Next Routine] [List of Routines]
 NAME:
       VIEW3D 

 PURPOSE:
      This routine cut out a cartesian 2D slice from an arbitrary
      input 3d array. It allows the user view the 2D slice as 
      various 1D/2D plots or ASCII output.

 CATEGORY:
    Widgets.

 CALLING SEQUENCE:
	VIEW3D, Da3D [,Kindex] [,Rank] [,SLICER3=slicer3] [,TITLE=title]
                  [,GROUP=group] [,DATA=data]

 ARGUMENTS:
    Da3D:    Input 3D array to be examined
    Kindex:  Specifies the index number of the slice, zero based number, 
             default 0 
    Rank:    Specifies the viewing direction rank number, 0-X axis, 
             1-Y axis, 2-Z axis, default 2 

 KEYWORDS:
  SLICER3:   Specifies whether slicer3 is called 
  TITLE:     Specifies the tile for 2D plot
  GROUP:     Specifies the widget ID of the parent group
  DATA:      Returns the cut out 2D data array slice

 RESTRICTIONS:
    The environment variables must be set by source in 
    /usr/local/epics/extensions/bin/solaris/setup_ezcaIDL for IDL 5.1
    /usr/local/epics/extensions/bin/solaris/ezcaidl_setup for IDL 5.3
    All required programs will be automatically loaded into IDL by this
    setup.

(See view3d_slicer.pro)


VIEW3D_SLICER

[Previous Routine] [List of Routines]
 NAME: 
    VIEW3D_SLICER
 
 PURPOSE:
    This routine provides a flexible 2D slicer for the 3D scan data 
    automatically saved by the IOC scan software. 
    It provides the option of generating various 2D image plots, 2D
    ASCII report, and a table driven 1D plots of various columns and
    rows of the 2D data.

 CATEGORY
    Widgets.

 CALLING SEQUENCE:
    
    VIEW3D_SLICER, File='filename', GROUP=group

 KEYWORD PARAMETERS:
    FILE:       Specify the input scan filename saved by the IOC scan 
                software, the file name is sequenced by the scanno and
                prefixed with uid and suffixed with '.scan', e.g.
                'uid:_nnnn.scan'

    DMAX:       Specify the maximum number of detectors, 15 for scan 4.1
                85 for newer

    GROUP:      Specify the widget ID of the group leader of the widget.
                The death of the group leader results in the death of the
                VIEW3D_SLICER.

 RESTRICTIONS:
    The input filename must be a 3D scan saved by the IOC.

 EXAMPLES:

       VIEW3D_SLICER, File='cha:_0049.scan'

 MODIFICATION HISTORY:
       Written by:     Ben-chin K. Cha, 10-01-99.
       01-25-2001  bkc R1.1
                       Update the slicer # with the picked rank
                       Set selected default detector to D01

(See view3d_slicer.pro)