Linux software

Forums Imaging Non-Windows stacking software. Linux software

Nick James


If you don’t mind command line software I have written a set of tools which I use as part of my image calibration and processing pipeline. They are based on the cfitsio library so should read any format supported by that library. You can download them  from here:

The stacking tool is called fcombine. The normal syntax to use it is:

fcombine -N -a 611,713 -A 0 -o 0.368,236.7,1.42 200p_ofs FLI*200P*FITThis says:

Normalise the median level of each image before stacking, track on a guide star at position 611,713 in the first image, PA of the image is 0 deg (i.e. north up), Offset at 0.368 arcsec/sec in PA 236.7 deg, Pixel scale is 1.42 arcsec/pix. Output file is 200p_ofs and the input files are all files which match FLI*200P*FIT. You can add -F to write as a float fits and -s to do a true average rather than a statistically clipped average. You can also use -v to get a lot of stuff about what it is doing during teh stack (otherwise it is silent). Note that the position for the guide star assumes (1,1) is the top left corner of the image (the convention most amateur software uses) rather than the bottom left (which is what pros tend to use). The FITS standard doesn’t say which is right.

Typing the command with no arguments gives a list of what it can do. For fcombine you get:

fcombine [opts] outfile infiles
By default combines images using mean with outlier rejection
-a x,y[,d]      Align on guidestar
-A n[,M]        Position angle of image with optional mirroring
-C      Cometstack
-c n    Crop to image of size nxn
-d n    Resample and drizzle by a factor of n
-F      Write float format rather than int16
-f file Take alignment offsets from file
-g n    Apply gain of n to output
-h      Do not use FITS header
-m      Minimum pixels
-M      Maximum pixels
-n      Normalize mean levels by scaling
-N      Normalize mean levels by offset
-v      Verbose
-V      Version
-r n    Tracking and PSF radius to use (default = 5.0)
-I      Scale to a FITS that IRIS can handle
-R      Write output mirror reversed
-o rate,pa,pix  Offset (arcsec/min)
-O rate,pa,pix  Offset (arcsec/frame)
-p n    Add pedestal of n
-P n    Reject for PSF > n
-D n    Shift step size (default is 1)
-s      No outlier rejection
-S n    Stacksize (all images by default
-t      Align on target