Author Topic: Automatic Data Reduction  (Read 705 times)

Offline nmontec

  • Member
  • *
  • Posts: 72
    • View Profile
    • SkyMonsters
Automatic Data Reduction
« on: 2018 January 09 08:50:19 »
Let's suppose you have a Variable Star time sequence with a lot of images and you want automatically to do:

- image calibration
- plate solving of the first image of the sequence
- aperture photometry with data table export

1) How would you do that from command line?
2) How do I pass the parameters from the command line to the scripts?


Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 6941
    • View Profile
Re: Automatic Data Reduction
« Reply #1 on: 2018 February 05 01:23:02 »
Hi Nicola,

Naturally, this can be done with PixInsight. However, the command line is not the best option; you have to write either a script in the JavaScript language, or a module in C++. For relatively simple chained batch tasks like these, JavaScript is undoubtedly the best and fastest option. I know if you have no programming experience, this may sound quite daunting, but it is actually much easier than what may seem. You just have to put all of the data items in their correct places and call the correct tools to get the tasks done in sequence.
Juan Conejero
PixInsight Development Team