Stacking Technique ...
 
Share:
Notifications
Clear all

Apr 14 2026: Google Pay, Apple Pay & WeChat Pay added as payment options

Apr 12 2026 APP 2.0.0-beta41 has been released !

It has a major performance boost of 30-50% over 2.0.0-beta39 from calibration to integration, for mosaics even faster! We extensively optimized many critical parts of APP. All has been tested to guarantee correct optimizations. Drizzle and image resampling is much faster for instance, those modules have been completely rewritten. Much less memory usage. LNC 2.0 has been released which works much better and faster. Improved Outlier Rejection with LN 2.0 rejection. macOS CMD+A works now in file chooser ! And more...

Update on the 2.0.0 release & the full manual

We are getting close to the 2.0.0 stable release and the full manual. The manual will soon become available on the website and also in PDF format. Both versions will be identical and once released, will start to follow the APP release cycle and thus will stay up-to-date to the latest APP version.

Once 2.0.0 is released, the price for APP will increase. Owner's license holders will not need to pay an upgrade fee to use 2.0.0, neither do Renter's license holders.

 

Stacking Technique for Multiple Night Capture

14 Posts
5 Users
2 Reactions
498 Views
(@domhenry)
White Dwarf
Joined: 1 year ago
Posts: 10
Topic starter  

New to APP. A question on integrating data from multiple nights. I'm currently capturing Running Chicken from Brisbane Australia - weather permitting I'm capturing 1 to 3hrs a night of 60s exposures on a Dwarf 3 in eq mode. So far I have 5 nights data about 9hrs total. It's coming along nicely. I have been reprocessing all the FITs files each time to add in a new night - it's beginning to take a long time (2hrs on Mac M4) and is getting longer. So I was wondering about processing each night separately to an integrated FIT - the integrating the these FITs  - adding in new ones as I get them...   So, much lets overall processing and a lot quicker. Anyone tried this? Pros and Cons?  
ta



   
ReplyQuote
(@connor231)
Neutron Star
Joined: 6 years ago
Posts: 102
 

Dom

Generally you are better off loading all your frames into the final integration. This will give the best overall result. Maybe you could start it going and go watch a movie.

But it is certainly feasible to integrate each night's files separately and then load these integrations as lights (no calibration) and stack them together to produce the final file.

It is helpful to understand the difference between median and average stacking in this context. For each night you may have a hundred or so lights. These will be averaged in stacking, which reduces noise and also magically (or at least arithmetically 😉) creates extra bit depth, which may reveal extra detail. When the final files are stacked together these will be stacked using median stacking (assuming there are less than 20 files). This may reduce noise a little, but will not create any additional bit depth. That probably wont matter much, but is theoretically not quite as good as stacking all the files at once. But I don't want to overstate the difference, which may not be visible.

From a normalisation perspective it is again better to normalise all the lights at once, but again the difference may well be negligible.

If you are drizzling then that changes things a bit, as it is important to maximise the number of dithers in each stack. I don't know how much control over dithers the Dwarf 3 gives you, but I would want at least 40-60 dithers per stack (and I'd rather have a hundred). That might affect how many nights you put into each stack.

JC

 



   
ReplyQuote
(@domhenry)
White Dwarf
Joined: 1 year ago
Posts: 10
Topic starter  

Thanks John. Of course I had to have a go at the session FITS then stack the integrated method. There seems to be a little less noise in the all FITS method. On the median / average - I used average on the FITS and stacked FITS - but does APP override to median if there are less than 15?



   
ReplyQuote
(@connor231)
Neutron Star
Joined: 6 years ago
Posts: 102
 

I'm fairly sure APP doesn't override your choice if you change 'automatic' to 'average' with small number of frames. I just didn't want to provide too much information at once - I do that sometimes.

JC



   
ReplyQuote
(@astrogee)
Black Hole
Joined: 8 years ago
Posts: 224
 

I've found that for multiple nights you need to at least create calibrated frames of all your lights and then the calibrated frames can be used together for stacking. The reason why is that the lights may have different conditions on different nights - including filters. This may not be such an issue with automated scope like a dwarf but definitely true for regular AP setups especially if using  DSLRs because the operating temperature can vary as well. I recently did a multi-night multi-band combined image of the lobster claw nebula. Having a cooled camera makes the dark frames stable but flats can always change and of course the band filter will change the lights as well. So I save calibrated lights for each filter (narrow band or light pollution) for future stacking and combining.



   
ReplyQuote
(@domhenry)
White Dwarf
Joined: 1 year ago
Posts: 10
Topic starter  

Yes I use calibration frames - the D3 does its own Darks as necessary and I use those - and I make my own Flats and Bias. On the first run of a multi session I save the Masters then use those on subsequent sessions.... Saves a lot of time.



   
ReplyQuote
(@connor231)
Neutron Star
Joined: 6 years ago
Posts: 102
 

@astrogee

I initially disagreed with your advice on creating new calibration frames for each night (except where a dslr is used or the setup is changed each night). I routinely reuse my masterflats and masterdarks for months at a time.

But I have just discovered that the Dwarf 3 uses an uncooled sensor. I know that there are some who say that modern sensors don't need darks, but I'm not one of them - especially for an uncooled sensor. I now believe that your advice on creating calibrated files for each night is good advice, at least for the Dwarf 3.

Of course this is different to the question of whether files can be stacked each night, but its still useful advice.

JC



   
ReplyQuote
(@michaelacg)
Red Giant
Joined: 1 year ago
Posts: 64
 

@domhenry Hi Dom

I read in your start node that your 9 hours integration takes 2 hours stacking on an M4 Mac. 
if I calculate right, these are 540 frames - a lot, but 2 hours on a M4 seems quite long. But only 6 MPixel per fram, if I‘m right.

I stack sometimes some 700 frames APS-C, so 26 MP, on a M3 max and even with high LNC it‘s only an hour or so. But I admit, I have 64 GB RAM.

  • Do you use LNC with high degree and many iterations? This would explain it. (With „high“ I mean 4th degree and >3 iterations). Maybe you try, whether 2nd with 3 iterations gives also smooth local gradients. 
  • Is your working directory on the Mac‘s internal SSD, or on a probably much slower external drive? This would make a huge difference. Try to use the internal SSD - for these 540 images you might need a few 100 GB free space. 
  • if you have only little RAM, or only allocate little to APP, this is also a reason. Allocate all but some 6 GB to APP. 

Best regards.

Michael 



   
ReplyQuote
(@astrogee)
Black Hole
Joined: 8 years ago
Posts: 224
 

Posted by: @connor231

I initially disagreed with your advice on creating new calibration frames for each night (except where a dslr is used or the setup is changed each night). I routinely reuse my masterflats and masterdarks for months at a time.

 

By default I create flats every night I go out. Mainly because it's easy to do and I have to re-setup each time at a dark site. In this case, one can never know if the optical train is the same each night so it's safer just to take the flats and apply them. Once the lights are calibrated, they can be use at any time in the future for any stacking and mixing. Just need to know what filter was used.

(So I save my data like so: session date/filter/calibrated lights/ and in the session folder I have a text file (keyword file) where the files name is use to tag the session; for example: dso-sh2-157-lobster-claw-nebula-asi294-ed102cf-0.8x-le-lancaster-20250831-3stars.keyword. This way I can do searches on the tag file. Inside the file I have a legend for abbreviations used in the tag, like "le" (Optolong L-Enhance). I'm mentioning this because you will have to have a good filing system as soon as you start combining nights.)



   
John Connor reacted
ReplyQuote
(@connor231)
Neutron Star
Joined: 6 years ago
Posts: 102
 

@astrogee

I agree with everything you said. I'm lucky enough (lazy enough 😉) that I can leave my main setup in my back yard for months at a time. If I was breaking it down every night I would pretty much do the same as you.

JC



   
ReplyQuote
(@domhenry)
White Dwarf
Joined: 1 year ago
Posts: 10
Topic starter  
PostP

@michaelacg I have the LNC at 4 interations, 24GB on the M4 Mini, external fast 4TB SSD. I wouldn't mind the run time for the stacking if it were 1 off - but I like to see how I'm going after each session so its repeated getting bigger each time.. I did a compare with the full stack and the stacking of the integrated sessions - and I think after post processing (in PI) then there is very little difference. I also tried stacking the scope stacked images - also a reasonable outcome and very quick. Just a small JPG



   
astrogee reacted
ReplyQuote
(@jdwood)
Red Giant
Joined: 6 years ago
Posts: 51
 

Hi Dom,

By 'LNC at 4 iterations' do you mean with 'degree 1 LNC'....or do you mean 'LNC 4th degree'? As Michael notes a high degree of LNC would be overkill and will greatly increase your processing time.  I'm only using a humble M1 Mac but can stack many hundreds of 250MB calibrated fits (from a 6200MM) in a few hours.... My default for a first look is LNC 1st degree, 3 iterations'

Mabula's advice for normal (non mosaic) images is to 'start with 1st degree and 1 iteration' and only increase if you see any undesirable gradients https://www.astropixelprocessor.com/community/postid/908/

The external SSD will also be slowing down processing a lot. It would be a useful test transferring some to your internal drive and seeing what the actual speed hit is. My guess is that it would be large. It is a pain but I always transfer files onto my internal drive for processing then dump them off into an external SSD for archival purposes when I have finished with a project.

cheers, Jon



   
ReplyQuote
(@michaelacg)
Red Giant
Joined: 1 year ago
Posts: 64
 

Hi @jdwood @domhenry

My experience is that it’s only necessary to assign APP‘s working folder to the internal SSD. The subs can remaining the external SSD, they are only read once. 
As the internal SSD is 4x - 8x faster than the external, the working folder with all the intermediate files makes the difference. 
Best regards.

Michael 



   
ReplyQuote
(@jdwood)
Red Giant
Joined: 6 years ago
Posts: 51
 

thanks Michael @michaelacg 

That's useful to know. Probably will not help with my workflow where I just use the external SSD as a transport medium to get the data from the scope (PC) to my Mac but I can see that some folk might wish to operate that way.

cheers, Jon



   
ReplyQuote
Share: