-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added files for do_makemultimages_test.sh, which (mostly) passes
- Loading branch information
Showing
30 changed files
with
441 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
tests/makemultimages_reference/config_for_globalparams.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# first function set: exponential + sersic, at (x0,y0) = (1,1) | ||
X0 31.0 0,4 # x-coordinate | ||
Y0 31.0 0,4 | ||
FUNCTION Exponential # here is a comment | ||
PA 95.0 0,180 # this means we restrict PA to 0 <= PA <= 180 | ||
ell 0.45 0,1 | ||
I_0 90.0 0,1000 | ||
h 15.0 0,1000 | ||
FUNCTION Sersic | ||
PA 90.0 | ||
ell 0.2 | ||
n 2.5 | ||
I_e 10.0 | ||
r_e 10.0 |
22 changes: 22 additions & 0 deletions
22
tests/makemultimages_reference/config_for_globalparams_2blocks.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# first function set: exponential + sersic, at (x0,y0) = (1,1) | ||
X0 31.0 0,4 # x-coordinate | ||
Y0 31.0 0,4 | ||
FUNCTION Exponential # here is a comment | ||
PA 95.0 0,180 # this means we restrict PA to 0 <= PA <= 180 | ||
ell 0.45 0,1 | ||
I_0 90.0 0,1000 | ||
h 15.0 0,1000 | ||
FUNCTION Sersic | ||
PA 90.0 | ||
ell 0.2 | ||
n 2.5 | ||
I_e 10.0 | ||
r_e 10.0 | ||
|
||
X0 50.0 | ||
Y0 45.0 | ||
FUNCTION Gaussian | ||
PA 0 | ||
ell 0.5 | ||
I_0 100.0 | ||
sigma 2.0 |
16 changes: 16 additions & 0 deletions
16
tests/makemultimages_reference/config_for_globalparams_mult-sizes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
NCOLS 32 | ||
NROWS 32 | ||
# first function set: exponential + sersic, at (x0,y0) = (1,1) | ||
X0 10.0 0,4 # x-coordinate | ||
Y0 20.0 0,4 | ||
FUNCTION Exponential # here is a comment | ||
PA 95.0 0,180 # this means we restrict PA to 0 <= PA <= 180 | ||
ell 0.45 0,1 | ||
I_0 90.0 0,1000 | ||
h 15.0 0,1000 | ||
FUNCTION Sersic | ||
PA 90.0 | ||
ell 0.2 | ||
n 2.5 | ||
I_e 10.0 | ||
r_e 10.0 |
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
tests/makemultimages_reference/imageinfo_2sizes-with-2oversampled-psf.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# image-info file for testing makemultimages | ||
# | ||
# First is the reference image, for which we leave things like weight, PIXEL_SCALE, | ||
# FLUX_SCALE, and IMAGE_PA unspecified so they assume their default values | ||
# image-name weight | ||
IMAGE_START | ||
NCOLS 200 | ||
NROWS 200 | ||
|
||
# now we have the second image | ||
IMAGE_START | ||
NCOLS 200 | ||
NROWS 200 | ||
PSF tests/psf_standard.fits | ||
OVERSAMPLED_PSF tests/psf_oversamp.fits | ||
OVERSAMPLED_REGION 100:110,100:110 | ||
OVERSAMPLED_REGION 40:45,30:40 | ||
OVERSAMPLE_SCALE 3 | ||
PIXEL_SCALE 1.0 fixed # pixels in this image are PIXEL_SCALE * reference image | ||
IMAGE_PA 0.0 fixed | ||
FLUX_SCALE 1.0 fixed | ||
X0 105.2377 | ||
Y0 105.4582 |
22 changes: 22 additions & 0 deletions
22
tests/makemultimages_reference/imageinfo_2sizes-with-oversampled-psf.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# image-info file for testing makemultimages | ||
# | ||
# First is the reference image, for which we leave things like weight, PIXEL_SCALE, | ||
# FLUX_SCALE, and IMAGE_PA unspecified so they assume their default values | ||
# image-name weight | ||
IMAGE_START | ||
NCOLS 200 | ||
NROWS 200 | ||
|
||
# now we have the second image | ||
IMAGE_START | ||
NCOLS 200 | ||
NROWS 200 | ||
PSF tests/psf_standard.fits | ||
OVERSAMPLED_PSF tests/psf_oversamp.fits | ||
OVERSAMPLED_REGION 100:110,100:110 | ||
OVERSAMPLE_SCALE 3 | ||
PIXEL_SCALE 1.0 fixed # pixels in this image are PIXEL_SCALE * reference image | ||
IMAGE_PA 0.0 fixed | ||
FLUX_SCALE 1.0 fixed | ||
X0 105.2377 | ||
Y0 105.4582 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# First is the reference image, for which we leave things like weight, PIXEL_SCALE, | ||
# FLUX_SCALE, and IMAGE_PA unspecified so they assume their default values | ||
# image-name weight | ||
IMAGE_START | ||
DATA n100_2mass.fit | ||
NCOLS 32 | ||
NROWS 32 | ||
GAIN 2.3 | ||
READNOISE 4.5 | ||
ORIGINAL_SKY 11.344 | ||
|
||
# now we have the second image | ||
IMAGE_START | ||
DATA n100_hst-acs-wfc_ss.fits[250:350,200:300] 1.0 | ||
NCOLS 40 | ||
NROWS 40 | ||
GAIN 1.5 | ||
READNOISE 0.6 | ||
ORIGINAL_SKY 2.359 | ||
PIXEL_SCALE 1.0 fixed # pixels in this image are PIXEL_SCALE * reference image | ||
IMAGE_PA 0.0 fixed | ||
FLUX_SCALE 10.0 fixed | ||
X0 20 | ||
Y0 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# First is the reference image, for which we leave things like weight, PIXEL_SCALE, | ||
# FLUX_SCALE, and IMAGE_PA unspecified so they assume their default values | ||
# image-name weight | ||
IMAGE_START | ||
DATA n100_2mass.fit | ||
NCOLS 64 | ||
NROWS 64 | ||
GAIN 2.3 | ||
READNOISE 4.5 | ||
ORIGINAL_SKY 11.344 | ||
|
||
# now we have the second image | ||
IMAGE_START | ||
DATA n100_hst-acs-wfc_ss.fits[250:350,200:300] 1.0 | ||
NCOLS 64 | ||
NROWS 64 | ||
GAIN 1.5 | ||
READNOISE 0.6 | ||
ORIGINAL_SKY 2.359 | ||
PIXEL_SCALE 1.0 fixed # pixels in this image are PIXEL_SCALE * reference image | ||
IMAGE_PA 0.0 fixed | ||
FLUX_SCALE 1.0 fixed | ||
X0 40 | ||
Y0 40 | ||
|
||
# third image | ||
IMAGE_START | ||
DATA n100_hst-acs-wfc_ss.fits[250:350,200:300] 1.0 | ||
NCOLS 64 | ||
NROWS 64 | ||
GAIN 1.0 | ||
READNOISE 0.6 | ||
ORIGINAL_SKY 2.359 | ||
PIXEL_SCALE 1.0 fixed # pixels in this image are PIXEL_SCALE * reference image | ||
IMAGE_PA 0.0 fixed # this image is rotated 22.4 deg CCW w.r.t. reference image | ||
FLUX_SCALE 1.0 10,20 # flux should be multiplied by FLUX_SCALE | ||
X0 10 | ||
Y0 20 |
Oops, something went wrong.