Advertisement
Guest User

Untitled

a guest
Apr 5th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.68 KB | None | 0 0
  1. # Egy célpont észlelése: ráállás a célpontra, képek elkészítése, asztrometria, mechanika szinkronizálása, hőmérséklet és fókusz ellenőrzése, IRIS-szkript legyártása
  2. # Paraméterezés: eszl cepont;exp_hossza;darabszám
  3. # Pl. eszl fxcas;45;10
  4. # Kimenet: fxcas170111p45s1.cr2; ... fxcas170111p45s10.cr2
  5.  
  6. println Átállás erre a célpontra: @1
  7. mount.goto @1
  8. println 30s várakozás
  9. sleep 30
  10. println Képek készítése, @1 észlelése
  11. ccd.expo @2; @3; 6; (@1)17($time.MONTH)($time.DAY)p(@2)s[@EXPNUMBER]
  12. exec ufraw-batch --out-type=jpg ($home)/(@1)17($time.MONTH)($time.DAY)p(@2)s1.cr2
  13. mount.getcoords coords
  14. astrometry ($home)/(@1)17($time.MONTH)($time.DAY)p(@2)s1.jpg; $coords.RA; $coords.DEC; 5; coords
  15. mount.sync ($coords.RA); ($coords.DEC)
  16. println Mechanika szinkronizálása RA: $coords.RA DEC: $coords.DEC
  17. mount.display HORIZONTAL_COORD
  18. mount.setprop ALIGNLIST; ALIGNWRITEFILE
  19. clean
  20.  
  21. println HOMERSEKLET ELLENORZES: (@1)17($time.MONTH)($time.DAY)p(@2)s1.cr2
  22. exec exiftool ($home)/(@1)17($time.MONTH)($time.DAY)p(@2)s1.cr2 | grep "Camera Temperature"
  23. # println HOMERSEKLET ELLENORZES: (@1)17($time.MONTH)($time.DAY)p(@2)s($reszossz).cr2
  24. # exec exiftool ($home)/(@1)17($time.MONTH)($time.DAY)p(@2)s($reszossz).cr2 | grep "Camera Temperature"
  25. println HOMERSEKLET ELLENORZES: (@1)17($time.MONTH)($time.DAY)p(@2)s(@3).cr2
  26. exec exiftool ($home)/(@1)17($time.MONTH)($time.DAY)p(@2)s(@3).cr2 | grep "Camera Temperature"
  27. println FOKUSZ ELLENORZES: (@1)17($time.MONTH)($time.DAY)p(@2)s1.cr2
  28. exec exifprobe ($home)/(@1)17($time.MONTH)($time.DAY)p(@2)s1.cr2 | grep FocusInfo.01_FocalLength
  29.  
  30. # IRIS-szript generálása
  31. exec rm ($home)/@1.pgm
  32. println @1.pgm IRIS-szkript generálása
  33. println (@1)17($time.MONTH)($time.DAY)p(@2)s képek alapján
  34. reszossz := @3 / 2
  35.  
  36. file.writeln ($home)/@1.pgm; ' @1.pgm (@1)17($time.MONTH)($time.DAY)p(@2)s generalasa
  37. println részösszeg: $reszossz
  38. file.writeln ($home)/@1.pgm; '
  39. file.writeln ($home)/@1.pgm; convertraw (@1)17($time.MONTH)($time.DAY)p(@2)s img @3
  40. file.writeln ($home)/@1.pgm; pr img biasdark(@2)s master-flat cal @3
  41. file.writeln ($home)/@1.pgm; cosme_cfa2 cal calx cosme(@2)s @3
  42. file.writeln ($home)/@1.pgm; cfa2pic calx conv @3
  43. file.writeln ($home)/@1.pgm; setspline 1
  44. file.writeln ($home)/@1.pgm; coregister2 conv reg @3
  45. file.writeln ($home)/@1.pgm; noffset2 reg roff 0 @3
  46. file.writeln ($home)/@1.pgm; copyadd roff (@1)17($time.MONTH)($time.DAY)p(@2)s($reszossz)s @3 $reszossz
  47. file.writeln ($home)/@1.pgm; split_rgb2 (@1)17($time.MONTH)($time.DAY)p(@2)s($reszossz)s (@1)17($time.MONTH)($time.DAY)p(@2)sp($reszossz)sr (@1)17($time.MONTH)($time.DAY)p(@2)s($reszossz)sg (@1)17($time.MONTH)($time.DAY)p(@2)s($reszossz)sb 2
  48. file.writeln ($home)/@1.pgm; copyadd roff (@1)17($time.MONTH)($time.DAY)p(@2)s(@3)p @3 @3
  49. file.writeln ($home)/@1.pgm; split_rgb2 (@1)17($time.MONTH)($time.DAY)p(@2)s(@3)p (@1)17($time.MONTH)($time.DAY)p(@2)s(@3)pr (@1)17($time.MONTH)($time.DAY)p(@2)s(@3)pg (@1)17($time.MONTH)($time.DAY)p(@2)s(@3)pb 1
  50. file.writeln ($home)/@1.pgm; load (@1)17($time.MONTH)($time.DAY)p(@2)s(@3)p1
  51. file.writeln ($home)/@1.pgm; savejpg (@1)17($time.MONTH)($time.DAY)p(@2)sc 1
  52.  
  53.  
  54. # eszl lxand; 60; 10 esetén a kimenet:
  55. # convertraw lxand170129p60s img 10
  56. # pr img biasdark60s master-flat cal 10
  57. # cosme_cfa2 cal calx cosme60s 10
  58. # cfa2pic calx conv 10
  59. # setspline 1
  60. # coregister2 conv reg 10
  61. # noffset2 reg roff 0 10
  62. # copyadd roff lxand170129p60s5s 10 5
  63. # split_rgb2 lxand170129p60s5s lxand170129p60s5sr lxand170129p60s5sg lxand170129p60s5sb 2
  64. # copyadd roff lxand170129p60s10p 10 10
  65. # split_rgb2 lxand170129p60s10p lxand170129p60s10pr lxand170129p60s10pg lxand170129p60s10pb 1
  66. # load lxand170129p60s10p1
  67. # savejpg lxand170129p60sc 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement