From Queen Bat, 1 Year ago, written in GNU Octave M-file.
Embed
  1.  
  2. load test_ra.txt
  3. load test_dec.txt
  4. load test_jd.txt
  5. load test_mag.txt
  6.  
  7. m=test_mag
  8. ti=test_jd
  9. t=ti-test_jd(1)
  10. ra=test_ra
  11. dec=test_dec
  12.  
  13. dr=(max(ra)-min(ra))/10
  14. dd=(max(dec)-min(dec))/10
  15. dm=6*std(m)
  16. dt=(max(t)-min(t))/5
  17.  
  18. h = figure('visible', 'off');
  19.  
  20. subplot(2,2,1)
  21. plot(t,ra,'ob-','LineWidth',4)
  22. axis([min(t)-dt,max(t)+dt,min(ra)-dr,max(ra)+dr])
  23. h=get (gcf, "currentaxes");
  24. set(h,"fontweight","bold","linewidth",2)
  25. %yticks = get(gca, 'YTick');
  26. %set(gca, 'YTickLabel', num2hex(yticks));
  27. xlabel('Tiempo (JD) [Ti=0]')
  28. ylabel('Ascencion Recta')
  29. title('Ascencion Recta vs. Tiempo')
  30. grid on            
  31.  
  32. subplot(2,2,2)
  33. plot(t,dec,'ob-','LineWidth',4)
  34. axis([min(t)-dt,max(t)+dt,min(dec)-dd,max(dec)+dd])
  35. h=get (gcf, "currentaxes");
  36. set(h,"fontweight","bold","linewidth",2)
  37. xlabel('Tiempo (JD) [Ti=0]')
  38. ylabel('Declinacion')
  39. title('Declinacion vs. Tiempo')
  40. grid on            
  41.  
  42. subplot(2,2,3)
  43. plot(ra,dec,'or-','LineWidth',4)
  44. axis([min(ra)-dr,max(ra)+dr,min(dec)-dd,max(dec)+dd])
  45. h=get (gcf, "currentaxes");                                                                                                             [44/94]
  46. set(h,"fontweight","bold","linewidth",2)
  47. ylabel('Declinacion')
  48. xlabel('Ascencion Recta')
  49. title('Movimiento del Objeto')
  50. grid on            
  51. hold on
  52.  
  53. ptra=polyfit(t,ra,1);
  54. rat=polyval(ptra,t);
  55. ptdec=polyfit(t,dec,1);
  56. dect=polyval(ptdec,t);
  57. pradec=polyfit(ra,dec,1);
  58. decm=mean(dec)
  59. rac=ra*15*cos(decm*pi/180)
  60.  
  61. pradec2=polyfit(rac,dec,1);
  62.  
  63. decra=polyval(pradec,ra);
  64.  
  65.  
  66. plot(ra,dec,'*',ra,decra,'-','LineWidth',4)
  67. h=get (gcf, "currentaxes");
  68. set(h,"fontweight","bold","linewidth",4)
  69. hold on
  70. for i=1:length(t)
  71.     text((ra(i)+(dr/3)),dec(i),num2str(i),'fontweight','bold');
  72. end
  73. hold off
  74. %xlabel('RA (hr)')
  75. %ylabel('Dec (deg)')
  76.  
  77. pra=polyfit(t,ra,1);
  78. pdec=polyfit(t,dec,1);
  79. rarate=pra(1)*15*3600/24*cos(mean(dec)*pi/180)
  80. decrate=pdec(1)*3600/24
  81.  
  82.  
  83.  
  84. subplot(2,2,4)
  85. plot(t,m,'om-','LineWidth',4)
  86. l1=min(t)-dt
  87. l2=max(t)+dt
  88. %l3=min(m)-dm
  89. %l4=max(m)+dm                                                                                                                            [0/94]
  90. l3=mean(m)-mean(m)/5
  91. l4=mean(m)+mean(m)/5
  92. axis([l1 l2 l3 l4])
  93. h=get (gcf, "currentaxes");
  94. set(h,"fontweight","bold","linewidth",2)
  95. ylabel('Magnitud')
  96. xlabel('Tiempo (JD) [Ti=0]')
  97. title('Curva de Luz del Objeto')
  98. grid on            
  99.  
  100.  
  101. rajuste=corrcoef(ra,dec)
  102.  
  103. saveas(gcf, 'test_astromet.jpg')
  104.  
  105. pear=abs(rajuste)
  106.  
  107. if pear >= 0.985
  108.         diagnostico = 'bien'
  109. else
  110.         diagnostico = 'mal'
  111. end
  112.  
  113. filename = 'diag_testeo.txt';
  114. fid = fopen(filename, 'w');
  115. fprintf(fid, '%s\n', diagnostico);
  116. fclose(fid);
  117.  
  118. a=pradec2(1)
  119. b=pradec2(2)
  120.  
  121. res=(abs(a*rac-dec+b))./sqrt(a^2+1)
  122.  
  123. format short
  124.  
  125. res_medio=mean(res)*3600
  126. res_std=std(res)*3600
  127. res_max=max(res)*3600
  128.  
  129. save -ascii res.txt res
  130. save -ascii rajuste.txt rajuste
  131. save -ascii res_medio.txt res_medio
  132. save -ascii res_std.txt res_std
  133. save -ascii res_max.txt res_max

Replies to script rss

Title Name Language When
Horoscope explorer pro keygen rar Subtle Matamata octave 11 Months ago.
Torrentvault invite code - torrentvault invite cod Sexy Hummingbird octave 11 Months ago.
Torrent cdma workshop 390 Toxic Capybara octave 11 Months ago.
Crack de peggle deluxe Capacious Matamata octave 11 Months ago.
Prology imap 7000m прошивка Obese Giraffe octave 11 Months ago.
Torrent doulci activator v2014 Bulky Flamingo octave 11 Months ago.
Pretty pet tycoon mod apk unlimited money Crippled Sheep octave 11 Months ago.
Ls dyna license file crack Wet Water Vole octave 11 Months ago.
Npav 2013 crack file download Small Madrill octave 11 Months ago.
Facebook hacker v19 free download softonic Red Duck octave 11 Months ago.
Jmp 11 keygen Sludgy Pheasant octave 11 Months ago.
Pokemon dark rising pokedex locations Bistre Marmoset octave 11 Months ago.
Girl tech camera vj 621 driver download Sloppy Frog octave 11 Months ago.
Winthruster ключ активации 2016 Abrupt Goose octave 11 Months ago.
Lords mobile cd key Colorant Duck octave 11 Months ago.
Download reason 6 full version free Paltry Owl octave 11 Months ago.
Pgi visual fortran 64 torrent Jittery Macaw octave 11 Months ago.
Download drivers elsys ewu-2n05 Tiny Matamata octave 11 Months ago.
Hobdrive pro apk 4pda Commodious Mosquito octave 11 Months ago.
Sylenth1 v3 crack Gamboge Lizard octave 11 Months ago.
Cpucores maximize your fps pubg Sexy Cheetah octave 11 Months ago.
Life of pi download movie in hindi Gracious Hog octave 11 Months ago.
Dalsy инструкция Sweltering Tern octave 11 Months ago.
Dragons of atlantis наследники дракона баги Cobalt Mockingjay octave 11 Months ago.
Mike 21 crack Whipped Hornbill octave 11 Months ago.
Cubase 7 скачать бесплатно русская версия торрент Speedy Bison octave 11 Months ago.
Usb xtaf gui v 44 не видит флешку Sole Lion octave 11 Months ago.
Kpi telecom настройка роутера Scorching Bat octave 11 Months ago.
Starline njqtr53b инструкция автозапуск Little Iguana octave 11 Months ago.
Thani oruvan 720p torrent download kickass Unique Pheasant octave 11 Months ago.
Norton mobile security serial key free Colossal Pheasant octave 11 Months ago.
Delphi autocom 2015 crack Scribby Flamingo octave 11 Months ago.
Fonwinclient скачать на андроид Gray Human octave 11 Months ago.
Ilomster на ios Toxic Parakeet octave 1 Year ago.
Portable microsoft access 2007 free download Cute Elephant octave 1 Year ago.
Vcds lite activation code crack Lousy Pelican octave 1 Year ago.
Shaytanat 21 qism Jittery Motmot octave 1 Year ago.
Tbarcode office активация Toxic Cassowary octave 1 Year ago.
Super mario 3d world pc game download Aqua Porcupine octave 1 Year ago.
Pokemon light platinum save file all pokemon Putrid Pheasant octave 1 Year ago.
Nfs most wanted сохранение перед последней гонкой Wet Butterfly octave 1 Year ago.
Suomen mestari 4 Gentle Hedgehog octave 1 Year ago.
Unipatch 1c 839 x64 Social Motmot octave 1 Year ago.
Gta 5 cd key txt Emerald Mockingjay octave 1 Year ago.
Grapher 7 скачать бесплатно Gentle Teal octave 1 Year ago.
Crack eset nod32 antivirus 5 purefix Ivory Coyote octave 1 Year ago.
Dayz standalone патч 030 download Voluminous Bird octave 1 Year ago.
Xforce keygen 64 bits autocad 2012 descargar grati Queen Owl octave 1 Year ago.
Download crack patch serial number adobe photoshop Mungo Treeshrew octave 1 Year ago.
Super mechs играть с читами на деньги Chocolate Crocodile octave 1 Year ago.
12

captcha

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: codemirror_modes

Filename: view/view_footer.php

Line Number: 6

Backtrace:

File: /var/www/html/pastebin/htdocs/themes/stikkedizr/views/view/view_footer.php
Line: 6
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 173
Function: include

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 44
Function: _ci_load

File: /var/www/html/pastebin/htdocs/themes/stikkedizr/views/view/view.php
Line: 114
Function: view

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 173
Function: include

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 44
Function: _ci_load

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 663
Function: view

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: geshi/geshi.php

Line Number: 3552

Backtrace:

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 3552
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 2907
Function: parse_non_string_part

File: /var/www/html/pastebin/htdocs/application/libraries/Process.php
Line: 45
Function: parse_code

File: /var/www/html/pastebin/htdocs/application/models/Pastes.php
Line: 490
Function: syntax

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 656
Function: getPaste

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: geshi/geshi.php

Line Number: 3552

Backtrace:

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 3552
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 2907
Function: parse_non_string_part

File: /var/www/html/pastebin/htdocs/application/libraries/Process.php
Line: 45
Function: parse_code

File: /var/www/html/pastebin/htdocs/application/models/Pastes.php
Line: 490
Function: syntax

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 656
Function: getPaste

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: geshi/geshi.php

Line Number: 3552

Backtrace:

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 3552
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 3107
Function: parse_non_string_part

File: /var/www/html/pastebin/htdocs/application/libraries/Process.php
Line: 45
Function: parse_code

File: /var/www/html/pastebin/htdocs/application/models/Pastes.php
Line: 490
Function: syntax

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 656
Function: getPaste

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once