;+ ; hsi_image script - created Tue Oct 18 04:56:35 2022 by hsi_params2script.pro ; Includes only parameters changed from default settings. ; ; Note: This script simply sets control parameters in the hsi_image object as they ; were when you wrote the script. To make the object do anything in this script, ; you need to add some action commands. For instance, the command ; image= obj->getdata() ; would generate and return the image. ; ; For a complete list of control parameters look at the tables in ; http://hesperia.gsfc.nasa.gov/ssw/hessi/doc/hsi_params_all.htm ; ; There are several ways to use this script: ; ; A. Run this procedure via this command (compile first if it's not in your IDL path): ; hsi_image_script_nondefault_params_ge_20050714_0612_76tx3e, obj=obj ; Note: you can set additional parameters or override parameters in script via: ; hsi_image_script_nondefault_params_ge_20050714_0612_76tx3e, obj=obj, param1=param1, $ ; param2=param2,... ; or ; B. Compile and execute it as a main program by: ; 1. Comment out the "pro" line and save. ; 2. From the command line, $ ; type .run hsi_image_script_nondefault_params_ge_20050714_0612_76tx3e. ; In the IDLDE, click Compile, then Execute. ; 3. Use .GO to restart at the beginning of the script ; or ; C. Execute it as a batch file via: ; 1. Comment out the "pro" and "end" lines and save. ; 2. Run the commands via @hsi_image_script_nondefault_params_ge_20050714_0612_76tx3e ; ; Once you have run the script (via one of those 3 methods), you will have an ; hsi_image object called obj that is set up as it was when you wrote the script. ; You can proceed using obj from the command line or the hessi GUI. ; To use it in the GUI, type ; hessi,obj ; To use it from the command line, here are a few examples of commands: ; data = obj->getdata() ; retrieve the last image made ; data = obj->getdata(use_single=0) ; retrieve all images in cube ; obj->plot ; plot the last image ; obj->plotman ; plot the last image in plotman ; obj->plotman, /choose ; choose which image(s) in cube to plot in plotman ;- pro hsi_image_script_nondefault_params_ge_20050714_0612_76tx3e, obj=obj, _extra=_extra obj = hsi_image() obj-> set, cbe_normalize= 1 obj-> set, image_algorithm= 'MEM_GE' ;obj-> set, viscomp_jpeg_plot= 1 ;obj-> set, $ ; viscomp_plot_dir= '/data/rhessi_extras/flare_images_v2/2005/07/14/20050714_0612_0717/MEM_GE/viscomp' ;obj-> set, snr_chk= 1 obj-> set, snr_thresh= 4.00000 obj-> set, mpat_coord= 'CART' obj-> set, image_dim= [101, 101] obj-> set, pixel_size= [1.50000, 1.50000] obj-> set, im_time_interval= [['14-Jul-2005 06:12:48.200', '14-Jul-2005 06:13:48.277'], $ ['14-Jul-2005 06:13:48.277', '14-Jul-2005 06:14:48.277'], ['14-Jul-2005 06:14:49.277', $ '14-Jul-2005 06:16:49.277'], ['14-Jul-2005 06:16:49.277', '14-Jul-2005 06:17:49.277'], $ ['14-Jul-2005 06:17:49.277', '14-Jul-2005 06:18:49.277'], ['14-Jul-2005 06:18:49.277', $ '14-Jul-2005 06:19:49.277'], ['14-Jul-2005 06:19:49.277', '14-Jul-2005 06:20:49.277'], $ ['14-Jul-2005 06:20:49.277', '14-Jul-2005 06:21:49.277'], ['14-Jul-2005 06:21:49.277', $ '14-Jul-2005 06:22:49.277'], ['14-Jul-2005 06:22:49.277', '14-Jul-2005 06:23:49.277'], $ ['14-Jul-2005 06:23:49.277', '14-Jul-2005 06:24:49.277'], ['14-Jul-2005 06:24:49.277', $ '14-Jul-2005 06:25:49.277'], ['14-Jul-2005 06:25:49.277', '14-Jul-2005 06:26:49.277'], $ ['14-Jul-2005 06:26:49.277', '14-Jul-2005 06:27:49.277'], ['14-Jul-2005 06:27:49.277', $ '14-Jul-2005 06:28:49.277'], ['14-Jul-2005 06:28:49.277', '14-Jul-2005 06:29:49.277'], $ ['14-Jul-2005 06:29:49.277', '14-Jul-2005 06:30:49.277'], ['14-Jul-2005 06:30:49.277', $ '14-Jul-2005 06:31:49.277'], ['14-Jul-2005 06:31:49.277', '14-Jul-2005 06:32:49.277'], $ ['14-Jul-2005 06:32:49.277', '14-Jul-2005 06:33:49.277'], ['14-Jul-2005 06:33:49.277', $ '14-Jul-2005 06:34:49.277'], ['14-Jul-2005 06:34:49.277', '14-Jul-2005 06:35:49.277'], $ ['14-Jul-2005 06:35:49.277', '14-Jul-2005 06:36:49.277'], ['14-Jul-2005 06:36:49.277', $ '14-Jul-2005 06:37:49.277'], ['14-Jul-2005 06:37:49.277', '14-Jul-2005 06:38:49.277'], $ ['14-Jul-2005 06:38:49.277', '14-Jul-2005 06:39:49.277'], ['14-Jul-2005 06:39:49.277', $ '14-Jul-2005 06:40:49.277'], ['14-Jul-2005 06:40:49.277', '14-Jul-2005 06:41:49.277'], $ ['14-Jul-2005 06:41:49.277', '14-Jul-2005 06:42:49.277'], ['14-Jul-2005 06:42:49.277', $ '14-Jul-2005 06:43:49.277'], ['14-Jul-2005 06:43:49.277', '14-Jul-2005 06:44:49.277'], $ ['14-Jul-2005 06:44:49.277', '14-Jul-2005 06:45:49.277'], ['14-Jul-2005 06:45:49.277', $ '14-Jul-2005 06:46:49.277'], ['14-Jul-2005 06:46:49.277', '14-Jul-2005 06:47:49.277'], $ ['14-Jul-2005 06:47:49.277', '14-Jul-2005 06:48:49.277'], ['14-Jul-2005 06:48:49.277', $ '14-Jul-2005 06:49:49.277'], ['14-Jul-2005 06:49:49.277', '14-Jul-2005 06:50:49.277'], $ ['14-Jul-2005 06:50:49.277', '14-Jul-2005 06:51:49.277'], ['14-Jul-2005 06:51:49.277', $ '14-Jul-2005 06:52:49.277'], ['14-Jul-2005 06:52:49.277', '14-Jul-2005 06:53:49.277'], $ ['14-Jul-2005 06:53:49.277', '14-Jul-2005 06:54:49.277'], ['14-Jul-2005 06:54:49.277', $ '14-Jul-2005 06:55:49.277'], ['14-Jul-2005 06:56:14.277', '14-Jul-2005 06:58:14.277'], $ ['14-Jul-2005 06:58:14.277', '14-Jul-2005 06:58:55.277'], ['14-Jul-2005 06:58:55.277', $ '14-Jul-2005 06:59:21.277'], ['14-Jul-2005 06:59:21.277', '14-Jul-2005 06:59:42.277'], $ ['14-Jul-2005 06:59:42.277', '14-Jul-2005 06:59:59.277'], ['14-Jul-2005 06:59:59.277', $ '14-Jul-2005 07:00:15.277'], ['14-Jul-2005 07:00:15.277', '14-Jul-2005 07:00:31.277'], $ ['14-Jul-2005 07:00:31.277', '14-Jul-2005 07:00:47.277'], ['14-Jul-2005 07:00:47.277', $ '14-Jul-2005 07:01:03.277'], ['14-Jul-2005 07:01:03.277', '14-Jul-2005 07:01:19.277'], $ ['14-Jul-2005 07:01:19.277', '14-Jul-2005 07:01:35.277'], ['14-Jul-2005 07:01:35.277', $ '14-Jul-2005 07:01:51.277'], ['14-Jul-2005 07:01:51.277', '14-Jul-2005 07:02:07.277'], $ ['14-Jul-2005 07:02:07.277', '14-Jul-2005 07:02:23.277'], ['14-Jul-2005 07:02:23.277', $ '14-Jul-2005 07:02:39.277'], ['14-Jul-2005 07:02:39.277', '14-Jul-2005 07:02:55.277'], $ ['14-Jul-2005 07:02:55.277', '14-Jul-2005 07:03:11.277'], ['14-Jul-2005 07:03:11.277', $ '14-Jul-2005 07:03:27.277'], ['14-Jul-2005 07:03:27.277', '14-Jul-2005 07:03:43.277'], $ ['14-Jul-2005 07:03:43.277', '14-Jul-2005 07:03:59.277'], ['14-Jul-2005 07:03:59.277', $ '14-Jul-2005 07:04:15.277'], ['14-Jul-2005 07:04:15.277', '14-Jul-2005 07:04:31.277'], $ ['14-Jul-2005 07:04:31.277', '14-Jul-2005 07:04:48.277'], ['14-Jul-2005 07:04:48.277', $ '14-Jul-2005 07:05:07.277'], ['14-Jul-2005 07:05:07.277', '14-Jul-2005 07:05:30.277'], $ ['14-Jul-2005 07:05:30.277', '14-Jul-2005 07:06:06.277'], ['14-Jul-2005 07:06:06.277', $ '14-Jul-2005 07:07:17.277'], ['14-Jul-2005 07:07:17.277', '14-Jul-2005 07:08:17.277'], $ ['14-Jul-2005 07:08:17.277', '14-Jul-2005 07:09:17.277'], ['14-Jul-2005 07:09:17.277', $ '14-Jul-2005 07:10:17.277'], ['14-Jul-2005 07:10:17.277', '14-Jul-2005 07:11:17.277'], $ ['14-Jul-2005 07:12:05.079', '14-Jul-2005 07:13:05.280'], ['14-Jul-2005 07:13:05.280', $ '14-Jul-2005 07:14:05.280'], ['14-Jul-2005 07:14:05.280', '14-Jul-2005 07:15:05.280']] obj-> set, use_flux_var= 0L obj-> set, use_phz_stacker= 1L obj-> set, xyoffset= [958.996, 201.601] obj-> set, im_energy_binning= [[6.00000, 12.0000], [12.0000, 25.0000], [25.0000, 50.0000]] obj-> set, time_bin_def= [1.00000, 2.00000, 4.00000, 8.00000, 16.0000, 16.0000, 32.0000, $ 64.0000, 128.000] obj-> set, time_bin_min= 256L obj-> set, det_index_mask= [0B, 0B, 1B, 1B, 1B, 1B, 1B, 1B, 1B] zzz = {HSI_VIS_SRC_STRUCTURE, $ SRCTYPE: 'circle', $ SRCFLUX: 1.00000, $ SRCX: 0.00000, $ SRCY: 0.00000, $ SRCFWHM: 10.0000, $ ECCEN: 0.00000, $ SRCPA: 0.00000, $ LOOP_ANGLE: 0.00000, $ ALBEDO_RATIO: 0.100000, $ SRCHEIGHT: 10.0000, $ ALBEDO_APPLY: 1, $ FITMASK: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] } obj-> set, vf_srcin= zzz obj-> set, vis_cs_abort_numerical_issues= 1 obj-> set, vis_cs_sparseness= 0.700000 if keyword_set(_extra) then obj->set, _extra=_extra end