Working with aXeSIM frequently requires modifying or creating ASCII tables in the SEXtractor catalogue format. The python module AstroAsciiData (distributed at: http://www.stecf.org/software/PYTHONtools/astroasciidata/) is very convenient to do this interactively or within small python scripts.
| instrument: | WFC3/IR G102 |
| # of objects: | 1 |
| object spectrum: | defined by one magnitude value |
| object brightness: | defined by one magnitude value |
| flux normalization: | not required |
| object shape | Gaussian |
| default extraction | YES |
example_1>ls -R .: CONF DATA OUTPUT OUTSIM ./CONF: wfc3_abscal_IRg102_0th_sens.fits wfc3_abscal_IRg102_2nd_sens.fits wfc3_abscal_IRg102_1st_sens.fits WFC3.IR.G102.TV2_sim.conf ./DATA: example_1_MOT.dat ./OUTPUT: ./OUTSIM: example_1>setenv AXE_IMAGE_PATH ./DATA example_1>setenv AXE_OUTPUT_PATH ./OUTPUT example_1>setenv AXE_CONFIG_PATH ./CONF example_1>setenv AXE_OUTSIM_PATH ./OUTSIM
# 1 NUMBER # 2 X_IMAGE # 3 Y_IMAGE # 4 A_IMAGE # 5 B_IMAGE # 6 THETA_IMAGE # 7 MAG_F1248W 1 512.0 512.0 2.0 1.0 30.5 19.5
--> simdata incat='example_1_MOT.dat' config='WFC3.IR.G102.TV2_sim.conf' extraction='YES'
|
example_1>ls -R .: CONF DATA OUTPUT OUTSIM ./CONF: wfc3_abscal_IRg102_0th_sens.fits wfc3_abscal_IRg102_2nd_sens.fits WFC3.IR.G102.TV2_sim.conf.simul wfc3_abscal_IRg102_1st_sens.fits WFC3.IR.G102.TV2_sim.conf ./DATA: example_1_MOT.dat ./OUTPUT: ./OUTSIM: example_1_MOT_slitless_2.SPC.fits example_1_MOT_slitless_2.STP.fits example_1_MOT_slitless.fits
| instrument: | WFC3/IR G102 |
| # of objects: | 1 |
| object spectrum: | spectral energy distribution defined by several magnitude values |
| object brightness: | defined by several magnitude values |
| flux normalization: | not required |
| object shape | template image |
| default extraction | YES |
| direct image | YES, filter: wfc3_ir_f105w_tpass_m01.dat |
~>ls -R .: CONF DATA OUTPUT OUTSIM SIMDATA template_images.lis ./CONF: wfc3_abscal_IRg102_0th_sens.fits wfc3_abscal_IRg102_2nd_sens.fits wfc3_abscal_IRg102_1st_sens.fits WFC3.IR.G102.TV2_sim.conf ./DATA: example_2_MOT.dat ./OUTPUT: ./OUTSIM: ./SIMDATA: spiral_1.fits wfc3_ir_f105w_tpass_m01.dat WFC3_IR_1400nm_psf.fits WFC3_UVIS_350nm_psf.fits WFC3_IR_950nm_psf.fits ~>setenv AXE_IMAGE_PATH ./DATA ~>setenv AXE_OUTPUT_PATH ./OUTPUT ~>setenv AXE_CONFIG_PATH ./CONF ~>setenv AXE_SIMDATA_PATH ./SIMDATA ~>setenv AXE_OUTSIM_PATH ./OUTSIM
# 1 NUMBER # 2 X_IMAGE # 3 Y_IMAGE # 4 A_IMAGE # 5 B_IMAGE # 6 THETA_IMAGE # 7 MAG_F432W # 8 MAG_F592W # 9 MAG_F769W # 10 MAG_F906W # 11 MAG_F1123W # 12 MAG_F1603W # 13 MODIMAGE 269 312.0 512.0 8.0 8.0 90.0 22.984 22.163 21.890 21.807 22.027 21.788 4
~> more template_images.lis WFC3_IR_1400nm_psf.fits WFC3_IR_950nm_psf.fits WFC3_UVIS_350nm_psf.fits spiral_1.fits
--> simdata incat='example_2_MOT.dat' config='WFC3.IR.G102.TV2_sim.conf' inlist_ima='template_images.lis' tpass_direct='wfc3_ir_f105w_tpass_m01.dat'
|
~> ls -R .: CONF DATA gaga.txt OUTPUT OUTSIM SIMDATA template_images.lis ./CONF: wfc3_abscal_IRg102_0th_sens.fits WFC3.IR.G102.TV2_sim.conf wfc3_abscal_IRg102_1st_sens.fits WFC3.IR.G102.TV2_sim.conf.simul wfc3_abscal_IRg102_2nd_sens.fits ./DATA: example_2_MOT.dat template_images.fits ./OUTPUT: ./OUTSIM: example_2_MOT_direct.fits example_2_MOT_slitless.fits example_2_MOT_slitless_2.SPC.fits template_images.fits example_2_MOT_slitless_2.STP.fits ./SIMDATA: spiral_1.fits wfc3_ir_f105w_tpass_m01.dat WFC3_IR_1400nm_psf.fits wfc3_ir_f105w_tpass_m01.fits WFC3_IR_950nm_psf.fits WFC3_UVIS_350nm_psf.fits
|
In total, the results comprise:
The Model Images template_images.fits is a multi-extension fits image which contains all template images listed in template_images.lis and replicates user input. aXeSIM needs the template images in this compact form and generates this file, hence it is considered as part of the result.
Figure 3.3 shows a comparison of the input spectrum and the default extracted spectrum in the left panel and the image template in the right panel. The input spectral energy distribution is defined by the AB-magnitudes and a linear interpolation in between the values.
| instrument: | WFC3/IR G102 |
| # of objects: | 6 |
| object spectrum: | high resolution spectra at different redshift |
| object brightness: | defined at 11#11 |
| flux normalization: | in 12#12 |
| object shape | template image |
| default extraction | YES |
| direct image | YES, filter: wfc3_ir_f110w_tpass_m01.dat |
example_3> ls -R .: CONF DATA OUTPUT OUTSIM SIMDATA template_images.lis template_spectra.lis ./CONF: wfc3_abscal_IRg102_0th_sens.fits WFC3.IR.G102.TV2_sim.conf wfc3_abscal_IRg102_1st_sens.fits wfc3_abscal_IRg102_2nd_sens.fits ./DATA: example_3_MOT.dat ./OUTPUT: ./OUTSIM: ./SIMDATA: s0_template.fits WFC3_IR_1400nm_big_psf.fits wfc3_ir_f105w_tpass_m01.dat starb1_template.fits WFC3_IR_1400nm_psf.fits wfc3_ir_f110w_tpass_m01.dat starb2_template.fits WFC3_IR_950nm_big_psf.fits WFC3_UVIS_350nm_psf.fits starb3_template.fits WFC3_IR_950nm_psf.fits example_3>setenv AXE_IMAGE_PATH ./DATA example_3>setenv AXE_OUTPUT_PATH ./OUTPUT example_3>setenv AXE_CONFIG_PATH ./CONF example_3>setenv AXE_OUTSIM_PATH ./OUTSIM example_3>setenv AXE_SIMDATA_PATH ./SIMDATA
# 1 NUMBER
# 2 X_IMAGE
# 3 Y_IMAGE
# 4 A_IMAGE
# 5 B_IMAGE
# 6 THETA_IMAGE
# 7 MAG_F1155W
# 8 SPECTEMP
# 9 Z
# 10 MODIMAGE
1 500.0 100.0 1.5 1.5 90.0 20.0 3 0.5 3
2 500.0 120.0 1.5 1.5 90.0 20.0 3 0.7 3
3 500.0 140.0 1.5 1.5 90.0 20.0 3 0.9 3
4 500.0 160.0 1.5 1.5 90.0 20.0 3 1.1 3
5 500.0 180.0 1.5 1.5 90.0 20.0 3 1.3 3
6 500.0 200.0 1.5 1.5 90.0 20.0 3 1.5 3
~> more template_images.lis WFC3_IR_1400nm_big_psf.fits WFC3_IR_1400nm_psf.fits WFC3_IR_950nm_big_psf.fits WFC3_IR_950nm_psf.fits WFC3_UVIS_350nm_psf.fits
~> more template_spectra.lis s0_template.fits starb1_template.fits starb2_template.fits starb3_template.fits
--> simdata incat='example_3_MOT.dat' config='WFC3.IR.G102.TV2_sim.conf' utput_root='StarBurst' inlist_spec='template_spectra.lis' tpass_flux='1040,1060' inlist_ima='template_images.lis' exptime_disp=2000.0 bck_flux_disp=1.0 tpass_direct='wfc3_ir_f110w_tpass_m01.dat' exptime_dir=100.0 bck_flux_dir=0.5
~> ls -R .: CONF DATA OUTPUT OUTSIM SIMDATA template_images.lis template_spectra.lis ./CONF: wfc3_abscal_IRg102_0th_sens.fits WFC3.IR.G102.TV2_sim.conf wfc3_abscal_IRg102_1st_sens.fits WFC3.IR.G102.TV2_sim.conf.simul wfc3_abscal_IRg102_2nd_sens.fits ./DATA: example_3_MOT.dat StarBurst_images.fits StarBurst_spectra.fits ./OUTPUT: ./OUTSIM: StarBurst_direct.fits StarBurst_slitless_2.SPC.fits StarBurst_slitless.fits StarBurst_images.fits StarBurst_slitless_2.STP.fits StarBurst_spectra.fits ./SIMDATA: s0_template.fits WFC3_IR_1400nm_big_psf.fits wfc3_ir_f105w_tpass_m01.dat starb1_template.fits WFC3_IR_1400nm_psf.fits wfc3_ir_f110w_tpass_m01.dat starb2_template.fits WFC3_IR_950nm_big_psf.fits wfc3_ir_f110w_tpass_m01.fits starb3_template.fits WFC3_IR_950nm_psf.fits WFC3_UVIS_350nm_psf.fits
|
Figure 3.4 shows the direct image and the slitless image in the left and right panel, respectively. As the redshift increases from bottom to top, the emission lines are shifted to longer wavelengths (to the right).
In total, the results comprise:
All results start with the string given in the simdata parameter output_root. Before simulating the direct and slitless images, the template spectra are shifted in redshift and in flux. These spectra are stored in the Model Spectra file StarBurst_spectra.fits. The column MODSPEC, which simdata appends to the Model Object Table, contains for each object the corresponding extension in the Model Spectra file.
Figure 3.5 shows a comparison between the default extracted spectra from StarBurst_slitless_2.SPC.fits and their corresponding extension in StarBurst_spectra.fits for all objects in this example. The blue, dashed line marks the template, and the red, solid line the extracted spectrum. The green point marks the wavelength and normalization flux value, the black bar indicates the wavelength interval used for the flux normalization.
|
| instrument: | WFC3/IR G141 |
| # of objects: | 14 |
| object spectrum: | high resolution spectra and spectral energy distributions |
| object brightness: | defined at 11#11 |
| flux normalization: | filter: wfc3_ir_f105w_tpass_m01.dat |
| object shape | template images and Gaussian shapes |
| default extraction | YES |
| direct image | YES, filter: wfc3_ir_f105w_tpass_m01.dat |
example_4>ls -R .: CONF DATA OUTPUT OUTSIM SIMDATA template_images.lis template_spectra.lis ./CONF: wfc3_abscal_IRg141_0th_sens.fits wfc3_abscal_IRg141_3rd_sens.fits wfc3_abscal_IRg141_1st_sens.fits WFC3.IR.G141.TV2_sim.conf wfc3_abscal_IRg141_2nd_sens.fits ./DATA: example_4_MOT.dat ./OUTPUT: ./OUTSIM: ObjMix_direct.fits ObjMix_slitless_2.SPC.fits ObjMix_slitless.fits ObjMix_images.fits ObjMix_slitless_2.STP.fits ObjMix_spectra.fits ./SIMDATA: Mann_E.dat starb3_template.fits WFC3_IR_950nm_psf.fits Mann_S0.dat WFC3_IR_1400nm_big_psf.fits wfc3_ir_f105w_tpass_m01.dat starb1_template.fits WFC3_IR_1400nm_psf.fits wfc3_ir_f110w_tpass_m01.dat starb2_template.fits WFC3_IR_950nm_big_psf.fits WFC3_UVIS_350nm_psf.fits example_4>setenv AXE_IMAGE_PATH ./DATA example_4>setenv AXE_OUTPUT_PATH ./OUTPUT example_4>setenv AXE_CONFIG_PATH ./CONF example_4>setenv AXE_OUTSIM_PATH ./OUTSIM example_4>setenv AXE_SIMDATA_PATH ./SIMDATA
# 1 NUMBER
# 2 X_IMAGE
# 3 Y_IMAGE
# 4 A_IMAGE
# 5 B_IMAGE
# 6 THETA_IMAGE
# 7 MAG_F1155W
# 8 SPECTEMP
# 9 Z
# 10 MODIMAGE
# 11 MODSPEC
# 12 A_WORLD
# 13 B_WORLD
# 14 THETA_WORLD
# 15 X_WORLD
# 16 Y_WORLD
1 450.0 170.0 1.6 1.3 270.0 21.0 0 0.0 0 0 1.600000e+00 1.300000e+00 2.700000e+02 5.320378e+01 -2.778795e+01
2 460.0 110.0 1.5 1.2 45.0 21.0 0 0.0 0 0 1.500000e+00 1.200000e+00 4.500000e+01 5.320448e+01 -2.778852e+01
3 450.0 130.0 1.9 1.5 -70.0 21.0 5 2.0 3 1 1.900000e+00 1.500000e+00 -7.000000e+01 5.320431e+01 -2.778826e+01
4 450.0 80.0 1.5 1.5 90.0 21.0 0 0.0 0 0 1.500000e+00 1.500000e+00 9.000000e+01 5.320497e+01 -2.778865e+01
5 500.0 95.0 1.5 1.5 90.0 20.0 3 0.5 1 2 1.500000e+00 1.500000e+00 9.000000e+01 5.320429e+01 -2.778908e+01
6 500.0 120.0 1.5 1.5 90.0 20.0 0 0.7 1 0 1.500000e+00 1.500000e+00 9.000000e+01 5.320396e+01 -2.778888e+01
7 650.0 105.0 2.5 1.5 0.0 21.5 0 0.0 0 0 2.500000e+00 1.500000e+00 0.000000e+00 5.320272e+01 -2.779064e+01
8 350.0 150.0 1.5 1.0 90.0 21.5 0 0.0 0 0 1.500000e+00 1.000000e+00 9.000000e+01 5.320500e+01 -2.778701e+01
9 550.0 220.0 1.5 1.5 10.0 21.5 0 0.0 0 0 1.500000e+00 1.500000e+00 1.000000e+01 5.320217e+01 -2.778866e+01
10 50.0 105.0 1.5 1.5 135.0 21.5 0 0.0 0 0 1.500000e+00 1.500000e+00 1.350000e+02 5.320847e+01 -2.778407e+01
11 510.0 140.0 1.5 1.5 90.0 20.0 2 0.9 1 3 1.500000e+00 1.500000e+00 9.000000e+01 5.320360e+01 -2.778884e+01
12 490.0 160.0 1.5 1.5 90.0 20.0 5 2.1 1 4 1.500000e+00 1.500000e+00 9.000000e+01 5.320353e+01 -2.778846e+01
13 570.0 177.0 1.5 1.5 90.0 20.0 4 1.3 0 5 1.500000e+00 1.500000e+00 9.000000e+01 5.320254e+01 -2.778921e+01
14 400.0 212.0 1.5 1.5 90.0 20.0 1 1.5 1 6 1.500000e+00 1.500000e+00 9.000000e+01 5.320371e+01 -2.778707e+01
|
-> more template_images.lis WFC3_IR_1400nm_big_psf.fits WFC3_IR_1400nm_psf.fits WFC3_IR_950nm_big_psf.fits WFC3_IR_950nm_psf.fits WFC3_UVIS_350nm_psf.fits
-> more template_spectra.lis Mann_S0.dat starb1_template.fits starb2_template.fits starb3_template.fits Mann_E.dat
--> simdata incat='example_4_MOT.dat' config='WFC3.IR.G141.TV2_sim.conf' output_root='ObjMix' inlist_spec='template_spectra.lis' tpass_flux='wfc3_ir_f110w_tpass_m01.dat' inlist_ima='template_images.lis' exptime_disp=2000.0 bck_flux_disp=1.4 tpass_direct='wfc3_ir_f105w_tpass_m01.dat' exptime_dir=100.0 bck_flux_dir=0.7
example_4>ls -R .: CONF DATA OUTPUT OUTSIM SIMDATA template_images.lis template_spectra.lis ./CONF: wfc3_abscal_IRg141_0th_sens.fits wfc3_abscal_IRg141_3rd_sens.fits wfc3_abscal_IRg141_1st_sens.fits WFC3.IR.G141.TV2_sim.conf wfc3_abscal_IRg141_2nd_sens.fits WFC3.IR.G141.TV2_sim.conf.simul ./DATA: example_4_MOT.dat ObjMix_images.fits ObjMix_spectra.fits ./OUTPUT: ./OUTSIM: ObjMix_direct.fits ObjMix_slitless_2.SPC.fits ObjMix_slitless.fits ObjMix_images.fits ObjMix_slitless_2.STP.fits ObjMix_spectra.fits ./SIMDATA: Mann_E.dat WFC3_IR_1400nm_big_psf.fits wfc3_ir_f105w_tpass_m01.fits Mann_S0.dat WFC3_IR_1400nm_psf.fits wfc3_ir_f110w_tpass_m01.dat starb1_template.fits WFC3_IR_950nm_big_psf.fits WFC3_UVIS_350nm_psf.fits starb2_template.fits WFC3_IR_950nm_psf.fits starb3_template.fits wfc3_ir_f105w_tpass_m01.dat
|
The simplest object characterization using Gaussian shapes and a spectral energy distribution using at least one AB-magnitude value is always possible (see objects #1, #2, #7-10) and achieved by entering ``0'' in the columns SPECTEMP and MODIMAGE. Beyound that it is possible to mix these simple objects with objects that have a template image (#6) with (e.g. #3, #5, #11) or without (#13) a high resolution template spectrum.
A simulation as shown here represents a typical mix of some primary targets together with many other, rather poorly defined surrounding objects.
In total, the results comprise:
).