Warning
This stacker is destructive. It's kind of the whole point. Just pump as much data into it as you can, if it drops some photos just keep pumping them in. BUT, if you want to keep the originals, and are just using this for the ram disk, partitioned stacking, then please copy emphasis on copy, your photos in from somewhere safe. Or add another script to copy photos in to the input dir from some other receiving dir. Do not point this at a directory where your originals are going to be if you can't afford to lose the originals.
This is delegates the actual stacking to Siril . This is simply a partitioned live stacking wrapper for siril.
Monitors an input directory and stacks every "n" files.
Files are copied to an alternative directory for processing. This is intended to be a ram disk or something similar to save on disk writes and boost io/speed.
Stacks happen first in partitions and then in layers.
Drizzle is applied at every layer. The theory is that if we do a hierarchical stack, that we may boost the surface area enough between each round of stacking to benefit further from drizzling. But we'll see how that goes.
The idea is to minimize disk space requirements by live stacking partitions of images as they arrive, and pushing them up to new layers, to be stacked further once enough partitions are stacked to stack a full partition at the next level.
I'm also including a plate solving api adaptor for the API defined by astrometry.net. THe idea is to use the same API, but direct your actual plate solving to whatever app you want. Currently this only integrates with a local install of astrometry.net. But I'm planning to add a siril integration as well. Note if using sirl, you'll want to make sure you have downloaded all the indexes and assets so that it runs offline.
NOTE! This is very much still an early work in progress. It should build, but in its present form you are going to have to be able to make sense of the rough source code and hack in some hard coded configs to get it working. Use at your own risk.