130 likes | 302 Views
|> cout << ”Last updated :” << last_update << “<br>”; |> Last updated : March 28, 2007 |>. March 2007 Bogdan Popescu. Directory Structure. install Makefile writeindex
E N D
|> cout << ”Last updated :” << last_update << “\n”; |> Last updated : March 28, 2007 |> March 2007 Bogdan Popescu
Directory Structure install Makefile writeindex generator.cc index_trek.cc n_distribution.cc trek.cc random_king.cc star_sky.cc generator.in start.trek run.all cluster.ini king.ini help README.txt COPYING massclean (main directory) bin (copies of the compiled binaries) indexiso indextrek mass_bins.in n_distribution.out king.out trek.in skymaker.path run* (all bands) *.sky (all bands) data fits *.fits files iso.trek *.trek files saved.runs star.sky *.list files docs (soon) examples (soon) *. UBVRIJHKLM files (Geneva Database) tracksisoUBVRIJHKLM iso.UBVRIJHKLM March 2007 Bogdan Popescu
Data Flow input output standard input (or generator.in script file) generator mass_bins.in mass_bins.in cluster.ini n_distribution.out gnuplot files n_distribution writeindex (script) files in the directory : /tracksisoUBVRIJHKLM/iso.UBVRIJHKLM/ indexiso trek.in indextrek index_trek indexiso trek.in n_distribution.out indextrek *. UBVRIJHKLM files (Geneva database) trek *.trek files random_king king.ini king.out *.trek files cluster.ini king.ini king.out star_sky *.list files run* scripts SkyMaker (Bertin,2001) *.FITS images *.list files *.sky files March 2007 Bogdan Popescu
cluster.ini ## ## B.Popescu and M.M.Hanson,2007 ## ## cluster.ini ## ## ## 1) Mass (solar units) ## 2) distance (pc) ## 3) FOV (d x d) d (arcmin) ## 4) IMAGE WIDTH IR (pixels) ## 5) IMAGE HEIGHT IR (pixels) ## 6) IMAGE WIDTH CCD (pixels) ## 7) IMAGE HEIGHT CCD (pixels) ## 8) sec(z) (airmass) ## 9) A_U extinction (mag) ## 10) A_B extinction (mag) ## 11) A_V extinction (mag) ## 12) A_I extinction (mag ## 13) A_J extinction (mag) ## 14) A_H extinction (mag) ## 15) A_K extinction (mag) ## 16) K_U (mag/airmass) ## 17) K_B (mag/airmass) ## 18) K_V (mag/airmass) ## 19) K_I (mag/airmass) ## 20) K_J (mag/airmass) ## 21) K_H (mag/airmass) ## 22) K_K (mag/airmass) ## 23) Mass segregation parameter 1 (values in (0.0,1.0) interval, see documentation, 1=no segregation) ## 24) Mass segregation parameter 2 (values in (0.5,1.0) interval, see documentation) ## ## (cluster.ini, continue) 4300 (1) 2000 (2) 30 (3) 2048 (4) 2048 (5) 820 (6) 820 (7) 1.50 (8) 2.29 (9) 2.00 (10) 1.66 (11) 0.92 (12) 0.50 (13) 0.31 (14) 0.20 (15) 0.45 (16) 0.25 (17) 0.15 (18) 0.05 (19) 0.03 (20) 0.02 (21) 0.02 (22) 1.00 (23) 0.75 (24) March 2007 Bogdan Popescu
king.ini ## ## B.Popescu and M.M.Hanson,2007 ## ## king.ini ## ## ## ## 1) xcenter ## 2) ycenter ## 3) rt rescaling (0.0,1.0) (used only to combine two images; for only one cluster =1) ## 4) rt (pc) ## 5) rc (pc) ## 6) r_a_x (asymmetry radius, values in (0.0,1.0) interval; 1 = no asymmetry) ## 7) r_a_y (asymmetry radius, values in (0.0,1.0) interval; 1 = no asymmetry) ## 8) "Bubbles" ON/OFF (0 = OFF, 1 = ON) ## 9) Number of bubbles ## ## index (100=ellipse, 200="star") ## x_bubble ## y_bubble ## rx_bubble ## ry_bubble ## (as many times as the value in 9)) ## 0.68 (1) 0.52 (2) 1.00 (3) 2.60 (4) 2.40 (5) 1.0 (6) 1.0 (7) ## (king.ini, continue) 0 (8) 0 (9) 200 (index) 0.40 (x_bubble) 0.60 (y_bubble) 0.05 (rx_bubble) 0.15 (ry_bubble) 100 (index) 0.80 (x_bubble) 1.00 (y_bubble) 0.25 (rx_bubble) 0.30 (ry_bubble) 100 (index) 0.40 (x_bubble) 0.65 (y_bubble) 0.05 (rx_bubble) 0.10 (ry_bubble) 200 (index) 0.45 (x_bubble) 0.30 (y_bubble) 0.10 (rx_bubble) 0.05 (ry_bubble) 200 (index) 0.0 (x_bubble) 0.50 (y_bubble) 0.50 (rx_bubble) 0.75 (ry_bubble) March 2007 Bogdan Popescu
random_king.cc March 2007 Bogdan Popescu
random_king.cc The function used in computation (y = random input) output : x,y coordinates y input : random numbers in (0,1) interval March 2007 Bogdan Popescu
random_king.cc - mass segregation Blue : segregation parameter 1 = 1.0 , no segregation Red : segregation parameter 1 = 0.5 Radial Position Relative to “Birth” Black : segregation parameter 1 = 0.2 Segregation parameter 2 controls the percentage of the stars not affected by the mass segregation. March 2007 Bogdan Popescu
star_sky.cc input output *.trek files cluster.ini king.ini king.out *.list files run* scripts (to be used with SkyMaker) Features : - interpolation in the database (due to the lack of models, the Geneva Database contains many “-99” entries; Lagrange interpolation works for c isochrones) - rebinning (the stars are redistributed within the initial bin) *.list files are input for the SkyMaker program (E.Bertin, 2001-2007) One may use the run* scripts (runb, runv...) to generate *.fits images. SkyMaker is freely available at : ftp://ftp.iap.fr/pub/from_users/bertin/skymaker/sky_2.3.4.tar.gz (The recommended version is 2.3.4, especially for linux kernel 2.4.xx) One may want to edit *.sky configuration files according to a different telescope. The *.sky files included in the package correspond to the CTIO 1.3 m Telescope + ANDICAM in visible and IR. The path to SkyMaker should be in the skymaker.path. March 2007 Bogdan Popescu
SkyMaker (E Bertin, 2001-2007) input output *.list files *.fits files Sample runi file : ## B.Popescu and M.M.Hanson,2007 ## ## runi ## cd ~/skymaker2.3.4/source/./sky /root/cluster/work_in_progress/data/star.sky/ /iso_c020_0300.I.list -c /root/cluster/work_in_progress/data/i.sky -IMAGE_NAME /root/cluster/work_in_progress/data/fits/iso_c020_0300.I.list.fits -IMAGE_WIDTH 820 -IMAGE_HEIGHT 820 -PIXEL_SIZE 2.19512 rm /root/cluster/work_in_progress/data/fits/iso_c020_0300.I.list.list ......................................................................... March 2007 Bogdan Popescu
SkyMaker (E Bertin, 2001-2007) *.sky files Sample i.sky file : # configuration file for SkyMaker II # I,CTIO 1.3m + ANDICAM 1, 1 x FOV # BP # #--------------------------------- Image ------------------------------------- IMAGE_NAME skymaker.fits # name of the output frame IMAGE_WIDTH 820 # width of the output frame IMAGE_HEIGHT 820 # height of the output frame IMAGE_TYPE SKY # type of image IMAGE_HEADER INTERNAL # file name or INTERNAL GAIN 2.3 # gain (e-/ADU) WELL_CAPACITY 0 # full well capacity in e- (0 = infinite) SATUR_LEVEL 65536 # saturation level (ADU) READOUT_NOISE 6.5 # read-out noise (e-) EXPOSURE_TIME 20.0 # total exposure time (s) MAG_ZEROPOINT 25.5 # magnitude zero-point ("ADU per second") #-------------------------------- Sampling ----------------------------------- PIXEL_SIZE 0.137 # pixel size in arcsec. MICROSCAN_NSTEP 2 # number of microscanning steps (1=no mscan) #---------------------------------- PSF -------------------------------------- SEEING_TYPE LONG_EXPOSURE # (NONE, LONG_EXPOSURE or SHORT_EXPOSURE) SEEING_FWHM 0.7 # FWHM of seeing in arcsec (incl. motion). AUREOLE_RADIUS 200 # Range covered by aureole (pix) 0 = no aureole AUREOLE_SB 16.0 # SB (mag/arcsec2) at 1' from a 0-mag star PSF_OVERSAMP 25 # oversampling factor / final resolution PSF_MAPSIZE 1024 # PSF mask size (pixels): must be a power of 2 TRACKERROR_TYPE NONE # (NONE, DRIFT or JITTER) TRACKERROR_MAJ 5.0 # tracking RMS error (major axis) (in arcsec) TRACKERROR_MIN 0.0 # tracking RMS error (minor axis) (in arcsec) TRACKERROR_ANG 0.0 # tracking angle (in deg, CC/horizontal) 1CTIO 1.3m + ANDICAM – information available at : http://www.astronomy.ohio-state.edu/ANDICAM/detectors.html March 2007 Bogdan Popescu
SkyMaker (E Bertin, 2001-2007) *.sky files (continue) i.sky file continue : #----------------------------- Pupil features -------------------------------- M1_DIAMETER 1 1.300 # diameter of the primary mirror (in meters) M2_DIAMETER 1 0.232 # obstruction diam. from the 2nd mirror in m. ARM_COUNT 4 # number of spider arms (0 = none) ARM_THICKNESS 5.0 # thickness of the spider arms (in mm) ARM_POSANGLE 45.0 # pos. angle of the spider pattern / horizontal DEFOC_D80 0.0 # d80% diameter induced by defocusing (arcsec) SPHER_D80 0.0 # d80% diameter induced by spherical (arcsec) COMAX_D80 0.0 # d80% diameter induced by coma along x (arcsec) COMAY_D80 0.0 # d80% diameter induced by coma along y (arcsec) AST00_D80 0.0 # d80% diameter induced by astigmatism at 0 deg. (arcsec) AST45_D80 0.0 # d80% diameter induced by astigmatism at 45 deg. (arcsec) TRI00_D80 0.0 # d80% diameter induced by triangular at 0 deg. (arcsec) TRI30_D80 0.0 # d80% diameter induced by triangular at 30 deg. (arcsec) QUA00_D80 0.0 # d80% diameter induced by quadratic at 0 deg. (arcsec) QUA22_D80 0.0 # d80% diameter induced by quadratic at 22.5 deg. (arcsec) #--------------------------------- Signal ------------------------------------ WAVELENGTH 0.806 # average wavelength analysed (microns) BACK_MAG 18.5 # background surface brightness (mag/arcsec2) #------------------------------ Stellar field -------------------------------- STARCOUNT_ZP 150000 # nb of stars /deg2 brighter than MAG_LIMITS STARCOUNT_SLOPE 0.3 # slope of differential star counts (dexp/mag) MAG_LIMITS 12.5,23.5 # stellar magnitude range allowed #----------------------------- Random Seeds --------------------------------- SEED_MOTION 0 # random seed for PSF turbulent motion SEED_STARPOS 0 # random seed for star positions #----------------------------- Miscellaneous ---------------------------------# VERBOSE_TYPE FULL # may be QUIET, NORMAL or FULL 1CTIO 1.3m + ANDICAM – information available at : http://www.astronomy.ohio-state.edu/ANDICAM/detectors.html March 2007 Bogdan Popescu
Work in progress - Anisotropic King Model Distribution - “bubbles” + “parabollic stars” - rescalling + recentering - multiple King clusters - Image settings - *.sky files for U,B,V,J,H,K and CTIO 1.3m + ANDICAM, CCD +IR (i.sky for the I-Band completed) March 2007 Bogdan Popescu