Skip to content

Commit f94c804

Browse files
committed
Revert "removing old yaml file that has paths to data that point to file locations that are dependent on system"
This reverts commit a07b01b.
1 parent 7facd3c commit f94c804

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

sim.yaml

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

0 commit comments

Comments
 (0)