IMG - An IDL widget program for processing 2D images It supports 8/16/24 bit TIF/JPG/PNG image file as well as XDR/ASCII 2D image data. It provides features of rotating, reversing, resizing, extracting, and exporting image data. SCAN2D_OVERLAY - An IDL widget progrom for overlaying of multiple XDR 2D images It also provides methods for overlaying selected images from a 2D image_array of a scan2d/scanSee object or any 2D image_array. IMAGE2D - An IDL widget program for viewing 2D image data array For any input 2D image_array it provides various image processing features: panimage, plot2d, ez_fit, scan2d_roi, calibration, scan2d_overlay, exporting image data, etc.
VIEWER - Package of view1d, view2d, view1d_overlay programs for displaying data catcher 1D/2D data TOIMAGE- An IDL program to re-construct catcher 2D images from 1D data Scan Objects - Object methods for accessing 1D/2D scan data: SCAN1D, SCAN2D View2d to AIM - Interfacing view2d with AIM
scanSee - an IOC scan displayer, an UNIX script speically written for displaying realtime or post scan 1D/2D scan data ScanSee Object - Object methods for accessing 1D/2D/3D scan data: SCANSEE SB - Scan Browser, an UNIX script speically written for displaying 1D/2D/3D scanSee data through using the scanSee object methods. pick3d - An unix script to run 3D scan file displayer VIEW3D_2D - 3D data array slicer VIEW3D_2DSUM - 3D data array ROI slicer vw2d - An unix script to run 2D scan file displayer
To access scan browser on the Unix system just enter the following at the unix prompt:
The complete system consists of the following files. At APS, they are installed in the /usr/local/epics/extensions/bin/solaris directory.
SB - Unix script file, it automatically sets up the IDL and runs the scanSee object os.init - A system dependent file shared by IDL programs developped at XFD/BCDA. ez_fit.pro - ez_fit program scan2d_roi.pro - scan 2D ROI widget program multiroi_pick.pro - multiple 2D ROI widget program read_scan.pro.R2 - IDL routines read the XDR data array saved by the IOC scan software readScan.pro.R2 - IDL routines read and allocate the data array scanSee__define.pro.R2 - ScanSee type object program scanSee.pro - ScanSee 1D/2D/3D scan driver widget program
All IDL programs are installed in the /usr/local/epics/extensions/bin/$HOST_ARCH directory. For proper operation of these programs, a user first has to make sure that the IDL 5.1 or later is used. For example, use IDL 5.2 release, set the following :
setenv EPICS_EXTENSIONS /usr/local/epics/extensions setenv IDL_STARTUP $EPICS_EXTENSIONS/bin/$HOST_ARCH/viewer_startup.proand make sure the directory /usr/local/epics/extensions/bin/$HOST_ARCH is in his/her IDL search path.
source /usr/local/epics/extensions/bin/$EPICS_HOST_ARCH/ezcaidl_setupAt APS for EPICS3.14.X the EPICS_HOST_ARCH is set to 'solaris-sparc'.
source /usr/local/epics/extensions/bin/$HOST_ARCH/ezcaidl_setupAt APS for EPICS3.13.X the HOST_ARCH is set to 'solaris'.
The above object class is specially written for providing interfacing methods to access the scan data by the other IDL programs. A user can directly load them into his/her IDL program, and he/she should be able to access the scan data freely.
Accessing the data catcher acquired 1D data without running the catcher or viewer, the scan1d object classes is specially written for this purpose. A user can directly load them into his/her IDL program, and he/she should be able to access the scan data freely.
The scan2d object class is specially written for providing various methods of accessing 2D scan data saved by the catcher. A user can directly load them into his/her IDL program, and he/she should be able to access the scan data freely.
The NX object class privides generic methods for accessing the Nexus/HDF data.
This program provides the user a general purpose IDL Object Cleanup Utility program.
Starting from R2.3a of view2d it provides a new feature of saving a 2D image in the AIM accept save file format. The filename used by the save file is called 'dc2aim.sav' which will be saved in the current working directory where idl is invoked. The image data saved can be directly loaded into AIM program.
Following steps show how to interface view2d with AIM.
-- Setup environments and start up AIM -- setenv IDL_PATH $IDL_PATH':'~cha/epics/extensions/bin/solaris setenv IDL_PATH $IDL_PATH':'~dejus/idl/user_contrib/aim_files idl ; invoke IDL from the UNIX prompt IDL> aim ; start the AIM program -- Use view2d find the desired 2D image -- File->Stop ; depress File->Stop button in the AIM main window will activate the IDL prompt IDL> view2d & retall ; this will load view2d program into IDL File->Open ; on view2d (R2.3a) main window select the desired data catcher 2D image file pick the desired 2D image to be viewed by AIM File->Save Image for AIM ; save the picked image in 'dc2aim.sav' IDL save file in the current working directory File->Quit ; terminate view2d program IDL> dc2aim ; get image ncol and nrow info and return to AIM program main window -- Load dc2aim.sav into AIM -- Open file ; press button in the AIM main window File type -> IDL save ; press button in the aim_open window select 'IDL save' Open -> dc2aim.sav ; press Open file selection in the aim_open window select the 'dc2aim.sav' file The 2D image will be shown in the AIM main window, then you are ready to use any feature of AIM with the newly loaded in image. You may repeat the steps 'File->Stop' to 'Open->dc2aim.save' to load any desired image from the data catcher 2D image file into AIM. Hint: Always use the 'File->Stop' from the main AIM main window to activate the IDL prompt , and use the 'retall' at the IDL prompt to activate the widget application.
Because window PC can not discriminate the difference between the lower case and upper case, e.g. caget/caGet , in order to support the window PC the command name for caGet, caPut has been renamed to caGet1, caPut1. Please refer the on-line help on command syntax.