infile,s,a,"",,,"Input @par.lis of header params or 1 qpoe_evt1a.par" outfile,s,a,"",,,"Output @reg.lis of reg file names or 1 qpoe_evt1a.reg" input_pos_tab,s,a,"",,,"Input @table.lis of 0 order positions or 1 table_src1a.fits" input_psf_tab,s,h,"./RefData/psf_fwhm.fits",,,"Calib .tab file with mirror psf vs off-axis angle" grating_par,s,h,"grating",,,"Name of grating constants parameter file" grating_obs,s,a,"HETG",,,"Observed grating type (HETG|HEG|MEG|LETG)" detector,s,h,"ACIS",,,"Detector type: ACIS | HRC-I | HRC-S " radius_factor_zero,r,h,50,,,"A scale factor which multiplies the app. calculation of the one-sigma zero order radius" width_factor_arms,r,h,20,,,"A scale factor which multiplies the app. one-sigma width of the region in the cross-dispersion direction" r_astig_max_hetg,r,h,0.56,,,"Max grating r coord (deg, along the dispersion) for HETG astigmatism calc" r_astig_max_letg,r,h,1.10,,,"Max grating r coord (deg, along the dispersion) for LETG astigmatism calc" r_mask_max_hetg,r,h,0.992,,,"Max grating r coord (deg) for HETG mask (to support offset pointing)" r_mask_max_letg,r,h,2.1,,,"Max grating r coordinate (deg) for LETG mask (to support offset pointing)" display,i,h,1,0,5,"Display level: 0 - no output, 5 - max display" # -------------------------------------------------------------------------- # The parameters below are to be set ONLY if the user wants to use their # own grating mask sizes instead of having the masks automatically generated. # Only ONE input file, with up to 10 soures, can be processed using the user # params. @ lists of multiple files can only be done with automated mask, # or by running each file individually with hand set mask sizes. To start, # you MUST set the following parameters: # # > pset tg_create_mask use_user_pars=yes max_source_num=# # # The parameter max_source_num should be set to the largest source ID number # for which you will enter parameters. If you have 2 sources with src_id's # of 2 and 6, respectively, the max_source_num=6, in this case. Each user # parameter name below is preceded with a source number, fill out only # those parameters which correspond to your src_id's. # Each source must have a zero order center position specified as well as # the grating mask width(s). An example with 1 HETG sources, with src_id=3: # # > pset tg_create_mask s3_zero_x=4762.34 s3_zero_y=2344.29 s3_zero_rad=35 # > pset tg_create_mask s3_width_heg=25 s3_width_meg=28 # (units are all in sky pixels) # -------------------------------------------------------------------------- use_user_pars,b,h,no,,,"Use the mask parameters below: yes or no?" max_source_num,i,h,1,1,10,"Maximum source id number for which to read params" # -------------------------------------------------------------------------- # Source ID #1 parameters # -------------------------------------------------------------------------- s1_zero_x,r,h,,,,"Source 1 - x position of zero order" s1_zero_y,r,h,,,,"Source 1 - y position of zero order" s1_zero_rad,i,h,,,,"Source 1 - radius of zero order mask" s1_width_heg,i,h,,,,"Source 1 - width of heg mask in sky pixels" s1_width_meg,i,h,,,,"Source 1 - width of meg mask in sky pixels" s1_width_leg,i,h,,,,"Source 1 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #2 parameters # -------------------------------------------------------------------------- s2_zero_x,r,h,,,,"Source 2 - x position of zero order" s2_zero_y,r,h,,,,"Source 2 - y position of zero order" s2_zero_rad,i,h,,,,"Source 2 - radius of zero order mask" s2_width_heg,i,h,,,,"Source 2 - width of heg mask in sky pixels" s2_width_meg,i,h,,,,"Source 2 - width of meg mask in sky pixels" s2_width_leg,i,h,,,,"Source 2 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #3 parameters # -------------------------------------------------------------------------- s3_zero_x,r,h,,,,"Source 3 - x position of zero order" s3_zero_y,r,h,,,,"Source 3 - y position of zero order" s3_zero_rad,i,h,,,,"Source 3 - radius of zero order mask" s3_width_heg,i,h,,,,"Source 3 - width of heg mask in sky pixels" s3_width_meg,i,h,,,,"Source 3 - width of meg mask in sky pixels" s3_width_leg,i,h,,,,"Source 3 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #4 parameters # -------------------------------------------------------------------------- s4_zero_x,r,h,,,,"Source 4 - x position of zero order" s4_zero_y,r,h,,,,"Source 4 - y position of zero order" s4_zero_rad,i,h,,,,"Source 4 - radius of zero order mask" s4_width_heg,i,h,,,,"Source 4 - width of heg mask in sky pixels" s4_width_meg,i,h,,,,"Source 4 - width of meg mask in sky pixels" s4_width_leg,i,h,,,,"Source 4 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #5 parameters # -------------------------------------------------------------------------- s5_zero_x,r,h,,,,"Source 5 - x position of zero order" s5_zero_y,r,h,,,,"Source 5 - y position of zero order" s5_zero_rad,i,h,,,,"Source 5 - radius of zero order mask" s5_width_heg,i,h,,,,"Source 5 - width of heg mask in sky pixels" s5_width_meg,i,h,,,,"Source 5 - width of meg mask in sky pixels" s5_width_leg,i,h,,,,"Source 5 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #6 parameters # -------------------------------------------------------------------------- s6_zero_x,r,h,,,,"Source 6 - x position of zero order" s6_zero_y,r,h,,,,"Source 6 - y position of zero order" s6_zero_rad,i,h,,,,"Source 6 - radius of zero order mask" s6_width_heg,i,h,,,,"Source 6 - width of heg mask in sky pixels" s6_width_meg,i,h,,,,"Source 6 - width of meg mask in sky pixels" s6_width_leg,i,h,,,,"Source 6 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #7 parameters # -------------------------------------------------------------------------- s7_zero_x,r,h,,,,"Source 7 - x position of zero order" s7_zero_y,r,h,,,,"Source 7 - y position of zero order" s7_zero_rad,i,h,,,,"Source 7 - radius of zero order mask" s7_width_heg,i,h,,,,"Source 7 - width of heg mask in sky pixels" s7_width_meg,i,h,,,,"Source 7 - width of meg mask in sky pixels" s7_width_leg,i,h,,,,"Source 7 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #8 parameters # -------------------------------------------------------------------------- s8_zero_x,r,h,,,,"Source 8 - x position of zero order" s8_zero_y,r,h,,,,"Source 8 - y position of zero order" s8_zero_rad,i,h,,,,"Source 8 - radius of zero order mask" s8_width_heg,i,h,,,,"Source 8 - width of heg mask in sky pixels" s8_width_meg,i,h,,,,"Source 8 - width of meg mask in sky pixels" s8_width_leg,i,h,,,,"Source 8 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #9 parameters # -------------------------------------------------------------------------- s9_zero_x,r,h,,,,"Source 9 - x position of zero order" s9_zero_y,r,h,,,,"Source 9 - y position of zero order" s9_zero_rad,i,h,,,,"Source 9 - radius of zero order mask" s9_width_heg,i,h,,,,"Source 9 - width of heg mask in sky pixels" s9_width_meg,i,h,,,,"Source 9 - width of meg mask in sky pixels" s9_width_leg,i,h,,,,"Source 9 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Source ID #10 parameters # -------------------------------------------------------------------------- s10_zero_x,r,h,,,,"Source 10 - x position of zero order" s10_zero_y,r,h,,,,"Source 10 - y position of zero order" s10_zero_rad,i,h,,,,"Source 10 - radius of zero order mask" s10_width_heg,i,h,,,,"Source 10 - width of heg mask in sky pixels" s10_width_meg,i,h,,,,"Source 10 - width of meg mask in sky pixels" s10_width_leg,i,h,,,,"Source 10 - width of leg mask in sky pixels" # -------------------------------------------------------------------------- # Drake Flat Parameters - TBD # -------------------------------------------------------------------------- s1_drk1_x,r,h,,,,"Source 1 - x pos of drk1 mask in sky pix coord" s1_drk1_y,r,h,,,,"Source 1 - y pos of drk1 mask in sky pix coord" s1_width_drk1,i,h,,,,"Source 1 - width of drk1 mask in sky pixels" s1_length_drk1,i,h,,,,"Source 1 - length of drk1 mask in sky pixels" s1_angle_drk1,r,h,,,,"Source 1 - angle of drk1 mask in sky degrees" s1_drk2_x,r,h,,,,"Source 1 - x pos of drk2 mask in sky pix coord" s1_drk2_y,r,h,,,,"Source 1 - y pos of drk2 mask in sky pix coord" s1_width_drk2,i,h,,,,"Source 1 - width of drk2 mask in sky pixels" s1_length_drk2,i,h,,,,"Source 1 - length of drk2 mask in sky pixels" s1_angle_drk2,r,h,,,,"Source 1 - angle of drk2 mask in sky degrees" s1_drk3_x,r,h,,,,"Source 1 - x pos of drk3 mask in sky pix coord" s1_drk3_y,r,h,,,,"Source 1 - y pos of drk3 mask in sky pix coord" s1_width_drk3,i,h,,,,"Source 1 - width of drk3 mask in sky pixels" s1_length_drk3,i,h,,,,"Source 1 - length of drk3 mask in sky pixels" s1_angle_drk3,r,h,,,,"Source 1 - angle of drk3 mask in sky degrees" s1_drk4_x,r,h,,,,"Source 1 - x pos of drk4 mask in sky pix coord" s1_drk4_y,r,h,,,,"Source 1 - y pos of drk4 mask in sky pix coord" s1_width_drk4,i,h,,,,"Source 1 - width of drk4 mask in sky pixels" s1_length_drk4,i,h,,,,"Source 1 - length of drk4 mask in sky pixels" s1_angle_drk4,r,h,,,,"Source 1 - angle of drk4 mask in sky degrees" mode,s,h,"ql",,,