Advertisement
Guest User

Untitled

a guest
Apr 9th, 2021
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. ############################################
  2. # Script for Siril 1.0
  3. # July 2020
  4. # (C) Cyril Richard
  5. # ExtractHaOIII v1.0
  6. ########### PREPROCESSING SCRIPT ###########
  7. # Script for color camera preprocessing
  8. # needs 4 sets of RAW images in the working
  9. # directory, within 4 directories:
  10. # biases, flats, darks and lights
  11. #
  12. ############################################
  13.  
  14. requires 0.99.4
  15.  
  16. #build master-bias
  17. cd biases
  18. convert bias -out=../process
  19. cd ../process
  20. stack bias rej 3 3 -nonorm
  21. cd ..
  22.  
  23. #preprocess flats
  24. cd flats
  25. convert flat -out=../process
  26. cd ../process
  27. preprocess flat -bias=bias_stacked
  28.  
  29. #build master-flat
  30. stack pp_flat rej 3 3 -norm=mul
  31. cd ..
  32.  
  33. #preprocess lights
  34. cd lights
  35. convert light -out=../process
  36. cd ../process
  37. preprocess light -flat=pp_flat_stacked -cfa -equalize_cfa -debayer
  38.  
  39. #extract Ha and OIII
  40. seqextract_HaOIII pp_light
  41.  
  42. #align Ha lights
  43. register Ha_pp_light
  44.  
  45. #stack calibrated Ha lights
  46. stack r_Ha_pp_light rej 3 3 -norm=addscale -output_norm -out=../Ha_result
  47.  
  48. #align OIII lights
  49. register OIII_pp_light
  50.  
  51. #stack calibrated OIII lights
  52. stack r_OIII_pp_light rej 3 3 -norm=addscale -output_norm -out=../OIII_result
  53.  
  54. cd ..
  55.  
  56. #Now make linear match on OIII frame based upon Ha frame
  57. load OIII_result
  58. linear_match Ha_result 0 0.92
  59. save OIII_result
  60.  
  61. close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement