Max,
the script was initially written as a prototype to better understand the PI process of calibration/alignment and integration. And it is my first try with javascript. There are limitations
of the script language preventing me from adding complex functions to this (mainly lack of a debugger, the limited degree of interactivity with the modal behaviour of the script dialog).
If possible, I would try to port this to a C++ module and then enhance functionality - but if I correctly understand it is up to now not possible to invoke PI modules or their properties/methods from another PCL module

?.
Thank you for your feedback!
1 Add integration. Unselect align or integration processes when desired too
I can try to add this - the integration control is separated in the script code and it may be possible to add this dynamically for all filter settings to the Light tab.
This was removed from the initial version because I thought about using different sets of integration parameters for well sampled L data and more or less poorly sampled RGB data.
2. Deselect individual fits files from list in addition to clear all
I have planned to do this - I will need some more information about the TreeBox object in order to give a visual feedback to the user.
3. Select the reference image from the image list , double click or default to first file ( easier than set path)
Hm, I need again more info or code examples for TreeBox.
4. Single image or an image named master in fits key word automatically identified as a master
No need to check use master
Yes, I thought about adding a new FITS keyword to the master frames.
5. Persistent setting and paths. They should remain the same next time script is run
I need some information about object persistance in PJSR. This should be added with priority.
6. I use a rotator so matching the fits key rotator ' xxx.xx ' position in degrees between flats and lights would be vary helpful. ( in addition to filter)
Unfortunately I have no rotator yet - but I have thought about adding this to my equipment. Of course it is possible to add this to the data when reading the FITS files but I will need
example data.
Best,
Kai