14.01.2015 Views

OF THE ROGER N. CLARK

OF THE ROGER N. CLARK

OF THE ROGER N. CLARK

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VISUAL ASTRONOMY <strong>OF</strong> <strong>THE</strong> DEEP SKY<br />

Table F.5 (cont. )<br />

APPENDIX F: OPTIMUM DETECTION MAGNIFICATIONS FOR DEEP-SKY OBJECTS<br />

Table F.5 (cont. )<br />

c<br />

c<br />

c<br />

10<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

15<br />

c<br />

c<br />

c<br />

100<br />

c<br />

c<br />

c<br />

1<br />

i =7<br />

ang = alog10(angle )<br />

if (ang. le .angx(l)) go to 100<br />

if (ang.ge.angx(7)) go to 200<br />

find angx values bounding ang<br />

do 10 i = 1,6<br />

if ((angx(i).lt .ang) .and . (angx (i+1).ge.ang )) go to 15<br />

cont inue<br />

interpolate along the angle direction.<br />

xl is the cont ra st interpolted in the angle direction<br />

at the first bounding sb value<br />

x2 is the contra st interpolted in the angle direction<br />

at the second bounding sb value<br />

xl (ang-angx(i)) 1 (angx(i+1 ) - angx(i)) *<br />

(sbx( i+1 ,isb1 )-sbx(i,isb1)) + sbx(i,isb1)<br />

x2 (ang-angx(i)) 1 (angx(i+1 ) -angx(i)) *<br />

1 (sbx( i+1 ,isb2)-sbx(i,isb2)) + sbx(i,isb2)<br />

go to 500<br />

ang less than beginning of table , so extraploate<br />

xl = sbxC l ,isb)<br />

x2 = sbx( 1,i sb2)<br />

go to 500<br />

ang greater than last in table , so extraploate<br />

200 xl (ang-angx(6)) 1 (angx(7)-angx(6)) *<br />

c<br />

c<br />

c<br />

c<br />

500<br />

1<br />

1<br />

x2<br />

(sbx(7,isb1) - sbx(6,isb1 )) + sbx(6,isbl)<br />

(ang-angx(6)) 1 (angx(7) - angx(6)) *<br />

(sbx(7 ,isb2)-sbx(6,isb2)) + sbx(6,isb2 )<br />

Now interpolate (or extrapolate) along sb direction<br />

compute thrcon from xl , x2<br />

if (sb .It. 4.0) then<br />

x = xl<br />

else if (sb .ge. 27 .0) then<br />

x (sb-27 .0)*(x2-xl ) + x2<br />

else<br />

x (sb-real(int(sb) )) * (x2-x1) + xl<br />

end if<br />

if (x.gt. 37 .0) x=37 .0<br />

if (x.lt.-37 .0) x= -37 .0<br />

thrcon<br />

10 .0 * * x<br />

c*de bug :<br />

c*debug wr ite (6,504) i, isb1<br />

c*debug04 format (' i=' ,i6, ' isb1=' ,i6)<br />

c*debug lla = i+1<br />

c*debug if (iia .gt. 7) iia = 7<br />

c*debug<br />

write (6,505) i,ang , angx(i), angx(iia) , sbx(i,isb1),<br />

c*debug 1 sbx(iia ,isb1), x<br />

c*debug505 format (lx,<br />

c*debug 1 ang angx(i) angx (i+1 ) sbx(i,isb1 )<br />

sbx( i+1 ,isb1)' ,<br />

c*debug 2 x',/, lx, i2, 6(f7.3, Ix) , I, lx, 72(lh- ))<br />

return<br />

end<br />

c ----------------------------------- ----------------<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

c<br />

real*4 function opvang (sb)<br />

implicit integer*4 (i - n)<br />

this function computes the optimum visual angle<br />

of an object given the background surface brightness (sb)<br />

sbx surface brightness data for 18 values of optimum<br />

visual angle .<br />

opv log base 10 optimum visual angles for sbx values<br />

sbx and opv are used to interpolate to the opvang given<br />

by sb.<br />

real*4 sbx( 18) , opv( 18)<br />

data sbx 14 .0,9.0,11.0,13 .0,14.0,15.0,16.0,17.0,18.0,<br />

1 19.0,20.0,21.0,22.0,23.0,24.0,25.0,26.0,27.01<br />

data opv 10.97,1.01,1.04,1.07,1.11,1.14,1.20,1.26,1.36,<br />

1 1.49 , 1.62,1.71,1.79,1.83,1.86,1.90, 1.96,2.071<br />

if (sb.le. sbx( l)) go to 100<br />

if (sb.ge.sbx( 18) ) go to 200<br />

find sbx values bounding sb<br />

do 10 i = 1,17<br />

if ((sbx (i).lt.sb) .and .(sbx ( i+1 ).ge .sb)) go to 15<br />

10 cont inue<br />

c<br />

c<br />

c<br />

interpolate<br />

346<br />

347

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!