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

Desktop app reference

Every control of valerian-gui, with its range and default. The desktop app describes the window and the tutorial walks through a session. Command line: valerian-gui [FILE] opens FILE; -V and --version print the version and exit.

Top bar

ControlDoes
Logo, nameThe About page (F1).
File chipThe open file, its size and planes (wide windows only).
RecentThe last 8 images opened.
Night (F2)Red night-vision palette. Default off; remembered.
GPUOpens the GPU benchmark; a step on the rail leaves it.
Open (Ctrl+O)Native file dialog for a FITS image.
About (F1, Esc closes)Dedication, version, copyright, licence.

Rail

One button per step: Calibrate, Register, Stack, Process, Export. Status: Optional, Ready, Running, Waiting or Done (with a tick). Below 900 px wide only the numbers show.

View

ControlDoes
Scroll, +, -Zoom about the pointer, 5 % to 800 % of the preview.
DragPan.
Percentage button, double clickFit (never above 100 %).
HistogramShow or hide it. Default shown; 128 bins, log scale, of what is drawn.
DismissHide a finished, cancelled or error message.
Cancel (Esc)In the notice while Calibrate, Register, Stack, Drizzle, Star removal, Plate solve or Colour runs: stops the step. See Cancelling a step.

Cancelling a step

ControlDoes
Cancel, in the noticeAsks the running step to stop. The button changes to "Cancelling..." and the headline to "Cancelling: finishing the frame in hand, nothing will be kept...". A second press does nothing.
EscThe same as Cancel while a step runs and the About page is not open (Esc closes About first).
Where it appliesCalibrate, Register, Stack, Drizzle, Star removal, Plate solve and Colour. Writing a file (Save, Export, Apply and save) is short and has no Cancel.
How soonAt the next check: between files, between bands of a master frame, between frames while registering, warping or drizzling, between colour planes of a stack or of star removal, and between trial patches of sky in a plate solve. The frame or band in hand finishes first, so on large frames it can take a few seconds.
What is keptNothing. Calibrate, Register and Stack write into a hidden .valerian-partial-<pid> folder inside the output folder and move the files into place only when the whole run has finished, so a cancelled (or failed) run removes that folder, removes any output folder it had to create, and leaves files that were already there untouched.
What you seeA notice "Cancelled: calibration stopped. Nothing from the run was kept." (registration, stacking, drizzling, star removal, plate solving or colour calibration in the same words) with Dismiss. It is not shown as an error. The step's panel returns to its idle button and the rail row leaves "Running"; the result of an earlier run of the step is kept.
If the step finishes firstCancel arrives after the last check and the step completes normally; its result is kept.

Calibrate

ControlDefaultDoes
LightsemptyFolder or file of lights. Required.
Darks, Flats, Dark flats, BiasemptyFolder, or one master file. At least one of darks, flats and bias is needed.
Calibrated frames go tobeside the lights, calibratedOutput folder; masters go in masters/.
Calibrate lightsRuns. Fixed: automatic rejection, hot 40 and cold 12 sigma, dead below 0.2 of the flat, global flat normalisation, 1 GiB memory.

Register

ControlDefaultDoes
FramesCalibrate outputFolder of frames.
Aligned frames go toregistered beside itOutput folder.
Register framesBest frame as reference, default detection, no level matching; raw colour is demosaiced.

Stack

ControlDefaultDoes
Mean, DrizzleMeanChooses the stack or the drizzle.
Frameslast step's outputFolder of frames.
Stack goes tostack.fits beside itThe output file; the stack is opened afterwards.
RejectionAutomaticAutomatic (by frame count), Winsorised, Sigma (3 sigma both sides), None.
Stack framesRuns on the CPU engine.

Drizzle

ControlRangeDefault
Frames, Choose folder...folderempty
Scale1 to 4, step 0.52
Pixfrac0.2 to 1.00.6
Reject outlierson or offon
Rejection (sigma)2 to 84
Drizzle frames, Save drizzled, Open it, Save as...

Process

Image box, Browse..., Open: the working image. Chips: Stretch, Star removal, Plate solve, Colour.

Stretch

ControlRangeDefault
CurveAuto, MTF, Arcsinh, GHSAuto
Sky target (Auto)0.02 to 0.50.10
Midtone (MTF)0.001 to 0.9990.25
Strength (Arcsinh)0.5 to 5000, logarithmic50
Stretch factor (GHS)0 to 63.0
Local intensity-5 to 150
Symmetry point0 to 10
Shadow protection0 to the symmetry point0
Highlight protectionsymmetry point to 11
Set black and white by handon or offoff
black, whiteany (drag values)measured
Black below sky (sigma)0 to 62.8
White percentile99 to 10099.995
Same stretch for every colour planeon or offon
ResetAuto curve
Save as..., Apply and save<name>_stretched.fits

Star removal

ControlRangeDefault
Threshold (sigma)2.5 to 124.0
Mask size0.5 to 31.0
Grow (px)0 to 101.5
Largest radius (px)5 to 15060
Add noise to the filled pixelson or offon
Remove starsRuns on the full image.
Starless, Original, Stars, MaskWhich layer is drawn.
Strength0 to 11 (applied after the run)
Save starless and stars<name>_starless.fits and <name>_stars.fits

Plate solve

ControlRangeDefault
RA, Decdegrees or dd:mm:ssfrom the header
Search radius (deg)0.1 to 51.0
Blind: search the whole skyon or offoff
arcsec per pixel0.1 to 60from the header; searched 15 % either way
Catalogue, Choose catalogue....vcat filegaia-dr3-g11.vcat beside the program
Solve, Save with WCS<name>_solved.fits

Colour

ControlRangeDefault
Neutral at BP-RP0.3 to 1.50.82
Brightest (G)4 to 106
Faintest (G)8 to 1111
Aperture (FWHM)1 to 42
Make the background neutralon or offon
Calibrate colourNeeds three planes and a plate solution.
Calibrated, OriginalWhich picture is drawn.
Save calibrated<name>_calibrated.fits

Export

ControlDefaultDoes
FormatFITSFITS: 32-bit float, unstretched, with header. PNG: 8-bit with the current stretch.
Save as...<name>_export.fitsThe extension follows the format.
Export pictureWrites it.

GPU

ControlRangeDefault
AdapterHardware, SoftwareHardware
Width, Height (px)256 to 6144, 256 to 46082048, 1536
Frames in the combine3 to 3212
Run benchmarkTimes each kernel against the CPU.

Settings file

$VALERIAN_GUI_CONFIG, else %APPDATA%\valerian\gui.conf on Windows, else $XDG_CONFIG_HOME/valerian/gui.conf, else ~/.config/valerian/gui.conf. Plain key=value: window=WxH, night=1, and up to eight recent= paths.