Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration options

Helia has no configuration file for stacking. Every setting is chosen per run, in the same way in all three front ends. (The desktop app keeps a small settings file of its own for things it should not ask twice; see Using the desktop app.) This table shows each setting under its name in the command line, the API job config object, and the desktop app.

SettingCommand lineAPI config fieldDesktop appDefault
Share of frames to keep--keep 25%keep ("25%" or "500")Keep best frames, 5 to 100 per cent in steps of 5the preset's (25% or 30%), else 25%
Number of frames to keep--keep-frames Nkeep_framesnot available (use the share)none
Sharpness metric--metric gradient or laplacianmetricSharpness metricgradient
Alignment point size (pixels)--ap-size Nap_size (8 to 1024)Point size: 32 to 96 in steps of 8chosen from the image size
Automatic alignment points--ap-autoap_auto (excludes ap_size)Align step: Auto chipoff
Alignment point passes--ap-passes 1 or 2ap_passesnot available1
Smooth outlier alignment point shifts--ap-smooth on or offap_smoothnot availableoff
Telescope aperture (mm)--aperture-mm MMaperture_mmnot availablenone
Find sunspots--sunspots (and helia sunspots IMAGE); --sunspot-umbra, --sunspot-penumbra, --sunspot-min-area, --sunspot-max-area, --sunspot-group-gap, --wolf-k, --north-angle, --celestial-north-up, --mirrorsunspots (an object with umbra, penumbra, min_area, max_area, group_gap_deg, wolf_k, north_angle_deg, celestial_north_up, mirror)Stack step: Sunspots chips, observer factor, celestial northoff
Estimate the seeing--seeingseeingStack step: the seeing line (always on; aperture under Advanced settings)off
Crop to the disc--autocropautocropStack step: Crop, Disc chipoff
Crop margin (per cent of the radius)--autocrop-margin Pautocrop_margin (0 to 200)Stack step: Margin slider, 0 to 5010
Prominence layer--prominence, --prominence-strength, --prominence-stretch, --prominence-level, --prominence-feather, --prominence-reach, --prominence-gatean edits entry {"op": "prominence", ...}Adjust step: Prominence layer and its slidersoff
Colour table exporthelia lut PRESET -o FILE (--format, --size, --invert, --strength)GET /presets/{id}/lutColour step: Colour tablenot applicable
Limb-darkening law fitted--limb-law linear, quadratic or neckellimb_lawSharpen step: law chips under Limb darkeningquadratic
Flatten the limb darkening--flatten model or profileflatten (or a flatten edit)Sharpen step: Limb darkening Off, Model, Profileoff
Global alignment method--align auto, phase or limbalignchosen automatically; shown after a stackauto
Multi-point alignment--no-multipoint turns it offmultipoint (true or false)always onon
Sigma clipping--sigma-clip Ksigma_clip (a number)Outliers: Sigma chip (fixed at 2.5)off
Robust combination--robust none, sigma, huber or winsorrobustOutliers: Off, Sigma, Huber, Winsornone (weighted mean)
Robust threshold (standard deviations)--robust-k Krobust_knot available (the default for the kind)2.5 sigma, 1.345 huber, 2 winsor
Compute backend--backend auto, cpu or gpubackendBackend: Auto, CPU, GPUauto
Bayer pattern--bayer auto, none, rggb, grbg, gbrg or bggrbayerBayer pattern in the Open inspectorauto (the header, with a pixel check of a SER file that says mono)
Bit depth of a SER file--bit-depth N (1 to 16)bit_depthBit depth in the Open inspector: Auto, 8-bit, 16-bitthe SER header's
Byte order of a SER file--endian little or bigendianByte order in the Open inspectorthe header flag, checked against the data
Row order of a SER file--flip-rowsflip_rowsRow order in the Open inspectortop to bottom
Colour channel--channel r, g, b or lumchannelAdvanced settings: Channelthe preset's, else lum
Demosaicing method--debayer bilinear or mhcdebayerDebayer: methodmhc
Filter preset--preset ha (see helia presets)presetQuick stack card: the filter buttonsdetected from the file name, folder, sidecar or header
Colour--colour auto, mono or a preset idcolourColour step: the look cardsnone (mono); the preset's look in the app
Invert before colouring--invertinvertColour step: Invertoff
Colour strength--colour-strength S (0 to 1)colour_strengthColour step: Strength1
Output formatextension of -oextension of outputExport: TIFF 16-bit, PNG 8-bit or FITSTIFF in the app; by extension elsewhere
Observing site (FITS OBSGEO-X/Y/Z)--site LAT,LON,ALTsite ("lat,lon,alt")the HELIA_SITE environment variablenone; HELIA_SITE if set
Hide progress and summary-q, --quietnot applicablenot applicableshown

The settings that are not exposed (the search radius, correlation thresholds, smoothing and similar internals of the alignment) are fixed to the defaults in MultipointConfig and PhaseOptions in helia-core. They can be changed from Rust code through the library, but not from the programs.

Server settings

These apply to helia serve only. See The API.

SettingOptionDefault
Listen address--bind127.0.0.1:7870
Directory requests must stay inside--data-rootcurrent directory
Bearer token--token, --token-file, or the HELIA_TOKEN environment variablenone
Concurrent jobs--workers1
Queued plus running jobs allowed--max-queue16
Browser origins allowed--cors-origin (repeatable)none
Extra accepted Host headers--allow-host (repeatable)none

Environment variables

VariableUsed byEffect
HELIA_TOKENhelia serveBearer token, used when neither --token nor --token-file is given.
HELIA_SITEhelia stack, helia serve, helia-guiObserving site LAT,LON,ALT for a FITS output, used when --site or the job's site is not given.
HELIA_GPU_TESTStest suitessoftware, hardware or none; see Building and testing.
HELIA_FEEDBACK_URLhelia feedback, helia-guiAddress of the feedback service, instead of the built-in public Helia feedback service. HTTPS only (HTTP for localhost). Overrides feedback_url in the app's settings file; helia feedback --url overrides this. See Sending feedback.
HELIA_REAL_DATAtest suitesDirectory of real captures for the integration tests.
UPDATE_SNAPSHOTSGUI snapshot testsSet to 1 to regenerate the screenshots.
HELIA_LOG_DIRhelia, helia serve, helia-guiFolder for the log file helia.log, instead of the OS default. See Log file and bug report.
HELIA_GUI_CONFIGhelia-guiPath of the app's settings file; see Using the desktop app.