Skip to content

Commit

Permalink
making plots
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrihanSolo committed Aug 14, 2024
1 parent 9769aa9 commit 0df5fd3
Show file tree
Hide file tree
Showing 13 changed files with 21,512 additions and 61 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ venv.bak/

# Heavy files
*.fits
metadata_lens.csv

# Cloned repos
deeplenstronomy/
7,595 changes: 7,595 additions & 0 deletions src/sim/configs/lens_colors.txt

Large diffs are not rendered by default.

172 changes: 172 additions & 0 deletions src/sim/configs/multiband_paper_noisy_source.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
DATASET:
NAME: LensData # set a name, this value is only used if you request the h5 file format
PARAMETERS:
SIZE: 100 # number of images in the full datase.
OUTDIR: ../../data/mb_paper_noisy_source
SEED: 10

DISTRIBUTIONS:
USERDIST_1:
FILENAME: ../configs/lens_colors.txt
MODE: sample
USERDIST_2:
FILENAME: ../configs/source_colors_with_zlens.txt
MODE: sample

COSMOLOGY:
PARAMETERS:
H0: 70
Om0: 0.3

IMAGE:
PARAMETERS:
exposure_time: 90
numPix: 40
pixel_scale: 0.263
psf_type: 'GAUSSIAN'
read_noise: 7
ccd_gain: 6.083

SURVEY:
PARAMETERS:
BANDS: g,r,z
seeing: 0.9
magnitude_zero_point: 26.58
sky_brightness: 21.0
num_exposures: 4

SPECIES:
GALAXY_1:
NAME: LENS
LIGHT_PROFILE_1:
NAME: SERSIC_ELLIPSE
PARAMETERS:
magnitude: 1.0
center_x: 0
center_y: 0
R_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 1.0
maximum: 2.5
n_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 2
maximum: 5
e1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
e2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2

MASS_PROFILE_1:
NAME: SIE
PARAMETERS:
theta_E:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 1.0
maximum: 3.0
e1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
e2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
center_x: 0.0
center_y: 0.0
SHEAR_PROFILE_1:
NAME: SHEAR
PARAMETERS:
gamma1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.05
maximum: 0.05
gamma2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.05
maximum: 0.05
GALAXY_2:
NAME: SOURCE
LIGHT_PROFILE_1:
NAME: SERSIC_ELLIPSE
PARAMETERS:
magnitude: 1.0
center_x:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.5
maximum: 0.5
center_y:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.5
maximum: 0.5
R_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 0.5
maximum: 1
n_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 2
maximum: 4
e1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
e2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
MASS_PROFILE_1:
NAME: SIE
PARAMETERS:
theta_E: 2.0
e1: 0.1
e2: -0.1
center_x: 0.0
center_y: 0.0

GEOMETRY:
CONFIGURATION_1:
NAME: LENSES
FRACTION: 1.0
PLANE_1:
OBJECT_1: LENS
PARAMETERS:
REDSHIFT: 0.5
PLANE_2:
OBJECT_1: SOURCE
PARAMETERS:
REDSHIFT: 2.
172 changes: 172 additions & 0 deletions src/sim/configs/multiband_paper_nonoise_source.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
DATASET:
NAME: LensData # set a name, this value is only used if you request the h5 file format
PARAMETERS:
SIZE: 100 # number of images in the full datase.
OUTDIR: ../../data/mb_paper_nonoise_source
SEED: 10

DISTRIBUTIONS:
USERDIST_1:
FILENAME: ../configs/lens_colors.txt
MODE: sample
USERDIST_2:
FILENAME: ../configs/source_colors_with_zlens.txt
MODE: sample

COSMOLOGY:
PARAMETERS:
H0: 70
Om0: 0.3

IMAGE:
PARAMETERS:
exposure_time: 90
numPix: 40
pixel_scale: 0.263
psf_type: 'GAUSSIAN'
read_noise: 0
ccd_gain: 6.083

SURVEY:
PARAMETERS:
BANDS: g,r,z
seeing: 0.9
magnitude_zero_point: 26.58
sky_brightness: 1000
num_exposures: 10

SPECIES:
GALAXY_1:
NAME: LENS
LIGHT_PROFILE_1:
NAME: SERSIC_ELLIPSE
PARAMETERS:
magnitude: 1.0
center_x: 0
center_y: 0
R_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 1.0
maximum: 2.5
n_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 2
maximum: 5
e1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
e2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2

MASS_PROFILE_1:
NAME: SIE
PARAMETERS:
theta_E:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 1.0
maximum: 3.0
e1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
e2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
center_x: 0.0
center_y: 0.0
SHEAR_PROFILE_1:
NAME: SHEAR
PARAMETERS:
gamma1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.05
maximum: 0.05
gamma2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.05
maximum: 0.05
GALAXY_2:
NAME: SOURCE
LIGHT_PROFILE_1:
NAME: SERSIC_ELLIPSE
PARAMETERS:
magnitude: 1.0
center_x:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.5
maximum: 0.5
center_y:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.5
maximum: 0.5
R_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 0.5
maximum: 1
n_sersic:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: 2
maximum: 4
e1:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
e2:
DISTRIBUTION:
NAME: uniform
PARAMETERS:
minimum: -0.2
maximum: 0.2
MASS_PROFILE_1:
NAME: SIE
PARAMETERS:
theta_E: 2.0
e1: 0.1
e2: -0.1
center_x: 0.0
center_y: 0.0

GEOMETRY:
CONFIGURATION_1:
NAME: LENSES
FRACTION: 1.0
PLANE_1:
OBJECT_1: LENS
PARAMETERS:
REDSHIFT: 0.5
PLANE_2:
OBJECT_1: SOURCE
PARAMETERS:
REDSHIFT: 2.
Loading

0 comments on commit 0df5fd3

Please sign in to comment.