Apéndices 294 .3. Programa Fortran utilizado con el Método de Downhill Por razones de espacio, presentamos solamente los modulos más importantes del programa. Tampoco mostramos las subrutinas utilizadas del libro Numerical Recipes (Press et al. 1990). program prog common /comunes/ spec2,lam13,vrot,points,ndesder13,nhastar13, ,np1,wspec,file real*8 spec2(2e5),lam13(2e5),vrot,vrad integer points integer ndesder13,nhastar13,np1,wspec character file*80 save /comunes/ call cls write(*,*) ”***** Downhill Simplex Method *****” write(*,*) open(49, file=”datain/filenames.txt”,status=. o ld”) open(50, file=”dataout/Solution.txt”) open(52, file=”dataout/Logfile.txt”) write(50,*) ”Final solution:” write(50,*) ”Name Teff logg [Fe/H] xita vrot vrad (and initial guess)” do read(49,’(a80)’,end=120) file call downhill enddo 120continue write(*,*) write(*,*) ”Downhill finished.” write(*,*) write(52,*) write(52,*) ”Downhill finished.” write(52,*) close(49) close(50) close(52) end
Apéndices 295 subroutine downhill real*8 spec1(2e5,2),specobs(2e5,2),prex,spec5(2e5,1) real*8 desde,hasta,delta,lam,rlam,oldlam,diff,x,x1,x2 ,y1,y2,px,int4 real*8 frad real found,ex character alpha*1 character fname*40,path*12,file1*80 common /comunes/ spec2,lam13,vrot,points,ndesder13,nhastar13, np1,wspec,file real*8 spec2(2e5),lam13(2e5),vrot,vrad integer points integer ndesder13,nhastar13,np1,wspec character file*80 save /comunes/ real teff0,logg0,feh0,xita0 real uobs,bobs,yobs integer n real*8 p0(4),p1(4),p2(4) real*8 p3(4),p4(4),p(5,4) real*8 y(5) real*8 zx(4) integer iterl real*8 ftol real*8 funk real*8 vrestim external funk prex=0.0005 wspec=0 write(*,*) write(*,*) file write(*,*) Reading observed spectra ” write(52,*) write(52,*) file write(52,*) Reading observed spectra ” !lee specobs file1=”datain///file open(1,file=file1,status=. o ld”) read(1,*) vrot,vrad write(*,*) ”First values should be vsini:”,vrot,”km/s and vrad:”,vrad,”km/s” write(52,*) ”First values should be vsini:”,vrot,”km/s and vrad:”,vrad,”km/s” if (vrot.gt.1000) then write(*,*) ”vrot out of limits” write(52,*) ”vrot out of limits” stop endif if ((vrad.gt.1000.).and.(vrad.ne.9999.)) then write(*,*) ”vrad out of limits” write(52,*) ”vrad out of limits” stop endif n=1 frad=( (-vrad/299800.)+1)**-1 do read(1,*,end=100) specobs(n,1),specobs(n,2) !lam,flux if (vrad.ne.9999.) then specobs(n,1)=specobs(n,1)*frad endif n=n+1 enddo 100close(1) points=n-1 desde=specobs(1,1) hasta=specobs(points,1) delta=0.02 !write(*,*) ”lambda ranges ”,desde, hasta write(*,*) Reading Stromgren u, b, y” write(52,*) Reading Stromgren u, b, y” open(10,file=”stromobs.dat”) read(10,*) uobs,bobs,yobs close(10) write(*,*) . O bserved spectra covers from ”,desde,”to ”,hasta write(*,*) ”Number of points = ”,points write(*,*) ”Stromgren u b y = ”,uobs,bobs,yobs write(52,*) . O bserved spectra covers from ”,desde,”to ”,hasta write(52,*) ”Number of points = ”,points write(52,*) ”Stromgren u b y = ”,uobs,bobs,yobs oldlam=specobs(1,1) open(47,file=”spec1.dat”) write(47,*) specobs(1,1),specobs(1,2) do i=2,points lam=specobs(i,1) int4=specobs(i,2) diff=abs(lam-oldlam) if (diff.gt.1) then do rlam=oldlam+0.02,lam-0.02,0.02 write(47,*) rlam,9999. enddo endif write(47,*) lam,int4 oldlam=lam enddo close(47) open(47,file=”spec1.dat”) i=1 do read(47,*,end=260) spec1(i,1),spec1(i,2) i=i+1 enddo 260close(47)
- Page 1 and 2:
Propiedades Físicas de Estrellas c
- Page 3 and 4:
Resumen En este trabajo, estudiamos
- Page 5 and 6:
y la presencia de planetas, podría
- Page 7 and 8:
Índice General 5 Astrophysics (Saf
- Page 9 and 10:
Índice General 7 2.7. Polarimetrí
- Page 11 and 12:
Introducción Hasta hace 15 años,
- Page 13 and 14:
Introducción 11 Beckwith, S. V., 1
- Page 15 and 16:
Capítulo 1. Caracterización de Es
- Page 17 and 18:
Capítulo 1. Caracterización de Es
- Page 19 and 20:
Capítulo 1. Caracterización de Es
- Page 21 and 22:
Capítulo 1. Caracterización de Es
- Page 23 and 24:
Capítulo 1. Caracterización de Es
- Page 25 and 26:
Capítulo 1. Caracterización de Es
- Page 27 and 28:
Capítulo 1. Caracterización de Es
- Page 29 and 30:
Capítulo 1. Caracterización de Es
- Page 31 and 32:
Capítulo 1. Caracterización de Es
- Page 33 and 34:
Capítulo 1. Caracterización de Es
- Page 35 and 36:
Capítulo 1. Caracterización de Es
- Page 37 and 38:
Capítulo 1. Caracterización de Es
- Page 39 and 40:
Capítulo 1. Caracterización de Es
- Page 41 and 42:
Capítulo 1. Caracterización de Es
- Page 43 and 44:
Capítulo 1. Caracterización de Es
- Page 45 and 46:
Capítulo 1. Caracterización de Es
- Page 47 and 48:
Capítulo 1. Caracterización de Es
- Page 49 and 50:
Capítulo 1. Caracterización de Es
- Page 51 and 52:
Capítulo 1. Caracterización de Es
- Page 53 and 54:
Capítulo 1. Caracterización de Es
- Page 55 and 56:
Capítulo 1. Caracterización de Es
- Page 57 and 58:
Capítulo 1. Caracterización de Es
- Page 59 and 60:
Capítulo 2 Búsqueda de Discos en
- Page 61 and 62:
Capítulo 2. Búsqueda de Discos en
- Page 63 and 64:
Capítulo 2. Búsqueda de Discos en
- Page 65 and 66:
Capítulo 2. Búsqueda de Discos en
- Page 67 and 68:
Capítulo 2. Búsqueda de Discos en
- Page 69 and 70:
Capítulo 2. Búsqueda de Discos en
- Page 71 and 72:
Capítulo 2. Búsqueda de Discos en
- Page 73 and 74:
Capítulo 2. Búsqueda de Discos en
- Page 75 and 76:
Capítulo 2. Búsqueda de Discos en
- Page 77 and 78:
Capítulo 2. Búsqueda de Discos en
- Page 79 and 80:
Capítulo 2. Búsqueda de Discos en
- Page 81 and 82:
Capítulo 2. Búsqueda de Discos en
- Page 83 and 84:
Capítulo 2. Búsqueda de Discos en
- Page 85 and 86:
Capítulo 2. Búsqueda de Discos en
- Page 87 and 88:
Capítulo 2. Búsqueda de Discos en
- Page 89 and 90:
Capítulo 2. Búsqueda de Discos en
- Page 91 and 92:
Capítulo 2. Búsqueda de Discos en
- Page 93 and 94:
Capítulo 2. Búsqueda de Discos en
- Page 95 and 96:
Capítulo 2. Búsqueda de Discos en
- Page 97 and 98:
Capítulo 3. Sobre la Distribución
- Page 99 and 100:
Capítulo 3. Sobre la Distribución
- Page 101 and 102:
Capítulo 3. Sobre la Distribución
- Page 103 and 104:
Capítulo 3. Sobre la Distribución
- Page 105 and 106:
Capítulo 3. Sobre la Distribución
- Page 107 and 108:
Capítulo 3. Sobre la Distribución
- Page 109 and 110:
Capítulo 3. Sobre la Distribución
- Page 111 and 112:
Capítulo 3. Sobre la Distribución
- Page 113 and 114:
Capítulo 3. Sobre la Distribución
- Page 115 and 116:
Capítulo 3. Sobre la Distribución
- Page 117 and 118:
Capítulo 3. Sobre la Distribución
- Page 119 and 120:
Capítulo 3. Sobre la Distribución
- Page 121 and 122:
Capítulo 3. Sobre la Distribución
- Page 123 and 124:
Capítulo 3. Sobre la Distribución
- Page 125 and 126:
Capítulo 3. Sobre la Distribución
- Page 127 and 128:
Capítulo 3. Sobre la Distribución
- Page 129 and 130:
Capítulo 3. Sobre la Distribución
- Page 131 and 132:
Capítulo 3. Sobre la Distribución
- Page 133 and 134:
Capítulo 3. Sobre la Distribución
- Page 135 and 136:
Capítulo 3. Sobre la Distribución
- Page 137 and 138:
Capítulo 3. Sobre la Distribución
- Page 139 and 140:
Capítulo 3. Sobre la Distribución
- Page 141 and 142:
Capítulo 3. Sobre la Distribución
- Page 143 and 144:
Capítulo 3. Sobre la Distribución
- Page 145 and 146:
Capítulo 3. Sobre la Distribución
- Page 147 and 148:
Capítulo 3. Sobre la Distribución
- Page 149 and 150:
Capítulo 3. Sobre la Distribución
- Page 151 and 152:
Capítulo 3. Sobre la Distribución
- Page 153 and 154:
Capítulo 3. Sobre la Distribución
- Page 155 and 156:
Capítulo 3. Sobre la Distribución
- Page 157 and 158:
Capítulo 3. Sobre la Distribución
- Page 159 and 160:
Capítulo 4 Determinación de la Me
- Page 161 and 162:
Capítulo 4. Determinación de la M
- Page 163 and 164:
Capítulo 4. Determinación de la M
- Page 165 and 166:
Capítulo 4. Determinación de la M
- Page 167 and 168:
Capítulo 4. Determinación de la M
- Page 169 and 170:
Capítulo 4. Determinación de la M
- Page 171 and 172:
Capítulo 4. Determinación de la M
- Page 173 and 174:
Capítulo 4. Determinación de la M
- Page 175 and 176:
Capítulo 4. Determinación de la M
- Page 177 and 178:
Capítulo 4. Determinación de la M
- Page 179 and 180:
Capítulo 4. Determinación de la M
- Page 181 and 182:
Capítulo 4. Determinación de la M
- Page 183 and 184:
Capítulo 4. Determinación de la M
- Page 185 and 186:
Capítulo 4. Determinación de la M
- Page 187 and 188:
Capítulo 4. Determinación de la M
- Page 189 and 190:
Capítulo 4. Determinación de la M
- Page 191 and 192:
Capítulo 4. Determinación de la M
- Page 193 and 194:
Capítulo 4. Determinación de la M
- Page 195 and 196:
Capítulo 4. Determinación de la M
- Page 197 and 198:
Capítulo 4. Determinación de la M
- Page 199 and 200:
Capítulo 4. Determinación de la M
- Page 201 and 202:
Capítulo 4. Determinación de la M
- Page 203 and 204:
Capítulo 4. Determinación de la M
- Page 205 and 206:
Capítulo 4. Determinación de la M
- Page 207 and 208:
Capítulo 4. Determinación de la M
- Page 209 and 210:
Capítulo 4. Determinación de la M
- Page 211 and 212:
Capítulo 4. Determinación de la M
- Page 213 and 214:
Capítulo 4. Determinación de la M
- Page 215 and 216:
Capítulo 4. Determinación de la M
- Page 217 and 218:
Capítulo 4. Determinación de la M
- Page 219 and 220:
Capítulo 4. Determinación de la M
- Page 221 and 222:
Capítulo 5. Características de Di
- Page 223 and 224:
Capítulo 5. Características de Di
- Page 225 and 226:
Capítulo 5. Características de Di
- Page 227 and 228:
Capítulo 5. Características de Di
- Page 229 and 230:
Capítulo 5. Características de Di
- Page 231 and 232:
Capítulo 5. Características de Di
- Page 233 and 234:
Capítulo 5. Características de Di
- Page 235 and 236:
Capítulo 5. Características de Di
- Page 237 and 238:
Capítulo 5. Características de Di
- Page 239 and 240:
Capítulo 5. Características de Di
- Page 241 and 242:
Capítulo 5. Características de Di
- Page 243 and 244:
Capítulo 5. Características de Di
- Page 245 and 246: Capítulo 5. Características de Di
- Page 247 and 248: Capítulo 5. Características de Di
- Page 249 and 250: Capítulo 5. Características de Di
- Page 251 and 252: Capítulo 5. Características de Di
- Page 253 and 254: Capítulo 5. Características de Di
- Page 255 and 256: Capítulo 5. Características de Di
- Page 257 and 258: Capítulo 5. Características de Di
- Page 259 and 260: Conclusiones y perspectivas futuras
- Page 261 and 262: Conclusiones y Perspectivas Futuras
- Page 263 and 264: Conclusiones y Perspectivas Futuras
- Page 265 and 266: Conclusiones y Perspectivas Futuras
- Page 267 and 268: Conclusiones y Perspectivas Futuras
- Page 269 and 270: Índice de figuras 1.1. Mediciones
- Page 271 and 272: Conclusiones y Perspectivas Futuras
- Page 273 and 274: Conclusiones y Perspectivas Futuras
- Page 275 and 276: Conclusiones y Perspectivas Futuras
- Page 277 and 278: Conclusiones y Perspectivas Futuras
- Page 279 and 280: Conclusiones y Perspectivas Futuras
- Page 281 and 282: Conclusiones y Perspectivas Futuras
- Page 283 and 284: Apéndices .1. La Definición de Ex
- Page 285 and 286: Apéndices 283 .2. Índices medidos
- Page 287 and 288: Apéndices 285 Tabla 7: Índices de
- Page 289 and 290: Apéndices 287 Tabla 7: Índices de
- Page 291 and 292: Apéndices 289 Tabla 7: Índices de
- Page 293 and 294: Apéndices 291 Tabla 7: Índices de
- Page 295: Apéndices 293 Tabla 8: Referencias
- Page 299 and 300: Apéndices 297 enddo y(2)=funk(zx)
- Page 301 and 302: Apéndices 299 teff =zx(1) logg =zx
- Page 303 and 304: Apéndices 301 found=0 do i=1,np1 i