;+
; PROJECT
;           SolarB EIS
;
; NAME
;           EIS_STUDY_RASTER
;
; PURPOSE
;           Automatic structure definition of eis_study_raster
;
; CATEGORY
;           Technical planning
;
; WRITTEN
;           Chunkey LePine RAL 6-Sep-2004
;
; VERSION
;           v0.1 John Rainne 2006
;               Re-cast to include many more tags
;           v0.2 JAR 3-Apr-2006
;               Removed ra_slit_inde x tag
;           v0.3 JAR 13-Apr-2007
;               Added ra_width tag - this is the total spatial width
;-
;************************************************************************
PRO eis_aec_props__DEFINE

dummy = {eis_aec_props                             , $
            aec_flag            : BYTARR(25)       , $
            upper_threshold     : 0L               , $
            lower_threshold     : 0L               , $
            upper_count_limit   : 0L               , $
            lower_count_limit   : 0L               , $
            exposure_id         : 0                , $
            max_run_time        : 0L                 $
        }

END

PRO eis_flare_props__DEFINE

dummy = {eis_flare_props                           , $
            flare_flag          : BYTARR(25)       , $
            x_centre            : 0B               , $
            y_centre            : 0B               , $
            x_pixel_threshold   : 0L               , $
            y_pixel_threshold   : 0L               , $
            x_min_limit         : 0L               , $
            y_min_limit         : 0L                 $
        }

END

PRO eis_event_props__DEFINE

dummy = {eis_event_props                           , $
            event_flag          : BYTARR(25)       , $
            x_pixel_threshold   : 0UL              , $
            y_pixel_threshold   : 0UL              , $
            x_min_limit         : 0L               , $
            y_min_limit         : 0L                 $
        }

END

PRO xrt_flare_props__DEFINE

dummy = {xrt_flare_props                           , $
            xrt_flag            : 0B}
END

PRO eis_study_raster__DEFINE
dummy = {eis_study_raster                          , $
            ra_index           : 0                 , $
            ra_id              : 0L                , $
            ra_acronym         : ''                , $
            ra_title           : ''                , $
            ra_nwindows        : 0                 , $
            ll_id              : 0L                , $
            windHeight         : 0                 , $
            scan_fm_nsteps     : 0L                , $
            scan_fm_stepSize   : 0.                , $
            slitindex          : 0                 , $
            ra_width           : 0L                , $
            rastertype         : 0B                , $
            ra_repeats         : 0                 , $
            ra_compression     : 0B                , $
            ra_duration        : LONG64(0)         , $
            ra_volume          : LONG64(0)         , $
            aec_props          : {eis_aec_props}   , $
            eis_flare_props    : {eis_flare_props} , $
            eis_event_props    : {eis_event_props} , $
            xrt_flare_props    : {xrt_flare_props} , $
            asrc_enabled       : 0B                , $
            asrc_direction     : 0B                , $
            asrc_skip          : 0B                , $
            asrc_nSteps        : 0L                , $
            mip                : 0L                , $
            yip                : 0L                , $
            x_point            : 0.D               , $
            y_point            : 0.D               , $
            sc_x               : 0.D               , $
            sc_y               : 0.D               , $
            cmp                : 0                 , $
            ra_start_time      : 0.D               , $
            ra_stop_time       : 0.D                 $
        }

END

