-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsim.yaml
86 lines (74 loc) · 4.02 KB
/
sim.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Input file for wfirst.py
# Number of procs to limit star parallelisation to for memory reasons
starproc : 20
# Split over nodes/procs with MPI
mpi : True
# If overwrite is False, the job will crash if the output directories already exist to safeguard against overwriting results.
overwrite : False
# Draw and save full SCA images. In this mode, the isolated single-galaxy postage stamps will still be saved.
draw_sca : True
# Limit which SCAs are drawn. Can be a single number or list. None or not defined will simulate all.
sca : 1
# initialise random seed
random_seed : 314
# output directory
out_path : /fs/scratch/cond0083/wfirst_sim_out/
# output meds (and other) filename prefix
output_meds : 'test_new'
# Minimum postage stamp size (all stamps will be multiples of this)
stamp_size : 32
# Number of stamp sizes
num_sizes : 9
# nside of meds tiling (healpix pixels). Choose so that full meds can be held in memory of node.
nside : 256
# File containing dither information
dither_file : /users/PCON0003/cond0083/observing_sequence_hlsonly_5yr.fits
# PSF properties
# To do a more exact calculation of the chromaticity and pupil plane configuration, set the `approximate_struts` and the `n_waves` keyword to defaults
approximate_struts : True # Approximate strut configuration
n_waves : 10 # Number of wavelengths used to create chromatic model of PSF
extra_aberrations : None # Include (additive) changes specification zernike parameters. None for default.
#los_motion : 0.015 # Include extra jitter in rms of arcsec. Ignored if not defined.
#los_motion_e1 : 0.3 # Shear to apply to jitter gaussian to simulate orientation-dependent rms
#los_motion_e2 : 0.0
# Draw stars into SCA
draw_stars : True
# Catalog containing star positions and fluxes
star_sample : /fs/scratch/cond0083/gaia_stars.fits
# Write true psf to stamps for meds
draw_true_psf : True
# Oversampling factor for true psf stamps
oversample : 8
# Size of true psf stamps in wfirst pixel units
psf_stampsize : 8
# Galaxy model info
# Distribution of objects in ra, dec
gal_dist : /fs/scratch/cond0083/radec_sub.fits
# Type of galaxy model: real cosmos objects (2), models from real cosmos objects (1), sersic disk (0) - Only 0 works now
gal_type : 0
# Photometric properties to draw from. Must provide file if gal_type == 0
gal_sample : /users/PCON0003/cond0083/Simulated_WFIRST+LSST_photometry_catalog_CANDELSbased.fits
# Type of sersic model to build. Disk, bulge, or composite (sum of disk + bulge + star-forming knots)
gal_model : composite
# Number of random, irregular star-forming knots to include in disk of object.
knots : 25
# List of shears to select from
shear_list : [[0.2,0.0],[-0.2,0.0],[0.0,0.2],[0.0,-0.2]]
# SEDs for galaxy components
sedpath_E : /users/PCON0003/cond0083/GalSim/share/SEDs/NGC_4926_spec.dat
sedpath_Scd : /users/PCON0003/cond0083/GalSim/share/SEDs/NGC_4670_spec.dat
sedpath_Im : /users/PCON0003/cond0083/GalSim/share/SEDs/Mrk_33_spec.dat
# Files for cosmos galaxy models
cat_name : real_galaxy_catalog_25.2.fits
cat_dir : /fs/scratch/cond0083/COSMOS_25.2_training_sample
# Detector options
use_background : True # Adds/subtracts sky background to images
sub_true_background : True # Currently if False, subtracts background without including impact of dark current in the subtraction.
use_poisson_noise : True # Add poisson noise to images
use_recip_failure : True # Add reciprocity failure effect
use_dark_current : True # Add dark current
use_nonlinearity : True # Apply nonlinearity
use_interpix_cap : True # Add interpixel capacitance effect
use_read_noise : True # Add read noise
use_persistence : False # Currently not implemented.
save_diff : False # Save difference images during add_effects() - will do this for every call and overwrite the previous call's files, so be prepared to kill job otherwise will be very slow.