;+ ; hsi_image script - created Sat Oct 8 19:32:27 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_20031022_0530_56tx3e, obj=obj ; Note: you can set additional parameters or override parameters in script via: ; hsi_image_script_nondefault_params_bproj_image_20031022_0530_56tx3e, 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_20031022_0530_56tx3e. ; 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_20031022_0530_56tx3e ; ; 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_20031022_0530_56tx3e, 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/2003/10/22/hsi_vis_20031022_0530_0629_56tx3e.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= [['22-Oct-2003 05:30:36.200', '22-Oct-2003 05:31:36.503'], $ ['22-Oct-2003 05:31:36.503', '22-Oct-2003 05:32:36.503'], ['22-Oct-2003 05:32:36.503', $ '22-Oct-2003 05:33:36.503'], ['22-Oct-2003 05:33:36.503', '22-Oct-2003 05:34:36.503'], $ ['22-Oct-2003 05:35:11.282', '22-Oct-2003 05:36:11.507'], ['22-Oct-2003 05:36:11.507', $ '22-Oct-2003 05:37:11.507'], ['22-Oct-2003 05:37:11.507', '22-Oct-2003 05:38:11.507'], $ ['22-Oct-2003 05:38:11.507', '22-Oct-2003 05:39:11.507'], ['22-Oct-2003 05:40:04.301', $ '22-Oct-2003 05:41:04.505'], ['22-Oct-2003 05:41:04.505', '22-Oct-2003 05:42:04.505'], $ ['22-Oct-2003 05:42:04.505', '22-Oct-2003 05:43:04.505'], ['22-Oct-2003 05:43:04.505', $ '22-Oct-2003 05:44:04.505'], ['22-Oct-2003 05:44:41.294', '22-Oct-2003 05:45:41.505'], $ ['22-Oct-2003 05:45:41.505', '22-Oct-2003 05:46:41.505'], ['22-Oct-2003 05:46:41.505', $ '22-Oct-2003 05:47:41.505'], ['22-Oct-2003 05:47:41.505', '22-Oct-2003 05:48:41.505'], $ ['22-Oct-2003 05:49:13.330', '22-Oct-2003 05:50:13.502'], ['22-Oct-2003 05:50:13.502', $ '22-Oct-2003 05:51:13.502'], ['22-Oct-2003 05:51:13.502', '22-Oct-2003 05:52:13.502'], $ ['22-Oct-2003 05:53:40.382', '22-Oct-2003 05:54:40.501'], ['22-Oct-2003 05:54:40.501', $ '22-Oct-2003 05:55:40.501'], ['22-Oct-2003 05:55:40.501', '22-Oct-2003 05:56:40.501'], $ ['22-Oct-2003 05:56:40.501', '22-Oct-2003 05:57:40.501'], ['22-Oct-2003 05:57:40.501', $ '22-Oct-2003 05:58:40.501'], ['22-Oct-2003 05:58:40.501', '22-Oct-2003 05:59:40.501'], $ ['22-Oct-2003 05:59:40.501', '22-Oct-2003 06:00:40.501'], ['22-Oct-2003 06:00:40.501', $ '22-Oct-2003 06:01:40.501'], ['22-Oct-2003 06:01:40.501', '22-Oct-2003 06:02:40.501'], $ ['22-Oct-2003 06:03:33.501', '22-Oct-2003 06:05:33.501'], ['22-Oct-2003 06:05:33.501', $ '22-Oct-2003 06:06:43.501'], ['22-Oct-2003 06:06:43.501', '22-Oct-2003 06:07:20.501'], $ ['22-Oct-2003 06:07:20.501', '22-Oct-2003 06:07:51.501'], ['22-Oct-2003 06:07:51.501', $ '22-Oct-2003 06:08:22.501'], ['22-Oct-2003 06:08:22.501', '22-Oct-2003 06:08:59.501'], $ ['22-Oct-2003 06:08:59.501', '22-Oct-2003 06:09:34.501'], ['22-Oct-2003 06:09:34.501', $ '22-Oct-2003 06:10:04.501'], ['22-Oct-2003 06:10:04.501', '22-Oct-2003 06:10:30.501'], $ ['22-Oct-2003 06:10:30.501', '22-Oct-2003 06:10:57.501'], ['22-Oct-2003 06:10:57.501', $ '22-Oct-2003 06:11:36.501'], ['22-Oct-2003 06:11:36.501', '22-Oct-2003 06:12:53.501'], $ ['22-Oct-2003 06:12:53.501', '22-Oct-2003 06:13:53.501'], ['22-Oct-2003 06:13:53.501', $ '22-Oct-2003 06:14:53.501'], ['22-Oct-2003 06:14:53.501', '22-Oct-2003 06:15:53.501'], $ ['22-Oct-2003 06:15:53.501', '22-Oct-2003 06:16:53.501'], ['22-Oct-2003 06:16:53.501', $ '22-Oct-2003 06:17:53.501'], ['22-Oct-2003 06:17:53.501', '22-Oct-2003 06:18:53.501'], $ ['22-Oct-2003 06:18:53.501', '22-Oct-2003 06:19:53.501'], ['22-Oct-2003 06:19:53.501', $ '22-Oct-2003 06:20:53.501'], ['22-Oct-2003 06:20:53.501', '22-Oct-2003 06:21:53.501'], $ ['22-Oct-2003 06:21:53.501', '22-Oct-2003 06:22:53.501'], ['22-Oct-2003 06:22:53.501', $ '22-Oct-2003 06:23:53.501'], ['22-Oct-2003 06:23:53.501', '22-Oct-2003 06:24:53.501'], $ ['22-Oct-2003 06:25:29.385', '22-Oct-2003 06:26:29.504'], ['22-Oct-2003 06:26:29.504', $ '22-Oct-2003 06:27:29.504'], ['22-Oct-2003 06:27:29.504', '22-Oct-2003 06:28:29.504'], $ ['22-Oct-2003 06:28:29.504', '22-Oct-2003 06:29:29.504']] obj-> set, use_flux_var= 0L obj-> set, use_phz_stacker= 1L obj-> set, xyoffset= [-343.676, 19.1580] 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, 2.00000, 4.00000, 8.00000, 16.0000, 16.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