I really enjoy using SIRIL and I’m starting to explore more on writing scripts. This weekend, I have been trying different stacking parameters and ran into problem that I can’t seem to find an answer to in the documentation or in the forum. Any advice would be greatly appreciated.
I am using SIRIL 0.99.10.1
The script being run is a modified version of: OSC_Preprocessing
The only modification being different stacking commands like the one below:
stack r_pp_light rej 3 3 -norm=addscale -output_norm -filter-wfwhm=20% -weighted -out=…/result_sig3
When that command runs, I get the following error:
22:44:54: The reference image is not in the selected set of images. To avoid issues, please change it or change the filtering parameters.
22:44:54: Using image 1 as temporary reference image
Is it a “bad” thing that image 1 is used as the reference? Does that mean the first image in the folder or is this the “best” image determined by SIRIL? How might a change the filtering parameters so that it selects an image for registration that is of the highest quality? Would someone please provide an example of the code to use? I’m still learning the expected syntax.
I have pasted the entire output from the console below in case that helps. Thank you in advance for any advice on this topic.
22:44:54: Running command: stack
22:44:54: Stacking sequence r_pp_light_
22:44:54: Using star weighted FWHM images filter (below 5.088800)
22:44:54: The reference image is not in the selected set of images. To avoid issues, please change it or change the filtering parameters.
22:44:54: Using image 1 as temporary reference image
22:44:54: Processing images of the sequence with a weighted FWHM lower or equal than 5.0888 (7)
22:44:54: Stacking result will be stored as a 32-bit image
22:44:54: Computing normalization…
22:44:54: With the current memory and thread (4) limits, up to 4 thread(s) can be used for sequence normalization
22:44:59: Reading FITS: file r_pp_light_00001.fit, 3 layer(s), 6016x4016 pixels
22:45:04: Reading FITS: file r_pp_light_00048.fit, 3 layer(s), 6016x4016 pixels
22:45:08: Reading FITS: file r_pp_light_00002.fit, 3 layer(s), 6016x4016 pixels
22:45:10: Reading FITS: file r_pp_light_00003.fit, 3 layer(s), 6016x4016 pixels
22:45:12: Reading FITS: file r_pp_light_00082.fit, 3 layer(s), 6016x4016 pixels
22:45:14: Reading FITS: file r_pp_light_00005.fit, 3 layer(s), 6016x4016 pixels
22:45:20: Reading FITS: file r_pp_light_00004.fit, 3 layer(s), 6016x4016 pixels
22:45:29: Using 12081 MB memory maximum for stacking
22:45:29: We have 12 parallel blocks of size 1004 (+0) for stacking.
22:45:29: Computing weights…
22:45:29: Starting stacking…
22:45:52: Pixel rejection in channel #0: 1.423% - 1.552%
22:45:52: Pixel rejection in channel #1: 1.352% - 1.586%
22:45:52: Pixel rejection in channel #2: 1.388% - 1.537%
22:45:52: Rejection stacking complete. 7 images have been stacked.
22:45:52: Integration of 7 images:
22:45:52: Pixel combination … average
22:45:52: Normalization … additive + scaling
22:45:52: Pixel rejection … Winsorized Sigma Clipping
22:45:52: Rejection parameters … low=3.000 high=3.000
22:45:54: Background noise value (channel: #0): 38.932 (5.941e-04)
22:45:54: Background noise value (channel: #1): 36.008 (5.494e-04)
22:45:54: Background noise value (channel: #2): 35.553 (5.425e-04)
22:45:57: Saving FITS: file …/result_sig3.fit, 3 layer(s), 6016x4016 pixels
22:45:57: Stacked sequence successfully.
22:45:57: Execution time: 1 min 03 s.