Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Several suggestions for improvement of SkyMaker
07-20-2013, 11:08
Post: #1
Several suggestions for improvement of SkyMaker
1) Add the ability to simultaneously output model with noise and without noise:
sky -IMAGE_NAME sky.fits,sky_nonoise.fits -IMAGE_TYPE SKY,SKY_NONOISE
This is very important when the model is simulated for a long time.
2) When the parameter MAG_ZEROPOINT is not specified manualy, calculate it automatically. (expecting that all parameters of telescopes the same, except M1_DIAMETER,M2_DIAMETER,PIXEL_SIZE,GAIN)

It is obvious that for the telescope with parameters -M1_DIAMETER 0.508 -M2_DIAMETER 0.1778 -PIXEL_SIZE 0.1 -GAIN 1, MAG_ZEROPOINT will not equal to 26, but will be MAG_ZEROPOINT = 20.8208.

MAG_ZEROPOINT = MAG_ZEROPOINT_0 + 2.5 * log10((GAIN_0./GAIN) .* ...
(PIXEL_SIZE./PIXEL_SIZE_0).^2 .* ((M1_DIAMETER.^2 - M2_DIAMETER.^2)./ ...
(M1_DIAMETER_0.^2 - M2_DIAMETER_0.^2)) );

% M1_DIAMETER0 3.58 # Diameter of the primary mirror in meters. (for CFHT)
% M2_DIAMETER0 1.0 # Obstruction diam. from the 2nd mirror in meters. (for CFHT)
% PIXEL_SIZE0 0.187 # pixel size in arcsec. (for CFHT MegaPrime/MegaCam (center))
% GAIN0 1.62 # Gain (e-/ADU) (for CFHT MegaPrime/MegaCam (CCD00))
% MAG_ZEROPOINT0 25.95 # magnitude zero-point ("ADU per second") (CFHT MegaPrime/MegaCam u*=25.25, g'=26.44, r'=25.95, i'=25.72, z'=24.78)

For skymaker default:
M1_DIAMETER0=3.6
M2_DIAMETER0=1.0
PIXEL_SIZE0=0.2
GAIN0=1
MAG_ZEROPOINT0=26
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Several suggestions for improvement of SkyMaker - bmv - 07-20-2013 11:08

Forum Jump:


User(s) browsing this thread: 1 Guest(s)