;+
; PROJECT
;
;           SolarB EIS
;
; NAME
;
;           EIS_aece_CONTROL_TO_PROPS
;
; PURPOSE
;
;           Procedure to do something or another!
;
; CATEGORY
;
;           EIS Timeline Planning
;
; INPUTS
;
;           st           - an eis_study structure
;           aece_control - 
;
; KEYWORDS
;
;           None
;
; MODIFICATION HISTORY
;
;           V0.0 Written by John Rainnie (JAR), RAL, Dec 2005
;
;-
;************************************************************************
FUNCTION eis_aece_control_to_props , sra_props , aece_control

sra_props.upper_threshold      = aece_control.upper_threshold
sra_props.lower_threshold      = aece_control.lower_threshold
sra_props.upper_count_limit    = aece_control.high_energy_pixel_count_limit
sra_props.lower_count_limit    = aece_control.low_energy_pixel_count_limit
sra_props.exposure_id          = aece_control.exposure_id
sra_props.max_run_time         = aece_control.binning_factor
sra_props.max_run_time         = aece_control.run_time

RETURN , sra_props

END
