;+ ; hsi_image script - created Sun Oct 16 19:36:50 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_bproj_image_20050119_0800_83tx5e, obj=obj ; Note: you can set additional parameters or override parameters in script via: ; hsi_image_script_nondefault_params_bproj_image_20050119_0800_83tx5e, 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_bproj_image_20050119_0800_83tx5e. ; 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_bproj_image_20050119_0800_83tx5e ; ; 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_bproj_image_20050119_0800_83tx5e, obj=obj, $ _extra=_extra obj = hsi_image() obj-> set, cbe_normalize= 1 obj-> set, image_algorithm= 'BPROJ' ;obj-> set, snr_chk= 1 ;obj-> set, $ ; snr_vis_file= '/data/rhessi_extras/visibility_fits_v2/2005/01/19/hsi_vis_20050119_0800_0902_83tx5e.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= [['19-Jan-2005 08:00:20.200', '19-Jan-2005 08:02:15.805'], $ ['19-Jan-2005 08:02:15.805', '19-Jan-2005 08:02:31.805'], ['19-Jan-2005 08:02:31.805', $ '19-Jan-2005 08:02:47.805'], ['19-Jan-2005 08:02:47.805', '19-Jan-2005 08:03:03.805'], $ ['19-Jan-2005 08:03:03.805', '19-Jan-2005 08:03:19.805'], ['19-Jan-2005 08:03:28.461', $ '19-Jan-2005 08:03:44.748'], ['19-Jan-2005 08:03:44.748', '19-Jan-2005 08:04:00.748'], $ ['19-Jan-2005 08:04:00.748', '19-Jan-2005 08:04:16.748'], ['19-Jan-2005 08:04:16.748', $ '19-Jan-2005 08:04:32.748'], ['19-Jan-2005 08:04:32.748', '19-Jan-2005 08:04:48.748'], $ ['19-Jan-2005 08:04:48.748', '19-Jan-2005 08:05:04.748'], ['19-Jan-2005 08:05:04.748', $ '19-Jan-2005 08:05:20.748'], ['19-Jan-2005 08:05:20.748', '19-Jan-2005 08:05:36.748'], $ ['19-Jan-2005 08:05:41.748', '19-Jan-2005 08:07:41.748'], ['19-Jan-2005 08:07:41.748', $ '19-Jan-2005 08:09:34.748'], ['19-Jan-2005 08:09:34.748', '19-Jan-2005 08:11:32.748'], $ ['19-Jan-2005 08:11:32.748', '19-Jan-2005 08:12:15.748'], ['19-Jan-2005 08:12:15.748', $ '19-Jan-2005 08:12:35.748'], ['19-Jan-2005 08:12:35.748', '19-Jan-2005 08:12:51.748'], $ ['19-Jan-2005 08:12:51.748', '19-Jan-2005 08:13:07.748'], ['19-Jan-2005 08:13:07.748', $ '19-Jan-2005 08:13:23.748'], ['19-Jan-2005 08:13:23.748', '19-Jan-2005 08:13:40.748'], $ ['19-Jan-2005 08:13:40.748', '19-Jan-2005 08:14:21.748'], ['19-Jan-2005 08:14:21.748', $ '19-Jan-2005 08:14:52.748'], ['19-Jan-2005 08:14:52.748', '19-Jan-2005 08:15:08.748'], $ ['19-Jan-2005 08:15:08.748', '19-Jan-2005 08:15:24.748'], ['19-Jan-2005 08:15:24.748', $ '19-Jan-2005 08:15:40.748'], ['19-Jan-2005 08:15:40.748', '19-Jan-2005 08:15:56.748'], $ ['19-Jan-2005 08:15:56.748', '19-Jan-2005 08:16:13.748'], ['19-Jan-2005 08:16:13.748', $ '19-Jan-2005 08:16:45.748'], ['19-Jan-2005 08:16:45.748', '19-Jan-2005 08:17:22.748'], $ ['19-Jan-2005 08:17:22.748', '19-Jan-2005 08:17:51.748'], ['19-Jan-2005 08:17:51.748', $ '19-Jan-2005 08:18:38.748'], ['19-Jan-2005 08:18:38.748', '19-Jan-2005 08:19:49.748'], $ ['19-Jan-2005 08:19:49.748', '19-Jan-2005 08:20:32.748'], ['19-Jan-2005 08:20:32.748', $ '19-Jan-2005 08:21:11.748'], ['19-Jan-2005 08:21:11.748', '19-Jan-2005 08:21:48.748'], $ ['19-Jan-2005 08:21:48.748', '19-Jan-2005 08:22:59.748'], ['19-Jan-2005 08:22:59.748', $ '19-Jan-2005 08:24:07.748'], ['19-Jan-2005 08:24:07.748', '19-Jan-2005 08:24:51.748'], $ ['19-Jan-2005 08:24:51.748', '19-Jan-2005 08:25:08.748'], ['19-Jan-2005 08:25:08.748', $ '19-Jan-2005 08:25:24.748'], ['19-Jan-2005 08:25:24.748', '19-Jan-2005 08:25:40.748'], $ ['19-Jan-2005 08:25:40.748', '19-Jan-2005 08:25:56.748'], ['19-Jan-2005 08:25:56.748', $ '19-Jan-2005 08:26:12.748'], ['19-Jan-2005 08:26:12.748', '19-Jan-2005 08:26:28.748'], $ ['19-Jan-2005 08:26:28.748', '19-Jan-2005 08:26:44.748'], ['19-Jan-2005 08:26:44.748', $ '19-Jan-2005 08:27:00.748'], ['19-Jan-2005 08:27:00.748', '19-Jan-2005 08:27:17.748'], $ ['19-Jan-2005 08:27:17.748', '19-Jan-2005 08:27:35.748'], ['19-Jan-2005 08:27:35.748', $ '19-Jan-2005 08:27:53.748'], ['19-Jan-2005 08:27:53.748', '19-Jan-2005 08:28:10.748'], $ ['19-Jan-2005 08:28:10.748', '19-Jan-2005 08:28:26.748'], ['19-Jan-2005 08:28:26.748', $ '19-Jan-2005 08:28:42.748'], ['19-Jan-2005 08:28:42.748', '19-Jan-2005 08:28:58.748'], $ ['19-Jan-2005 08:28:58.748', '19-Jan-2005 08:29:17.748'], ['19-Jan-2005 08:29:17.748', $ '19-Jan-2005 08:29:42.748'], ['19-Jan-2005 08:29:42.748', '19-Jan-2005 08:29:58.748'], $ ['19-Jan-2005 08:30:32.464', '19-Jan-2005 08:31:24.754'], ['19-Jan-2005 08:31:24.754', $ '19-Jan-2005 08:32:28.754'], ['19-Jan-2005 08:32:28.754', '19-Jan-2005 08:33:34.754'], $ ['19-Jan-2005 08:33:34.754', '19-Jan-2005 08:34:17.754'], ['19-Jan-2005 08:34:59.468', $ '19-Jan-2005 08:36:16.762'], ['19-Jan-2005 08:36:16.762', '19-Jan-2005 08:37:43.762'], $ ['19-Jan-2005 08:37:43.762', '19-Jan-2005 08:38:49.762'], ['19-Jan-2005 08:39:02.587', $ '19-Jan-2005 08:40:14.742'], ['19-Jan-2005 08:40:14.742', '19-Jan-2005 08:41:31.742'], $ ['19-Jan-2005 08:41:31.742', '19-Jan-2005 08:42:49.742'], ['19-Jan-2005 08:42:49.742', $ '19-Jan-2005 08:44:04.742'], ['19-Jan-2005 08:44:04.742', '19-Jan-2005 08:45:17.742'], $ ['19-Jan-2005 08:45:17.742', '19-Jan-2005 08:46:34.742'], ['19-Jan-2005 08:46:34.742', $ '19-Jan-2005 08:47:50.742'], ['19-Jan-2005 08:47:50.742', '19-Jan-2005 08:49:08.742'], $ ['19-Jan-2005 08:49:08.742', '19-Jan-2005 08:50:25.742'], ['19-Jan-2005 08:50:25.742', $ '19-Jan-2005 08:51:43.742'], ['19-Jan-2005 08:51:43.742', '19-Jan-2005 08:53:07.742'], $ ['19-Jan-2005 08:53:07.742', '19-Jan-2005 08:54:35.742'], ['19-Jan-2005 08:54:35.742', $ '19-Jan-2005 08:56:07.742'], ['19-Jan-2005 08:56:07.742', '19-Jan-2005 08:57:25.742'], $ ['19-Jan-2005 08:57:25.742', '19-Jan-2005 08:58:41.742'], ['19-Jan-2005 08:58:41.742', $ '19-Jan-2005 08:59:57.742'], ['19-Jan-2005 08:59:57.742', '19-Jan-2005 09:01:11.742'], $ ['19-Jan-2005 09:01:11.742', '19-Jan-2005 09:02:24.742']] obj-> set, use_flux_var= 0L obj-> set, use_phz_stacker= 1L obj-> set, xyoffset= [735.191, 305.669] obj-> set, im_energy_binning= [[6.00000, 12.0000], [12.0000, 25.0000], [25.0000, 50.0000], $ [50.0000, 100.000], [100.000, 300.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] 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