;+ ; hsi_image script - created Tue Oct 11 12:22:01 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_vf_20050115_1724_48tx3e, obj=obj ; Note: you can set additional parameters or override parameters in script via: ; hsi_image_script_nondefault_params_vf_20050115_1724_48tx3e, 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_vf_20050115_1724_48tx3e. ; 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_vf_20050115_1724_48tx3e ; ; 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_vf_20050115_1724_48tx3e, obj=obj, _extra=_extra obj = hsi_image() ;obj-> set, $ ; vis_input_fits= '/data/rhessi_extras/visibility_fits_v2/2005/01/15/hsi_vis_20050115_1725_1836_48tx3e.fits' obj-> set, cbe_normalize= 1 obj-> set, image_algorithm= 'VIS_FWDFIT' ;obj-> set, viscomp_jpeg_plot= 1 ;obj-> set, $ ; viscomp_plot_dir= '/data/rhessi_extras/flare_images_v2/2005/01/15/20050115_1724_1836/VIS_FWDFIT/viscomp' ;obj-> set, snr_chk= 1 obj-> set, mpat_coord= 'CART' obj-> set, image_dim= [101, 101] obj-> set, pixel_size= [1.50000, 1.50000] obj-> set, im_time_interval= [['15-Jan-2005 17:25:02.509', '15-Jan-2005 17:26:32.771'], $ ['15-Jan-2005 17:26:32.771', '15-Jan-2005 17:28:02.771'], ['15-Jan-2005 17:28:02.771', $ '15-Jan-2005 17:29:32.771'], ['15-Jan-2005 17:29:32.771', '15-Jan-2005 17:31:02.771'], $ ['15-Jan-2005 17:31:02.771', '15-Jan-2005 17:32:32.771'], ['15-Jan-2005 17:32:32.771', $ '15-Jan-2005 17:34:02.771'], ['15-Jan-2005 17:34:02.771', '15-Jan-2005 17:35:32.771'], $ ['15-Jan-2005 17:35:32.771', '15-Jan-2005 17:37:02.771'], ['15-Jan-2005 17:37:02.771', $ '15-Jan-2005 17:38:32.771'], ['15-Jan-2005 17:38:32.771', '15-Jan-2005 17:40:02.771'], $ ['15-Jan-2005 17:41:20.771', '15-Jan-2005 17:43:20.771'], ['15-Jan-2005 17:43:20.771', $ '15-Jan-2005 17:44:20.771'], ['15-Jan-2005 17:44:20.771', '15-Jan-2005 17:45:50.771'], $ ['15-Jan-2005 17:45:50.771', '15-Jan-2005 17:47:20.771'], ['15-Jan-2005 17:48:10.771', $ '15-Jan-2005 17:50:10.771'], ['15-Jan-2005 17:50:10.771', '15-Jan-2005 17:51:10.771'], $ ['15-Jan-2005 17:51:50.575', '15-Jan-2005 17:52:50.842'], ['15-Jan-2005 17:52:50.842', $ '15-Jan-2005 17:54:20.842'], ['15-Jan-2005 17:54:20.842', '15-Jan-2005 17:56:00.842'], $ ['15-Jan-2005 17:56:25.558', '15-Jan-2005 17:57:25.756'], ['15-Jan-2005 17:57:25.756', $ '15-Jan-2005 17:58:25.756'], ['15-Jan-2005 17:58:25.756', '15-Jan-2005 17:59:25.756'], $ ['15-Jan-2005 17:59:58.627', '15-Jan-2005 18:01:12.752'], ['15-Jan-2005 18:01:12.752', $ '15-Jan-2005 18:02:01.752'], ['15-Jan-2005 18:02:01.752', '15-Jan-2005 18:02:47.752'], $ ['15-Jan-2005 18:02:47.752', '15-Jan-2005 18:03:44.752'], ['15-Jan-2005 18:03:44.752', $ '15-Jan-2005 18:05:19.752'], ['15-Jan-2005 18:05:23.752', '15-Jan-2005 18:07:23.752'], $ ['15-Jan-2005 18:07:23.752', '15-Jan-2005 18:08:45.752'], ['15-Jan-2005 18:08:45.752', $ '15-Jan-2005 18:10:28.752'], ['15-Jan-2005 18:11:00.529', '15-Jan-2005 18:12:00.757'], $ ['15-Jan-2005 18:12:00.757', '15-Jan-2005 18:13:22.757'], ['15-Jan-2005 18:13:22.757', $ '15-Jan-2005 18:14:22.757'], ['15-Jan-2005 18:14:22.757', '15-Jan-2005 18:15:22.757'], $ ['15-Jan-2005 18:16:41.606', '15-Jan-2005 18:17:41.759'], ['15-Jan-2005 18:17:41.759', $ '15-Jan-2005 18:18:42.759'], ['15-Jan-2005 18:18:42.759', '15-Jan-2005 18:19:42.759'], $ ['15-Jan-2005 18:21:08.547', '15-Jan-2005 18:22:08.754'], ['15-Jan-2005 18:22:08.754', $ '15-Jan-2005 18:23:08.754'], ['15-Jan-2005 18:23:08.754', '15-Jan-2005 18:25:07.754'], $ ['15-Jan-2005 18:25:10.468', '15-Jan-2005 18:26:10.800'], ['15-Jan-2005 18:26:10.800', $ '15-Jan-2005 18:27:10.800'], ['15-Jan-2005 18:27:10.800', '15-Jan-2005 18:28:10.800'], $ ['15-Jan-2005 18:28:10.800', '15-Jan-2005 18:30:02.800'], ['15-Jan-2005 18:30:02.800', $ '15-Jan-2005 18:31:32.800'], ['15-Jan-2005 18:31:32.800', '15-Jan-2005 18:33:02.800'], $ ['15-Jan-2005 18:33:02.800', '15-Jan-2005 18:34:32.800'], ['15-Jan-2005 18:34:32.800', $ '15-Jan-2005 18:36:02.800']] obj-> set, use_flux_var= 0L obj-> set, use_phz_stacker= 1L obj-> set, xyoffset= [13.0911, 303.442] 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, 8.00000, 16.0000, 32.0000, $ 64.0000, 128.000] 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: 13.0911, $ SRCY: 303.442, $ 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, vf_noplotfit= 1 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