;+ ; hsi_image script - created Mon Oct 24 01:01:54 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_clean_20050912_0353_77tx4e, obj=obj ; Note: you can set additional parameters or override parameters in script via: ; hsi_image_script_nondefault_params_clean_20050912_0353_77tx4e, 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_clean_20050912_0353_77tx4e. ; 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_clean_20050912_0353_77tx4e ; ; 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_clean_20050912_0353_77tx4e, obj=obj, _extra=_extra obj = hsi_image() obj-> set, cbe_normalize= 1 obj-> set, image_algorithm= 'CLEAN' ;obj-> set, profile_jpeg_plot= 1 ;obj-> set, $ ; profile_plot_dir= '/data/rhessi_extras/flare_images_v2/2005/09/12/20050912_0353_0457/CLEAN/profcomp' ;obj-> set, viscomp_jpeg_plot= 1 ;obj-> set, $ ; viscomp_plot_dir= '/data/rhessi_extras/flare_images_v2/2005/09/12/20050912_0353_0457/CLEAN/viscomp' ;obj-> set, snr_chk= 1 ;obj-> set, $ ; snr_vis_file= '/data/rhessi_extras/visibility_fits_v2/2005/09/12/hsi_vis_20050912_0353_0457_77tx4e.fits' obj-> set, mpat_coord= 'CART' obj-> set, image_dim= [101, 101] obj-> set, pixel_size= [1.50000, 1.50000] obj-> set, im_time_interval= [['12-Sep-2005 03:53:48.200', '12-Sep-2005 03:55:19.108'], $ ['12-Sep-2005 03:55:19.108', '12-Sep-2005 03:56:49.108'], ['12-Sep-2005 03:56:49.108', $ '12-Sep-2005 03:58:19.108'], ['12-Sep-2005 03:58:19.108', '12-Sep-2005 03:59:49.108'], $ ['12-Sep-2005 03:59:49.108', '12-Sep-2005 04:01:19.108'], ['12-Sep-2005 04:01:19.108', $ '12-Sep-2005 04:02:49.108'], ['12-Sep-2005 04:02:49.108', '12-Sep-2005 04:04:19.108'], $ ['12-Sep-2005 04:04:19.108', '12-Sep-2005 04:05:49.108'], ['12-Sep-2005 04:05:49.108', $ '12-Sep-2005 04:07:19.108'], ['12-Sep-2005 04:07:19.108', '12-Sep-2005 04:08:49.108'], $ ['12-Sep-2005 04:08:57.108', '12-Sep-2005 04:10:57.108'], ['12-Sep-2005 04:10:57.108', $ '12-Sep-2005 04:11:57.108'], ['12-Sep-2005 04:11:57.108', '12-Sep-2005 04:12:57.108'], $ ['12-Sep-2005 04:13:05.108', '12-Sep-2005 04:15:05.108'], ['12-Sep-2005 04:15:05.108', $ '12-Sep-2005 04:16:21.108'], ['12-Sep-2005 04:16:21.108', '12-Sep-2005 04:17:18.108'], $ ['12-Sep-2005 04:17:18.108', '12-Sep-2005 04:18:03.108'], ['12-Sep-2005 04:18:03.108', $ '12-Sep-2005 04:18:42.108'], ['12-Sep-2005 04:18:42.108', '12-Sep-2005 04:19:22.108'], $ ['12-Sep-2005 04:19:22.108', '12-Sep-2005 04:19:58.108'], ['12-Sep-2005 04:19:58.108', $ '12-Sep-2005 04:20:18.108'], ['12-Sep-2005 04:20:18.108', '12-Sep-2005 04:20:34.108'], $ ['12-Sep-2005 04:20:34.108', '12-Sep-2005 04:20:50.108'], ['12-Sep-2005 04:20:50.108', $ '12-Sep-2005 04:21:06.108'], ['12-Sep-2005 04:21:06.108', '12-Sep-2005 04:21:22.108'], $ ['12-Sep-2005 04:21:22.108', '12-Sep-2005 04:21:38.108'], ['12-Sep-2005 04:21:38.108', $ '12-Sep-2005 04:21:54.108'], ['12-Sep-2005 04:21:54.108', '12-Sep-2005 04:22:10.108'], $ ['12-Sep-2005 04:22:10.108', '12-Sep-2005 04:22:26.108'], ['12-Sep-2005 04:22:26.108', $ '12-Sep-2005 04:22:42.108'], ['12-Sep-2005 04:22:42.108', '12-Sep-2005 04:22:58.108'], $ ['12-Sep-2005 04:22:58.108', '12-Sep-2005 04:23:14.108'], ['12-Sep-2005 04:23:14.108', $ '12-Sep-2005 04:23:30.108'], ['12-Sep-2005 04:23:30.108', '12-Sep-2005 04:23:46.108'], $ ['12-Sep-2005 04:23:46.108', '12-Sep-2005 04:24:02.108'], ['12-Sep-2005 04:24:02.108', $ '12-Sep-2005 04:24:18.108'], ['12-Sep-2005 04:24:18.108', '12-Sep-2005 04:24:34.108'], $ ['12-Sep-2005 04:24:34.108', '12-Sep-2005 04:24:50.108'], ['12-Sep-2005 04:24:50.108', $ '12-Sep-2005 04:25:06.108'], ['12-Sep-2005 04:25:06.108', '12-Sep-2005 04:25:22.108'], $ ['12-Sep-2005 04:25:22.108', '12-Sep-2005 04:25:38.108'], ['12-Sep-2005 04:25:38.108', $ '12-Sep-2005 04:25:54.108'], ['12-Sep-2005 04:25:54.108', '12-Sep-2005 04:26:10.108'], $ ['12-Sep-2005 04:26:10.108', '12-Sep-2005 04:26:26.108'], ['12-Sep-2005 04:26:26.108', $ '12-Sep-2005 04:26:42.108'], ['12-Sep-2005 04:26:42.108', '12-Sep-2005 04:26:58.108'], $ ['12-Sep-2005 04:26:58.108', '12-Sep-2005 04:27:14.108'], ['12-Sep-2005 04:27:14.108', $ '12-Sep-2005 04:27:30.108'], ['12-Sep-2005 04:27:30.108', '12-Sep-2005 04:27:46.108'], $ ['12-Sep-2005 04:27:46.108', '12-Sep-2005 04:28:02.108'], ['12-Sep-2005 04:28:02.108', $ '12-Sep-2005 04:28:18.108'], ['12-Sep-2005 04:28:18.108', '12-Sep-2005 04:28:34.108'], $ ['12-Sep-2005 04:28:34.108', '12-Sep-2005 04:28:50.108'], ['12-Sep-2005 04:28:50.108', $ '12-Sep-2005 04:29:06.108'], ['12-Sep-2005 04:29:06.108', '12-Sep-2005 04:29:22.108'], $ ['12-Sep-2005 04:29:22.108', '12-Sep-2005 04:29:38.108'], ['12-Sep-2005 04:29:38.108', $ '12-Sep-2005 04:30:03.108'], ['12-Sep-2005 04:30:03.108', '12-Sep-2005 04:30:45.108'], $ ['12-Sep-2005 04:30:45.108', '12-Sep-2005 04:31:44.108'], ['12-Sep-2005 04:31:44.108', $ '12-Sep-2005 04:33:02.108'], ['12-Sep-2005 04:33:02.108', '12-Sep-2005 04:34:50.108'], $ ['12-Sep-2005 04:34:50.108', '12-Sep-2005 04:36:15.108'], ['12-Sep-2005 04:36:15.108', $ '12-Sep-2005 04:37:33.108'], ['12-Sep-2005 04:37:33.108', '12-Sep-2005 04:38:59.108'], $ ['12-Sep-2005 04:38:59.108', '12-Sep-2005 04:40:30.108'], ['12-Sep-2005 04:41:36.108', $ '12-Sep-2005 04:43:36.108'], ['12-Sep-2005 04:43:36.108', '12-Sep-2005 04:44:48.108'], $ ['12-Sep-2005 04:44:48.108', '12-Sep-2005 04:45:48.108'], ['12-Sep-2005 04:45:48.108', $ '12-Sep-2005 04:46:48.108'], ['12-Sep-2005 04:46:48.108', '12-Sep-2005 04:47:48.108'], $ ['12-Sep-2005 04:47:48.108', '12-Sep-2005 04:48:48.108'], ['12-Sep-2005 04:49:01.923', $ '12-Sep-2005 04:50:02.800'], ['12-Sep-2005 04:50:02.800', '12-Sep-2005 04:51:02.800'], $ ['12-Sep-2005 04:51:02.800', '12-Sep-2005 04:52:02.800'], ['12-Sep-2005 04:52:02.800', $ '12-Sep-2005 04:53:02.800'], ['12-Sep-2005 04:53:41.800', '12-Sep-2005 04:55:41.800'], $ ['12-Sep-2005 04:55:41.800', '12-Sep-2005 04:57:04.800']] obj-> set, use_flux_var= 0L obj-> set, use_phz_stacker= 1L obj-> set, xyoffset= [-433.233, -298.409] obj-> set, im_energy_binning= [[6.00000, 12.0000], [12.0000, 25.0000], [25.0000, 50.0000], $ [50.0000, 100.000]] obj-> set, time_bin_def= [1.00000, 2.00000, 2.00000, 4.00000, 8.00000, 16.0000, 32.0000, $ 32.0000, 64.0000] obj-> set, time_bin_min= 512L obj-> set, det_index_mask= [0B, 0B, 1B, 1B, 1B, 1B, 1B, 1B, 1B] obj-> set, clean_frac= 0.100000 obj-> set, clean_show_maps= 0 obj-> set, clean_show_chi= 0 obj-> set, clean_progress_bar= 0 obj-> set, clean_beam_width_factor= 2.00000 obj-> set, clean_regress_combine= 'full_resid' 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