Module deeplenstronomy.surveys
Pre-defined settings for large astronomical surveys
Expand source code
"""Pre-defined settings for large astronomical surveys"""
def des():
"""
Force Dark Energy Survey 5-band, 6-year survey conditions
into your simulated dataset. Utilize this function by passing
`survey='des'` in `deeplenstronomy.make_dataset()`.
"""
info = """
IMAGE:
PARAMETERS:
exposure_time:
DISTRIBUTION:
NAME: des_exposure_time
PARAMETERS: None
numPix: 100
pixel_scale: 0.263
psf_type: 'GAUSSIAN'
read_noise: 7
ccd_gain:
DISTRIBUTION:
NAME: des_ccd_gain
PARAMETERS: None
SURVEY:
PARAMETERS:
BANDS: g,r,i,z,Y
seeing:
DISTRIBUTION:
NAME: des_seeing
PARAMETERS: None
magnitude_zero_point:
DISTRIBUTION:
NAME: des_magnitude_zero_point
PARAMETERS: None
sky_brightness:
DISTRIBUTION:
NAME: des_sky_brightness
PARAMETERS: None
num_exposures:
DISTRIBUTION:
NAME: des_num_exposures
PARAMETERS: None
"""
return info
def delve():
"""
Force DECam Local Volume Exploration 4-band survey conditions
into your simulated dataset. Utilize this function by passing
`survey='delve'` in `deeplenstronomy.make_dataset()`.
"""
info = """
IMAGE:
PARAMETERS:
exposure_time:
DISTRIBUTION:
NAME: delve_exposure_time
PARAMETERS: None
numPix: 100
pixel_scale: 0.263
psf_type: 'GAUSSIAN'
read_noise: 7
ccd_gain:
DISTRIBUTION:
NAME: des_ccd_gain
PARAMETERS: None
SURVEY:
PARAMETERS:
BANDS: g,r,i,z
seeing:
DISTRIBUTION:
NAME: delve_seeing
PARAMETERS: None
magnitude_zero_point:
DISTRIBUTION:
NAME: delve_magnitude_zero_point
PARAMETERS: None
sky_brightness:
DISTRIBUTION:
NAME: delve_sky_brightness
PARAMETERS: None
num_exposures: 1
"""
return info
def lsst():
"""
Force Legacy Survey of Space and Time 6-band, 10-year survey conditions
into your simulated dataset. Utilize this function by passing
`survey='lsst'` in `deeplenstronomy.make_dataset()`.
"""
info = """
IMAGE:
PARAMETERS:
exposure_time:
DISTRIBUTION:
NAME: lsst_exposure_time
PARAMETERS: None
numPix: 100
pixel_scale: 0.2
psf_type: 'GAUSSIAN'
read_noise: 10
ccd_gain: 2.3
SURVEY:
PARAMETERS:
BANDS: u,g,r,i,z,Y
seeing:
DISTRIBUTION:
NAME: lsst_seeing
PARAMETERS: None
magnitude_zero_point:
DISTRIBUTION:
NAME: lsst_magnitude_zero_point
PARAMETERS: None
sky_brightness:
DISTRIBUTION:
NAME: lsst_sky_brightness
PARAMETERS: None
num_exposures:
DISTRIBUTION:
NAME: lsst_num_exposures
PARAMETERS: None
"""
return info
def hst():
"""
Force Hubble Space Telescope single band survey conditions
into your simulated dataset. Utilize this function by passing
`survey='hst'` in `deeplenstronomy.make_dataset()`.
"""
info = """
IMAGE:
PARAMETERS:
exposure_time: 5400.0
numPix: 100
pixel_scale: 0.08
psf_type: 'GAUSSIAN'
read_noise: 4
ccd_gain: 2.5
SURVEY:
PARAMETERS:
BANDS: F160W
seeing: 0.08
magnitude_zero_point: 25.96
sky_brightness: 22.3
num_exposures: 1
"""
return info
def euclid():
"""
Force Euclid single-band survey conditions
into your simulated dataset. Utilize this function by passing
`survey='des'` in `deeplenstronomy.make_dataset()`.
"""
info = """
IMAGE:
PARAMETERS:
exposure_time: 565.0
numPix: 100
pixel_scale: 0.101
psf_type: 'GAUSSIAN'
read_noise: 4.2
ccd_gain: 3.1
SURVEY:
PARAMETERS:
BANDS: VIS
seeing: 0.16
magnitude_zero_point: 24.0
sky_brightness: 22.35
num_exposures: 4
"""
return info
def ztf():
"""
Force Zwicky Transient Facility 3-band, DR2 survey conditions
into your simulated dataset. Utilize this function by passing
`survey='ztf'` in `deeplenstronomy.make_dataset()`.
"""
info = """
IMAGE:
PARAMETERS:
exposure_time: 30.0
numPix: 100
pixel_scale: 1.01
psf_type: 'GAUSSIAN'
read_noise: 10.3
ccd_gain: 5.8
SURVEY:
PARAMETERS:
BANDS: g,r,i
seeing:
DISTRIBUTION:
NAME: ztf_seeing
PARAMETERS: None
magnitude_zero_point:
DISTRIBUTION:
NAME: ztf_magnitude_zero_point
PARAMETERS: None
sky_brightness:
DISTRIBUTION:
NAME: ztf_sky_brightness
PARAMETERS: None
num_exposures: 24
"""
return info
Functions
def delve()
-
Force DECam Local Volume Exploration 4-band survey conditions into your simulated dataset. Utilize this function by passing
survey='delve'
indeeplenstronomy.make_dataset()
.Expand source code
def delve(): """ Force DECam Local Volume Exploration 4-band survey conditions into your simulated dataset. Utilize this function by passing `survey='delve'` in `deeplenstronomy.make_dataset()`. """ info = """ IMAGE: PARAMETERS: exposure_time: DISTRIBUTION: NAME: delve_exposure_time PARAMETERS: None numPix: 100 pixel_scale: 0.263 psf_type: 'GAUSSIAN' read_noise: 7 ccd_gain: DISTRIBUTION: NAME: des_ccd_gain PARAMETERS: None SURVEY: PARAMETERS: BANDS: g,r,i,z seeing: DISTRIBUTION: NAME: delve_seeing PARAMETERS: None magnitude_zero_point: DISTRIBUTION: NAME: delve_magnitude_zero_point PARAMETERS: None sky_brightness: DISTRIBUTION: NAME: delve_sky_brightness PARAMETERS: None num_exposures: 1 """ return info
def des()
-
Force Dark Energy Survey 5-band, 6-year survey conditions into your simulated dataset. Utilize this function by passing
survey='des'
indeeplenstronomy.make_dataset()
.Expand source code
def des(): """ Force Dark Energy Survey 5-band, 6-year survey conditions into your simulated dataset. Utilize this function by passing `survey='des'` in `deeplenstronomy.make_dataset()`. """ info = """ IMAGE: PARAMETERS: exposure_time: DISTRIBUTION: NAME: des_exposure_time PARAMETERS: None numPix: 100 pixel_scale: 0.263 psf_type: 'GAUSSIAN' read_noise: 7 ccd_gain: DISTRIBUTION: NAME: des_ccd_gain PARAMETERS: None SURVEY: PARAMETERS: BANDS: g,r,i,z,Y seeing: DISTRIBUTION: NAME: des_seeing PARAMETERS: None magnitude_zero_point: DISTRIBUTION: NAME: des_magnitude_zero_point PARAMETERS: None sky_brightness: DISTRIBUTION: NAME: des_sky_brightness PARAMETERS: None num_exposures: DISTRIBUTION: NAME: des_num_exposures PARAMETERS: None """ return info
def euclid()
-
Force Euclid single-band survey conditions into your simulated dataset. Utilize this function by passing
survey='des'
indeeplenstronomy.make_dataset()
.Expand source code
def euclid(): """ Force Euclid single-band survey conditions into your simulated dataset. Utilize this function by passing `survey='des'` in `deeplenstronomy.make_dataset()`. """ info = """ IMAGE: PARAMETERS: exposure_time: 565.0 numPix: 100 pixel_scale: 0.101 psf_type: 'GAUSSIAN' read_noise: 4.2 ccd_gain: 3.1 SURVEY: PARAMETERS: BANDS: VIS seeing: 0.16 magnitude_zero_point: 24.0 sky_brightness: 22.35 num_exposures: 4 """ return info
def hst()
-
Force Hubble Space Telescope single band survey conditions into your simulated dataset. Utilize this function by passing
survey='hst'
indeeplenstronomy.make_dataset()
.Expand source code
def hst(): """ Force Hubble Space Telescope single band survey conditions into your simulated dataset. Utilize this function by passing `survey='hst'` in `deeplenstronomy.make_dataset()`. """ info = """ IMAGE: PARAMETERS: exposure_time: 5400.0 numPix: 100 pixel_scale: 0.08 psf_type: 'GAUSSIAN' read_noise: 4 ccd_gain: 2.5 SURVEY: PARAMETERS: BANDS: F160W seeing: 0.08 magnitude_zero_point: 25.96 sky_brightness: 22.3 num_exposures: 1 """ return info
def lsst()
-
Force Legacy Survey of Space and Time 6-band, 10-year survey conditions into your simulated dataset. Utilize this function by passing
survey='lsst'
indeeplenstronomy.make_dataset()
.Expand source code
def lsst(): """ Force Legacy Survey of Space and Time 6-band, 10-year survey conditions into your simulated dataset. Utilize this function by passing `survey='lsst'` in `deeplenstronomy.make_dataset()`. """ info = """ IMAGE: PARAMETERS: exposure_time: DISTRIBUTION: NAME: lsst_exposure_time PARAMETERS: None numPix: 100 pixel_scale: 0.2 psf_type: 'GAUSSIAN' read_noise: 10 ccd_gain: 2.3 SURVEY: PARAMETERS: BANDS: u,g,r,i,z,Y seeing: DISTRIBUTION: NAME: lsst_seeing PARAMETERS: None magnitude_zero_point: DISTRIBUTION: NAME: lsst_magnitude_zero_point PARAMETERS: None sky_brightness: DISTRIBUTION: NAME: lsst_sky_brightness PARAMETERS: None num_exposures: DISTRIBUTION: NAME: lsst_num_exposures PARAMETERS: None """ return info
def ztf()
-
Force Zwicky Transient Facility 3-band, DR2 survey conditions into your simulated dataset. Utilize this function by passing
survey='ztf'
indeeplenstronomy.make_dataset()
.Expand source code
def ztf(): """ Force Zwicky Transient Facility 3-band, DR2 survey conditions into your simulated dataset. Utilize this function by passing `survey='ztf'` in `deeplenstronomy.make_dataset()`. """ info = """ IMAGE: PARAMETERS: exposure_time: 30.0 numPix: 100 pixel_scale: 1.01 psf_type: 'GAUSSIAN' read_noise: 10.3 ccd_gain: 5.8 SURVEY: PARAMETERS: BANDS: g,r,i seeing: DISTRIBUTION: NAME: ztf_seeing PARAMETERS: None magnitude_zero_point: DISTRIBUTION: NAME: ztf_magnitude_zero_point PARAMETERS: None sky_brightness: DISTRIBUTION: NAME: ztf_sky_brightness PARAMETERS: None num_exposures: 24 """ return info