Author Topic: Automatic Data Reduction  (Read 2617 times)

Offline nmontec

  • Member
  • *
  • Posts: 73
    • 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?

Thanks
Nicola

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
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
http://pixinsight.com/