Processing prep & hardlinks

← Back to the guide

M110 prepares a clean, self-contained workspace so you can process in Siril, then imports your finished work back into the library. This is the "prepare-and-guide" model — with one exception: M110 can run the stacking step for you, unattended, because that's the part nobody wants to sit through. See Stacking without opening Siril below.

What M110 sets up

After an ingest (and again whenever it notices a target missing one), M110 builds a Siril sandbox at Images/<target>/siril/:

Images/<target>/siril/
  lights/            your light subs, ready for Siril (see "Hardlinks" below)
  presets/           a Siril preset tuned to your frame count
  process/           Siril's scratch space (left in place on import; not backed up)
  next-steps.md      a short, per-target guide to what to do in Siril
  archive/<ts>/      past runs, kept so you can re-process later

Open next-steps.md, follow it in Siril, and when you have a result, use Import finished work (from the object's detail pane) to pull the render into finished/ and the stack into stacks/. M110 then archives the run so the sandbox is ready for next time — it never deletes your lights or your work.

You don't trigger any of this by hand: prep is automatic and idempotent.

An object shot through two filters (say LP and IRCUT on a Seestar, or Astro and Duo-Band on a Dwarf) gets one self-contained job folder per filter, siril/LP/, siril/IRCUT/ and so on, each with its own lights/ and preset. The filter comes from the FITS headers, and each preset names the right filter and telescope, so Siril's colour calibration (SPCC) uses the right one.

Calibration frames

If the object has its own darks/, flats/ or biases/ folders, those are used: they always win. Otherwise M110 looks in the telescope's calibration library, Calibration/<telescope>/ (see Ingest), and picks one master of each kind:

  • dark: same exposure, gain and binning as the lights, and the nearest sensor temperature;
  • bias: the same binning;
  • flat: only when exactly one matches the filter.

The chosen masters are linked into each job folder and the preset's calibration switches are turned on. next-steps.md says which were used and why any were skipped. Two exceptions: an object shot on two different telescopes is never given one telescope's masters, and a Seestar is never given a dark. It has already subtracted one from every sub, and doing it twice would ruin them (see the Devices page).

Frame selection

The preset tells Siril what share of frames to keep on each of four quality measures. Below 100 frames nothing is filtered. From 100 to 500 frames, roundness and star count keep 95% while wFWHM and background keep 98%; above 500, all four keep 95%. m110-stack uses the same table.

When M110 would change a preset

When new subs change what M110 would suggest, or you've saved your own preset from Naztronomy, M110 doesn't quietly overwrite it. After the import, an Update Siril presets? window lists each object and what would change (roundness: 98 → 95). Replace selected moves the old file to presets/archive/ and writes the new one. Keep existing leaves it alone, and M110 won't ask again until its suggestion changes.

Process in Siril (one click)

You don't have to find the working folder yourself. Right-click an object — in the Library, on the Processing page, or use the Process in Siril button on its detail page — and M110 launches Siril already pointed at that object's siril/ sandbox as its working directory.

M110 finds Siril automatically in the usual place. If yours is installed somewhere unusual, set its location under Preferences → Processing tools (on macOS you can pick Siril.app directly; elsewhere, the Siril executable).

⚠ Quit Siril when you finish an object

When you're done processing an object, quit Siril before moving to the next one.

M110 can only set Siril's working directory as Siril launches. If Siril is already open, clicking "Process in Siril" for a different object just brings the existing window to the front — it does not switch the working directory. You'd then be processing the new object while Siril is still pointed at the previous object's folder, and your results would land in the wrong place.

Quitting Siril between objects guarantees the next "Process in Siril" opens fresh, at the correct folder. (If you'd rather keep Siril open, use Reveal working folder and set the directory yourself — see below.)

If you prefer to open Siril yourself

The one easy mistake when doing it by hand is pointing Siril's working directory at the object folder (Images/<target>/) instead of its siril/ sub-folder — Siril then saves your results one level too high. To avoid it, use Reveal working folder (the button beside Process in Siril, and a right-click option): it opens the siril/ folder in your file manager so you can set that as Siril's working directory.

(And if you do save outside the sandbox anyway, M110 also scans the object folder as a fallback when importing, so your work isn't lost.)

You can also right-click any image in an object's gallery to Open in default app or Reveal in file manager.


Stacking without opening Siril

Stacking is the long, unattended part: load hundreds of subs, calibrate, register, reject the bad ones, combine. There's nothing to look at while it happens, and on a mosaic it runs for hours. So M110 will do it for you, from the command line:

m110-stack "M101"

m110-stack comes with M110 but isn't on your PATH, so type its full path: /Applications/M110.app/Contents/MacOS/m110-stack on a Mac, the m110-stack.exe in M110's install folder on Windows, or the M110 AppImage followed by --stack on Linux. If you plan the stack with the assistant, it gives you the complete command.

That measures and proposes — it doesn't stack. You get how many frames you have, whether exposures or gain are mixed, whether it's a mosaic, how deep the coverage actually is, and the settings that supports (drizzle, rejection, weighting, feathering), each with the reason it was picked. Read it, then:

m110-stack "M101" --run

It prints the current stage every minute with how long it's been there, so a quiet hour looks like progress rather than a hang, and the full Siril log streams to siril_stack.log in the working folder. The result lands in the sandbox, where Import finished work already looks for it.

Want to hear from it more often? Add -v:

Flag What you see while it runs
(none) the current stage, every 60 seconds
-v the current stage, every 30 seconds
-vv the current stage, every 10 seconds
-vvv every 10 seconds, plus everything Siril prints, as it prints it

-vvv is the same text that goes to siril_stack.log, so nothing is lost by leaving it off — it's there for when you'd rather watch than tail a log. The [mm:ss] stage lines still appear in the stream, so you can find where each step began. For an exact interval, --heartbeat 120 overrides the one -v picks.

Useful flags:

  • --only-exposure 30 stacks one exposure when a set mixes them.
  • --exclude-night 2026-06-10 leaves a night out.
  • --restack retries the stack settings without repeating registration.
  • --handoff sends the result to AstroWizard (see below).
  • --max-dark-gap 3 (Seestar) leaves out frames whose sensor drifted more than 3 °C from the dark the telescope applied. Without it, m110-stack warns about those frames but keeps them.
  • --no-calibration ignores master darks, flats and biases and stacks the raw frames. Otherwise it calibrates exactly as prep does, on the frames it's about to stack.
  • --filter-pct 90 sets all four frame-selection thresholds at once. To change just one, use --filter-round, --filter-wfwhm, --filter-bkg or --filter-nbstars (100 turns that filter off). The defaults follow the table above, picked by how many frames cover each part of the sky, so a large mosaic isn't filtered as hard as a deep single field.

m110-stack --help lists the rest.

While a stack is running

m110-stack --run marks the folder while it works. Import finished work on that object then tells you a stack is running and to wait, and changes nothing. Automatic prep and clean-up skip the object until the run is over. A stack you started in Siril itself leaves no mark. Instead, the import warns if Siril wrote to process/ in the last few minutes, and defaults to leaving the folder alone.

When some frames won't plate-solve

Before it can register anything, Siril has to work out where each frame is pointing. Some frames won't: thin cloud, a bump to the mount, a night that just wasn't good enough to show the stars needed. That used to be able to kill the whole run — not always, which is why it seemed random; it depended on whether the one frame Siril measures everything else against was among the failures. Now it doesn't stop the run at all: the frames that did solve are registered and stacked, and you're told what was left out:

  Plate solving solved 123 of 221 frames (56%).
  Failures by night:
      2026-06-05      0 of   33    0%
      2026-06-10      1 of   81    1%
      2026-06-28     94 of  104   90%  <--
      2026-07-03      3 of    3  100%  <--

Failures almost always belong to a session rather than being scattered, and that's the useful part: here two nights account for nearly all of them, and the other two were fine. If you'd rather drop those nights outright than stack a thinned version of them, the run prints the flags to do it:

m110-stack "M101" --run --exclude-night 2026-06-28 --exclude-night 2026-07-03

One note if you do re-run: M110 clears the temporary working files at the start of every run (it tells you how much it freed). It has to — Siril reuses those files rather than rebuilding them, so before this, a re-run after a failure quietly ignored --exclude-night and stacked the night you'd asked it to drop. --restack still reuses them deliberately, for retrying stack settings without repeating the registration.

If almost nothing solves, it stops instead. At that point the problem is more likely your setup than the sky — usually a missing local star catalogue, or a focal length or pixel size Siril has wrong — and a spread of failures across every night is the sign of it. Set your own bar with --min-solved (a percentage; 25 by default).

This needs Siril installed — M110 runs Siril's own commands rather than reimplementing anything. If you've connected an AI assistant, it can talk the settings through with you and hand you the command; it can't start a stack itself.

Handing a stack to AstroWizard

m110-stack "M101" --run --handoff also drops the finished stack into Images/M101/astrowizard/, ready to open in AstroWizard. It's a hardlink, so it costs no extra disk, and it's kept apart from the Siril sandbox on purpose: your stack took hours and won't change, while a finishing pass is cheap and you'll redo it often.

You can also do it from the app: right-click a stack in the object's detail pane and choose Send to AstroWizard. Afterwards M110 offers to open it in AstroWizard, which loads the stack straight away — with one catch worth knowing: that only works if AstroWizard isn't already running. If it is, quit it first, or use Reveal folder and open the file yourself.

Stacking with StackingWizard

StackingWizard is AstroWizard's companion: it stacks a night's frames and hands the result straight over. M110 keeps your frames ready for it.

Tick AstroWizard in Preferences → Processing workflows you use, and each object gets an astrowizard/ folder containing your subs as hardlinks — no extra disk, and they're skipped by backup because the originals are already in it.

Then use Stack in StackingWizard… on the object. M110 opens the app and reveals that folder; point StackingWizard at it. It reads the frames, sorts them by header, stacks, and writes its stack back into the same folder — which is exactly where AstroWizard expects to find it, and where Import finished work looks for your finish afterwards.

The stack is named <object>_wizardstack.fits, and you may get more than one: a mono or filtered night produces one stack per filter, a mosaic lands as <object>_mosaic_wizardstack_<n>f.fits, and combining several nights writes <object>_combined_wizardstack.fits. M110 recognises all of them.

M110 treats those stacks as the folder's input, so tidying up after a finish never archives them. Re-finish as often as you like; the stacks stay put.

Three things worth knowing:

  • Point it at the astrowizard/ folder, not siril/. Its scan is recursive, so pointing it at the Siril folder also works — but then its stack and AstroWizard's working files land in Siril's workspace, where M110 reads them as Siril's leftovers. If you've already done that, move those files into astrowizard/ and everything lines up.
  • Mono and filter sets work. A night of Ha/OIII/SII (or LRGB) sorts, grades and stacks per filter, and the set goes on to AstroWizard's Combine Mono Channels. Note that AstroWizard combines one family at a time, so RGB and narrowband stacks go through it separately.
  • If you use its Drizzle option, the stack won't plate-solve. Drizzle rebuilds the stack on a grid twice as fine, and StackingWizard restates the header's per-pixel scale to match but drops the cards that pin the sky to the original pixel grid (it marks the stack DRZWCS). The stack imports and finishes normally; it just has no usable plate solution until something solves it afresh.

Bringing the finish back

When you've finished an image in AstroWizard, save your export into that same astrowizard/ folder. Back in M110, Import finished work on the object picks it up and files it into the object's finished images, exactly as it does for Siril. If both Siril and AstroWizard have something waiting, M110 asks which one you mean.

AstroWizard saves a separate working file for every step you take — crops, stretches, each curve tweak — so a single finish can leave a couple of dozen files behind. M110 doesn't offer those to you as things to import, and tidies them away when you import (see below).

Keeping working files under control

Every time you import finished work, M110 files the run that produced it into an archive/ folder inside that object's working folder, stamped with the date and time. Nothing is deleted — it's moved — so you can always go back to a previous attempt.

The catch is that archived runs only ever pile up. Nothing replaces them and nothing cleans them out, and they're not small: a mosaic's run can be several GB, and an AstroWizard finish can be a couple of GB on its own. They're included in your backups too, so the growth shows up twice.

Preferences → Processing workflows you use → "Keep the last N processing sessions" is the control:

  • A number (default 3 for a new library) — M110 keeps that many archived runs per working folder and deletes older ones when you import.
  • "all" — nothing is ever deleted. This is the default if you already had an M110 library before this feature existed, so nothing you already have disappears without you choosing it.

Whatever you set, three things always hold:

  • The most recent run is never deleted.
  • Nothing happens unless an import actually archived something. Choosing "Leave the sandbox as-is" at import time, or just refreshing your library, never deletes anything.
  • Anything you put in that archive/ folder yourself is left alone. M110 only ever removes folders it created, which it recognises by their date-and-time names.

If you're not sure, "all" is the safe setting — you can always lower it later, and the space is reclaimed on your next import.

This is the one technical detail worth understanding, because M110 uses hardlinks in two places (processing sandboxes and backups) and their behavior surprises people.

A hardlink is a second name for the exact same file on disk — not a copy, and not a shortcut/alias. The file's data exists once; two (or more) names point at it. So:

  • It costs no extra disk space. Hardlinking 40 GB of subs into the sandbox adds ~0 bytes — both Images/<target>/lights/ and Images/<target>/siril/lights/ are names for the same bytes.
  • The names are equal peers. Neither is "the original." The data lives until the last name is removed.
  • Deleting one name is safe for the others. Removing a hardlink just drops that one directory entry; the data stays as long as another name points at it.
  • Editing the contents through one name changes it for all of them — it's the same file. (In practice this rarely bites you, because Siril and M110 write new files for outputs rather than modifying subs in place.)
  • Hardlinks only work within one filesystem/volume. Across drives — or on some network/SMB and exFAT shares — M110 automatically falls back to a real copy.

What this means for the processing sandbox

The subs in Images/<target>/siril/lights/ are the same files as your real Images/<target>/lights/ subs — hardlinked so M110 doesn't duplicate gigabytes of data for every processing run.

  • ✅ Safe: letting Siril read them, stack them, and write outputs. Siril doesn't modify raw subs.
  • ✅ Safe: deleting the whole siril/ sandbox — your lights/ originals remain untouched (they're a separate name for the same data).
  • ⚠️ Not a backup. Because the sandbox subs share storage with your originals, the sandbox is not a second copy of your data. If a disk fails, both names are gone. For real redundancy, use Backup.
  • ⚠️ Don't hand-edit a sub inside the sandbox expecting the original to be spared — it's the same file. Treat subs as read-only everywhere.

Next: Backing up your library →

M110 v0.3.0-beta.10 · source · other versions