;+ ; hsi_image script - created Mon Oct 24 22:46:33 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_vis_cs_20050913_0041_55tx3e, obj=obj ; Note: you can set additional parameters or override parameters in script via: ; hsi_image_script_nondefault_params_vis_cs_20050913_0041_55tx3e, 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_vis_cs_20050913_0041_55tx3e. ; 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_vis_cs_20050913_0041_55tx3e ; ; 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_vis_cs_20050913_0041_55tx3e, obj=obj, _extra=_extra obj = hsi_image() ;obj-> set, $ ; vis_input_fits= '/data/rhessi_extras/visibility_fits_v2/2005/09/13/hsi_vis_20050913_0041_0143_55tx3e.fits' obj-> set, cbe_normalize= 1 obj-> set, image_algorithm= 'VIS_CS' ;obj-> set, viscomp_jpeg_plot= 1 ;obj-> set, $ ; viscomp_plot_dir= '/data/rhessi_extras/flare_images_v2/2005/09/13/20050913_0041_0145/VIS_CS/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= [['13-Sep-2005 00:41:40.200', '13-Sep-2005 00:43:11.092'], $ ['13-Sep-2005 00:43:11.092', '13-Sep-2005 00:44:41.092'], ['13-Sep-2005 00:45:05.092', $ '13-Sep-2005 00:47:05.092'], ['13-Sep-2005 00:47:05.092', '13-Sep-2005 00:49:00.092'], $ ['13-Sep-2005 00:49:00.092', '13-Sep-2005 00:50:37.092'], ['13-Sep-2005 00:50:37.092', $ '13-Sep-2005 00:51:37.092'], ['13-Sep-2005 00:51:37.092', '13-Sep-2005 00:52:37.092'], $ ['13-Sep-2005 00:52:37.092', '13-Sep-2005 00:53:37.092'], ['13-Sep-2005 00:53:37.092', $ '13-Sep-2005 00:54:37.092'], ['13-Sep-2005 00:54:37.092', '13-Sep-2005 00:55:37.092'], $ ['13-Sep-2005 00:56:17.872', '13-Sep-2005 00:57:18.098'], ['13-Sep-2005 00:57:18.098', $ '13-Sep-2005 00:58:18.098'], ['13-Sep-2005 00:58:18.098', '13-Sep-2005 00:59:18.098'], $ ['13-Sep-2005 00:59:18.098', '13-Sep-2005 01:00:18.098'], ['13-Sep-2005 01:01:04.939', $ '13-Sep-2005 01:03:04.120'], ['13-Sep-2005 01:03:04.120', '13-Sep-2005 01:04:09.120'], $ ['13-Sep-2005 01:04:09.120', '13-Sep-2005 01:04:32.120'], ['13-Sep-2005 01:04:32.120', $ '13-Sep-2005 01:05:01.120'], ['13-Sep-2005 01:05:01.120', '13-Sep-2005 01:05:43.120'], $ ['13-Sep-2005 01:05:43.120', '13-Sep-2005 01:06:06.120'], ['13-Sep-2005 01:06:06.120', $ '13-Sep-2005 01:06:29.120'], ['13-Sep-2005 01:06:29.120', '13-Sep-2005 01:07:00.120'], $ ['13-Sep-2005 01:07:00.120', '13-Sep-2005 01:07:25.120'], ['13-Sep-2005 01:07:25.120', $ '13-Sep-2005 01:07:46.120'], ['13-Sep-2005 01:07:46.120', '13-Sep-2005 01:08:06.120'], $ ['13-Sep-2005 01:08:06.120', '13-Sep-2005 01:08:26.120'], ['13-Sep-2005 01:08:26.120', $ '13-Sep-2005 01:08:48.120'], ['13-Sep-2005 01:08:48.120', '13-Sep-2005 01:09:10.120'], $ ['13-Sep-2005 01:09:10.120', '13-Sep-2005 01:09:35.120'], ['13-Sep-2005 01:09:35.120', $ '13-Sep-2005 01:10:05.120'], ['13-Sep-2005 01:10:05.120', '13-Sep-2005 01:10:45.120'], $ ['13-Sep-2005 01:10:45.120', '13-Sep-2005 01:11:30.120'], ['13-Sep-2005 01:11:30.120', $ '13-Sep-2005 01:12:39.120'], ['13-Sep-2005 01:12:39.120', '13-Sep-2005 01:14:09.120'], $ ['13-Sep-2005 01:14:09.120', '13-Sep-2005 01:15:39.120'], ['13-Sep-2005 01:15:39.120', $ '13-Sep-2005 01:17:09.120'], ['13-Sep-2005 01:17:27.807', '13-Sep-2005 01:18:28.800'], $ ['13-Sep-2005 01:18:28.800', '13-Sep-2005 01:19:28.800'], ['13-Sep-2005 01:19:28.800', $ '13-Sep-2005 01:20:28.800'], ['13-Sep-2005 01:20:28.800', '13-Sep-2005 01:21:28.800'], $ ['13-Sep-2005 01:21:28.800', '13-Sep-2005 01:22:28.800'], ['13-Sep-2005 01:22:28.800', $ '13-Sep-2005 01:23:50.800'], ['13-Sep-2005 01:23:50.800', '13-Sep-2005 01:25:35.800'], $ ['13-Sep-2005 01:25:35.800', '13-Sep-2005 01:27:32.800'], ['13-Sep-2005 01:27:32.800', $ '13-Sep-2005 01:28:43.800'], ['13-Sep-2005 01:28:43.800', '13-Sep-2005 01:30:13.800'], $ ['13-Sep-2005 01:30:13.800', '13-Sep-2005 01:31:43.800'], ['13-Sep-2005 01:31:43.800', $ '13-Sep-2005 01:33:13.800'], ['13-Sep-2005 01:33:13.800', '13-Sep-2005 01:34:43.800'], $ ['13-Sep-2005 01:34:43.800', '13-Sep-2005 01:36:13.800'], ['13-Sep-2005 01:36:13.800', $ '13-Sep-2005 01:37:43.800'], ['13-Sep-2005 01:37:43.800', '13-Sep-2005 01:39:13.800'], $ ['13-Sep-2005 01:39:13.800', '13-Sep-2005 01:40:43.800'], ['13-Sep-2005 01:40:43.800', $ '13-Sep-2005 01:42:13.800'], ['13-Sep-2005 01:42:13.800', '13-Sep-2005 01:43:43.800']] obj-> set, use_flux_var= 0L obj-> set, use_phz_stacker= 1L obj-> set, xyoffset= [-283.109, -321.675] 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, 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