- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/psphot
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/psphot merged eligible /branches/eam_branches/stackphot.20100406/psphot 27622-27655 /branches/pap_delete/psphot 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simmosaic_branches/psphot/doc/notes.20090523.txt
r24583 r27839 1 1 2 20090 523 : extended source analysis -- further development2 20090809 : more on extended sources: 3 3 4 issues to address:4 my algorithm for getting the petrosian radii and fluxes is: 5 5 6 * quality of moments used for initial psf selection 7 - what is the behavior of moments with Gaussian windowing as function of S/N & size? 8 - can we choose a sigma value that will give reliable moments for an expected range of seeing? 6 * measure radial profile by interpolation to specific locations along the radial line 7 (at low radii, this gives much more accurate results; at high radii, we may need to 8 average a group of pixels -- say, for 15 deg separations, choose a box that is 9 < 5 degree in width -- this is > 1 pixel at a distance of 12 pixels. 9 10 10 * moments for galaxy model guesses 11 - trade-off between Gaussian windowing, tophat windowing, and S/N windowing in footprint area 11 psphotRadialProfilesByAngle 12 12 13 initial dev work:13 * find intersection of profile with isophot 14 14 15 * add Gaussian windowing, S/N windowing, (tophat windowing) and options to select15 psphotRadiusFromProfile -> r50(theta) 16 16 17 * check visualization of moments 17 * generate r50x, r50y and fit to ellipse 18 19 psphotEllipticalContour 20 21 * generate elliptical profile 22 23 psphotEllipticalProfile 24 25 * convert to \alpha r_i < r < \beta r_i bins 26 27 psphotPetrosianRadialBins 28 29 20090725 : extended source radial profiles 30 31 I need to fix the Petrosian and similar code. There are several issues: 32 33 1) correct implementation of the actual Petrosian radius / Petrosian flux measurement: 34 35 R_p : Given F(R) : F(0) / F(R_p) = 0.9 ?? (something like this...) 36 37 Actually implemented by calculating the average surface brightness in annullii: 38 39 R_p : Given F(R) -> define f(R) = \sum_{R-dR}^{R+dR}F(R) / 4\pi R dR 40 R_p : f(dR) / F(R_p) = P_ratio 41 42 2) need to construct a clean, normalized radial profile to make this measurement 43 44 * generate radial profiles for each of N annular wedges 45 * find R_50 : f(0) / f(R_50) = 0.5 46 $ fit the ellipse of R_50 to Rmaj sin(T) + Rmin cos(T) 47 48 49 cos(a+b) = cos(a) cos(b) - sin(a) sin(b) 50 sin(a+b) = cos(a) sin(b) + cos(b) sin(a) 51 52 cos(theta+To) = cos(theta) cos(To) - sin(theta) sin(To) 53 sin(theta+To) = cos(theta) sin(To) + sin(theta) cos(To) 54 55 R_x = R_maj cos(theta + theta_o) = R_maj cos(theta) cos(theta_o) - Rmaj sin(theta) sin(theta_o) 56 R_y = R_min sin(theta + theta_o) = R_min cos(theta) sin(theta_o) + Rmin sin(theta) cos(theta_o) 57 58 R_X = R_x cos(phi) - R_y sin(phi) 59 R_Y = R_x sin(phi) + R_y cos(phi) 60 61 R_X = R_maj cos(phi) cos(theta + To) - R_min sin(phi) sin(theta + To) 62 R_Y = R_maj sin(phi) cos(theta + To) + R_min cos(phi) sin(theta + To) 63 64 R_X = (R_maj cos(phi) cos (To) - R_min sin(phi) sin(To)) cos(theta) - (Rmaj cos(phi) sin(To) + Rmin sin(phi) cos(To)) sin(theta) 65 R_Y = (R_maj sin(phi) cos (To) + R_min cos(phi) sin(To)) cos(theta) - (Rmaj cos(phi) sin(To) + Rmin sin(phi) cos(To)) sin(theta) 66 67 68 R_X = Ax cos(theta) + Bx sin(theta) 69 R_Y = Ay cos(theta) + By sin(theta) 70 71 Ax = \sum (R_X * cos(theta)) 72 Bx = \sum (R_X * sin(theta)) 73 Ay = \sum (R_Y * cos(theta)) 74 By = \sum (R_Y * sin(theta)) 75 76 R_maj = sqrt(Ax^2 + Ay^2) 77 R_min = sqrt(Bx^2 + By^2) 78 79 phi = atan2(Bx + By, Ax + Ay) 80 81 *** get rest of math from my notebook... 18 82 19 83 20090525 : some clarity of issues: … … 40 104 41 105 * QGAUSS with see 106 107 20090523 : extended source analysis -- further development 108 109 issues to address: 110 111 * quality of moments used for initial psf selection 112 - what is the behavior of moments with Gaussian windowing as function of S/N & size? 113 - can we choose a sigma value that will give reliable moments for an expected range of seeing? 114 115 * moments for galaxy model guesses 116 - trade-off between Gaussian windowing, tophat windowing, and S/N windowing in footprint area 117 118 initial dev work: 119 120 * add Gaussian windowing, S/N windowing, (tophat windowing) and options to select 121 122 * check visualization of moments 123
Note:
See TracChangeset
for help on using the changeset viewer.
