Some scene examples
Below are some examples of ‘scene’ files as well as the resulting simulated images.
Example 1: collection of Gaussian objects
Here we are using the file scene01.yaml.
scene_block_name: Gaussian center
spectrum:
type: constant-flux
geometry:
type: gaussian
fwhm_ra_arcsec: 0.04
fwhm_dec_arcsec: 0.04
position_angle_deg: 0.0
delta_ra_arcsec: 0.0
delta_dec_arcsec: 0.0
nphotons: 1E5
apply_seeing: False
---
scene_block_name: Gaussian top left
spectrum:
type: constant-flux
geometry:
type: gaussian
fwhm_ra_arcsec: 0.08
fwhm_dec_arcsec: 0.16
position_angle_deg: 0.0
delta_ra_arcsec: 0.18
delta_dec_arcsec: 0.15
nphotons: 1E6
apply_seeing: False
---
scene_block_name: Gaussian bottom left
spectrum:
type: constant-flux
geometry:
type: gaussian
fwhm_ra_arcsec: 0.08
fwhm_dec_arcsec: 0.08
position_angle_deg: 0.0
delta_ra_arcsec: 0.18
delta_dec_arcsec: -0.15
nphotons: 5E5
apply_seeing: False
---
scene_block_name: Gaussian top right
spectrum:
type: constant-flux
geometry:
type: gaussian
fwhm_ra_arcsec: 0.04
fwhm_dec_arcsec: 0.08
position_angle_deg: 0.0
delta_ra_arcsec: -0.18
delta_dec_arcsec: 0.15
nphotons: 3E5
wavelength_sampling: random
apply_seeing: False
---
scene_block_name: Gaussian bottom right
spectrum:
type: constant-flux
geometry:
type: gaussian
fwhm_ra_arcsec: 0.32
fwhm_dec_arcsec: 0.04
position_angle_deg: 45
delta_ra_arcsec: -0.18
delta_dec_arcsec: -0.15
nphotons: 1E6
apply_seeing: False
Execute fridadrp-ifu_simulator:
(venv_frida) $ fridadrp-ifu_simulator \
--scene scene01.yaml \
--grating medium-K \
--scale fine \
--flatpix2pix none
Example 2: M51-like galaxy
Here we are using the file scene02.yaml.
scene_block_name: M51 DSS1
spectrum:
type: constant-flux
geometry:
type: from-FITS-image
filename: m51_dss1.fits
diagonal_fov_arcsec: 0.80
background_to_subtract: mode
nphotons: 1E7
---
scene_block_name: skycalc radiance
spectrum:
type: skycalc-radiance
geometry:
type: flatfield
nphotons: 1E7
apply_seeing: False
apply_atmosphere_transmission: False
We aim to simulate a galaxy resembling the morphology of Messier 51. To achieve this, we generated a \({15 \times 15}~{\rm arcmin}^2\) image using the ESO Online Digitized Sky Survey. The corresponding file is m51_dss1.fits.
Execute fridadrp-ifu_simulator:
(venv_frida) $ fridadrp-ifu_simulator \
--scene scene02.yaml \
--grating medium-K \
--scale fine \
--seeing_fwhm_arcsec 0.05 \
--flatpix2pix none