;+
; 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_props_to_control , sra_props , aece_control

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

RETURN , aece_control

END
